/* ============================================
   THE BARBERSHOP ROCKSTAR — style.css
   ============================================ */

/* RESET & ROOT */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black: #0a0a0a;
  --charcoal: #1a1a1a;
  --mid: #2e2e2e;
  --steel: #5c6370;
  --chrome: #a8aebc;
  --offwhite: #f0ede8;
  --cream: #e8e3db;
  --accent: #c4a96d;   /* ← cambia qui per cambiare il colore dorato */
  --white: #ffffff;
}

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--offwhite);
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  overflow-x: hidden;
  cursor: none;
}

/* ============================================
   CUSTOM CURSOR
   ============================================ */
.cursor {
  width: 10px; height: 10px;
  background: var(--accent);
  border-radius: 50%;
  position: fixed; pointer-events: none; z-index: 9999;
  transform: translate(-50%,-50%);
  transition: width .2s, height .2s, background .2s;
}
.cursor-ring {
  width: 36px; height: 36px;
  border: 1px solid rgba(196,169,109,0.5);
  border-radius: 50%;
  position: fixed; pointer-events: none; z-index: 9998;
  transform: translate(-50%,-50%);
  transition: all .15s ease;
}
body:hover .cursor { opacity: 1; }


/* ============================================
   NAVIGATION (Updated with Blur)
   ============================================ */
nav {
  position: fixed; 
  top: 0; 
  left: 0; 
  right: 0; 
  z-index: 100;
  padding: 20px 48px; /*padding più snella */
  display: flex; 
  align-items: center; 
  justify-content: space-between;
  
  /* Sfondo scuro semitrasparente */
  background-color: rgba(10, 10, 10, 0.7); 
  
  /* L'effetto Blur */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px); /* Per supporto Safari */
  
  /* Bordino sottile inferiore per un tocco di classe */
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  
  transition: all 0.3s ease;
}

nav::before {
  display: none;
}
.nav-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.6rem;
  letter-spacing: 0.25em;
  color: var(--offwhite);
  text-decoration: none;
  position: relative;
}
.nav-links {
  display: flex; gap: 40px; list-style: none; position: relative;
}
.nav-links a {
  color: var(--chrome);
  text-decoration: none;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 400;
  transition: color .3s;
}
.nav-links a:hover { color: var(--offwhite); }

.nav-book-btn {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--black);
  background: var(--accent);
  border: none;
  padding: 10px 24px;
  border-radius: 2px;
  cursor: none;
  position: relative;
  overflow: hidden;
  transition: transform .3s;
  font-family: 'DM Sans', sans-serif;
}
.nav-book-btn::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(255,255,255,0.15);
  transform: translateX(-100%);
  transition: transform .35s ease;
}
.nav-book-btn:hover::after { transform: translateX(0); }
.nav-book-btn:hover { transform: translateY(-1px); }

/* ============================================
   HERO
   ============================================ */
#hero {
  height: 100vh; width: 100%;
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(160deg, rgba(10,10,10,0.55) 0%, rgba(10,10,10,0.2) 50%, rgba(10,10,10,0.8) 100%),
    url('https://images.unsplash.com/photo-1503951914875-452162b0f3f1?w=1800&q=90') center/cover no-repeat;
    /* ↑ sostituisci con la tua immagine: url('images/hero.jpg') */
  transform: scale(1.04);
  animation: heroZoom 18s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes heroZoom {
  0%   { transform: scale(1.04) translateX(0); }
  100% { transform: scale(1.09) translateX(-10px); }
}
.hero-content {
  position: relative; text-align: center; z-index: 2;
  margin-top: 80px;
  animation: heroFadeUp 1.4s cubic-bezier(0.16,1,0.3,1) both;
  animation-delay: 0.3s;
}
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-eyebrow {
  font-size: 0.68rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
  font-weight: 400;
}
.hero-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(5rem, 12vw, 11rem);
  line-height: 0.92;
  letter-spacing: 0.06em;
  color: var(--white);
  margin-bottom: 8px;
}
.hero-subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(1.1rem, 2.5vw, 1.6rem);
  color: var(--chrome);
  letter-spacing: 0.05em;
  margin-bottom: 48px;
  font-weight: 300;
}

/* SCROLL HINT */
.hero-scroll-hint {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 52px;
  animation: heroFadeUp 1.4s cubic-bezier(0.16,1,0.3,1) both;
  animation-delay: 1.2s;
}
.scroll-line {
  width: 1px; 
  height: 50px; /* Accorciata leggermente per eleganza */
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%,100% { opacity: 0.4; transform: scaleY(1); }
  50%      { opacity: 1;   transform: scaleY(1.15); }
}
.scroll-txt {
  font-size: 0.58rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--steel);
  font-weight: 400;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn-primary {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--black);
  background: var(--accent);
  border: none;
  padding: 16px 44px;
  border-radius: 2px;
  cursor: none;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  font-family: 'DM Sans', sans-serif;
  transition: transform .3s, box-shadow .3s;
}
.btn-primary::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}
.btn-primary:hover::before { transform: translateX(100%); }
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 60px rgba(196,169,109,0.3);
}

.btn-outline {
  display: inline-block;
  font-size: 0.68rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 15px 44px;
  border-radius: 2px;
  cursor: none;
  text-decoration: none;
  font-family: 'DM Sans', sans-serif;
  position: relative; overflow: hidden;
  transition: color 0.3s;
}
.btn-outline::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.77,0,0.18,1);
}
.btn-outline:hover::before { transform: scaleX(1); }
.btn-outline:hover { color: var(--black); }
.btn-outline span { position: relative; }

/* ============================================
   SECTION BASE
   ============================================ */
section { padding: 120px 48px; }

.section-label {
  font-size: 0.62rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  line-height: 1;
  letter-spacing: 0.04em;
  color: var(--offwhite);
}
.section-title em {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: var(--chrome);
}

/* ============================================
   SERVICES
   ============================================ */
#services { background: var(--charcoal); }

.services-header {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 72px;
  flex-wrap: wrap; gap: 24px;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}

.service-card {
  position: relative; overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--mid);
  cursor: none;
}
.service-card-img {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transition: transform 0.7s cubic-bezier(0.25,0.46,0.45,0.94);
  filter: brightness(0.55);
}
.service-card:hover .service-card-img {
  transform: scale(1.08);
  filter: brightness(0.4);
}
.service-card-content {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 32px 28px;
  background: linear-gradient(to top, rgba(10,10,10,0.9) 0%, transparent 60%);
}
.service-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.75rem;
  color: var(--accent);
  letter-spacing: 0.2em;
  margin-bottom: 8px;
}
.service-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.9rem;
  letter-spacing: 0.06em;
  color: var(--white);
  margin-bottom: 6px;
}
.service-desc {
  font-size: 0.75rem;
  color: var(--chrome);
  line-height: 1.6;
  max-height: 0; overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.4s;
  opacity: 0;
}
.service-card:hover .service-desc { max-height: 80px; opacity: 1; }
.service-price {
  margin-top: 16px;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--accent);
  text-transform: uppercase;
  font-weight: 500;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s 0.1s, transform 0.35s 0.1s;
}
.service-card:hover .service-price { opacity: 1; transform: translateY(0); }

/* ============================================
   VISUAL BREAK
   ============================================ */
#visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 70vh;
  padding: 0;
}
.visual-img {
  background: url('https://images.unsplash.com/photo-1599351431202-1e0f0137899a?w=1200&q=85') center/cover no-repeat;
  /* ↑ sostituisci con: url('images/philosophy.jpg') */
  min-height: 500px;
  position: relative;
  overflow: hidden;
}
.visual-img::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to right, transparent, rgba(26,26,26,0.6));
}
.visual-text {
  background: var(--charcoal);
  display: flex; flex-direction: column; justify-content: center;
  padding: 80px 64px;
}
.visual-quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 300;
  line-height: 1.3;
  color: var(--offwhite);
  margin-bottom: 32px;
}
.visual-quote em { color: var(--accent); font-style: italic; }
.visual-author {
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--steel);
}
.visual-divider {
  width: 40px; height: 1px;
  background: var(--accent);
  margin: 20px 0;
}

/* ============================================
   BARBERS
   ============================================ */
#barbers { background: var(--black); }

.barbers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 64px;
}
.barber-card {
  position: relative; overflow: hidden;
  border-radius: 4px;
  cursor: none;
  aspect-ratio: 3/4;
}
.barber-card-img {
  width: 100%; height: 100%;
  background-size: cover; background-position: center top;
  transition: transform 0.7s cubic-bezier(0.25,0.46,0.45,0.94);
  filter: brightness(0.7) saturate(0.8);
}
.barber-card:hover .barber-card-img {
  transform: scale(1.06);
  filter: brightness(0.5) saturate(0.6);
}
.barber-card-info {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 40px 28px 28px;
  background: linear-gradient(to top, rgba(10,10,10,0.95) 0%, transparent 100%);
  transform: translateY(8px);
  transition: transform 0.35s ease;
}
.barber-card:hover .barber-card-info { transform: translateY(0); }
.barber-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.6rem;
  letter-spacing: 0.06em;
  color: var(--white);
}
.barber-role {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--accent);
  text-transform: uppercase;
  margin-top: 4px;
}
.barber-btn {
  display: inline-block;
  margin-top: 16px;
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--offwhite);
  border: 1px solid rgba(240,237,232,0.3);
  padding: 8px 18px;
  border-radius: 2px;
  cursor: none;
  background: transparent;
  font-family: 'DM Sans', sans-serif;
  opacity: 0; transform: translateY(6px);
  transition: opacity 0.3s 0.1s, transform 0.3s 0.1s, border-color 0.3s, color 0.3s;
}
.barber-card:hover .barber-btn { opacity: 1; transform: translateY(0); }
.barber-btn:hover { border-color: var(--accent); color: var(--accent); }

/* ============================================
   MEMBERSHIP
   ============================================ */
#membership {
  background: var(--charcoal);
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  position: relative; overflow: hidden;
  padding: 100px 48px;
}
#membership::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 50%, rgba(196,169,109,0.07) 0%, transparent 70%),
    repeating-linear-gradient(0deg, transparent, transparent 60px, rgba(255,255,255,0.015) 60px, rgba(255,255,255,0.015) 61px),
    repeating-linear-gradient(90deg, transparent, transparent 60px, rgba(255,255,255,0.015) 60px, rgba(255,255,255,0.015) 61px);
  pointer-events: none;
}
.membership-inner { position: relative; max-width: 660px; }
.membership-badge {
  display: inline-block;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-size: 0.6rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  padding: 8px 20px;
  border-radius: 100px;
  margin-bottom: 32px;
}
.membership-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 1;
  letter-spacing: 0.04em;
  color: var(--white);
  margin-bottom: 24px;
}
.membership-desc {
  font-size: 0.9rem;
  color: var(--chrome);
  line-height: 1.8;
  margin-bottom: 40px;
  font-weight: 300;
}
.membership-perks {
  display: flex; justify-content: center; gap: 40px;
  margin-bottom: 48px; flex-wrap: wrap;
}
.perk { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.perk-icon {
  width: 40px; height: 40px;
  border: 1px solid rgba(196,169,109,0.3);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
}
.perk-label {
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--chrome);
  text-align: center;
  max-width: 90px;
  line-height: 1.4;
}

/* ============================================
   CTA BAND
   ============================================ */
#cta {
  background: var(--black);
  padding: 100px 48px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  gap: 48px;
}
.cta-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3.5rem, 8vw, 8rem);
  line-height: 1;
  letter-spacing: 0.04em;
  color: var(--white);
}
.cta-title em {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: var(--accent);
}
.cta-subtitle {
  font-size: 0.85rem;
  color: var(--steel);
  letter-spacing: 0.12em;
  margin-top: -32px;
}

/* ============================================
   FOOTER
   ============================================ */
footer {
  background: var(--charcoal);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 64px 48px 40px;
}
.footer-inner {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px; margin-bottom: 64px;
}
.footer-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.2rem;
  letter-spacing: 0.2em;
  color: var(--offwhite);
  margin-bottom: 16px;
  display: block;
  text-decoration: none;
}
.footer-tagline {
  font-size: 0.75rem;
  color: var(--steel);
  line-height: 1.7;
  max-width: 260px;
}
.footer-col-title {
  font-size: 0.62rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-links a {
  font-size: 0.78rem;
  color: var(--steel);
  text-decoration: none;
  transition: color .3s;
  letter-spacing: 0.05em;
}
.footer-links a:hover { color: var(--offwhite); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 28px;
  flex-wrap: wrap; gap: 16px;
}
.footer-copy { font-size: 0.65rem; color: var(--steel); letter-spacing: 0.1em; }
.footer-socials { display: flex; gap: 24px; }
.footer-socials a {
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--steel);
  text-decoration: none;
  transition: color .3s;
}
.footer-socials a:hover { color: var(--accent); }

/* ============================================
   FLOATING BOOK BUTTON
   ============================================ */
.float-book {
  position: fixed; right: 28px; bottom: 28px; z-index: 200;
  background: var(--accent);
  color: var(--black);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: none;
  width: 64px; height: 64px;
  border-radius: 50%;
  cursor: none;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px;
  box-shadow: 0 8px 40px rgba(196,169,109,0.35);
  transition: transform .3s, box-shadow .3s;
  text-decoration: none;
  overflow: hidden;
}
.float-book::before {
  content: '';
  position: absolute; inset: 0; border-radius: 50%;
  background: rgba(255,255,255,0.2);
  transform: scale(0);
  transition: transform 0.4s ease;
}
.float-book:hover::before { transform: scale(1); }
.float-book:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 16px 60px rgba(196,169,109,0.5);
}
.float-book-icon { font-size: 1.1rem; line-height: 1; }
.float-book-txt  { font-size: 0.45rem; letter-spacing: 0.15em; }

/* ============================================
   BOOKING MODAL
   ============================================ */
.modal-overlay {
  position: fixed; inset: 0; z-index: 500;
  background: rgba(10,10,10,0.92);
  backdrop-filter: blur(12px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.4s ease;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal {
  background: var(--charcoal);
  width: min(680px, 96vw);
  max-height: 92vh;
  overflow-y: auto;
  border-radius: 6px;
  position: relative;
  transform: translateY(30px) scale(0.97);
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1);
  border: 1px solid rgba(255,255,255,0.07);
}
.modal-overlay.open .modal { transform: translateY(0) scale(1); }
.modal-header {
  padding: 36px 40px 28px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  display: flex; justify-content: space-between; align-items: flex-start;
}
.modal-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem;
  letter-spacing: 0.06em;
  color: var(--white);
}
.modal-close {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  background: transparent; border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50%; cursor: none; color: var(--chrome);
  font-size: 1.1rem; transition: border-color .3s, color .3s;
}
.modal-close:hover { border-color: var(--accent); color: var(--accent); }

/* STEPS BAR */
.steps-bar {
  display: flex; padding: 20px 40px;
  gap: 0; border-bottom: 1px solid rgba(255,255,255,0.06);
}
.step-indicator { flex: 1; text-align: center; position: relative; }
.step-indicator::after {
  content: '';
  position: absolute; top: 14px; left: 50%; right: -50%;
  height: 1px; background: rgba(255,255,255,0.1);
}
.step-indicator:last-child::after { display: none; }
.step-dot {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 8px;
  font-size: 0.7rem; color: var(--steel); font-weight: 500;
  position: relative; z-index: 1;
  background: var(--charcoal);
  transition: border-color .3s, background .3s, color .3s;
}
.step-indicator.active .step-dot { border-color: var(--accent); background: var(--accent); color: var(--black); }
.step-indicator.done   .step-dot { border-color: var(--accent); background: transparent; color: var(--accent); }
.step-label { font-size: 0.58rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--steel); }
.step-indicator.active .step-label { color: var(--accent); }

.modal-body { padding: 36px 40px; }
.step-panel { display: none; }
.step-panel.active { display: block; animation: fadeSlide .35s ease; }
@keyframes fadeSlide {
  from { opacity: 0; transform: translateX(16px); }
  to   { opacity: 1; transform: translateX(0); }
}
.step-subtitle {
  font-size: 0.65rem; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 24px;
}

/* SERVICE OPTIONS */
.service-options { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; }
.service-opt {
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 4px; padding: 20px; cursor: none;
  transition: border-color .3s, background .3s;
}
.service-opt:hover,
.service-opt.selected { border-color: var(--accent); background: rgba(196,169,109,0.06); }
.service-opt-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.2rem; letter-spacing: 0.06em; color: var(--white); margin-bottom: 4px;
}
.service-opt-detail { font-size: 0.7rem; color: var(--steel); display: flex; justify-content: space-between; }
.service-opt-price { color: var(--accent); }

/* BARBER OPTIONS */
.barber-options { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.barber-opt {
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 4px; overflow: hidden; cursor: none;
  transition: border-color .3s; text-align: center;
}
.barber-opt:hover, .barber-opt.selected { border-color: var(--accent); }
.barber-opt-img { height: 100px; background-size: cover; background-position: center top; filter: saturate(0.7); }
.barber-opt-info { padding: 10px 8px; }
.barber-opt-name { font-family: 'Bebas Neue', sans-serif; font-size: 1rem; letter-spacing: 0.06em; color: var(--white); }
.barber-opt-role { font-size: 0.55rem; letter-spacing: 0.1em; color: var(--steel); text-transform: uppercase; }

/* CALENDAR */
.calendar-grid { display: grid; grid-template-columns: repeat(7,1fr); gap: 4px; margin-bottom: 24px; }
.cal-header { font-size: 0.6rem; text-align: center; color: var(--steel); padding: 4px 0; letter-spacing: 0.1em; }
.cal-day {
  aspect-ratio: 1;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.78rem; color: var(--chrome);
  border-radius: 3px; cursor: none;
  transition: background .2s, color .2s;
  border: 1px solid transparent;
}
.cal-day:hover   { background: rgba(196,169,109,0.1); color: var(--offwhite); }
.cal-day.selected{ background: var(--accent); color: var(--black); font-weight: 600; }
.cal-day.disabled{ opacity: 0.2; cursor: default; pointer-events: none; }
.cal-day.empty   { pointer-events: none; }

.time-slots { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; }
.time-slot {
  border: 1px solid rgba(255,255,255,0.1); border-radius: 3px;
  padding: 10px 0; text-align: center;
  font-size: 0.75rem; color: var(--chrome); cursor: none;
  transition: border-color .2s, color .2s;
}
.time-slot:hover,
.time-slot.selected { border-color: var(--accent); color: var(--accent); }
.time-slot.taken    { opacity: 0.3; pointer-events: none; text-decoration: line-through; }

/* FORM */
.form-row { margin-bottom: 18px; }
.form-label {
  display: block; font-size: 0.62rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--steel); margin-bottom: 8px;
}
.form-input {
  width: 100%; background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1); border-radius: 3px;
  padding: 13px 16px; color: var(--offwhite);
  font-family: 'DM Sans', sans-serif; font-size: 0.88rem;
  outline: none; transition: border-color .3s;
}
.form-input:focus { border-color: var(--accent); }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* SUMMARY */
.summary-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 4px; padding: 24px; margin-bottom: 24px;
}
.summary-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,0.06);
}
.summary-row:last-child { border-bottom: none; }
.summary-key  { font-size: 0.68rem; color: var(--steel); letter-spacing: 0.1em; }
.summary-val  { font-size: 0.82rem; color: var(--offwhite); }
.summary-val.accent { color: var(--accent); font-weight: 500; }

/* MODAL FOOTER */
.modal-footer {
  padding: 24px 40px;
  border-top: 1px solid rgba(255,255,255,0.07);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.btn-back {
  background: transparent; border: 1px solid rgba(255,255,255,0.12); color: var(--chrome);
  font-family: 'DM Sans', sans-serif; font-size: 0.68rem; letter-spacing: 0.15em;
  text-transform: uppercase; padding: 12px 28px; border-radius: 2px; cursor: none;
  transition: border-color .3s, color .3s;
}
.btn-back:hover { border-color: var(--chrome); color: var(--offwhite); }
.btn-next {
  background: var(--accent); border: none; color: var(--black);
  font-family: 'DM Sans', sans-serif; font-size: 0.68rem; letter-spacing: 0.2em;
  text-transform: uppercase; font-weight: 600; padding: 12px 32px;
  border-radius: 2px; cursor: none; position: relative; overflow: hidden;
  transition: transform .2s, box-shadow .2s;
}
.btn-next:hover { transform: translateY(-1px); box-shadow: 0 8px 30px rgba(196,169,109,0.35); }

/* SUCCESS */
.success-screen { padding: 64px 40px; text-align: center; }
.success-icon {
  width: 72px; height: 72px;
  border: 2px solid var(--accent); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; margin: 0 auto 28px;
  animation: scalePop .5s cubic-bezier(0.16,1,0.3,1);
}
@keyframes scalePop {
  from { transform: scale(0); }
  to   { transform: scale(1); }
}
.success-title { font-family: 'Bebas Neue', sans-serif; font-size: 2.5rem; letter-spacing: 0.06em; color: var(--white); margin-bottom: 12px; }
.success-desc  { font-size: 0.85rem; color: var(--chrome); line-height: 1.7; }

/* ============================================
   BARBER PROFILE POPUP
   ============================================ */
.profile-popup {
  position: fixed; inset: 0; z-index: 400;
  display: flex; align-items: center; justify-content: center;
  background: rgba(10,10,10,0.88);
  backdrop-filter: blur(8px);
  opacity: 0; pointer-events: none;
  transition: opacity 0.35s;
}
.profile-popup.open { opacity: 1; pointer-events: all; }
.profile-card {
  background: var(--charcoal);
  width: min(480px, 94vw);
  border-radius: 6px; overflow: hidden;
  border: 1px solid rgba(255,255,255,0.07);
  transform: scale(0.96) translateY(20px);
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1);
}
.profile-popup.open .profile-card { transform: scale(1) translateY(0); }
.profile-card-img {
  height: 260px; background-size: cover; background-position: center top; position: relative;
}
.profile-card-img::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 60%;
  background: linear-gradient(to top, var(--charcoal), transparent);
}
.profile-card-body { padding: 24px 32px 32px; }
.profile-name  { font-family: 'Bebas Neue', sans-serif; font-size: 2.2rem; letter-spacing: 0.06em; color: var(--white); }
.profile-role  { color: var(--accent); font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 16px; }
.profile-bio   { font-size: 0.8rem; color: var(--chrome); line-height: 1.7; margin-bottom: 24px; }
.profile-actions { display: flex; gap: 12px; }
.profile-close {
  position: absolute; top: 16px; right: 16px; z-index: 2;
  width: 34px; height: 34px;
  background: rgba(10,10,10,0.6);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%; cursor: none; color: var(--offwhite);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; transition: border-color .3s;
}
.profile-close:hover { border-color: var(--accent); }

/* ============================================
   REVEAL ANIMATIONS (scroll-triggered)
   ============================================ */
.reveal {
  opacity: 0; transform: translateY(32px);
  transition: opacity 0.8s cubic-bezier(0.16,1,0.3,1), transform 0.8s cubic-bezier(0.16,1,0.3,1);
}
.reveal.visible      { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ============================================
   SCROLLBAR
   ============================================ */
::-webkit-scrollbar       { width: 4px; }
::-webkit-scrollbar-track { background: var(--charcoal); }
::-webkit-scrollbar-thumb { background: var(--steel); border-radius: 2px; }

/* ============================================
   MOBILE NAV
   ============================================ */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: transparent; border: none; cursor: none; padding: 4px;
}
.hamburger span { display: block; width: 24px; height: 1px; background: var(--offwhite); transition: all .3s; }

.mobile-menu {
  position: fixed; inset: 0; z-index: 90;
  background: var(--black);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 40px;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.77,0,0.18,1);
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu a {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 3rem; letter-spacing: 0.1em;
  color: var(--offwhite); text-decoration: none;
  transition: color .3s;
}
.mobile-menu a:hover { color: var(--accent); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
  .services-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 768px) {
  .cursor, .cursor-ring {
    display: none !important;
  }

  body, a, button, .service-card, .barber-card {
    cursor: auto !important;
  }
  .nav-links, .nav-book-btn { display: none; }
  .hamburger { display: flex; }
  nav { padding: 22px 24px; }
  section { padding: 80px 24px; }
  #visual { grid-template-columns: 1fr; }
  .visual-text { padding: 48px 32px; }
  .services-header { flex-direction: column; }
  .barbers-grid { grid-template-columns: repeat(2,1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .cta-title { font-size: 3rem; }
  .modal-footer { flex-direction: column; }
  .btn-back, .btn-next { width: 100%; text-align: center; }
  .modal-body   { padding: 24px; }
  .modal-header { padding: 24px; }
  .steps-bar    { padding: 16px 24px; }
  .modal-footer { padding: 20px 24px; }
}
@media (max-width: 560px) {
  .services-grid { grid-template-columns: 1fr; }
  .barbers-grid  { grid-template-columns: 1fr; }
  .footer-inner  { grid-template-columns: 1fr; gap: 32px; }
  .service-options { grid-template-columns: 1fr; }
  .barber-options  { grid-template-columns: repeat(2,1fr); }
  .form-row-2      { grid-template-columns: 1fr; }
}
