/* ============================================================
   BROKEN CHAIN BARBER SHOP — style.css
   Multi-page version — shared across all pages
   Theme: Dark Editorial · Gold Accents · Masculine Luxury
   ============================================================ */

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

:root {
  --black:    #0a0a0a;
  --near:     #111111;
  --dark:     #1a1a1a;
  --card:     #161616;
  --border:   #2a2a2a;
  --border-l: #333333;
  --grey:     #888888;
  --light:    #b0b0b0;
  --cream:    #f0ede8;
  --white:    #ffffff;
  --gold:     #c9a84c;
  --gold-d:   #a8862e;
  --gold-dim: rgba(201,168,76,0.12);
  --gold-glow:rgba(201,168,76,0.25);

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-head:    'Barlow Condensed', sans-serif;
  --font-body:    'Barlow', sans-serif;

  --radius:    4px;
  --radius-lg: 10px;
  --shadow:    0 8px 32px rgba(0,0,0,0.45);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.65);
  --transition: 0.25s ease;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--cream);
  line-height: 1.65;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ── CONTAINER ──────────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 40px; }

/* ── SHARED TYPOGRAPHY ─────────────────────────────────── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.section-label::before,
.section-label::after {
  content: '';
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--gold);
}

h2 {
  font-family: var(--font-display);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 700;
  line-height: 1.0;
  color: var(--cream);
  letter-spacing: -0.01em;
}

.section-head { margin-bottom: 64px; }
.section-head p { font-size: 16px; color: var(--grey); margin-top: 12px; max-width: 560px; }
.section-head.light h2 { color: var(--cream); }
.section-head.center { text-align: center; }
.section-head.center .section-label { justify-content: center; }
.section-head.center .section-label::before,
.section-head.center .section-label::after { display: none; }

/* ── BUTTONS ────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: var(--black);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 14px 32px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 20px var(--gold-glow);
}
.btn-primary:hover {
  background: var(--cream);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px var(--gold-glow);
}
.btn-primary.btn-lg { font-size: 15px; padding: 16px 40px; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--cream);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 13px 28px;
  border-radius: var(--radius);
  border: 1px solid rgba(240,237,232,0.3);
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition);
}
.btn-ghost:hover { border-color: var(--cream); background: rgba(240,237,232,0.07); }

.btn-outline-gold {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--gold);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 13px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--gold);
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}
.btn-outline-gold:hover { background: var(--gold); color: var(--black); }

/* ── NAV ────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  background: transparent;
  transition: background 0.4s, box-shadow 0.4s;
}
.nav.scrolled {
  background: rgba(10,10,10,0.96);
  box-shadow: 0 1px 0 var(--border);
  backdrop-filter: blur(20px);
}
.nav.solid { background: var(--near); box-shadow: 0 1px 0 var(--border); }

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  height: 72px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.nav-logo-img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border-l);
  filter: brightness(1.15);
}
.nav-logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.nl-top { font-family: var(--font-display); font-size: 17px; font-weight: 700; color: var(--cream); }
.nl-bot { font-family: var(--font-head); font-size: 9px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }

.nav-links {
  display: flex;
  list-style: none;
  gap: 36px;
  margin-left: auto;
}
.nav-links a {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grey);
  transition: color var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--cream); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }

.btn-book {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: var(--gold);
  color: var(--black);
  padding: 10px 22px;
  border-radius: var(--radius);
  transition: background var(--transition);
  white-space: nowrap;
}
.btn-book:hover { background: var(--cream); }

.burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; margin-left: auto; }
.burger span { display: block; width: 22px; height: 1.5px; background: var(--cream); transition: 0.25s; }

.mobile-menu {
  display: none;
  flex-direction: column;
  background: rgba(10,10,10,0.98);
  border-top: 1px solid var(--border);
  padding: 24px 40px;
  gap: 18px;
  backdrop-filter: blur(20px);
}
.mobile-menu a { font-family: var(--font-head); font-weight: 600; font-size: 18px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--light); }
.mobile-menu.open { display: flex; }
.btn-book-mobile {
  display: inline-flex;
  background: var(--gold);
  color: var(--black) !important;
  padding: 13px 24px;
  border-radius: var(--radius);
  font-size: 13px !important;
  align-self: flex-start;
  margin-top: 6px;
  letter-spacing: 0.1em !important;
}

/* ── TICKER ─────────────────────────────────────────────── */
.ticker { overflow: hidden; background: var(--gold); padding: 10px 0; }
.ticker-track {
  display: flex;
  gap: 32px;
  white-space: nowrap;
  animation: marquee 26s linear infinite;
}
.ticker-track span { font-family: var(--font-head); font-weight: 700; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--black); flex-shrink: 0; }
.ticker-track i { color: rgba(10,10,10,0.3); font-style: normal; flex-shrink: 0; }

/* ── PAGE HERO (inner pages) ────────────────────────────── */
.page-hero {
  position: relative;
  height: 420px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.page-hero-bg { position: absolute; inset: 0; z-index: 0; }
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.35) saturate(0.7); }
.page-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,0.95) 0%, rgba(10,10,10,0.3) 60%, transparent 100%);
}
.page-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0 0 56px;
}
.page-hero-content .section-label { margin-bottom: 12px; }
.page-hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(52px, 8vw, 100px);
  font-weight: 700;
  line-height: 0.95;
  color: var(--cream);
}
.page-hero-content h1 em { font-style: italic; color: var(--gold); }
.page-hero-content p { font-size: 17px; color: var(--grey); margin-top: 16px; max-width: 500px; }

/* ── BOOK BAND ──────────────────────────────────────────── */
.book-band {
  padding: 80px 0;
  background: var(--dark);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.book-band::before {
  content: 'BOOK';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  font-family: var(--font-display);
  font-size: 220px;
  font-weight: 700;
  color: rgba(255,255,255,0.018);
  white-space: nowrap;
  pointer-events: none;
}
.bb-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  z-index: 1;
  flex-wrap: wrap;
}
.bb-text h2 { font-size: clamp(32px, 4vw, 58px); margin-bottom: 8px; }
.bb-text p { font-size: 16px; color: var(--grey); }

/* ── FOOTER ─────────────────────────────────────────────── */
.footer { background: var(--black); }
.footer-chain-line { height: 3px; background: linear-gradient(90deg, transparent 0%, var(--gold) 30%, var(--grey) 60%, transparent 100%); }
.footer > .container { padding: 72px 40px 0; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1.4fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--border);
}
.footer-logo { width: 80px; height: 80px; object-fit: cover; border-radius: 50%; filter: brightness(1.1); margin-bottom: 16px; border: 1px solid var(--border-l); }
.footer-brand p { font-size: 14px; color: var(--grey); line-height: 1.7; margin-bottom: 12px; }
.footer-brand a.footer-phone { font-family: var(--font-head); font-weight: 700; font-size: 15px; color: var(--gold); letter-spacing: 0.05em; transition: color var(--transition); }
.footer-brand a.footer-phone:hover { color: var(--cream); }

.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col strong { font-family: var(--font-head); font-size: 10px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 4px; }
.footer-col a { font-size: 13px; color: var(--grey); transition: color var(--transition); }
.footer-col a:hover { color: var(--cream); }
.footer-col span { font-size: 13px; color: #555; line-height: 1.6; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  font-size: 12px;
  color: #444;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-book-link { font-family: var(--font-head); font-weight: 700; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); transition: color var(--transition); }
.footer-book-link:hover { color: var(--cream); }

/* ── SCROLL REVEAL ──────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal[data-delay="1"] { transition-delay: 0.1s; }
.reveal[data-delay="2"] { transition-delay: 0.2s; }
.reveal[data-delay="3"] { transition-delay: 0.3s; }
.reveal[data-delay="4"] { transition-delay: 0.4s; }

/* ── ANIMATIONS ─────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes scrollBlink {
  0%,100% { opacity:1; } 50% { opacity:0.3; }
}

/* ── RESPONSIVE (shared) ────────────────────────────────── */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links, .btn-book { display: none; }
  .burger { display: flex; }
  .nav-inner { padding: 0 24px; }
  .container { padding: 0 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .bb-inner { flex-direction: column; text-align: center; }
  .page-hero { height: 320px; }
}
