
/* LuxHolia - Final Complete CSS Including Header, Nav, Footer, and Toggle Enhancements 

:root {
  --bg-light: #fdfcf9;
  --bg-dark: #0d0d0d;
  --text-light: #2a2a2a;
  --text-dark: #dcdada;
  --accent-gold: #f0b609;
  --accent-gold-dark: #332f32;
  --sand-light: #e0d9c9;
  --elegant-font: 'Playfair Display', serif;
  --body-font: 'DM Sans', sans-serif;
}

/* Base Reset 
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--body-font);
  background-color: var(--bg-light);
  color: var(--text-light);
  line-height: 1.7;
  font-size: 16px;
  transition: background 0.3s, color 0.3s;
}

body.dark-mode {
  background-color: var(--bg-dark);
  color: var(--text-dark);
}

h1, h2, h3, h4 {
  font-family: var(--elegant-font);
  color: var(--accent-gold);
  font-weight: 600;
  line-height: 1.3;
}

/* Header 
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 20px 60px;
  background-color: #fff;
  box-shadow: 0 1px 12px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

body.dark-mode header {
  background-color: #141414;
}

.logo {
  height: 100px;
}

/* Navigation 
nav ul {
  list-style: none;
  display: flex;
  gap: 40px;
  margin: 0;
  padding: 0;
}

nav a {
  font-family: var(--body-font);
  color: var(--text-light);
  font-weight: 500;
  text-decoration: none;
  position: relative;
  transition: color 0.3s ease;
  padding: 8px 4px;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  height: 2px;
  width: 0%;
  background: var(--accent-gold);
  transition: width 0.3s ease;
}

nav a:hover::after,
nav a.active::after {
  width: 100%;
}

nav a:hover,
nav a.active {
  color: var(--accent-gold);
}

body.dark-mode nav a {
  color: var(--sand-light);
}

/* Toggle Button 
.toggle-mode {
  margin-left: 20px;
  padding: 10px 18px;
  font-size: 0.9rem;
  border-radius: 6px;
  border: none;
  background: var(--accent-gold);
  color: #fff;
  cursor: pointer;
  transition: background 0.3s;
}

.toggle-mode:hover {
  background: var(--accent-gold-dark);
}

body.dark-mode .toggle-mode {
  background: var(--accent-gold-dark);
}

/* Hero Section 
.hero {
  padding: 140px 60px 100px;
  background: linear-gradient(135deg, #827f79, #846535);
  text-align: center;
}

body.dark-mode .hero {
  background: linear-gradient(135deg, #827f79, #846535);
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto;
  color: inherit;
}

/* hero slider section
.hero-slider {
  position: relative;
  width: 100%;
  height: 80vh;
  overflow: hidden;
}

.slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease;
}

.slide.active {
  opacity: 1;
  z-index: 1;
}

.caption {
  position: absolute;
  bottom: 15%;
  left: 10%;
  color: white;
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.6);
  max-width: 600px;
}

.caption h1 {
  font-family: var(--elegant-font);
  font-size: 3rem;
  margin-bottom: 10px;
  color: var(--accent-gold);
}

.caption p {
  font-family: var(--body-font);
  font-size: 1.2rem;
  color: #fff;
}



/* Featured Section 
.featured {
  padding: 100px 60px 80px;
  background-color: #9b9b9a;
  text-align: center;
}

body.dark-mode .featured {
  background-color: #111;
}

.featured h2 {
  font-family: var(--elegant-font);
  font-size: 2.5rem;
   color: var(--accent-gold);
  margin-bottom: 50px;
  position: relative;
}

.featured h2::after {
  content: '';
  width: 80px;
  height: 2px;
  background: var(--accent-gold);
  display: block;
  margin: 20px auto 0;
}

.highlight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 50px;
  padding: 0 20px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Card Styles 
.card {
  position: relative;
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  border: 1px solid rgba(191, 168, 126, 0.1);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  transition: all 0.3s ease;
}

.card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom right, rgba(191,168,126,0.08), transparent);
  z-index: 0;
}

.card img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.card h3 {
  font-size: 1.4rem;
  margin: 10px 0;
  color: var(--accent-gold);
  z-index: 1;
  position: relative;
}

.card p {
  color: #ae9803;
  position: relative;
  z-index: 1;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.12);
}

body.dark-mode .card {
  background: #1b1b1b;
  color: var(--text-dark);
  border-color: rgba(255, 255, 255, 0.05);
  box-shadow: 0 10px 25px rgba(255, 255, 255, 0.02);
}

/* Footer 
footer {
  text-align: center;
  font-size: 0.9rem;
  padding: 30px;
  color: #999;
  background: #f8f8f8;
}

body.dark-mode footer {
  background: #111;
  color: #aaa;
}


/* Responsive Design 
@media (max-width: 768px) {
  header {
    flex-direction: column;
    gap: 20px;
    padding: 20px;
  }

  nav ul {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .hero {
    padding: 100px 20px 60px;
  }

  .toggle-mode {
    margin-top: 20px;
  }

  .highlight-grid {
    padding: 0 20px 60px;
  }
}


/* Header layout 
.site-header {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: saturate(140%) blur(10px);
  background: rgba(255, 255, 255, 0.75);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 20px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 14px;
}

.brand {
  font-family: "DM Sans", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-weight: 700;
  letter-spacing: 0.2px;
  text-decoration: none;
  color: #0f172a;
  font-size: 1.25rem;
}

.primary-nav a {
  text-decoration: none;
  color: #334155;
  margin: 0 10px;
  font-weight: 600;
}

.header-actions {
  display: flex;
  gap: 10px;
  justify-self: end;
}

/* Buttons 
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.email-btn {
  color: #0ea5e9;
  background: #e0f2fe;
  border: 1px solid #bae6fd;
}
.email-btn:hover { background: #dbeafe; }

.call-btn {
  color: #fff;
  background: linear-gradient(90deg, #0ea5e9, #f472b6);
  border: 1px solid transparent;
  box-shadow: 0 6px 20px rgba(14,165,233,0.18);
  transform: translateZ(0);
  transition: box-shadow .2s, transform .15s;
}
.call-btn:hover {
  box-shadow: 0 10px 28px rgba(14,165,233,0.26);
  transform: translateY(-1px);
}

@media (max-width: 800px) {
  .header-inner {
    grid-template-columns: 1fr auto;
    gap: 10px;
  }
  .primary-nav { display: none; } /* optional for compact mobile */
  .email-btn span { display: none; } /* show only icon on small screens 
  .btn { padding: 10px 12px; }
}
*/

/* ==== Base ==== */
:root {
  --ink: #0f172a;
  --muted: #475569;
  --brand-1: #0ea5e9;
  --brand-2: #f472b6;
  --surface: #ffffff;
  --surface-glass: rgba(255,255,255,.75);
}
* { box-sizing: border-box; }
html, body {
  margin: 0; padding: 0;
  font-family: "DM Sans", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--ink); background: #f8fafc;
}

/* ==== Header ==== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: saturate(140%) blur(10px);
  background: var(--surface-glass);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.header-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 12px 20px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center; gap: 14px;
}
.brand {
  text-decoration: none; color: var(--ink);
  font-size: 1.25rem; font-weight: 700; letter-spacing: .2px;
}
.primary-nav a {
  text-decoration: none; color: #334155; margin: 0 10px; font-weight: 600;
}
.header-actions { display: flex; gap: 10px; justify-self: end; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 14px; border-radius: 999px; text-decoration: none;
  font-weight: 700; line-height: 1; white-space: nowrap;
}
.email-btn { color: var(--brand-1); background: #e0f2fe; border: 1px solid #bae6fd; }
.email-btn:hover { background: #dbeafe; }
.call-btn {
  color: #fff; background: linear-gradient(90deg, var(--brand-1), var(--brand-2));
  border: 1px solid transparent; box-shadow: 0 6px 20px rgba(14,165,233,0.18);
  transform: translateZ(0); transition: box-shadow .2s, transform .15s;
}
.call-btn:hover { box-shadow: 0 10px 28px rgba(14,165,233,0.26); transform: translateY(-1px); }

@media (max-width: 900px) {
  .header-inner { grid-template-columns: 1fr auto; }
  .primary-nav { display: none; }
  .email-btn span { display: none; }
  .btn { padding: 10px 12px; }
}

/* ==== Hero Slider (minimal styles to look good) ==== */
.hero-slider { position: relative; overflow: hidden; }
.slides { position: relative; height: clamp(360px, 65vh, 640px); }
.slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity .6s ease;
}
.slide.active { opacity: 1; }
.caption {
  position: absolute; left: 50%; bottom: 10%;
  transform: translateX(-50%);
  color: #fff; text-align: center; padding: 16px 20px;
  background: linear-gradient(180deg, rgba(0,0,0,.0), rgba(0,0,0,.45));
  border-radius: 14px; width: min(90%, 900px);
}
.caption h1 { margin: 0 0 8px; font-size: clamp(24px, 4vw, 44px); }
.caption p { margin: 0; font-size: clamp(14px, 2vw, 20px); }

/* ==== Featured Grid ==== */
.featured { max-width: 1200px; margin: 48px auto 80px; padding: 0 20px; }
.featured h2 { font-size: clamp(22px, 3vw, 32px); margin: 0 0 18px; }
.highlight-grid {
  display: grid; gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.card {
  background: var(--surface); border: 1px solid #e2e8f0; border-radius: 16px;
  box-shadow: 0 6px 24px rgba(15,23,42,0.06);
  overflow: hidden; transition: transform .15s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(15,23,42,0.12); }
.card img {
  width: 100%; height: 180px; object-fit: cover; object-position: center; display: block;
}
.card h3 { margin: 12px 14px 6px; font-size: 1.1rem; }
.card p { margin: 0 14px 16px; color: var(--muted); }

/* Small fade-in utility */
.fade-in-up { opacity: 0; transform: translateY(12px); animation: in .6s .1s forwards ease-out; }
.fade-in-up.delay { animation-delay: .2s; }
@keyframes in { to { opacity: 1; transform: none; } }



/* ===== Header: mobile nav + call popover ===== */

/* base */
.site-header { position: sticky; top: 0; z-index: 1000; backdrop-filter: saturate(140%) blur(10px); background: rgba(255,255,255,.75); border-bottom: 1px solid rgba(0,0,0,0.06); }
.header-inner { max-width: 1200px; margin: 0 auto; padding: 12px 20px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; }
.brand { text-decoration: none; color: var(--ink); font-weight: 800; font-size: 1.25rem; }

/* nav desktop */
.primary-nav { display: flex; gap: 16px; justify-self: center; }
.primary-nav a { text-decoration: none; color: #334155; font-weight: 700; padding: 8px 10px; border-radius: 10px; }
.primary-nav a:hover { background: #f1f5f9; }
.header-actions { display: flex; gap: 10px; justify-self: end; }

/* hamburger (hidden on desktop) */
.nav-toggle { display: none; border: 0; background: transparent; width: 38px; height: 34px; border-radius: 8px; position: relative; }
.nav-toggle .bar { position: absolute; left: 8px; right: 8px; height: 2px; background: #0f172a; transition: transform .2s ease, opacity .2s ease, top .2s ease; }
.nav-toggle .bar:nth-child(2) { top: 16px; }
.nav-toggle .bar:nth-child(1) { top: 10px; }
.nav-toggle .bar:nth-child(3) { top: 22px; }
.nav-toggle[aria-expanded="true"] .bar:nth-child(1) { top: 16px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .bar:nth-child(3) { top: 16px; transform: rotate(-45deg); }

/* call popover */
.call-popover { position: absolute; right: 20px; top: 56px; background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; box-shadow: 0 18px 50px rgba(15,23,42,.18); padding: 10px; width: 240px; display: none; }
.call-popover.open { display: block; }
.call-line { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.call-line strong { font-size: 1.05rem; color: var(--ink); }
.copy-btn { border: 1px solid #e5e7eb; background: #f8fafc; border-radius: 8px; padding: 6px 10px; cursor: pointer; font-weight: 700; }
.copy-btn:hover { background: #eef2f7; }
.popover-link { display: inline-block; text-decoration: none; color: var(--brand-1); font-weight: 800; }

/* responsive: mobile nav */
@media (max-width: 900px) {
  .header-inner { grid-template-columns: auto auto 1fr; }
  .primary-nav { 
    position: absolute; left: 0; right: 0; top: 60px; 
    display: none; flex-direction: column; gap: 4px; 
    padding: 10px 12px; background: rgba(255,255,255,.98); 
    border-bottom: 1px solid #e5e7eb; 
  }
  .primary-nav.open { display: flex; }
  .nav-toggle { display: inline-block; }
  .header-actions { justify-self: end; }
  .email-btn span { display: none; } /* keep header compact on phones */
  .call-popover { right: 12px; top: 56px; }
}
/* Cursor on hamburger */
.nav-toggle { cursor: pointer; }

/* Active/current page link */
.primary-nav a.is-active,
.primary-nav a[aria-current="page"] {
  color: var(--ink);
  background: #eaf3ff;                /* subtle highlight */
  border-radius: 10px;
}

/* Header appearance once page is scrolled */
.site-header.scrolled {
  background: rgba(255,255,255,.98);
  box-shadow: 0 8px 24px rgba(15,23,42,.10);
  border-bottom-color: transparent;
}

/* Optional: slightly bolder active link on mobile menu too */
@media (max-width: 900px) {
  .primary-nav a.is-active,
  .primary-nav a[aria-current="page"] {
    background: #eef2f7;
  }
}

/* ===== Footer ===== */
/* ===== Footer ===== */
.site-footer {
  background: #0f172a; /* slate-900 */
  color: #e2e8f0;      /* slate-200 */
  border-top: 1px solid rgba(255,255,255,0.06);
  position: relative;
}
.site-footer a { color: #e2e8f0; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 36px 20px 28px;
  display: grid;
  grid-template-columns: 1.2fr .8fr .8fr 1.2fr;
  gap: 22px;
}
.footer-col h4 {
  margin: 0 0 10px;
  font-weight: 800;
  font-size: 1.05rem;
  color: #ffffff;
}
.footer-nav a,
.footer-help a {
  display: block;
  padding: 6px 0;
  opacity: .92;
}
.footer-brand .brand {
  font-weight: 900;
  font-size: 1.35rem;
  background: linear-gradient(90deg, var(--brand-1), var(--brand-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.footer-brand .tagline {
  margin: 8px 0 14px;
  color: #cbd5e1;
}
.contact-lines .footer-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-right: 14px;
  margin-bottom: 10px;
}
.social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.06);
  margin-right: 8px;
}
.social a:hover { background: rgba(255,255,255,0.12); }

/* Newsletter */
.newsletter-form { margin-top: 6px; }
.newsletter-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}
.newsletter-row input[type="email"] {
  font: inherit;
  color: #0f172a;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 10px 12px;
}
.newsletter-row button {
  border: 0;
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(90deg, var(--brand-1), var(--brand-2));
  box-shadow: 0 6px 20px rgba(14,165,233,0.22);
  cursor: pointer;
}
.newsletter-row button:hover { transform: translateY(-1px); }
.newsletter-success {
  display: none;
  margin-top: 8px;
  color: #bbf7d0; /* green-200 */
  font-weight: 700;
}

/* Bottom strip */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  gap: 10px;
}
.footer-bottom p { margin: 0; color: #cbd5e1; }

/* Back to top */
.back-to-top {
  position: fixed;
  right: 16px; bottom: 16px;
  width: 42px; height: 42px;
  border: 0; border-radius: 50%;
  background: #0f172a;
  color: #fff;
  box-shadow: 0 12px 28px rgba(0,0,0,.25);
  display: none;                /* toggled by JS */
  align-items: center; justify-content: center;
  cursor: pointer;
}
.back-to-top:hover { opacity: .9; }


.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px;
  background: #0f172a; color: #fff; border-radius: 12px; padding: 14px;
  display: none; gap: 12px; z-index: 10000; box-shadow: 0 10px 36px rgba(0,0,0,.3);
}
.cookie-banner p { margin: 0; }
.cookie-actions { display: flex; gap: 8px; }
.cookie-btn {
  border: 0; border-radius: 999px; padding: 10px 14px; font-weight: 800; cursor: pointer;
}
.cookie-accept { background: linear-gradient(90deg, var(--brand-1), var(--brand-2)); color:#fff; }
.cookie-decline { background:#fff; color:#0f172a; }
@media (max-width: 640px) {
  .cookie-banner { flex-direction: column; align-items: stretch; }
  .cookie-actions { justify-content: flex-end; }
}




/* Responsive */
@media (max-width: 900px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  .footer-inner {
    grid-template-columns: 1fr;
  }
  .contact-lines .footer-link { display: flex; margin-right: 0; }
}


