/* ============================================
   UNIQUE CUT BARBERSHOP — STYLESHEET v2
   Fonts: Playfair Display + DM Sans
   ============================================ */

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

:root {
  --gold: #C8A96E;
  --gold-light: #dfc08a;
  --gold-dark: #a88a50;
  --black: #0d0d0d;
  --dark: #111111;
  --dark-2: #181818;
  --dark-3: #1e1e1e;
  --dark-4: #2a2a2a;
  --white: #ffffff;
  --text-muted: #888888;
  --text-light: #555555;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --nav-h: 70px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --section-pad: 90px;
  --radius: 8px;
  --radius-lg: 14px;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font-body); background: var(--dark); color: var(--white); line-height: 1.7; font-size: 16px; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.15; }
h1 { font-size: clamp(38px, 5.5vw, 68px); }
h2 { font-size: clamp(26px, 3.5vw, 42px); }
h3 { font-size: 19px; font-weight: 600; }

/* ---- BUTTONS ---- */
.btn-gold {
  display: inline-block;
  background: var(--gold);
  color: var(--black);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  padding: 12px 28px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}
.btn-gold:hover { background: var(--gold-light); transform: translateY(-1px); }
.btn-full { width: 100%; text-align: center; padding: 14px; font-size: 15px; }

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--white);
  font-size: 14px;
  padding: 12px 24px;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.25);
  cursor: pointer;
  transition: border-color var(--transition), color var(--transition);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

/* ---- LAYOUT ---- */
.container { max-width: 1160px; margin: 0 auto; padding: 0 32px; }
.section { padding: var(--section-pad) 0; }
.section-eyebrow { font-size: 11px; font-weight: 500; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.section-title { color: var(--white); margin-bottom: 40px; }
.section-header { margin-bottom: 48px; }

/* ---- REVEAL ---- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal:nth-child(2) { transition-delay: 0.15s; }
.reveal:nth-child(3) { transition-delay: 0.28s; }
.reveal:nth-child(4) { transition-delay: 0.4s; }
.reveal:nth-child(5) { transition-delay: 0.52s; }

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-h); z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 32px;
  background: rgba(13,13,13,0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background var(--transition);
}
.nav.scrolled { background: rgba(13,13,13,0.98); }

/* ---- INFO BAR ---- */
.info-bar {
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 998;
  background-color: #C8A96E;
  border-bottom: 1px solid #a88a50;
}

.info-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 8px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.info-bar-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--black);
  font-size: 12px;
  font-weight: 500;
}

.info-bar-item svg {
  flex-shrink: 0;
  color: var(--black);
  opacity: 0.7;
}

.info-bar-item a {
  color: var(--black);
  font-weight: 600;
  transition: opacity var(--transition);
}

.info-bar-item a:hover {
  opacity: 0.7;
}

.info-bar-divider {
  width: 1px;
  height: 14px;
  background: rgba(0,0,0,0.2);
}

.nav-logo-link { display: flex; align-items: center; }
.nav-logo-img { height: 44px; width: auto; object-fit: contain; filter: brightness(1.1); }

.nav-links { display: flex; list-style: none; gap: 32px; }
.nav-links a { font-size: 13px; color: rgba(255,255,255,0.6); transition: color var(--transition); position: relative; }
.nav-links a::after { content: ''; position: absolute; bottom: -3px; left: 0; width: 0; height: 1px; background: var(--gold); transition: width var(--transition); }
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }

.nav-cta { padding: 9px 20px; font-size: 13px; }

.nav-hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-hamburger span { display: block; width: 22px; height: 1.5px; background: var(--white); transition: transform var(--transition), opacity var(--transition); }
.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); }

/* ============================================
   HERO
   ============================================ */
.hero {
  min-height: 100vh;
  background: var(--black);
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 100px) 80px 80px;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  gap: 60px;
  background-image: radial-gradient(ellipse 55% 60% at 75% 50%, rgba(200,169,110,0.07) 0%, transparent 70%);
}

.hero-content { flex: 1; max-width: 560px; }

.hero-badge {
  width: 120px;
  height: auto;
  margin-bottom: 20px;
  opacity: 0.9;
  filter: drop-shadow(0 2px 8px rgba(200,169,110,0.2));
}

.eyebrow { font-size: 11px; font-weight: 500; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; display: block; }

.hero-title { margin-bottom: 20px; color: var(--white); }
.hero-title em { font-style: italic; color: var(--gold); }

.hero-sub { font-size: 17px; color: rgba(255,255,255,0.58); line-height: 1.75; margin-bottom: 36px; max-width: 440px; }

.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-image-col { flex-shrink: 0; }

.hero-img-wrap {
  position: relative;
  width: 340px;
}

.hero-img {
  width: 340px;
  height: 460px;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(200,169,110,0.2);
}

.hero-img-badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: var(--black);
  border: 2px solid rgba(200,169,110,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  animation: spin-slow 25s linear infinite;
}
.hero-img-badge img { width: 100%; height: 100%; object-fit: contain; border-radius: 50%; }

@keyframes spin-slow { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.hero-scroll-hint { position: absolute; bottom: 32px; left: 80px; display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,0.3); font-size: 10px; letter-spacing: 2px; text-transform: uppercase; }
.scroll-line { width: 40px; height: 1px; background: linear-gradient(to right, rgba(200,169,110,0.6), transparent); animation: scroll-pulse 2s ease-in-out infinite; }
@keyframes scroll-pulse { 0%, 100% { width: 40px; opacity: 1; } 50% { width: 60px; opacity: 0.5; } }

/* ============================================
   PROOF BAR
   ============================================ */
.proof-bar { background: var(--dark-2); border-top: 1px solid var(--dark-4); border-bottom: 1px solid var(--dark-4); display: flex; align-items: center; justify-content: center; padding: 28px 32px; flex-wrap: wrap; }
.proof-item { display: flex; flex-direction: column; align-items: center; padding: 0 48px; }
.proof-num { font-family: var(--font-display); font-size: 30px; font-weight: 700; color: var(--gold); line-height: 1; }
.proof-label { font-size: 12px; color: var(--text-muted); margin-top: 4px; text-align: center; }
.proof-divider { width: 1px; height: 40px; background: var(--dark-4); }

/* ============================================
   SERVICES
   ============================================ */
.services-section { background: var(--dark); }

.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }

.service-card {
  background: var(--dark-2);
  border: 1px solid var(--dark-4);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  position: relative;
  overflow: hidden;
  transition: border-color var(--transition), transform var(--transition);
}
.service-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(to right, transparent, var(--gold), transparent); opacity: 0; transition: opacity var(--transition); }
.service-card:hover { border-color: rgba(200,169,110,0.35); transform: translateY(-3px); }
.service-card:hover::before { opacity: 1; }

.service-card--featured { border-color: rgba(200,169,110,0.4); background: linear-gradient(145deg, rgba(200,169,110,0.08) 0%, var(--dark-2) 100%); }
.service-card--featured::before { opacity: 0.7; }

.service-featured-label { position: absolute; top: 14px; right: 14px; background: rgba(200,169,110,0.15); color: var(--gold); font-size: 10px; font-weight: 500; letter-spacing: 1px; text-transform: uppercase; padding: 3px 10px; border-radius: 20px; border: 1px solid rgba(200,169,110,0.3); }

.service-icon-wrap { width: 40px; height: 40px; border-radius: 10px; background: rgba(200,169,110,0.1); display: flex; align-items: center; justify-content: center; color: var(--gold); margin-bottom: 14px; }

.service-name { font-family: var(--font-display); font-size: 17px; font-weight: 600; color: var(--white); margin-bottom: 4px; }
.service-price { font-size: 15px; font-weight: 500; color: var(--gold); margin-bottom: 8px; }
.service-desc { font-size: 12px; color: var(--text-muted); line-height: 1.6; }



/* ============================================
   TEAM
   ============================================ */
.team-section { background: var(--dark-2); border-top: 1px solid var(--dark-4); border-bottom: 1px solid var(--dark-4); }

.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.barber-card { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--dark-4); transition: transform var(--transition), border-color var(--transition); }
.barber-card:hover { transform: translateY(-4px); border-color: rgba(200,169,110,0.3); }

.barber-card--featured { border-color: rgba(200,169,110,0.5); }

.barber-photo { height: 180px; background: var(--dark-3); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.barber-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }

.barber-initials { width: 80px; height: 80px; border-radius: 50%; background: var(--init-bg, #2a2010); color: var(--init-color, #C8A96E); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 22px; font-weight: 700; }

.barber-info { padding: 18px; background: var(--dark-3); }

.barber-badge { font-size: 11px; font-weight: 500; color: var(--gold); margin-bottom: 6px; }

.barber-name { font-family: var(--font-display); font-size: 17px; color: var(--white); margin-bottom: 3px; }
.barber-role { font-size: 11px; color: var(--text-muted); margin-bottom: 5px; }
.barber-spec { font-size: 11px; color: var(--gold); }

/* ============================================
   VIDEO
   ============================================ */
.video-section { background: var(--dark); }

.video-wrap {
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, rgba(200,169,110,0.1) 0%, rgba(13,13,13,1) 100%);
  border: 2px solid rgba(200,169,110,0.25);
  box-shadow: 
    0 0 0 1px rgba(0,0,0,0.5),
    0 20px 60px rgba(0,0,0,0.5),
    0 0 80px rgba(200,169,110,0.08);
}

.video-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  padding: 2px;
  background: linear-gradient(135deg, rgba(200,169,110,0.4), transparent 50%, rgba(200,169,110,0.2));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 1;
}

.video-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* ============================================
   INSTAGRAM
   ============================================ */
.instagram-section { background: var(--dark-2); border-top: 1px solid var(--dark-4); }

.ig-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 36px; flex-wrap: wrap; gap: 16px; }
.ig-header .section-title { margin-bottom: 0; }

.ig-follow-btn { display: inline-flex; align-items: center; }

.ig-placeholder { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--dark-4); }

.ig-ph-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; }
.ig-ph-item { aspect-ratio: 1; background: var(--dark-3); animation: shimmer 1.8s ease-in-out infinite alternate; }
.ig-ph-item:nth-child(2) { animation-delay: 0.2s; }
.ig-ph-item:nth-child(3) { animation-delay: 0.4s; }
.ig-ph-item:nth-child(4) { animation-delay: 0.1s; }
.ig-ph-item:nth-child(5) { animation-delay: 0.3s; }
.ig-ph-item:nth-child(6) { animation-delay: 0.5s; }

@keyframes shimmer { from { background: var(--dark-3); } to { background: var(--dark-4); } }

.ig-ph-overlay {
  position: absolute; inset: 0;
  background: rgba(13,13,13,0.85);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 40px 24px; text-align: center;
  backdrop-filter: blur(2px);
}
.ig-ph-title { font-family: var(--font-display); font-size: 22px; color: var(--white); margin: 12px 0 8px; }
.ig-ph-sub { font-size: 14px; color: var(--text-muted); line-height: 1.6; max-width: 400px; }
.ig-ph-sub a { color: var(--gold); }
.ig-ph-sub a:hover { text-decoration: underline; }

/* ============================================
   CONTACT
   ============================================ */
.contact-section { background: var(--dark-2); border-top: 1px solid var(--dark-4); }

.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 60px; align-items: start; }

.contact-details { display: flex; flex-direction: column; gap: 24px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-icon { font-size: 20px; flex-shrink: 0; margin-top: 2px; }
.contact-label { font-size: 11px; font-weight: 500; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-muted); margin-bottom: 4px; }
.contact-val { font-size: 15px; color: var(--white); line-height: 1.5; }
.contact-link { color: var(--gold); transition: color var(--transition); }
.contact-link:hover { text-decoration: underline; }

.map-wrap { border-radius: var(--radius-lg); overflow: hidden; height: 340px; border: 1px solid var(--dark-4); }
.map-wrap iframe { filter: grayscale(60%) invert(0.88) hue-rotate(180deg); }

/* ============================================
   FOOTER
   ============================================ */
.footer { background: var(--black); border-top: 1px solid var(--dark-4); padding: 60px 0 32px; }

.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; }

.footer-logo { height: 70px; width: auto; object-fit: contain; opacity: 0.9; margin-bottom: 12px; }
.footer-tagline { font-size: 13px; color: var(--text-muted); margin-bottom: 6px; }
.footer-copy { font-size: 12px; color: var(--text-light); }

.footer-links, .footer-hours, .footer-social-col { display: flex; flex-direction: column; gap: 10px; }
.footer-links h4, .footer-hours h4, .footer-social-col h4 { font-family: var(--font-body); font-size: 11px; font-weight: 500; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,0.35); margin-bottom: 4px; }
.footer-links a { font-size: 14px; color: var(--text-muted); transition: color var(--transition); }
.footer-links a:hover { color: var(--gold); }
.footer-hours p { font-size: 13px; color: var(--text-muted); }
.footer-walkin { color: var(--gold) !important; font-size: 13px; margin-top: 4px; }

.social-links { display: flex; gap: 10px; }
.social-links a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--dark-4); display: flex; align-items: center; justify-content: center; color: var(--text-muted); transition: border-color var(--transition), color var(--transition); }
.social-links a:hover { border-color: var(--gold); color: var(--gold); }
.footer-ig-handle { font-size: 12px; color: var(--text-light); margin-top: 4px; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1100px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }

  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --section-pad: 60px; }

  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .nav { padding: 0 20px; }

  .nav-links.open {
    display: flex; flex-direction: column;
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    background: var(--black);
    padding: 24px 24px 32px; gap: 20px;
    border-bottom: 1px solid var(--dark-4);
  }
  .nav-links.open li a { font-size: 18px; }
  .nav-cta.open { display: inline-block; margin-top: 8px; }

  .info-bar-inner { 
    flex-wrap: nowrap; 
    gap: 20px; 
    padding: 8px 0;
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .info-bar-inner::-webkit-scrollbar { display: none; }
  .info-bar-divider { display: block; flex-shrink: 0; }
  .info-bar-item { font-size: 11px; white-space: nowrap; flex-shrink: 0; }
  .info-bar-item:first-child { padding-left: 16px; }
  .info-bar-item:last-child { padding-right: 16px; }

  .hero { flex-direction: column; padding: calc(var(--nav-h) + 60px) 24px 60px; text-align: center; gap: 40px; }
  .hero-badge { display: block; margin: 0 auto 20px; }
  .hero-sub { max-width: 100%; }
  .hero-ctas { justify-content: center; }
  .hero-img-wrap { width: 100%; max-width: 320px; margin: 0 auto; }
  .hero-img { width: 100%; height: 380px; }
  .hero-img-badge { width: 70px; height: 70px; left: -10px; bottom: -10px; }
  .hero-scroll-hint { display: none; }

  .proof-bar { gap: 0; }
  .proof-item { padding: 14px 18px; }
  .proof-divider { display: none; }

  .services-grid { grid-template-columns: 1fr; }

  .team-grid { grid-template-columns: 1fr 1fr; }

  .ig-ph-grid { grid-template-columns: repeat(2, 1fr); }

  .book-inner { grid-template-columns: 1fr; gap: 40px; }
  .form-row { grid-template-columns: 1fr; }
  .book-logo { display: none; }

  .contact-grid { grid-template-columns: 1fr; }
  .map-wrap { height: 240px; }

  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .container { padding: 0 20px; }
}

@media (max-width: 480px) {
  .team-grid { grid-template-columns: 1fr; }

  .footer-inner { grid-template-columns: 1fr; }
  .proof-bar { flex-wrap: wrap; }
  .proof-item { flex: 1 1 45%; }
}
