/* ==============================
   MILHARI — Shared Stylesheet
   ============================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=Lato:wght@300;400;700&display=swap');

/* === TOKENS === */
:root {
  --olive-deep:    #4A5240;
  --olive-mid:     #6B7260;
  --olive-light:   #C5C9B8;
  --gold:          #B8943F;
  --gold-light:    #D4AF6A;
  --cream:         #F5F0E8;
  --cream-dark:    #EDE6D6;
  --white:         #FFFFFF;
  --ink:           #2C2C2C;
  --ink-light:     #5A5A5A;

  --font-display:  'Cormorant Garamond', Georgia, serif;
  --font-body:     'Lato', system-ui, sans-serif;

  --radius:        4px;
  --transition:    0.3s ease;
  --max-width:     1160px;
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.7;
  font-size: 16px;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* === LEAF SVG MOTIF === */
.leaf-motif {
  display: inline-block;
  width: 32px;
  height: 32px;
  opacity: 0.85;
}

/* === NAVBAR === */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(245, 240, 232, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--olive-light);
  transition: box-shadow var(--transition);
}
.navbar.scrolled { box-shadow: 0 2px 20px rgba(74, 82, 64, 0.12); }
.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.nav-logo img {
  height: 52px;
  width: auto;
  object-fit: contain;
}
.nav-logo-text {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--olive-deep);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}
.nav-links a {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--olive-deep);
  transition: color var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width var(--transition);
}
.nav-links a:hover { color: var(--gold); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--gold); }
.nav-cta {
  background: var(--olive-deep);
  color: var(--cream) !important;
  padding: 0.5rem 1.4rem;
  border-radius: var(--radius);
  letter-spacing: 0.12em !important;
  transition: background var(--transition) !important;
}
.nav-cta:hover { background: var(--gold) !important; color: var(--white) !important; }
.nav-cta::after { display: none !important; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--olive-deep);
  transition: var(--transition);
}

/* === BUTTONS === */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.85rem 2.2rem;
  border-radius: var(--radius);
  cursor: pointer;
  border: none;
  transition: all var(--transition);
}
.btn-primary {
  background: var(--gold);
  color: var(--white);
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  color: var(--cream);
  border: 1.5px solid var(--cream);
}
.btn-outline:hover { background: var(--cream); color: var(--olive-deep); }
.btn-dark {
  background: var(--olive-deep);
  color: var(--cream);
}
.btn-dark:hover { background: var(--olive-mid); transform: translateY(-1px); }

/* === SECTION UTILITIES === */
.section {
  padding: 6rem 2rem;
}
.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}
.section-label {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1rem;
}
.section-label::before,
.section-label::after {
  content: '';
  display: block;
  width: 28px; height: 1px;
  background: var(--gold);
}
.section-label.center {
  justify-content: center;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--olive-deep);
  margin-bottom: 1.2rem;
}
.section-title em { font-style: italic; color: var(--gold); }
.section-body {
  font-size: 1.05rem;
  color: var(--ink-light);
  max-width: 560px;
  line-height: 1.8;
}
.text-center { text-align: center; }
.text-center .section-body { margin: 0 auto; }

/* === DIVIDER === */
.leaf-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 2rem 0;
}
.leaf-divider::before,
.leaf-divider::after {
  content: '';
  flex: 1;
  max-width: 120px;
  height: 1px;
  background: var(--olive-light);
}

/* === FOOTER === */
footer {
  background: var(--olive-deep);
  color: var(--cream);
  padding: 4rem 2rem 2rem;
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(197, 201, 184, 0.25);
}
.footer-brand .nav-logo-text { color: var(--cream); font-size: 1.4rem; }
.footer-brand p {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--olive-light);
  line-height: 1.8;
  max-width: 280px;
}
.footer-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1rem;
  color: var(--gold-light);
  margin-top: 0.5rem;
}
.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1.2rem;
}
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul li a {
  color: var(--olive-light);
  font-size: 0.9rem;
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--cream); }
.footer-bottom {
  padding-top: 1.8rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom p {
  font-size: 0.8rem;
  color: var(--olive-light);
}
.footer-values {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
}
.footer-values span {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-light);
  opacity: 0.7;
}

/* === FADE IN ANIMATION === */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* === MOBILE NAV === */
@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-links {
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: var(--cream);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    border-bottom: 1px solid var(--olive-light);
    transform: translateY(-110%);
    transition: transform var(--transition);
    z-index: 99;
  }
  .nav-links.open { transform: translateY(0); }
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
}

/* Navbar logo stack with tagline */
.nav-logo-stack {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.nav-logo-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.65rem;
  color: var(--gold);
  letter-spacing: 0.08em;
  line-height: 1;
}

/* Tagline banner below navbar */
.tagline-banner {
  position: fixed;
  top: 72px;
  left: 0; right: 0;
  z-index: 99;
  background: var(--olive-deep);
  text-align: center;
  padding: 6px 1rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--gold-light);
}

/* Push page content down to account for navbar + banner */
.hero,
.page-hero {
  padding-top: calc(72px + 32px) !important;
}
