/* === CSS Reset & Normalize (Mobile first) === */
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,
u, i, center, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {line-height: 1;}
ol, ul {list-style: none;}
a {color: inherit; text-decoration: none;}
img { display: block; max-width: 100%; height: auto; }
button {font: inherit; border: none; outline: none; cursor: pointer; background: none;}

/* === Luxury Premium Color Variables === */
:root {
  --lux-primary: #181825; /* Deep navy, more premium than regular #1D3557 */
  --lux-secondary: #F7B32B;
  --lux-accent: #fff;
  --lux-gold: #D4AF37;
  --lux-bg: #f8f7f3;
  --lux-card: #fff;
  --lux-text: #191919;
  --lux-muted: #a6a7a8;
  --lux-border: #e4e0d7;
  --lux-shadow: 0 2px 16px 0 rgba(22, 20, 17, 0.09);
}
/* Fallbacks */
body { background: var(--lux-bg, #f8f7f3); color: var(--lux-text, #191919); }

/* === Fonts === */
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;600;700&family=Roboto:wght@300;400;500;700&display=swap');

body {
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 400;
  background: var(--lux-bg);
  color: var(--lux-text);
  font-size: 16px;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Oswald', Arial, sans-serif;
  color: var(--lux-primary);
  margin-bottom: 16px;
}
h1 { font-size: 2.4rem; font-weight: 700; }
h2 { font-size: 1.7rem; font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 600; }
p, li, span, a { font-size: 1rem; line-height: 1.65; }
a { transition: color 0.2s; }
strong { font-weight: bold; }

/* === Flexbox Containers & Spacing (MANDATORY PATTERNS) === */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  border-radius: 16px;
  box-shadow: var(--lux-shadow);
  background: var(--lux-card);
  padding: 32px 24px;
  border: 1px solid var(--lux-border);
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--lux-shadow);
  border-left: 5px solid var(--lux-gold);
  margin-bottom: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.content-wrapper {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 26px;
}

/* === Header & Navigation === */
header {
  background: var(--lux-card);
  box-shadow: 0 1px 20px 0 rgba(29, 53, 87, 0.07);
  position: sticky; top: 0; z-index: 98;
  border-bottom: 1px solid var(--lux-border);
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  position: relative;
}
.logo img {
  height: 38px;
  max-width: 170px;
  display: block;
}
.main-nav {
  display: flex;
  flex-direction: row;
  gap: 21px;
  align-items: center;
}
.main-nav a {
  font-family: 'Oswald', Arial, sans-serif;
  font-weight: 600;
  color: var(--lux-primary);
  padding: 4px 8px;
  letter-spacing: 0.5px;
  transition: color 0.2s;
  border-bottom: 2px solid transparent;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--lux-secondary);
  border-bottom: 2px solid var(--lux-gold);
}
.cta-btn {
  font-family: 'Oswald', Arial, sans-serif;
  background: var(--lux-gold);
  color: var(--lux-primary);
  padding: 10px 32px;
  border-radius: 26px;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  border: none;
  outline: none;
  margin-left: 12px;
  box-shadow: 0 1px 6px 0 rgba(212,175,55,.14);
  transition: background 0.2s, transform 0.16s, box-shadow 0.18s;
  border: 1px solid var(--lux-gold);
  position: relative;
  z-index: 1;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--lux-primary);
  color: var(--lux-gold);
  transform: translateY(-1px) scale(1.04);
  box-shadow: 0 2px 12px 0 rgba(212,175,55,.21);
}

/* === Mobile Menu Styles === */
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  color: var(--lux-gold);
  background: var(--lux-primary);
  border-radius: 6px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: none;
  z-index: 200;
  transition: background .18s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--lux-secondary);
  color: var(--lux-primary);
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(32,30,27, 0.98);
  z-index: 199;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(.69,-0.01,.26,.99);
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  margin: 24px 24px 0 auto;
  font-size: 2rem;
  color: var(--lux-gold);
  background: transparent;
  border: none;
  transition: color .17s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  color: var(--lux-secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  padding: 40px 32px 0 32px;
}
.mobile-nav a {
  color: var(--lux-accent);
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  padding: 8px 0;
  width: 100%;
  border-bottom: 1px solid rgba(215,198,98,0.07);
  transition: color 0.2s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--lux-gold);
  text-decoration: underline;
}

/* ==== Hero Section ==== */
.hero {
  background: linear-gradient(90deg, var(--lux-bg) 65%, #fffbe6 100%);
  padding: 60px 0 32px 0;
  margin-bottom: 0;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 20px;
}
.hero h1 {
  color: var(--lux-primary);
  font-size: 2.5rem;
  font-family: 'Oswald', Arial, sans-serif;
  font-weight: 700;
  margin-bottom: 12px;
}
.hero p {
  color: var(--lux-text);
  max-width: 520px;
  margin-bottom: 18px;
  font-size: 1.17rem;
}
.hero .cta-btn {
  margin-top: 14px;
}

/* === Features Section / Cards === */
.features {
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--lux-shadow);
  margin-bottom: 60px;
  padding: 40px 20px;
}
.features .content-wrapper > ul {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-left: 0;
  margin-top: 16px;
}
.features li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1.07rem;
  background: none;
  color: var(--lux-primary);
  padding: 8px 0px;
}
.features img {
  height: 36px;
  width: 36px;
  object-fit: contain;
}

/* === About / Info Section === */
.about {
  background: var(--lux-card);
  border-radius: 14px;
  box-shadow: var(--lux-shadow);
  margin-bottom: 60px;
  padding: 40px 20px;
}
.about strong {
  color: var(--lux-gold);
}

/* === Testimonial Cards === */
.testimonials {
  background: #f9f7ef;
  border-radius: 16px;
  margin-bottom: 60px;
  padding: 40px 20px;
}
.testimonials .content-wrapper {
  gap: 30px;
}
.testimonial-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--lux-shadow);
  border-left: 5px solid var(--lux-gold);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 26px;
  transition: box-shadow .21s, border-color .18s;
}
.testimonial-card p {
  color: #232323;
  margin-bottom: 0;
  font-size: 1.08rem;
  flex: 1 1 auto;
}
.testimonial-card span {
  font-size: 1rem;
  color: var(--lux-primary);
  font-weight: 600;
  font-family: 'Oswald', Arial, sans-serif;
  white-space: nowrap;
  margin-left: 12px;
}
.testimonial-card:hover {
  box-shadow: 0 4px 24px 0 rgba(212,175,55,.13);
  border-left: 5px solid var(--lux-secondary);
}

/* === Contact Info Section === */
.contact {
  background: #fff9eb;
  border-radius: 16px;
  box-shadow: var(--lux-shadow);
  padding: 40px 20px;
  margin-bottom: 60px;
}
.contact strong {color: var(--lux-primary);}
.contact .text-section img {
  height: 22px;
  width: 22px;
  margin-right: 10px;
  margin-bottom: -4px;
}

/* === Services Section === */
.services {
  background: var(--lux-card);
  border-radius: 16px;
  box-shadow: var(--lux-shadow);
  padding: 40px 20px;
  margin-bottom: 60px;
}

/* === Footer === */
footer {
  background: var(--lux-primary);
  color: var(--lux-gold);
  padding: 32px 0 12px 0;
  font-size: 1rem;
}
footer .container {
  align-items: flex-start;
  gap: 24px;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: center;
  margin-bottom: 10px;
}
.footer-nav a {
  color: var(--lux-gold);
  font-family: 'Oswald', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  transition: color .19s, text-decoration .16s;
}
.footer-nav a:hover {
  color: var(--lux-secondary);
  text-decoration: underline;
}
.footer-contact {
  color: var(--lux-gold);
  font-size: 1rem;
}
.footer-contact a {
  color: var(--lux-secondary);
  text-decoration: underline;
}

/* === General Card Styles === */
.card {
  background: var(--lux-card);
  border-radius: 14px;
  box-shadow: var(--lux-shadow);
  border: 1px solid var(--lux-border);
  margin-bottom: 20px;
  transition: box-shadow .18s;
}
.card:hover {
  box-shadow: 0 6px 32px 0 rgba(212,175,55,.15);
}

/* === Utility Classes === */
.mb-20 {margin-bottom: 20px;}
.mb-40 {margin-bottom: 40px;}
.mt-20 {margin-top: 20px;}
.mt-40 {margin-top: 40px;}

/* === Cookie Consent Banner === */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #fffbe9;
  color: var(--lux-primary);
  box-shadow: 0 -2px 16px 0 rgba(22,20,17,0.10);
  padding: 18px 20px;
  z-index: 2200;
  border-top: 2px solid var(--lux-gold);
  gap: 24px;
  font-size: 1.07rem;
  animation: fadeInBanner 0.5s;
}
@keyframes fadeInBanner {
  from {bottom:-64px; opacity:0;}
  to {bottom:0; opacity:1;}
}
.cookie-banner .cookie-btns {
  display: flex;
  flex-direction: row;
  gap: 14px;
  margin-left: 24px;
}
.cookie-btn {
  background: var(--lux-gold);
  color: var(--lux-primary);
  border-radius: 24px;
  padding: 7px 20px;
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border: 1px solid var(--lux-gold);
  transition: background 0.13s, color 0.13s;
  margin-left: 0;
}
.cookie-btn.secondary {
  background: var(--lux-primary);
  color: var(--lux-gold);
  border: 1px solid var(--lux-gold);
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--lux-secondary);
  color: var(--lux-primary);
}
.cookie-btn.secondary:hover, .cookie-btn.secondary:focus {
  background: #fff;
  color: var(--lux-primary);
}

/* === Cookie Modal Popup === */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(32,30,27,.73);
  z-index: 2300;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .25s;
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: #fff;
  border-radius: 20px;
  min-width: 320px;
  max-width: 96vw;
  padding: 32px 24px 24px 24px;
  box-shadow: 0 8px 36px 0 rgba(22,20,17,0.17);
  border: 2px solid var(--lux-gold);
  animation: modalFadeIn .32s;
}
@keyframes modalFadeIn {
  from { transform: translateY(40px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1;  }
}
.cookie-modal h2 {
  color: var(--lux-primary);
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 1.3rem;
  margin-bottom: 10px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 16px 0 8px 0;
  font-size: 1.11rem;
  color: var(--lux-primary);
}
.cookie-modal .cookie-toggle {
  appearance: none;
  width: 38px;
  height: 22px;
  background: #ece8da;
  border-radius: 12px;
  position: relative;
  outline: none;
  cursor: pointer;
  margin-left: 10px;
  transition: background 0.19s;
}
.cookie-modal .cookie-toggle:checked {
  background: var(--lux-primary);
}
.cookie-modal .cookie-toggle:before {
  content: '';
  position: absolute;
  left: 3px;
  top: 3px;
  width: 16px;
  height: 16px;
  background: var(--lux-gold);
  border-radius: 50%;
  transition: transform 0.26s;
}
.cookie-modal .cookie-toggle:checked:before {
  transform: translateX(16px);
}
.cookie-modal .cookie-toggle[disabled], .cookie-modal .cookie-toggle:disabled {
  background: #e5e1e0;
  cursor: not-allowed;
}
.cookie-modal .category-desc {
  color: var(--lux-muted);
  font-size: 0.98rem;
  margin-left: 7px;
}
.cookie-modal-actions {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
  margin-top: 18px;
}

/* === Animations === */
a, .cta-btn, button, .main-nav a, .mobile-nav a, .cookie-btn {
  transition: background .21s, color .18s, box-shadow .19s, border-color .13s;
}

/* === Responsive Design (Mobile-first) === */
@media (max-width: 1170px) {
  .container { max-width: 96vw; }
}

@media (max-width: 980px) {
  .container { max-width: 100vw; }
  .main-nav {gap: 14px;}
  .footer-nav {gap: 14px;}
}

@media (max-width: 768px) {
  h1 { font-size: 2.0rem; }
  h2 { font-size: 1.3rem; }
  .hero {padding: 40px 0 18px 0;}
  .section, .about, .features, .testimonials, .contact, .services {
    padding: 28px 10px;
    margin-bottom: 42px;
  }
  .main-nav, .cta-btn {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  header .container {
    min-height: 54px;
    gap: 12px;
    padding-right: 8px;
  }
  .hero .content-wrapper {padding: 0;}
  .content-wrapper {max-width: 100vw;gap: 16px;}
  .features .content-wrapper > ul, .about .content-wrapper > ul {
    gap: 14px;
  }
  .features img {height: 30px;width: 30px;}
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 14px 9px;
  }
  .footer-nav {
    flex-direction: column;
    gap: 9px;
    align-items: flex-start;
  }
  .footer-contact {font-size: 0.98rem;}
  .text-image-section {
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
  }
  .contact .text-section img, .about .text-section img {height: 18px;width: 18px;margin-right:8px;}
}

@media (max-width: 560px) {
  .container { padding: 0 3vw; }
  h1 {font-size: 1.45rem;}
  h2 {font-size: 1.1rem;}
  p, li, span, a {font-size: 0.97rem;}
  .cookie-banner {font-size: 0.95rem;padding: 14px 2vw;}
}

/* ========== Extra details for luxury premium effect ========== */
hr, .divider {
  border: 0;
  border-bottom: 1.5px solid var(--lux-gold);
  margin: 28px 0;
}

.section, .features, .about, .testimonials, .services, .contact {
  border-radius: 22px 22px 18px 18px / 22px 22px 18px 18px;
}

::-webkit-scrollbar { width: 10px; background: #efe9d7; }
::-webkit-scrollbar-thumb { background: var(--lux-gold); border-radius: 12px; }

/* Focus accessibility: */
a:focus, .cta-btn:focus, button:focus, .cookie-btn:focus,
.main-nav a:focus, .mobile-nav a:focus {
  outline: 2px solid var(--lux-secondary);
  outline-offset: 2px;
}

/* ========== Prevent overlap and spacing enforcement ========== */
.card:not(:last-child), .testimonial-card:not(:last-child), .section:not(:last-child) {
  margin-bottom: 20px;
}
.content-wrapper > *:not(:last-child) {
  margin-bottom: 20px;
}

/* ========== Hide elements for accessibility improvements ========== */
[hidden] {display: none !important;}
