/* =============================
   EVNOKTASINDA LUXURY PREMIUM CSS
   ============================= */
/* === 1. CSS RESET & NORMALIZE === */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {
  margin: 0; padding: 0; border: 0; font-size: 100%; vertical-align: baseline; box-sizing: border-box;
}
html { scroll-behavior: smooth; }
body {
  min-height: 100vh;
  background-color: #F5F1ED;
  color: #222F3E;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  letter-spacing: .02em;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color .2s; }
ul, ol { list-style: none; }
button, input, select, textarea { font-family: inherit; }

/* === 2. COLOR VARIABLES (w/ fallback) === */
:root {
  --evn-primary: #222F3E;
  --evn-secondary: #FFFFFF;
  --evn-background: #F5F1ED;
  --evn-accent: #B34700;
  --evn-gold: #C7A75B;
  --evn-gold-light: #EBDFBE;
  --evn-grey: #E5E7EB;
  --evn-border: #E9E7E2;
  --evn-shadow: 0 4px 24px 0 rgb(52 73 94 / 10%);
}

/* === 3. TYPOGRAPHY === */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700&family=Roboto:wght@400;500&display=swap');
body { font-family: 'Roboto', Arial, sans-serif; }
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--evn-primary);
  font-weight: 700;
  letter-spacing: .01em;
}
h1 { font-size: 2.75rem; margin-bottom: 16px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.25rem; margin-bottom: 12px; }
h4 { font-size: 1.1rem; margin-bottom: 10px; font-weight: 600; }
.subtitle {  font-size: 1.25rem; color: #73604c; margin-bottom: 24px; font-family: 'Roboto', Arial, sans-serif; }
p { margin-bottom: 18px; color: #333333; }
strong, b { font-weight: 600; color: var(--evn-primary); }

@media (max-width: 992px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.1rem; }
}
@media (max-width: 600px) {
  h1 { font-size: 1.45rem; }
}

/* === 4. LAYOUT CONTAINERS === */
.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--evn-secondary);
  border-radius: 22px;
  box-shadow: var(--evn-shadow);
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.features-grid, .service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
}
.features-grid > div, .service-list > .service-item {
  background: var(--evn-background);
  border-radius: 20px;
  box-shadow: var(--evn-shadow);
  padding: 28px 20px;
  min-width: 240px;
  flex: 1 1 260px;
  transition: box-shadow .25s, transform .22s;
  margin-bottom: 20px;
  position: relative;
}
.features-grid > div:hover, .service-list > .service-item:hover {
  box-shadow: 0 8px 40px 0 rgba(52,73,94,0.17);
  transform: translateY(-6px) scale(1.03);
  z-index: 2;
}
.features-grid img,
.service-list .service-item img {
  width: 45px; height: 45px; margin-bottom: 10px;
  filter: sepia(16%) saturate(140%) brightness(1.05) drop-shadow(0 2px 8px #C7A75B22);
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
  border-left: 4px solid var(--evn-gold);
  padding-left: 20px;
  background: var(--evn-secondary);
  border-radius: 14px;
}

.testimonials {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 24px 24px 20px 24px;
  background: var(--evn-secondary);
  border-radius: 14px;
  box-shadow: 0 4px 20px 0 #c7a75b14;
  min-width: 260px;
  flex: 1 1 320px;
  margin-bottom: 20px;
  border: 1px solid var(--evn-gold-light);
  transition: box-shadow .22s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 40px 0 #c7a75b28;
}
.testimonial-card p {
  font-size: 1.1rem;
  color: var(--evn-primary);
  margin-bottom: 6px;
}
.testimonial-card span {
  color: #946f1b;
  font-size: .9rem;
  font-style: italic;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--evn-secondary);
  border-radius: 16px;
  box-shadow: var(--evn-shadow);
  margin-bottom: 20px;
  overflow: hidden;
  position: relative;
  display: flex; flex-direction: column;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  padding: 20px 16px;
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
/* spacing between all cards and sections */
section { margin-bottom: 60px; }

/* === 5. HEADER & NAV BAR === */
header {
  background: var(--evn-secondary);
  box-shadow: 0 2px 16px 0 #222F3E0e;
  border-bottom: 2px solid var(--evn-gold-light);
  position: relative;
  z-index: 10;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 18px;
  padding-bottom: 18px;
}
.logo img {
  height: 46px;
  width: auto;
  display: block;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
}
.main-nav a {
  font-weight: 600;
  color: var(--evn-primary);
  font-size: 1rem;
  position: relative;
  padding: 0 2px;
  border-radius: 7px;
  transition: color .15s, background .22s;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--evn-accent);
  text-decoration: none;
  background: var(--evn-gold-light);
}
.btn.btn-primary {
  background: var(--evn-primary);
  color: var(--evn-gold);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  border-radius: 22px;
  padding: 9px 32px;
  margin-left: 20px;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 12px 0 #222F3E18;
  transition: background .24s, color .2s, box-shadow .23s;
  outline: none;
  border: 1.5px solid var(--evn-gold);
}
.btn.btn-primary:hover, .btn.btn-primary:focus {
  background: var(--evn-accent);
  color: #fff7ec;
  box-shadow: 0 10px 26px 0 #d3540024;
  border-color: var(--evn-accent);
}

.btn, a.btn, button.btn {
  display: inline-block;
  font-family: 'Montserrat',Arial,sans-serif;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  border-radius: 22px;
  padding: 9px 28px;
  background: var(--evn-gold);
  color: var(--evn-primary);
  box-shadow: 0 2px 12px 0 #c7a75b34;
  border: none;
  text-align: center;
  transition: all .22s;
  cursor: pointer;
}
.btn.btn-accent {
  background: var(--evn-accent);
  color: var(--evn-secondary);
  border: 1.5px solid var(--evn-gold);
}
.btn.btn-accent:hover, .btn.btn-accent:focus {
  background: var(--evn-gold);
  color: var(--evn-primary);
  box-shadow: 0 6px 22px 0 #b347004b;
  border-color: var(--evn-accent);
}

/* === 6. MOBILE NAVIGATION === */
.mobile-menu-toggle {
  display: none;
  background: var(--evn-gold);
  border: none;
  color: var(--evn-primary);
  font-size: 2rem;
  padding: 5px 22px 5px 12px;
  border-radius: 16px;
  cursor: pointer;
  z-index: 102;
  transition: background .2s, color .15s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: var(--evn-accent);
  color: #fff;
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(34, 47, 62, 0.98);
  z-index: 110;
  transform: translateX(-100vw);
  transition: transform 0.28s cubic-bezier(.6,.2,.29,1.03);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: var(--evn-gold);
  color: var(--evn-primary);
  font-size: 2rem;
  border: none;
  align-self: flex-end;
  margin: 18px 30px 0 0;
  border-radius: 12px;
  padding: 3px 16px;
  cursor: pointer;
  transition: background .16s, color .15s;
  z-index: 112;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: var(--evn-accent);
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  padding: 34px 36px;
  margin-top: 16px;
}
.mobile-nav a {
  color: var(--evn-secondary);
  font-size: 1.21rem;
  font-weight: 600;
  padding: 9px 16px;
  border-radius: 9px;
  transition: background .13s, color .24s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--evn-gold);
  color: var(--evn-primary);
}

@media (max-width: 1060px) {
  .main-nav a { font-size: 0.98rem; }
}
@media (max-width: 900px) {
  .container { max-width: 98vw; }
  header .container { gap: 12px; }
  .main-nav { gap: 14px; }
  .btn.btn-primary { margin-left: 7px; }
}
@media (max-width: 768px) {
  header .container {
    gap: 10px;
  }
  .main-nav { display: none; }
  .mobile-menu-toggle {
    display: block;
    margin-left: 8px;
  }
  .btn.btn-primary {
    padding: 9px 22px;
    font-size: .98rem;
  }
}

/* === 7. SECTIONS & PAGES === */
section {
  margin-bottom: 60px;
  background: none;
}
section:last-of-type { margin-bottom: 40px; }

.features-grid > div h3,
.service-list .service-item h3 {
  color: var(--evn-accent);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
}
.features-grid > div p,
.service-list .service-item p {
  color: #222F3E;
}
.top-picks-list, .pricing-table {
  margin-top: 18px;
}
.text-section ul {
  margin: 0;
  padding-left: 22px;
}
.text-section ul li {
  margin-bottom: 8px;
  color: #415060;
  font-size: 1rem;
  list-style: disc;
}
.text-section a, .top-picks-list a {
  color: var(--evn-accent);
  border-bottom: 1px solid var(--evn-gold);
  font-weight: 600;
  transition: color .2s, border .2s;
  padding: 3px 1px;
  border-radius: 3px;
}
.text-section a:hover, .top-picks-list a:hover { color: var(--evn-gold); border-color: var(--evn-accent); background:#fbeee3; }


/* == BUTTON STYLES (also for cookie banner) == */
.btn, a.btn, button.btn {
  box-shadow: 0 2px 10px 0 #c7a75b26;
  border: none;
  min-width: 130px;
  position: relative;
}
.btn:active {
  top: 1px;
}
.btn:focus { outline: 2px solid var(--evn-accent); }

/* == Responsive Utility Flex Patterns == */
@media (max-width: 1024px) {
  .features-grid, .service-list, .testimonials { gap: 20px; }
  .features-grid > div, .service-list > .service-item, .testimonial-card {
    flex: 1 1 330px;
    min-width: 220px;
    padding: 21px 12px;
  }
}
@media (max-width: 768px) {
  .features-grid, .service-list, .testimonials, .content-wrapper, .container, .card-container, .content-grid {
    flex-direction: column;
    gap: 17px;
  }
  .features-grid > div, .service-list > .service-item, .testimonial-card {
    min-width: 0;
    max-width: 100%;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 17px;
  }
}
@media (max-width: 576px) {
  .container { padding-left: 8px; padding-right: 8px; }
  .features-grid > div, .service-list > .service-item, .testimonial-card {
    padding: 14px 7px 14px 11px;
  }
  .text-section { padding-left: 10px; }
  .mobile-nav { padding: 24px 13px; gap: 16px; }
}

/* == VISUAL DETAILS - Accent Line, Gold Underlines, Subtle Decor == */
h2 {
  position: relative;
  border-left: 6px solid var(--evn-gold);
  padding-left: 18px;
  margin-bottom: 25px;
}
h2:after {
  content: '';
  position: absolute;
  left: 14px; bottom: -10px;
  width: 36px; height: 4px;
  background: var(--evn-gold);
  border-radius: 5px;
  box-shadow: 0 2px 8px 0 #c7a75b22;
  opacity: 0.45;
}

h1, h2, h3, h4 {
  text-shadow: 0 3px 10px #ceb77f11;
}

/* == Decorative Gold Borders/Details == */
.card, .features-grid > div, .service-list > .service-item, .testimonial-card {
  border: 1.4px solid var(--evn-gold-light);
  box-shadow: 0 4px 32px 0 #c7a75b13;
}

/* == ACCENTUATE INTERACTIVE ELEMENTS == */
a, .btn, button {
  transition: color .16s, background .26s, border .22s, box-shadow .18s, scale .17s;
}
a:active {
  color: var(--evn-accent);
  opacity: 0.96;
}

/* == Lists, etc. == */
ul, ol { padding-left: 19px; }
.text-section ul li {
  margin-bottom: 7px;
  padding-left: 2px;
  position: relative;
}
.text-section ul li::before {
  content: '\2022';
  color: var(--evn-gold);
  font-weight: bold;
  margin-right: 7px;
}

/* == Footer == */
footer {
  background: var(--evn-primary);
  color: #e5decf;
  font-size: 0.99rem;
  padding: 36px 0 12px 0;
  border-top: 2.5px solid var(--evn-gold-light);
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  max-width: 1000px;
  margin: auto;
}
.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 8px;
}
.footer-menu a {
  color: var(--evn-gold);
  font-weight: 500;
  padding: 4px 9px;
  border-radius: 8px;
  transition: color .13s, background .19s;
  font-size: 1rem;
}
.footer-menu a:hover, .footer-menu a:focus {
  color: var(--evn-primary);
  background: var(--evn-gold-light);
}
.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 5px;
}
.social-links img {
  width: 29px; height: 29px;
  border-radius: 50%;
  background: #ead8ac;
  border: 1.7px solid var(--evn-gold-light);
  padding: 4px;
  transition: box-shadow .2s, filter .22s;
  box-shadow: 0 2px 9px 0 #c7a75b29;
}
.social-links img:hover {
  box-shadow: 0 6px 20px 0 #c7a75b49;
  filter: brightness(1.10) sepia(0.05);
}
.address, address {
  font-style: normal;
  color: #b7ab96;
  font-size: 0.97rem;
  margin-bottom: 7px;
  margin-top: 3px;
}
.copyright {
  color: #f9eddc;
  font-size: .95rem;
  font-family: 'Roboto', Arial, sans-serif;
  margin-top: 4px;
}

@media (max-width: 600px) {
  footer .container { gap: 13px; padding-left: 8px; padding-right: 8px; }
  .footer-menu, .social-links { gap: 8px; }
}

/* === COOKIE CONSENT BANNER & MODAL === */
.cookie-banner {
  position: fixed;
  left: 0; bottom: 0; width: 100vw;
  background: #fffdf6;
  color: var(--evn-primary);
  border-top: 2px solid var(--evn-gold);
  box-shadow: 0 -2px 14px 0 #c7a75b1e;
  z-index: 250;
  padding: 21px 20px 20px 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  animation: slideUpBanner 0.6s cubic-bezier(.3,.58,.15,1.14);
}
@keyframes slideUpBanner {
  0% { transform: translateY(120%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-banner-message {
  flex: 1 1 260px;
  font-size: 1rem;
  color: var(--evn-primary);
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 12px;
}
.cookie-banner .btn {
  min-width: 120px;
  padding: 7px 18px;
  font-size: 1rem;
  border-radius: 15px;
  border: 1.2px solid var(--evn-gold);
}
.cookie-banner .btn-accept, .cookie-banner .btn-settings {
  background: var(--evn-gold);
  color: var(--evn-primary);
}
.cookie-banner .btn-accept:hover { background: var(--evn-accent); color: #fff; border-color: var(--evn-accent); }
.cookie-banner .btn-reject { background: #EEE9DB; color: #ba651f; border-color: var(--evn-gold-light); }
.cookie-banner .btn-reject:hover { background: #fff3e1; border-color: var(--evn-accent); color: var(--evn-accent); }
.cookie-banner .btn-settings:hover { background: #fbe9cb; border-color: var(--evn-accent); }

@media (max-width: 680px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 7px 15px 8px;
  }
  .cookie-banner .cookie-actions { flex-wrap: wrap; gap: 10px; }
  .cookie-banner .btn { min-width: 96px; font-size: 0.98rem; }
}

.cookie-modal-overlay {
  display: none;
  position: fixed;
  left: 0; top: 0;  width: 100vw; height: 100vh;
  background: rgba(34,47,62,0.84);
  z-index: 300;
  align-items: center;
  justify-content: center;
}
.cookie-modal-overlay.open { display: flex; animation: fadeInModal .38s; }
@keyframes fadeInModal { from { opacity: 0; } to { opacity: 1; } }
.cookie-modal {
  background: #fffdfa;
  box-shadow: 0 8px 54px 0 #c7a75b53;
  border-radius: 22px;
  min-width: 310px;
  max-width: 96vw;
  padding: 34px 28px 22px 28px;
  border: 2.2px solid var(--evn-gold);
  position: relative;
  animation: scaleModal 0.36s;
}
@keyframes scaleModal { 0% { transform: scale(0.7); opacity: .55; } 100% { transform: scale(1); opacity: 1; } }
.cookie-modal-title {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: var(--evn-primary);
  font-size: 1.3rem;
  margin-bottom: 10px;
}
.cookie-modal-section {
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1.5px solid #eee8d6;
}
.cookie-modal-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 4px;
}
.cookie-modal-category input[type=checkbox] {
  width: 19px; height: 19px;
  accent-color: var(--evn-gold);
  margin-right: 5px;
}
.cookie-modal-category label { font-weight: 500; font-size: 1rem; color: var(--evn-primary); cursor: pointer; }
.cookie-modal-category .desc { color: #a07927; font-size: 0.98rem; }

.cookie-modal-footer {
  margin-top: 20px;
  text-align: right;
}
.cookie-modal .btn {
  min-width: 110px;
  margin-left: 6px;
  padding: 7px 18px;
  border-radius: 15px;
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  top: 19px; right: 20px;
  background: transparent;
  border: none;
  font-size: 2rem;
  color: var(--evn-primary);
  cursor: pointer;
  z-index: 2;
  transition: color .18s;
}
.cookie-modal .cookie-modal-close:hover {
  color: var(--evn-accent); background: var(--evn-gold-light); border-radius: 8px;
}
@media (max-width: 570px) {
  .cookie-modal {
    min-width: 0;
    padding: 17px 9px 15px 11px;
    font-size: 0.98rem;
  }
  .cookie-modal .btn {
    min-width: 90px;
    padding: 6px 13px;
  }
}

/* === 8. ACCESSIBILITY / FOCUS RINGS === */
:focus-visible {
  outline: 2.5px solid var(--evn-accent);
  outline-offset: 2px;
}
@media (pointer: coarse) {
  :focus-visible { outline: none; }
}

/* === 9. OTHER MICRO-INTERACTIONS === */
.card, .features-grid > div, .service-list > .service-item, .testimonial-card {
  transition: box-shadow .24s, transform .20s, border-color .20s;
}
h1, h2, h3, h4, h5, h6 {
  transition: color .18s;
}
a, .btn, button {
  transition: color .18s, background .21s, box-shadow .18s, scale .12s;
}

.card:hover, .card:focus-within, .footer-menu a:focus {
  box-shadow: 0 8px 40px 0 #c7a75b39;
  border-color: var(--evn-gold);
}

button:active, .btn:active { transform: scale(.98); }

/* === 10. SCROLLBAR STYLING (for luxury feel) === */
::-webkit-scrollbar { width: 12px; background-color: #fdf6eb; }
::-webkit-scrollbar-thumb { background: var(--evn-gold-light); border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: var(--evn-gold); }

/* === 11. MODALS/OVERLAYS - proper stacking === */
.mobile-menu, .cookie-modal-overlay { z-index: 110 !important; }

/* === 12. PRINT = Display only main content === */
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal-overlay { display: none !important; }
  main { margin: 0; }
}
