/* ============================================
   DAPPER CUTS BARBERSHOP — SHARED STYLESHEET
   ============================================ */

:root {
  --black: #0a0a0a;
  --charcoal: #161311;
  --charcoal-light: #1f1b18;
  --cream: #f4ede0;
  --cream-dim: #d8d2c5;
  --gold: #c9a35a;
  --gold-bright: #e8c87a;
  --gold-deep: #8d6f33;
  --muted: #8a8278;
  --border: rgba(201, 163, 90, 0.18);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, sans-serif;
  background: var(--black);
  color: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { font-family: 'Playfair Display', serif; font-weight: 700; line-height: 1.15; letter-spacing: -0.01em; }
.script { font-family: 'Cormorant Garamond', serif; font-style: italic; font-weight: 400; color: var(--gold-bright); }

/* ===== NAV ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 22px 48px;
  display: flex; align-items: center; justify-content: space-between;
  background: linear-gradient(180deg, rgba(10,10,10,0.85) 0%, rgba(10,10,10,0) 100%);
  transition: background 0.3s ease, padding 0.3s ease, backdrop-filter 0.3s ease;
}
.nav.scrolled, .nav.solid {
  background: rgba(10,10,10,0.92);
  backdrop-filter: blur(12px);
  padding: 14px 48px;
  border-bottom: 1px solid var(--border);
}
.nav-brand { font-family: 'Playfair Display', serif; font-size: 1.5rem; font-weight: 700; color: var(--cream); letter-spacing: 0.02em; display: flex; align-items: baseline; gap: 8px; }
.nav-brand .script { font-size: 1rem; color: var(--gold); }
.nav-links { display: flex; gap: 36px; align-items: center; }
.nav-links a { font-size: 0.85rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--cream-dim); transition: color 0.2s; font-weight: 500; }
.nav-links a:hover, .nav-links a.active { color: var(--gold-bright); }
.nav-cta {
  background: transparent; border: 1px solid var(--gold);
  color: var(--gold-bright); padding: 11px 24px; font-size: 0.78rem;
  letter-spacing: 0.2em; text-transform: uppercase; font-weight: 600;
  transition: all 0.25s; cursor: pointer; font-family: inherit;
}
.nav-cta:hover { background: var(--gold); color: var(--black); }
.hamburger { display: none; background: none; border: none; color: var(--cream); font-size: 1.5rem; cursor: pointer; padding: 8px; }

.mobile-menu {
  position: fixed; inset: 0; background: rgba(10,10,10,0.98);
  z-index: 99; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 36px;
  transform: translateX(100%); transition: transform 0.4s ease;
}
.mobile-menu.active { transform: translateX(0); }
.mobile-menu a { font-family: 'Playfair Display', serif; font-size: 1.8rem; color: var(--cream); }
.mobile-menu a.active { color: var(--gold-bright); }

/* ===== BUTTONS ===== */
.btn-primary, .btn-secondary {
  padding: 16px 36px; font-size: 0.82rem; letter-spacing: 0.22em;
  text-transform: uppercase; font-weight: 600; cursor: pointer;
  transition: all 0.25s; font-family: 'Inter', sans-serif;
  border: 1px solid var(--gold); display: inline-flex; align-items: center; gap: 12px;
}
.btn-primary { background: var(--gold); color: var(--black); }
.btn-primary:hover { background: var(--gold-bright); border-color: var(--gold-bright); transform: translateY(-2px); box-shadow: 0 14px 40px rgba(201,163,90,0.3); }
.btn-secondary { background: transparent; color: var(--cream); border-color: rgba(244,237,224,0.4); }
.btn-secondary:hover { border-color: var(--gold-bright); color: var(--gold-bright); }

/* ===== SECTIONS ===== */
section { padding: 120px 48px; position: relative; }
.container { max-width: 1280px; margin: 0 auto; }
.section-title { text-align: center; margin-bottom: 72px; }
.section-title .eyebrow { color: var(--gold-bright); font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 1.3rem; display: block; margin-bottom: 12px; }
.section-title h2 { font-size: clamp(2rem, 4.5vw, 3.4rem); color: var(--cream); }
.section-title .divider { width: 64px; height: 2px; background: var(--gold); margin: 24px auto 0; }

/* ===== PAGE HERO (interior pages) ===== */
.page-hero {
  position: relative; min-height: 480px; padding: 140px 48px 80px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; text-align: center;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background-size: cover; background-position: center;
  animation: droneZoom 22s ease-in-out infinite alternate;
}
.page-hero::after {
  content: ''; position: absolute; inset: 0; z-index: 2;
  background:
    linear-gradient(180deg, rgba(10,10,10,0.7) 0%, rgba(10,10,10,0.5) 50%, rgba(10,10,10,0.95) 100%);
}
.page-hero .content { position: relative; z-index: 3; max-width: 800px; padding: 0 24px; }
.page-hero .eyebrow { color: var(--gold-bright); font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: clamp(1rem, 1.8vw, 1.3rem); margin-bottom: 16px; display: block; }
.page-hero h1 { font-size: clamp(2.4rem, 6vw, 4.8rem); color: var(--cream); margin-bottom: 18px; text-shadow: 0 4px 24px rgba(0,0,0,0.5); }
.page-hero p { color: var(--cream-dim); font-size: clamp(0.95rem, 1.4vw, 1.1rem); max-width: 560px; margin: 0 auto; }

@keyframes droneZoom {
  0%   { transform: scale(1.05) translate(-1%, -1%); }
  100% { transform: scale(1.18) translate(1.5%, 1%); }
}

/* ===== CTA BAND ===== */
.cta-band {
  padding: 96px 48px; position: relative; text-align: center;
  background: linear-gradient(135deg, rgba(10,10,10,0.85), rgba(10,10,10,0.85)),
    url('https://images.unsplash.com/photo-1605497788044-5a32c7078486?w=2000&q=80') center/cover;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.cta-band .eyebrow { color: var(--gold-bright); font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 1.3rem; margin-bottom: 14px; display: block; }
.cta-band h2 { font-size: clamp(2rem, 5vw, 3.6rem); color: var(--cream); margin-bottom: 32px; max-width: 800px; margin-left: auto; margin-right: auto; }
.cta-band p { color: var(--cream-dim); max-width: 540px; margin: 0 auto 40px; font-size: 1.05rem; }

/* ===== FOOTER ===== */
footer { background: var(--black); padding: 80px 48px 40px; border-top: 1px solid var(--border); }
.footer-grid { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 56px; border-bottom: 1px solid var(--border); }
.footer-brand h3 { font-family: 'Playfair Display', serif; font-size: 1.6rem; color: var(--cream); margin-bottom: 12px; }
.footer-brand .script { display: block; margin-bottom: 24px; }
.footer-brand p { color: var(--muted); font-size: 0.9rem; }
.footer-col h4 { font-size: 0.8rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--gold-bright); margin-bottom: 22px; font-family: 'Inter', sans-serif; font-weight: 600; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 12px; color: var(--cream-dim); font-size: 0.92rem; }
.footer-col a { color: var(--cream-dim); font-size: 0.92rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--gold-bright); }
.footer-col .social { display: flex; gap: 14px; margin-top: 18px; }
.footer-col .social a {
  width: 38px; height: 38px; display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border); color: var(--cream-dim); transition: all 0.25s;
}
.footer-col .social a:hover { border-color: var(--gold); color: var(--gold-bright); transform: translateY(-2px); }
.footer-bottom { max-width: 1280px; margin: 32px auto 0; display: flex; justify-content: space-between; color: var(--muted); font-size: 0.82rem; flex-wrap: wrap; gap: 12px; }

/* ===== ANIMATIONS ===== */
.fade-up { opacity: 0; transform: translateY(30px); transition: opacity 0.9s ease, transform 0.9s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .nav, .nav.scrolled, .nav.solid { padding: 18px 28px; }
  section { padding: 96px 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .page-hero { padding: 130px 28px 70px; }
}
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: block; }
  .nav, .nav.scrolled, .nav.solid { padding: 16px 20px; }
  section { padding: 80px 20px; }
  footer { padding: 60px 20px 30px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .btn-primary, .btn-secondary { padding: 14px 26px; font-size: 0.78rem; }
  .page-hero { padding: 120px 20px 60px; min-height: 380px; }
  .page-hero::before { animation: none; transform: scale(1.05); }
  .cta-band { padding: 72px 20px; }
}
