/* ===== CSS CUSTOM PROPERTIES ===== */
:root {
  --gold: #C9A84C;
  --gold-light: #D4B96A;
  --champagne: #F5EDD8;
  --dusty-rose: #EDD5C8;
  --charcoal: #1F1F1F;
  --stone: #8C8C8C;
  --warm-white: #FEFCF8;

  --font-heading: 'Cormorant Garamond', serif;
  --font-body: 'DM Sans', sans-serif;

  --section-pad: 80px 100px;
  --section-pad-mobile: 60px 24px;
  --nav-height: 72px;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-y: scroll;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--charcoal);
  background: var(--warm-white);
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: 1.2;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

/* ===== UTILITY ===== */
.gold { color: var(--gold); }

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== NAV BAR — floating pill ===== */
#nav {
  position: fixed;
  top: 28px;
  left: 50%;
  transform: translateX(-50%);
  width: auto;
  min-width: 620px;
  height: 58px;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  padding: 0 12px 0 20px;
  background: rgba(254, 252, 248, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(201, 168, 76, 0.22);
  border-radius: 100px;
  box-shadow: 0 4px 32px rgba(0,0,0,0.08), 0 1px 0 rgba(255,255,255,0.6) inset;
  transition: background 0.35s ease, box-shadow 0.35s ease;
}

#nav:hover {
  background: rgba(254, 252, 248, 0.96);
  box-shadow: 0 8px 40px rgba(0,0,0,0.12), 0 1px 0 rgba(255,255,255,0.6) inset;
}

.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}

.nav-logo img {
  height: 20px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--charcoal);
  text-decoration: none;
  transition: color 0.25s ease;
  white-space: nowrap;
}

.nav-links a:hover { color: var(--gold); }

.nav-cta {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--warm-white);
  background: var(--charcoal);
  padding: 11px 22px;
  border-radius: 100px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.25s ease;
  flex-shrink: 0;
}

.nav-cta:hover { background: var(--gold); }

/* Hamburger toggle */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  gap: 5px;
  padding: 0;
}

.nav-hamburger span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--charcoal);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-hamburger.open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.nav-hamburger.open span:nth-child(2) {
  opacity: 0;
}
.nav-hamburger.open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Mobile dropdown */
.nav-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% + 16px);
  background: rgba(254, 252, 248, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(201, 168, 76, 0.22);
  border-radius: 20px;
  padding: 28px 24px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.12);
  flex-direction: column;
  gap: 20px;
  list-style: none;
}

.nav-dropdown.open {
  display: flex;
}

.nav-dropdown a {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--charcoal);
  text-decoration: none;
  transition: color 0.25s ease;
  padding: 4px 0;
}

.nav-dropdown a:hover { color: var(--gold); }

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--charcoal);
  color: var(--warm-white);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 18px 40px;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

.btn-primary:hover {
  background: #333;
  transform: translateY(-1px);
}

.btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--gold);
  color: var(--warm-white);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 18px 40px;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

.btn-gold:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--charcoal);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 17px 39px;
  border: 1px solid var(--charcoal);
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-outline:hover {
  background: var(--charcoal);
  color: var(--warm-white);
}

.link-learn-more {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--stone);
  transition: color 0.3s ease;
  cursor: pointer;
}

.link-learn-more:hover {
  color: var(--gold);
}

/* ===== SECTION HEADINGS ===== */
.section-label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--gold);
  margin-bottom: 16px;
}

.section-heading {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 500;
  margin-bottom: 12px;
}

.section-sub {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 400;
  font-style: italic;
  color: var(--stone);
  margin-bottom: 32px;
}

/* ===== DECORATIVE GOLD LINE ===== */
.gold-line {
  width: 48px;
  height: 2px;
  background: var(--gold);
  margin-bottom: 32px;
}

.gold-line.center {
  margin-left: auto;
  margin-right: auto;
}

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  padding: 160px 100px 80px;
  text-align: center;
  background: var(--warm-white);
}

.page-hero .section-heading {
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  margin-bottom: 16px;
}

.page-hero .section-sub {
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0;
}

/* ===== FOOTER ===== */
#footer {
  background: var(--charcoal);
  padding: 80px 100px 48px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 64px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 36px;
}

.footer-logo {
  margin-bottom: 20px;
}

.footer-logo img {
  height: 32px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.footer-tagline {
  font-size: 13px;
  font-weight: 300;
  color: rgba(255,255,255,0.45);
  line-height: 1.8;
  max-width: 240px;
  margin-bottom: 28px;
}

.footer-socials {
  display: flex;
  gap: 16px;
}

.footer-socials a {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.footer-socials a:hover {
  border-color: var(--gold);
  background: rgba(201,168,76,0.1);
}

.footer-socials svg {
  width: 15px;
  height: 15px;
  stroke: rgba(255,255,255,0.5);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 0.25s ease;
}

.footer-socials a:hover svg { stroke: var(--gold); }

.footer-address {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-address p {
  font-size: 14px;
  font-weight: 400;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
}

.footer-address a {
  color: rgba(255,255,255,0.7);
  transition: color 0.25s ease;
}

.footer-address a:hover {
  color: var(--gold);
}

.footer-hours {
  margin-top: 20px;
}

.footer-hours-title {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--gold);
  margin-bottom: 12px;
}

.footer-hours-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-hours-list li {
  font-size: 13px;
  font-weight: 300;
  color: rgba(255,255,255,0.45);
  display: flex;
  justify-content: space-between;
  max-width: 220px;
}

.footer-hours-list li span:first-child {
  color: rgba(255,255,255,0.6);
}

.footer-col-title {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--gold);
  margin-bottom: 24px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-col ul a {
  font-size: 13px;
  font-weight: 300;
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  transition: color 0.25s ease;
  letter-spacing: 0.3px;
}

.footer-col ul a:hover { color: var(--warm-white); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-copy {
  font-size: 11px;
  font-weight: 300;
  color: rgba(255,255,255,0.25);
  letter-spacing: 1px;
}

.footer-address-line {
  font-size: 12px;
  font-weight: 400;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.5px;
}

/* ===== CAROUSEL (mobile horizontal scroll) ===== */
.scroll-carousel {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.scroll-carousel::-webkit-scrollbar { display: none; }

.scroll-dots {
  display: none;
}

/* ===== MOBILE RESPONSIVE (<768px) ===== */
@media (max-width: 768px) {
  /* --- Typography --- */
  .section-label {
    font-size: 10px;
    letter-spacing: 2.5px;
  }

  .section-sub {
    font-size: 18px;
  }

  .section-heading {
    text-wrap: balance;
  }

  /* --- Buttons: touch-friendly --- */
  .btn-primary,
  .btn-gold,
  .btn-outline {
    min-height: 52px;
    -webkit-tap-highlight-color: transparent;
  }

  .btn-primary:active,
  .btn-gold:active,
  .btn-outline:active {
    transform: scale(0.98);
    opacity: 0.9;
  }

  /* --- Nav --- */
  #nav {
    min-width: unset;
    width: auto;
    left: 16px;
    right: 16px;
    transform: none;
    top: 12px;
    height: 46px;
    padding: 0 6px 0 14px;
    gap: 12px;
    border-radius: 80px;
  }

  .nav-logo img {
    height: 16px;
  }

  .nav-cta {
    display: none;
  }

  .nav-links {
    display: none;
  }

  .nav-hamburger {
    display: flex;
    width: 38px;
    height: 38px;
  }

  .nav-hamburger span {
    width: 17px;
  }

  /* Nav dropdown */
  .nav-dropdown {
    left: 0;
    right: 0;
    transform: none;
    width: auto;
    padding: 20px;
    gap: 16px;
    border-radius: 16px;
    top: calc(100% + 8px);
  }

  .nav-dropdown a {
    font-size: 12px;
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .nav-dropdown.open {
    animation: navSlideDown 0.25s ease;
  }

  .nav-dropdown li:last-child a {
    background: var(--gold);
    color: var(--warm-white);
    border-radius: 100px;
    text-align: center;
    padding: 14px 24px;
    display: block;
    margin-top: 4px;
  }

  .nav-dropdown li:last-child a:hover {
    background: var(--gold-light);
    color: var(--warm-white);
  }

  /* --- Page hero --- */
  .page-hero {
    padding: 120px 24px 48px;
  }

  .gold-line {
    margin-left: auto;
    margin-right: auto;
  }

  /* --- Carousel dots --- */
  .scroll-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
  }

  .scroll-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.12);
    transition: background 0.3s ease, transform 0.3s ease;
  }

  .scroll-dots span.active {
    background: var(--gold);
    transform: scale(1.15);
  }

  /* --- Footer --- */
  #footer {
    padding: 48px 24px 32px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .footer-top > * {
    padding: 32px 0;
    border-bottom: 1px solid rgba(201, 168, 76, 0.15);
  }

  .footer-top > *:first-child {
    padding-top: 0;
  }

  .footer-top > *:last-child {
    border-bottom: none;
  }

  .footer-socials a {
    width: 44px;
    height: 44px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

/* Nav slide-down keyframes */
@keyframes navSlideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
