/* ═══════════════════════════════════════
   SHARED STYLES — David's Black & Gold Brand
═══════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Brand palette */
  --gold:        #C8973F;   /* Rich Metallic Gold — primary */
  --gold-light:  #E8C77A;   /* Deep Champagne Gold — headlines on dark */
  --gold-dark:   #A87432;   /* Bronze/Copper — trust badges, accents */
  --gold-grad:   linear-gradient(135deg, #D4A24C, #B8822F); /* CTA gradient */

  /* Backgrounds */
  --bg:          #F5F2EC;   /* Soft Off-White — content sections */
  --bg-alt:      #F5F2EC;
  --bg-dark:     #0F0F0F;   /* Deep Matte Black — hero/feature sections */
  --white:       #FFFFFF;
  --footer-bg:   #0F0F0F;

  /* Text */
  --dark:        #1A1A1A;   /* Deep Charcoal — body on light */
  --text-light:  #F5F2EC;   /* Warm Off-White — body on dark */
  --muted:       #7A6E63;   /* Warm gray — secondary on light */
  --muted-dark:  rgba(245,242,236,.6); /* secondary on dark */

  /* UI */
  --border:      #DDD8CF;   /* Warm neutral border */
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Satoshi', sans-serif;
  background: var(--bg);
  color: var(--dark);
  overflow-x: hidden;
}

/* ─── SCROLL REVEAL ─── */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.65s cubic-bezier(.22,.68,0,1.2), transform 0.65s cubic-bezier(.22,.68,0,1.2);
}
.reveal.revealed { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

/* ─── NAVBAR ─── */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 52px;
  transition: background .35s, box-shadow .35s;
}
#navbar.scrolled {
  background: rgba(15,15,15,.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(200,151,63,.15);
}
#navbar.solid {
  background: rgba(15,15,15,.97);
  box-shadow: 0 1px 0 rgba(200,151,63,.15);
}

.logo { display: flex; align-items: center; text-decoration: none; }
.logo svg { width: 40px; height: 36px; }

.nav-links { display: flex; align-items: center; gap: 36px; list-style: none; }
.nav-links a {
  text-decoration: none;
  font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 400;
  color: rgba(245,242,236,.8);
  transition: color .2s;
}
.nav-links a:hover { color: var(--gold-light); }

.nav-cta {
  padding: 9px 22px;
  border: 1.5px solid rgba(200,151,63,.6);
  border-radius: 50px;
  color: var(--gold-light);
  font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 400;
  text-decoration: none; transition: all .3s;
}
.nav-cta:hover { background: rgba(200,151,63,.12); border-color: var(--gold-light); }

/* ─── EYEBROW ─── */
.eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 18px; font-weight: 500;
  letter-spacing: -0.72px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 24px;
}

/* ─── BUTTONS ─── */
.btn-dark {
  display: inline-flex; align-items: center;
  padding: 14px 28px;
  background: var(--gold-grad); color: #0F0F0F;
  border: none; border-radius: 4px;
  font: 600 15px/1 'Inter', sans-serif; letter-spacing: -0.3px;
  text-decoration: none; cursor: pointer; transition: opacity .2s;
}
.btn-dark:hover { opacity: .85; }

.btn-outline-light {
  display: inline-flex; align-items: center;
  padding: 14px 28px;
  background: transparent; color: var(--text-light);
  border: 1.5px solid rgba(245,242,236,.45);
  border-radius: 4px;
  font: 500 15px/1 'Inter', sans-serif;
  text-decoration: none; cursor: pointer; transition: all .2s;
}
.btn-outline-light:hover { border-color: var(--gold-light); color: var(--gold-light); }

.btn-outline-dark {
  display: inline-flex; align-items: center;
  padding: 14px 36px;
  background: transparent;
  border: 1.5px solid var(--gold);
  border-radius: 4px; color: var(--gold);
  font: 500 15px 'Inter', sans-serif;
  text-decoration: none; cursor: pointer; transition: all .2s;
}
.btn-outline-dark:hover { background: var(--gold); color: #0F0F0F; }

.btn-outline-white {
  display: inline-flex; align-items: center;
  padding: 14px 28px;
  background: transparent;
  border: 1.5px solid rgba(245,242,236,.4);
  border-radius: 4px; color: var(--text-light);
  font: 500 15px 'Inter', sans-serif;
  text-decoration: none; cursor: pointer; transition: all .2s;
}
.btn-outline-white:hover { border-color: var(--gold-light); color: var(--gold-light); }

.btn-gold {
  display: inline-flex; align-items: center;
  padding: 14px 32px;
  background: var(--gold-grad); color: #0F0F0F;
  border: none; border-radius: 4px;
  font: 600 15px 'Inter', sans-serif;
  text-decoration: none; cursor: pointer; transition: opacity .2s;
}
.btn-gold:hover { opacity: .88; }

/* ─── FOOTER ─── */
footer { background: var(--footer-bg); color: var(--text-light); }

.footer-main {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr;
  gap: 80px; max-width: 1296px; margin: 0 auto;
  padding: 80px 52px 64px;
}
.footer-cta-heading {
  font-family: 'Satoshi', sans-serif;
  font-size: 44px; font-weight: 500;
  letter-spacing: -1.76px; line-height: 57.2px;
  text-transform: capitalize; margin-bottom: 32px;
  color: var(--gold-light);
}
.footer-col-title {
  font-family: 'Inter', sans-serif;
  font-size: 24px; font-weight: 400;
  letter-spacing: -0.72px; line-height: 40.8px;
  margin-bottom: 8px; color: var(--gold-light);
}
.footer-addr {
  font-family: 'Inter', sans-serif;
  font-size: 18px; font-weight: 400;
  letter-spacing: -0.54px; line-height: 28.8px;
  color: rgba(245,242,236,.7); margin-bottom: 20px;
}
.footer-socials { display: flex; gap: 10px; margin-top: 8px; }
.social-btn {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid rgba(200,151,63,.35);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); text-decoration: none; transition: all .2s;
}
.social-btn:hover { border-color: var(--gold); background: rgba(200,151,63,.1); }
.social-btn svg { width: 15px; height: 15px; fill: currentColor; }

.footer-contact-link {
  display: block; font-family: 'Inter', sans-serif;
  font-size: 18px; font-weight: 400;
  letter-spacing: -0.54px; line-height: 28.8px;
  color: rgba(245,242,236,.7); text-decoration: none; margin-bottom: 2px;
  transition: color .2s;
}
.footer-contact-link:hover { color: var(--gold-light); }

.footer-other-links { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
.footer-other-links a {
  font-family: 'Inter', sans-serif; font-size: 18px; font-weight: 400;
  letter-spacing: -0.54px; color: rgba(245,242,236,.7);
  text-decoration: none; transition: color .2s;
}
.footer-other-links a:hover { color: var(--gold-light); }
.footer-dot { color: rgba(200,151,63,.4); font-size: 18px; }

.footer-giant {
  font-family: 'Satoshi', sans-serif;
  font-size: clamp(80px, 18vw, 280px); font-weight: 900;
  color: rgba(200,151,63,.06);
  line-height: .88; text-align: center;
  white-space: nowrap; overflow: hidden;
  padding: 0 0 12px; letter-spacing: -4px;
}

.footer-bottom {
  max-width: 1296px; margin: 0 auto;
  padding: 22px 52px;
  border-top: 1px solid rgba(200,151,63,.12);
  display: flex; justify-content: space-between; align-items: center;
  font-family: 'Inter', sans-serif;
  font-size: 13px; color: rgba(245,242,236,.35);
}
.footer-bottom a { color: rgba(200,151,63,.6); text-decoration: none; }
.footer-bottom a:hover { color: var(--gold); }

/* ─── HAMBURGER ─── */
.hamburger {
  display: none; flex-direction: column; justify-content: center;
  gap: 5px; width: 36px; height: 36px;
  background: none; border: none; cursor: pointer; padding: 4px; z-index: 1100;
}
.hamburger span {
  display: block; width: 100%; height: 2px;
  background: var(--gold-light); border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav overlay */
.nav-overlay {
  display: none; position: fixed; inset: 0;
  background: #0F0F0F; z-index: 1050;
  flex-direction: column; align-items: center; justify-content: center; gap: 32px;
}
.nav-overlay.open { display: flex; }
.nav-overlay-close {
  position: absolute; top: 24px; right: 24px;
  width: 36px; height: 36px;
  background: none; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.nav-overlay-close span {
  position: absolute;
  display: block; width: 28px; height: 2px;
  background: var(--gold-light); border-radius: 2px;
}
.nav-overlay-close span:nth-child(1) { transform: rotate(45deg); }
.nav-overlay-close span:nth-child(2) { transform: rotate(-45deg); }
.nav-overlay a {
  font-family: 'Satoshi', sans-serif;
  font-size: 32px; font-weight: 700; letter-spacing: -1px;
  color: var(--text-light); text-decoration: none; transition: color .2s;
}
.nav-overlay a:hover { color: var(--gold-light); }
.nav-overlay .nav-overlay-cta {
  margin-top: 8px; padding: 14px 36px;
  background: var(--gold-grad); color: #0F0F0F;
  border-radius: 50px; font-size: 18px;
}
.nav-overlay .nav-overlay-cta:hover { opacity: .85; color: #0F0F0F; }

/* Mobile nav social row */
.nav-overlay-socials {
  display: flex; gap: 14px; margin-top: 24px;
}
.nav-overlay-socials a {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(200,151,63,.4);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--gold-light); transition: background .2s, border-color .2s;
}
.nav-overlay-socials a:hover { background: rgba(200,151,63,.12); border-color: var(--gold); }
.nav-overlay-socials svg { width: 18px; height: 18px; fill: currentColor; }

/* ─── INNER PAGE HERO ─── */
.page-hero {
  position: relative; min-height: 340px;
  display: flex; align-items: flex-end; padding-bottom: 60px;
  background: var(--bg-dark);
}
.page-hero-bg { position: absolute; inset: 0; background: center / cover no-repeat; }
.page-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.8) 0%, rgba(0,0,0,.35) 60%, rgba(0,0,0,.1) 100%);
}
.page-hero-content { position: relative; z-index: 2; padding: 0 52px; max-width: 1296px; margin: 0 auto; width: 100%; }
.page-hero h1 {
  font-family: 'Satoshi', sans-serif;
  font-size: clamp(52px, 7vw, 90px); font-weight: 700;
  letter-spacing: -3.5px; color: var(--gold-light); line-height: 1.05;
}
.page-hero p { font-family: 'Inter', sans-serif; font-size: 15px; color: rgba(245,242,236,.6); margin-top: 10px; }

/* ═══════════════════════════════════════
   MOBILE
═══════════════════════════════════════ */
@media (max-width: 768px) {
  #navbar { padding: 16px 20px; }
  #navbar.solid { background: transparent; box-shadow: none; backdrop-filter: none; }
  #navbar.solid.scrolled { background: rgba(15,15,15,.97); backdrop-filter: blur(12px); box-shadow: 0 1px 0 rgba(200,151,63,.15); }
  .nav-links { display: none; }
  .hamburger { display: flex; }

  .eyebrow { font-size: 18px; margin-bottom: 16px; }

  .btn-dark, .btn-outline-light, .btn-outline-dark,
  .btn-outline-white, .btn-gold { padding: 12px 22px; font-size: 14px; }

  .footer-main { grid-template-columns: 1fr; gap: 32px; padding: 60px 20px 48px; }
  .footer-cta-heading { font-size: 32px; letter-spacing: -1.28px; line-height: 41.6px; }
  .footer-col-title { font-size: 20px; letter-spacing: -0.6px; line-height: 32px; }
  .footer-addr, .footer-contact-link, .footer-other-links a { font-size: 18px; }
  .footer-giant { font-size: clamp(56px, 22vw, 160px); letter-spacing: -2px; }
  .footer-bottom { flex-direction: column; gap: 6px; text-align: center; padding: 20px; font-size: 12px; }

  .page-hero { min-height: 260px; padding-bottom: 40px; }
  .page-hero-content { padding: 0 20px; }
  .page-hero h1 { font-size: clamp(40px, 10vw, 64px); letter-spacing: -2px; }
}
