/* ═══════════════════════════════════════════════════════════════
   Notice Barbershop — Spider-Verse Fullscreen Scenes v3
   ═══════════════════════════════════════════════════════════════ */

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

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

:root {
  --font: 'Space Grotesk', system-ui, sans-serif;
  --black: #0a0a0a;
  --white: #f5f5f5;
  --red: #e84545;
  --teal: #00d4aa;
  --yellow: #ffd93d;
  --purple: #6c5ce7;
  --cyan: #00b4d8;
  --coral: #ff6b6b;
  --orange: #ff9f43;
  --dim: #aaa;
  --muted: #555;
  --ease: cubic-bezier(0.4, 0, 0.15, 1);
  --dur: 0.9s;
}

html, body { font-size: 16px; overflow: hidden; height: 100%; width: 100%; }

body {
  font-family: var(--font); color: var(--white);
  background: var(--black); -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

.halftone::after {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(0,0,0,0.1) 1px, transparent 1px);
  background-size: 4px 4px; pointer-events: none; z-index: 1;
}

h1, h2, h3, h4 { font-family: var(--font); font-weight: 700; line-height: 1.05; letter-spacing: -0.03em; }
h1 { font-size: clamp(3.5rem, 9vw, 7rem); }
h2 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); }

.label-tag {
  display: inline-block; font-size: 0.65rem; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase; margin-bottom: 10px;
}

.comic-shadow { text-shadow: 3px 3px 0 rgba(0,0,0,0.25); }

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-block; padding: 16px 36px;
  font-family: var(--font); font-size: 0.8rem; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  border: none; cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative; z-index: 2;
}
.btn-accent { background: var(--red); color: var(--white); }
.btn-accent:hover { transform: translate(-2px,-2px); box-shadow: 4px 4px 0 rgba(0,0,0,0.3); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid var(--white); }
.btn-outline:hover { background: var(--white); color: var(--black); transform: translate(-2px,-2px); box-shadow: 4px 4px 0 rgba(0,0,0,0.3); }
.btn-dark { background: var(--black); color: var(--white); }
.btn-dark:hover { transform: translate(-2px,-2px); box-shadow: 4px 4px 0 rgba(0,0,0,0.3); }
.btn-ghost { background: rgba(255,255,255,0.1); color: var(--white); border: 2px solid rgba(255,255,255,0.2); }
.btn-ghost:hover { background: rgba(255,255,255,0.2); border-color: var(--white); }

/* ── Navigation ──────────────────────────────────────────────── */
.navbar {
  position: fixed; top: 0; left: 0; width: 100%;
  z-index: 100; padding: 16px 0;
  background: rgba(10,10,10,0.7); backdrop-filter: blur(14px);
}
.navbar .container { display: flex; justify-content: space-between; align-items: center; }
.nav-logo { font-size: 1.2rem; font-weight: 700; color: var(--white); letter-spacing: 3px; }
.nav-links { display: flex; gap: 24px; align-items: center; }
.nav-links a { color: var(--dim); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.5px; transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--white); }

/* ═══════════════════════════════════════════════════════════════
   SCENE SYSTEM
   ═══════════════════════════════════════════════════════════════ */
.scene-container { position: fixed; inset: 0; overflow: hidden; }

.scene {
  position: absolute; inset: 0; width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  opacity: 0; visibility: hidden;
  will-change: transform, opacity, clip-path;
}

.scene.active { opacity: 1; visibility: visible; z-index: 10; }
.scene.exiting { visibility: visible; z-index: 9; }

/* ── Dot nav ─────────────────────────────────────────────────── */
.scene-nav {
  position: fixed; right: 20px; top: 50%; transform: translateY(-50%);
  z-index: 50; display: flex; flex-direction: column; gap: 10px;
}
.scene-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255,255,255,0.2); border: none;
  cursor: pointer; transition: all 0.3s; padding: 0;
}
.scene-dot.active { background: var(--white); transform: scale(1.3); }
.scene-dot:hover { background: rgba(255,255,255,0.5); }

/* ═══════════════════════════════════════════════════════════════
   TRANSITIONS — both enter and exit animate fully
   The exiting scene moves OUT, the entering scene moves IN.
   Both are visible and moving simultaneously.
   ═══════════════════════════════════════════════════════════════ */

/* Slide up / down */
.scene.enter-up    { animation: enterUp    var(--dur) var(--ease) forwards; }
.scene.exit-up     { animation: exitUp     var(--dur) var(--ease) forwards; }
.scene.enter-down  { animation: enterDown  var(--dur) var(--ease) forwards; }
.scene.exit-down   { animation: exitDown   var(--dur) var(--ease) forwards; }

@keyframes enterUp   { from { transform: translateY(100%);  opacity: 1; } to { transform: translateY(0); opacity: 1; } }
@keyframes exitUp    { from { transform: translateY(0);     opacity: 1; } to { transform: translateY(-100%); opacity: 1; } }
@keyframes enterDown { from { transform: translateY(-100%); opacity: 1; } to { transform: translateY(0); opacity: 1; } }
@keyframes exitDown  { from { transform: translateY(0);     opacity: 1; } to { transform: translateY(100%); opacity: 1; } }

/* Slide right / left */
.scene.enter-right { animation: enterRight var(--dur) var(--ease) forwards; }
.scene.exit-left   { animation: exitLeft   var(--dur) var(--ease) forwards; }
.scene.enter-left  { animation: enterLeft  var(--dur) var(--ease) forwards; }
.scene.exit-right  { animation: exitRight  var(--dur) var(--ease) forwards; }

@keyframes enterRight { from { transform: translateX(100%);  opacity: 1; } to { transform: translateX(0); opacity: 1; } }
@keyframes exitLeft   { from { transform: translateX(0);     opacity: 1; } to { transform: translateX(-100%); opacity: 1; } }
@keyframes enterLeft  { from { transform: translateX(-100%); opacity: 1; } to { transform: translateX(0); opacity: 1; } }
@keyframes exitRight  { from { transform: translateX(0);     opacity: 1; } to { transform: translateX(100%); opacity: 1; } }

/* Scale zoom — gentle */
.scene.enter-zoom     { animation: enterZoom     var(--dur) var(--ease) forwards; }
.scene.exit-shrink    { animation: exitShrink    var(--dur) var(--ease) forwards; }
.scene.enter-unshrink { animation: enterUnshrink var(--dur) var(--ease) forwards; }
.scene.exit-unzoom    { animation: exitUnzoom    var(--dur) var(--ease) forwards; }

@keyframes enterZoom     { from { transform: scale(0.7);  opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes exitShrink    { from { transform: scale(1);    opacity: 1; } to { transform: scale(1.15); opacity: 0; } }
@keyframes enterUnshrink { from { transform: scale(1.15); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes exitUnzoom    { from { transform: scale(1);    opacity: 1; } to { transform: scale(0.7); opacity: 0; } }

/* Diagonal wipe */
.scene.enter-diagonal     { animation: enterDiag    var(--dur) var(--ease) forwards; }
.scene.exit-diagonal      { animation: exitDiag     var(--dur) var(--ease) forwards; }
.scene.enter-diagonal-rev { animation: enterDiagRev var(--dur) var(--ease) forwards; }
.scene.exit-diagonal-rev  { animation: exitDiagRev  var(--dur) var(--ease) forwards; }

@keyframes enterDiag    { from { clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%); } to { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); } }
@keyframes exitDiag     { from { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); } to { clip-path: polygon(0 0, 0 0, 0 100%, 0 100%); } }
@keyframes enterDiagRev { from { clip-path: polygon(0 0, 0 0, 0 100%, 0 100%); } to { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); } }
@keyframes exitDiagRev  { from { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); } to { clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%); } }

/* ═══════════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════════ */
.scene-hero {
  background: var(--black); flex-direction: column;
  text-align: center; padding: 24px;
}

.splatter-wrap {
  width: 100%; max-width: 360px; height: 320px;
  margin-bottom: 32px; cursor: pointer; position: relative;
}
.splatter-wrap canvas { display: block; }
.splatter-hint {
  position: absolute; bottom: -8px; left: 50%; transform: translateX(-50%);
  font-size: 0.55rem; letter-spacing: 2px; text-transform: uppercase;
  color: var(--muted); opacity: 0; animation: hintFade 1s 3s ease forwards;
}
@keyframes hintFade { to { opacity: 1; } }

.hero-text { max-width: 600px; }
.hero-text h1 { margin-bottom: 16px; }
.hero-text h1 .accent { color: var(--red); }
.hero-sub { font-size: 1.05rem; color: var(--dim); margin-bottom: 32px; }
.hero-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ═══════════════════════════════════════════════════════════════
   SERVICES — centered menu
   ═══════════════════════════════════════════════════════════════ */
.scene-services {
  background: var(--black);
  flex-direction: column; text-align: center;
  padding: 24px;
}
.scene-services .label-tag { color: var(--teal); }

.service-list {
  max-width: 420px; width: 100%;
  margin: 0 auto;
  text-align: left;
}

.service-row {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.service-row:last-child { border-bottom: none; }
.service-name { font-weight: 600; font-size: 0.9rem; }
.service-price { font-weight: 700; font-size: 0.9rem; }
.service-time { font-size: 0.55rem; color: var(--muted); letter-spacing: 1px; text-transform: uppercase; }
.service-note {
  text-align: center; margin-top: 20px;
  font-size: 0.6rem; color: var(--muted); letter-spacing: 1px;
}

/* ═══════════════════════════════════════════════════════════════
   THE WORK — Photo collage
   ═══════════════════════════════════════════════════════════════ */
.scene-work {
  background: var(--black);
  flex-direction: column; text-align: center;
  padding: 24px;
}
.scene-work .label-tag { color: var(--red); }

.collage-wrap {
  position: relative;
  width: 100%; max-width: 700px;
  height: 380px;
  margin: 24px auto;
}

/* Scattered, layered photo cards */
.collage-card {
  position: absolute;
  border: 3px solid var(--white);
  box-shadow: 4px 4px 20px rgba(0,0,0,0.5);
  overflow: hidden;
  transition: transform 0.3s ease, z-index 0s;
  cursor: pointer;
}

.collage-card:hover {
  transform: scale(1.15) rotate(0deg) !important;
  z-index: 50 !important;
  box-shadow: 8px 8px 30px rgba(0,0,0,0.7);
}

.collage-card img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}

/* Placeholder blocks until real photos are added */
.collage-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.5rem; letter-spacing: 2px; text-transform: uppercase;
  color: rgba(255,255,255,0.3); font-weight: 600;
}

.collage-card:nth-child(1) { width: 185px; height: 220px; top: 10px;  left: 3%;   transform: rotate(-4deg); z-index: 1; }
.collage-card:nth-child(2) { width: 170px; height: 210px; top: 0;     left: 22%;  transform: rotate(3deg);  z-index: 3; }
.collage-card:nth-child(3) { width: 190px; height: 230px; top: 20px;  left: 42%;  transform: rotate(-2deg); z-index: 5; }
.collage-card:nth-child(4) { width: 175px; height: 220px; top: 5px;   right: 3%;  transform: rotate(4deg);  z-index: 2; }
.collage-card:nth-child(5) { width: 160px; height: 190px; bottom: 5px; left: 12%;  transform: rotate(2deg);  z-index: 4; }
.collage-card:nth-child(6) { width: 180px; height: 210px; bottom: 0;   right: 18%; transform: rotate(-3deg); z-index: 6; }

.work-cta { margin-top: 16px; position: relative; z-index: 10; }

/* ═══════════════════════════════════════════════════════════════
   REVIEWS — with stats integrated
   ═══════════════════════════════════════════════════════════════ */
.scene-reviews {
  background: var(--black);
  flex-direction: column; padding: 24px;
}
.scene-reviews .label-tag { color: var(--yellow); }

.reviews-header {
  text-align: center; margin-bottom: 28px;
}

.reviews-stats {
  display: flex; gap: 32px; justify-content: center;
  margin-top: 16px;
}

.reviews-stat {
  text-align: center;
}

.reviews-stat .num {
  font-size: 1.6rem; font-weight: 700; color: var(--white);
  line-height: 1;
}
.reviews-stat .num .star { color: var(--yellow); }
.reviews-stat .lbl {
  font-size: 0.55rem; letter-spacing: 2px;
  text-transform: uppercase; color: var(--muted); margin-top: 4px;
}

.reviews-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 14px; max-width: 960px; width: 100%;
}

.review-card { padding: 24px; }
.review-card:nth-child(1) { background: var(--teal); color: var(--black); }
.review-card:nth-child(2) { background: var(--yellow); color: var(--black); }
.review-card:nth-child(3) { background: var(--purple); color: var(--white); }

.review-card .stars { font-size: 0.8rem; margin-bottom: 10px; letter-spacing: 2px; }
.review-card:nth-child(1) .stars,
.review-card:nth-child(2) .stars { color: var(--black); }
.review-card:nth-child(3) .stars { color: var(--yellow); }

.review-card blockquote {
  font-size: 0.85rem; line-height: 1.6; margin-bottom: 12px; font-style: normal;
}
.review-card .author {
  font-size: 0.55rem; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; opacity: 0.5;
}

.reviews-link { margin-top: 16px; text-align: center; }
.reviews-link a { color: var(--yellow); font-size: 0.7rem; font-weight: 500; }
.reviews-link a:hover { color: var(--white); }

/* ═══════════════════════════════════════════════════════════════
   ABOUT
   ═══════════════════════════════════════════════════════════════ */
.scene-about {
  background: var(--cyan); color: var(--black); padding: 24px;
}
.scene-about .label-tag { color: var(--black); opacity: 0.5; }
.about-block { max-width: 550px; }
.about-block h2 { text-shadow: 2px 2px 0 rgba(0,0,0,0.08); margin-bottom: 20px; }
.about-block p { color: rgba(0,0,0,0.7); font-size: 0.95rem; margin-bottom: 14px; line-height: 1.6; }

/* ═══════════════════════════════════════════════════════════════
   LOCATION
   ═══════════════════════════════════════════════════════════════ */
.scene-location { background: var(--black); padding: 24px; }
.scene-location .label-tag { color: var(--coral); }

.location-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 40px; align-items: center;
  max-width: 1000px; width: 100%;
}

.hours-list { margin-top: 12px; }
.hours-list .day-row {
  display: flex; justify-content: space-between;
  padding: 6px 0; border-bottom: 1px solid rgba(255,255,255,0.06); font-size: 0.8rem;
}
.hours-list .day-row .day { font-weight: 500; color: var(--dim); }
.hours-list .day-row .time { color: var(--muted); }
.hours-list .day-row.closed .time { color: var(--red); }
.map-embed { overflow: hidden; min-height: 320px; border: 2px solid rgba(255,255,255,0.1); }
.location-btns { margin-top: 20px; display: flex; gap: 12px; flex-wrap: wrap; }

/* ═══════════════════════════════════════════════════════════════
   CTA
   ═══════════════════════════════════════════════════════════════ */
.scene-cta {
  background: var(--yellow); color: var(--black);
  flex-direction: column; text-align: center; padding: 24px;
}
.scene-cta .label-tag { color: var(--black); opacity: 0.6; }
.scene-cta h2 { text-shadow: 2px 2px 0 rgba(0,0,0,0.08); margin-bottom: 12px; color: var(--black); }
.scene-cta p { margin-bottom: 28px; color: var(--black); opacity: 0.75; font-size: 1.05rem; font-weight: 500; }

.footer-mini {
  position: absolute; bottom: 24px; left: 0; right: 0;
  text-align: center; font-size: 0.6rem; color: rgba(0,0,0,0.25); letter-spacing: 1px;
}
.footer-mini a { color: rgba(0,0,0,0.4); margin: 0 8px; }
.footer-mini a:hover { color: var(--black); }

/* ── Sub-page styles ─────────────────────────────────────────── */
.page-header { background: var(--black); color: var(--white); padding: 140px 0 60px; text-align: center; }
.page-header .label-tag { color: var(--red); }
.page-section { padding: 80px 0; }
.about-block-page { max-width: 600px; }
.about-block-page p { color: var(--dim); font-size: 0.95rem; margin-bottom: 16px; line-height: 1.6; }
.cta-banner-page { text-align: center; padding: 100px 24px; background: var(--red); color: var(--white); }
.cta-banner-page .label-tag { color: var(--black); }
.cta-banner-page h2 { margin-bottom: 12px; text-shadow: 3px 3px 0 rgba(0,0,0,0.15); }
.cta-banner-page p { margin-bottom: 28px; color: rgba(255,255,255,0.8); }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.contact-info-block h3 { margin-bottom: 24px; }
.contact-info-block .info-item { margin-bottom: 20px; }
.contact-info-block .info-item .label { font-size: 0.6rem; letter-spacing: 2px; text-transform: uppercase; color: var(--red); margin-bottom: 4px; }
.contact-info-block .info-item .value { font-size: 0.9rem; color: var(--dim); }
.contact-info-block .info-item .value a { color: var(--red); }
.contact-form input, .contact-form textarea, .contact-form select {
  width: 100%; padding: 14px 0; font-family: var(--font); font-size: 0.85rem; color: var(--white);
  border: none; border-bottom: 1px solid rgba(255,255,255,0.1); background: transparent; margin-bottom: 20px; outline: none;
}
.contact-form input::placeholder, .contact-form textarea::placeholder { color: var(--muted); }
.contact-form select { color: var(--muted); }
.contact-form select option { background: var(--black); color: var(--white); }
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { border-bottom-color: var(--red); }
.contact-form textarea { resize: vertical; min-height: 80px; }
.contact-form .btn { width: 100%; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

footer { background: var(--black); border-top: 1px solid rgba(255,255,255,0.06); padding: 48px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; margin-bottom: 40px; }
.footer-brand .nav-logo { margin-bottom: 12px; display: inline-block; }
.footer-brand p { color: var(--muted); font-size: 0.78rem; max-width: 280px; margin-bottom: 16px; }
.footer-social { display: flex; gap: 16px; }
.footer-social a { color: var(--muted); font-size: 0.78rem; }
.footer-social a:hover { color: var(--red); }
footer h4 { font-size: 0.65rem; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 16px; color: var(--dim); }
.footer-links a { display: block; color: var(--muted); font-size: 0.78rem; margin-bottom: 8px; }
.footer-links a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.06); padding-top: 20px; font-size: 0.65rem; color: var(--muted); }

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 992px) {
  .location-grid, .footer-grid, .contact-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .collage-wrap { height: 300px; }
  .collage-card { transform: rotate(0deg) !important; }
  .collage-card:nth-child(n+5) { display: none; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.active {
    display: flex; flex-direction: column;
    position: absolute; top: 100%; left: 0; width: 100%;
    background: rgba(10,10,10,0.98); padding: 24px; gap: 16px;
  }
  .nav-toggle { display: flex; }
  .form-row { grid-template-columns: 1fr; }
  .splatter-wrap { height: 260px; max-width: 300px; }
  .scene-nav { right: 10px; }
  .scene-dot { width: 8px; height: 8px; }
  .collage-wrap { height: 240px; }
  .collage-card:nth-child(n+5) { display: none; }
  .reviews-stats { gap: 20px; }
}

@media (max-width: 480px) {
  .splatter-wrap { height: 200px; max-width: 240px; }
  .collage-wrap { height: 200px; }
  .collage-card:nth-child(n+4) { display: none; }
}
