/* =============================================================
   S&D Banquet Hall — Main Stylesheet
   Loaded via functions.php enqueue
   ============================================================= */

/* ── Google Fonts are enqueued via functions.php ── */

:root {
  --gold: #C9A84C;
  --gold-light: #E8C97A;
  --gold-pale: #F5E6C0;
  --cream: #FAF6EE;
  --ivory: #F2EAD8;
  --deep: #1A1209;
  --brown: #3D2B0F;
  --text: #2C1F0A;
  --muted: #8B7355;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Jost', sans-serif;
  background: var(--cream);
  color: var(--text);
  overflow-x: hidden;
}

/* ── WordPress admin bar offset ── */
body.admin-bar nav { top: 32px; }
@media screen and (max-width: 782px) { body.admin-bar nav { top: 46px; } }

/* ── Hide default WP elements on this theme ── */
.site-header-wp, #wpadminbar + .site-header { display: none; }

/* =============================================================
   NAV
   ============================================================= */
nav.sd-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.4rem 5vw;
  background: rgba(26,18,9,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(201,168,76,0.25);
  transition: padding .3s;
}

.sd-nav .nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.7rem; font-weight: 600;
  color: var(--gold); letter-spacing: .05em;
  text-decoration: none; flex-shrink: 0;
}
.sd-nav .nav-logo span { font-style: italic; color: var(--gold-light); }

/* nav menu list */
.sd-nav .nav-links { display: flex; gap: 0; list-style: none; align-items: center; }
.sd-nav .nav-links > li { position: relative; }

.sd-nav .nav-links > li > a,
.sd-nav .nav-links > li > button {
  font-family: 'Jost', sans-serif;
  font-size: .74rem; font-weight: 300;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--ivory); text-decoration: none;
  background: none; border: none; cursor: pointer;
  padding: .5rem 1.1rem;
  display: flex; align-items: center; gap: .35rem;
  transition: color .25s; white-space: nowrap;
}
.sd-nav .nav-links > li > a:hover,
.sd-nav .nav-links > li > button:hover,
.sd-nav .nav-links > li.open > button { color: var(--gold); }

/* chevron */
.nav-chevron {
  display: inline-block; width: 8px; height: 8px;
  border-right: 1px solid currentColor; border-bottom: 1px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform .25s; flex-shrink: 0;
}
.sd-nav .nav-links > li.open .nav-chevron { transform: rotate(-135deg) translateY(-2px); }

/* dropdown panel */
.nav-dropdown {
  position: absolute; top: calc(100% + 10px); left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 220px;
  background: rgba(20,13,4,0.97);
  border: 1px solid rgba(201,168,76,0.2);
  border-top: 2px solid var(--gold);
  opacity: 0; pointer-events: none;
  transition: opacity .22s, transform .22s;
  z-index: 200;
}
.sd-nav .nav-links > li.open .nav-dropdown {
  opacity: 1; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

/* dropdown sections */
.dd-section { padding: .8rem 0; border-bottom: 1px solid rgba(201,168,76,0.1); }
.dd-section:last-child { border-bottom: none; }
.dd-label {
  font-size: .55rem; letter-spacing: .28em; text-transform: uppercase;
  color: rgba(201,168,76,0.45); padding: .3rem 1.4rem .5rem;
  font-family: 'Jost', sans-serif; font-weight: 300;
}
.dd-item {
  display: flex; align-items: center; gap: .7rem;
  padding: .55rem 1.4rem;
  font-family: 'Jost', sans-serif;
  font-size: .8rem; font-weight: 300; letter-spacing: .06em;
  color: rgba(242,234,216,0.7);
  text-decoration: none;
  transition: background .2s, color .2s;
}
.dd-item:hover { background: rgba(201,168,76,0.08); color: var(--gold); }
.dd-item-icon { font-size: .95rem; flex-shrink: 0; width: 20px; text-align: center; }
.dd-item-sub { font-size: .68rem; color: rgba(242,234,216,0.3); display: block; margin-top: .1rem; }

/* CTA button */
.nav-cta {
  font-size: .72rem; letter-spacing: .15em; text-transform: uppercase;
  font-weight: 400; padding: .52rem 1.4rem;
  border: 1px solid var(--gold); color: var(--gold);
  background: transparent; cursor: pointer;
  transition: background .25s, color .25s;
  font-family: 'Jost', sans-serif;
  flex-shrink: 0; margin-left: .8rem;
  text-decoration: none; display: inline-block;
}
.nav-cta:hover { background: var(--gold); color: var(--deep); }

/* hamburger */
.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: .4rem;
}
.nav-hamburger span {
  display: block; width: 24px; height: 1px;
  background: var(--ivory); transition: .3s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* mobile drawer */
.nav-mobile {
  display: none; position: fixed; top: 60px; left: 0; right: 0;
  background: rgba(20,13,4,0.98); border-bottom: 1px solid rgba(201,168,76,0.2);
  z-index: 999; overflow-y: auto; max-height: calc(100vh - 60px);
  padding: 1rem 0 2rem;
}
.nav-mobile.open { display: block; }
.mob-section-label {
  font-size: .58rem; letter-spacing: .28em; text-transform: uppercase;
  color: rgba(201,168,76,0.45); padding: 1.2rem 1.8rem .5rem;
  font-family: 'Jost', sans-serif;
}
.mob-link {
  display: flex; align-items: center; gap: .8rem;
  padding: .7rem 1.8rem;
  font-family: 'Jost', sans-serif; font-size: .85rem; font-weight: 300;
  color: rgba(242,234,216,0.7); text-decoration: none;
  border-left: 2px solid transparent;
  transition: border-color .2s, color .2s;
}
.mob-link:hover { border-color: var(--gold); color: var(--gold); }
.mob-cta {
  margin: 1.5rem 1.8rem 0;
  display: block; text-align: center;
  padding: .9rem; background: var(--gold); color: var(--deep);
  font-family: 'Jost', sans-serif; font-size: .78rem;
  font-weight: 500; letter-spacing: .15em; text-transform: uppercase;
  text-decoration: none;
}

/* =============================================================
   HERO
   ============================================================= */
.sd-hero {
  position: relative; height: 100vh; min-height: 700px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; background: var(--deep);
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 40%, rgba(201,168,76,0.12) 0%, transparent 65%),
    radial-gradient(ellipse 50% 50% at 20% 80%, rgba(201,168,76,0.06) 0%, transparent 60%),
    linear-gradient(160deg, #120D05 0%, #1A1209 40%, #0E0A04 100%);
}
.hero-pattern {
  position: absolute; inset: 0; opacity: .06;
  background-image: repeating-linear-gradient(45deg, var(--gold) 0, var(--gold) 1px, transparent 0, transparent 50%);
  background-size: 28px 28px;
}
.hero-ornament {
  position: absolute; width: 600px; height: 600px;
  border: 1px solid rgba(201,168,76,0.15); border-radius: 50%;
  top: 50%; left: 50%; transform: translate(-50%,-50%);
  animation: sd-spin 40s linear infinite;
}
.hero-ornament::before {
  content: ''; position: absolute; inset: 20px;
  border: 1px solid rgba(201,168,76,0.08); border-radius: 50%;
}
@keyframes sd-spin { to { transform: translate(-50%,-50%) rotate(360deg); } }

.hero-content {
  position: relative; text-align: center; padding: 2rem;
  animation: sd-fadeUp .9s ease both;
}
@keyframes sd-fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-tag {
  display: inline-block;
  font-size: .68rem; letter-spacing: .3em; text-transform: uppercase;
  color: var(--gold); font-weight: 300; margin-bottom: 1.4rem;
  animation: sd-fadeUp .9s .1s ease both;
}
.hero-tag::before, .hero-tag::after { content: '—'; margin: 0 .6em; opacity: .5; }

.sd-hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3.2rem, 8vw, 7rem);
  font-weight: 300; line-height: 1.05;
  color: var(--ivory);
  animation: sd-fadeUp .9s .2s ease both;
}
.sd-hero h1 em { font-style: italic; color: var(--gold); display: block; }

.hero-sub {
  margin-top: 1.8rem;
  font-size: 1rem; font-weight: 200; letter-spacing: .08em;
  color: rgba(242,234,216,0.6); max-width: 480px; margin-inline: auto;
  animation: sd-fadeUp .9s .35s ease both;
}
.hero-actions {
  margin-top: 2.8rem; display: flex; gap: 1.2rem;
  justify-content: center; flex-wrap: wrap;
  animation: sd-fadeUp .9s .5s ease both;
}

.btn-primary {
  padding: .9rem 2.6rem; background: var(--gold); color: var(--deep);
  font-family: 'Jost', sans-serif; font-size: .78rem;
  font-weight: 500; letter-spacing: .15em; text-transform: uppercase;
  border: none; cursor: pointer; transition: background .25s, transform .2s;
  text-decoration: none; display: inline-block;
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); }

.btn-ghost {
  padding: .9rem 2.6rem; background: transparent;
  border: 1px solid rgba(242,234,216,0.35); color: var(--ivory);
  font-family: 'Jost', sans-serif; font-size: .78rem;
  font-weight: 300; letter-spacing: .15em; text-transform: uppercase;
  cursor: pointer; transition: border-color .25s, color .25s;
  text-decoration: none; display: inline-block;
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

.hero-scroll {
  position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  animation: sd-fadeUp .9s .7s ease both;
}
.hero-scroll span { font-size: .6rem; letter-spacing: .25em; text-transform: uppercase; color: rgba(201,168,76,0.5); }
.scroll-line {
  width: 1px; height: 50px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: sd-scrollPulse 2s ease-in-out infinite;
}
@keyframes sd-scrollPulse {
  0%,100% { opacity: .3; transform: scaleY(1); }
  50%      { opacity: 1; transform: scaleY(1.15); }
}

/* =============================================================
   SHARED SECTION STYLES
   ============================================================= */
.sd-section { padding: 7rem 5vw; }
.section-tag {
  font-size: .65rem; letter-spacing: .3em; text-transform: uppercase;
  color: var(--gold); font-weight: 300; display: block; margin-bottom: .8rem;
}
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 300; line-height: 1.15; color: var(--text);
}
.section-title em { font-style: italic; color: var(--gold); }
.sd-divider {
  width: 60px; height: 1px;
  background: linear-gradient(to right, var(--gold), transparent);
  margin: 1.5rem 0;
}

/* =============================================================
   ABOUT
   ============================================================= */
.sd-about { background: var(--ivory); }
.about-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: center;
}
.about-visual { position: relative; }
.about-frame {
  width: 100%; aspect-ratio: 4/5;
  background: linear-gradient(135deg, #2C1F0A 0%, #1A1209 60%, #3D2B0F 100%);
  position: relative; overflow: hidden;
}
.about-frame::before {
  content: ''; position: absolute; inset: 12px;
  border: 1px solid rgba(201,168,76,0.3);
}
.about-frame-inner {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: .8rem;
}
.frame-icon { font-size: 4rem; opacity: .15; font-family: 'Cormorant Garamond', serif; color: var(--gold); }
.frame-label { font-size: .65rem; letter-spacing: .3em; color: rgba(201,168,76,0.3); text-transform: uppercase; }

/* Replace placeholder with uploaded image */
.about-frame img {
  width: 100%; height: 100%; object-fit: cover;
  position: absolute; inset: 0;
}

.about-badge {
  position: absolute; bottom: -1.5rem; right: -1.5rem;
  width: 110px; height: 110px; background: var(--gold);
  display: flex; align-items: center; justify-content: center; flex-direction: column;
}
.badge-num { font-family: 'Cormorant Garamond', serif; font-size: 2.2rem; font-weight: 600; line-height: 1; color: var(--deep); }
.badge-text { font-size: .55rem; letter-spacing: .15em; text-transform: uppercase; color: var(--deep); text-align: center; font-weight: 400; }

.about-text p { font-size: .97rem; font-weight: 300; line-height: 1.85; color: var(--muted); margin-top: 1.2rem; }
.about-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem; margin-top: 2.5rem; padding-top: 2.5rem;
  border-top: 1px solid rgba(201,168,76,0.2);
}
.stat-num { font-family: 'Cormorant Garamond', serif; font-size: 2.4rem; font-weight: 300; color: var(--gold); }
.stat-label { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: .2rem; }

/* =============================================================
   EVENTS
   ============================================================= */
.sd-events { background: var(--cream); }
.events-header {
  max-width: 1200px; margin: 0 auto 4rem;
  display: flex; justify-content: space-between; align-items: flex-end;
}
.events-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.5px; background: rgba(201,168,76,0.15);
}
.event-card {
  background: var(--cream); padding: 3rem 2.5rem;
  position: relative; overflow: hidden;
  transition: transform .3s, box-shadow .3s;
}
.event-card:hover { transform: translateY(-4px); box-shadow: 0 20px 50px rgba(201,168,76,0.12); }
.event-card::before {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px; background: var(--gold); transform: scaleX(0);
  transform-origin: left; transition: transform .4s;
}
.event-card:hover::before { transform: scaleX(1); }
.event-icon { font-size: 2rem; margin-bottom: 1.5rem; display: block; }
.event-name { font-family: 'Cormorant Garamond', serif; font-size: 1.6rem; font-weight: 400; color: var(--text); margin-bottom: .8rem; }
.event-desc { font-size: .88rem; font-weight: 300; line-height: 1.75; color: var(--muted); }

/* =============================================================
   SPACES
   ============================================================= */
.sd-spaces { background: var(--deep); position: relative; overflow: hidden; padding: 7rem 5vw; }
.sd-spaces::before {
  content: ''; position: absolute; inset: 0;
  background: repeating-linear-gradient(0deg, transparent, transparent 60px, rgba(201,168,76,0.03) 60px, rgba(201,168,76,0.03) 61px);
}
.spaces-inner { max-width: 1200px; margin: 0 auto; position: relative; }
.spaces-header { margin-bottom: 4rem; }
.spaces-header .section-title { color: var(--ivory); }
.spaces-header p { color: rgba(242,234,216,0.5); font-weight: 200; margin-top: 1rem; max-width: 500px; }
.spaces-list { display: flex; flex-direction: column; gap: 1px; }
.space-row {
  display: grid; grid-template-columns: 80px 1fr auto auto;
  align-items: center; gap: 2rem; padding: 2rem;
  background: rgba(255,255,255,0.03);
  border-left: 1px solid rgba(201,168,76,0.15);
  transition: background .3s, border-color .3s;
}
.space-row:hover { background: rgba(201,168,76,0.05); border-color: var(--gold); }
.space-num { font-family: 'Cormorant Garamond', serif; font-size: 2.5rem; font-weight: 300; color: rgba(201,168,76,0.25); line-height: 1; }
.space-name { font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; color: var(--ivory); font-weight: 300; }
.space-detail { font-size: .78rem; color: rgba(242,234,216,0.35); margin-top: .2rem; letter-spacing: .05em; }
.space-cap { text-align: right; font-family: 'Cormorant Garamond', serif; font-size: 1.8rem; color: var(--gold); font-weight: 300; }
.space-cap-label { font-size: .6rem; letter-spacing: .2em; color: rgba(201,168,76,0.4); text-transform: uppercase; font-family: 'Jost', sans-serif; }
.space-tag-pill { font-size: .6rem; letter-spacing: .15em; text-transform: uppercase; padding: .35rem .9rem; border: 1px solid rgba(201,168,76,0.3); color: rgba(201,168,76,0.6); white-space: nowrap; }

/* =============================================================
   AMENITIES
   ============================================================= */
.sd-amenities { background: var(--ivory); }
.amenities-inner { max-width: 1200px; margin: 0 auto; }
.amenities-header { margin-bottom: 4rem; }
.amenities-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.amenity { padding: 2rem 1.5rem; border-bottom: 1px solid rgba(201,168,76,0.2); }
.amenity-icon { font-size: 1.5rem; margin-bottom: 1rem; display: block; }
.amenity-name { font-family: 'Cormorant Garamond', serif; font-size: 1.1rem; font-weight: 400; color: var(--text); margin-bottom: .4rem; }
.amenity-desc { font-size: .82rem; font-weight: 300; color: var(--muted); line-height: 1.6; }

/* =============================================================
   TESTIMONIALS
   ============================================================= */
.sd-testimonials { background: var(--cream); }
.testimonials-inner { max-width: 1200px; margin: 0 auto; }
.testimonials-header { margin-bottom: 4rem; }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.testimonial { padding: 2.5rem; background: var(--ivory); border-top: 2px solid var(--gold); position: relative; }
.quote-mark { font-family: 'Cormorant Garamond', serif; font-size: 5rem; line-height: 1; color: rgba(201,168,76,0.15); position: absolute; top: .5rem; left: 1.5rem; font-style: italic; pointer-events: none; }
.testimonial-text { font-size: .93rem; font-weight: 300; line-height: 1.8; color: var(--muted); font-style: italic; margin-bottom: 1.5rem; position: relative; z-index: 1; }
.testimonial-author { font-family: 'Cormorant Garamond', serif; font-size: 1.05rem; color: var(--text); font-weight: 600; }
.testimonial-event { font-size: .72rem; letter-spacing: .1em; color: var(--gold); margin-top: .2rem; }
.stars { color: var(--gold); font-size: .8rem; letter-spacing: .15em; margin-bottom: 1rem; }

/* =============================================================
   CTA / CONTACT
   ============================================================= */
.sd-cta {
  background: var(--deep); position: relative; overflow: hidden;
  text-align: center; padding: 8rem 5vw;
}
.sd-cta::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 80% at 50% 50%, rgba(201,168,76,0.08), transparent);
}
.cta-ornament {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 500px; height: 500px;
  border: 1px solid rgba(201,168,76,0.06); border-radius: 50%; pointer-events: none;
}
.cta-inner { position: relative; max-width: 680px; margin: 0 auto; }
.cta-tag { font-size: .65rem; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); }
.cta-title { font-family: 'Cormorant Garamond', serif; font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 300; color: var(--ivory); line-height: 1.2; margin: 1rem 0; }
.cta-title em { font-style: italic; color: var(--gold); display: block; }
.cta-sub { font-size: .95rem; font-weight: 200; color: rgba(242,234,216,0.5); margin-bottom: 3rem; }
.cta-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.cta-address { margin-top: 2rem; font-size: .82rem; font-weight: 200; color: rgba(242,234,216,0.3); }

/* =============================================================
   FOOTER
   ============================================================= */
.sd-footer {
  background: #0D0902;
  padding: 5rem 5vw 2.5rem;
  border-top: 1px solid rgba(201,168,76,0.1);
}
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 4rem;
  margin-bottom: 4rem;
}
.footer-brand .nav-logo { display: block; margin-bottom: 1rem; }
.footer-brand p { font-size: .85rem; font-weight: 200; color: rgba(242,234,216,0.35); line-height: 1.7; }
.footer-col h4 {
  font-size: .65rem; letter-spacing: .25em; text-transform: uppercase;
  color: var(--gold); font-weight: 300; margin-bottom: 1.5rem; font-family: 'Jost', sans-serif;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: .8rem; }
.footer-col ul a { font-size: .85rem; font-weight: 200; color: rgba(242,234,216,0.4); text-decoration: none; transition: color .2s; }
.footer-col ul a:hover { color: var(--gold); }
.footer-bottom {
  max-width: 1200px; margin: 0 auto;
  padding-top: 2rem; border-top: 1px solid rgba(201,168,76,0.08);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem;
}
.footer-bottom p { font-size: .75rem; font-weight: 200; color: rgba(242,234,216,0.2); }

/* =============================================================
   SCROLL REVEAL
   ============================================================= */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s, transform .7s; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* =============================================================
   RESPONSIVE
   ============================================================= */
@media (max-width: 900px) {
  .sd-nav .nav-links, .sd-nav .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .about-inner { grid-template-columns: 1fr; gap: 3rem; }
  .events-grid { grid-template-columns: 1fr; }
  .amenities-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .space-row { grid-template-columns: 60px 1fr auto; }
  .space-tag-pill { display: none; }
  .events-header { flex-direction: column; align-items: flex-start; gap: 1rem; }
}
@media (max-width: 600px) {
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .amenities-grid { grid-template-columns: 1fr; }
}
