/* ===== Skillz Barber Academy — Stylesheet ===== */
:root {
  --red: #e2241a;
  --red-dark: #b01710;
  --ink: #141414;
  --ink-soft: #1f1f1f;
  --paper: #ffffff;
  --muted: #6b6b6b;
  --line: #e7e7e7;
  --radius: 14px;
  --shadow: 0 18px 50px rgba(0,0,0,.14);
  --max: 1160px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }

h1, h2, h3, h4 { font-family: 'Oswald', sans-serif; font-weight: 600; line-height: 1.08; text-transform: uppercase; letter-spacing: .5px; }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); margin-bottom: 18px; }
h3 { font-size: 1.3rem; margin-bottom: 10px; }
.accent { color: var(--red); }
.center { text-align: center; }
.light { color: #fff; }

/* ===== Buttons ===== */
.btn {
  display: inline-block; font-weight: 600; font-family: 'Oswald', sans-serif;
  letter-spacing: .6px; text-transform: uppercase; padding: 14px 30px;
  border-radius: 999px; transition: transform .15s ease, background .2s ease, box-shadow .2s ease;
  cursor: pointer; border: 2px solid transparent; font-size: .95rem;
}
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 10px 24px rgba(226,36,26,.35); }
.btn-primary:hover { background: var(--red-dark); transform: translateY(-2px); }
.btn-ghost { border-color: rgba(255,255,255,.6); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--ink); }
.btn-call { background: var(--red); color: #fff; padding: 10px 20px; font-size: .9rem; }
.btn-call:hover { background: var(--red-dark); }
.btn.full { width: 100%; text-align: center; }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(20,20,20,.96); backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.nav-inner { display: flex; align-items: center; gap: 24px; min-height: 78px; padding: 10px 24px; }
.brand { display: flex; flex-direction: column; align-items: center; gap: 0; line-height: 1; margin-right: auto; }
.brand-logo { height: 52px; width: auto; display: block; }
.brand-mark { font-family: 'Oswald', sans-serif; font-weight: 700; font-style: italic; font-size: 1.7rem; color: var(--red); letter-spacing: 1px; }
.brand-sub { font-family: 'Oswald', sans-serif; font-weight: 500; font-size: .74rem; letter-spacing: 5px; text-transform: uppercase; color: #f0f0f0; margin-top: -8px; }
.nav-links { display: flex; gap: 28px; }
.nav-links a { color: #eee; font-weight: 500; font-size: .95rem; transition: color .2s; }
.nav-links a:hover { color: var(--red); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 26px; height: 3px; background: #fff; border-radius: 2px; }

/* ===== Hero ===== */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background: linear-gradient(135deg, #181818 0%, #232323 60%, #2b2b2b 100%);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 75% 15%, rgba(226,36,26,.34), transparent 42%),
    radial-gradient(circle at 12% 90%, rgba(226,36,26,.18), transparent 40%);
}
.hero-content {
  position: relative; padding: 128px 24px 104px; max-width: 860px;
  margin: 0 auto; text-align: center;
}
.eyebrow { display: inline-block; background: var(--red); color: #fff; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; font-size: .72rem; padding: 8px 18px; border-radius: 999px; margin-bottom: 26px; box-shadow: 0 8px 22px rgba(226,36,26,.4); }
.hero-content h1 { text-shadow: 0 4px 30px rgba(0,0,0,.5); }
.hero-tagline { font-size: 1.3rem; margin: 24px auto 8px; color: #f1f1f1; }
.hero-tagline strong { color: #ff4f45; }
.hero-text { font-size: 1.1rem; color: #d6d6d6; max-width: 600px; margin: 0 auto; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin: 36px 0 52px; }
.hero-stats { list-style: none; display: flex; justify-content: center; gap: 56px; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.16); padding-top: 32px; max-width: 640px; margin: 0 auto; }
.hero-stats li { display: flex; flex-direction: column; align-items: center; }
.hero-stats strong { font-family: 'Oswald', sans-serif; font-size: 2.2rem; color: var(--red); line-height: 1; }
.hero-stats span { font-size: .82rem; letter-spacing: 1px; text-transform: uppercase; color: #bbb; margin-top: 6px; }

/* ===== Sections ===== */
.section { padding: 92px 0; }
.section-tag { color: var(--red); font-weight: 700; letter-spacing: 3px; text-transform: uppercase; font-size: .78rem; margin-bottom: 14px; }
.section-tag.center { text-align: center; }
.section-tag.light { color: #ff7a72; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 760px; }
.section-dark .lead, .contact-grid .lead { color: #c7c7c7; margin: 0 auto; }
.section-dark { background: var(--ink); color: #fff; }
.section-red { background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%); color: #fff; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.media-frame { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.media-frame img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }

.section p + p { margin-top: 14px; }
.values { margin-top: 22px; font-family: 'Oswald', sans-serif; text-transform: uppercase; letter-spacing: 1px; color: var(--ink); display: flex; flex-wrap: wrap; gap: 8px; }
.values span { background: #f4f4f4; padding: 6px 12px; border-radius: 8px; font-size: .85rem; }

/* ===== Mission / Promise ===== */
.promise-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.promise-card { background: var(--ink-soft); border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius); padding: 30px; transition: transform .2s, border-color .2s; }
.promise-card:hover { transform: translateY(-4px); border-color: var(--red); }
.promise-card h3 { color: var(--red); }
.promise-card p { color: #c2c2c2; }

/* ===== Program / Requirements ===== */
.check-list { list-style: none; margin: 18px 0 28px; }
.check-list li { position: relative; padding-left: 38px; margin-bottom: 14px; color: #333; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 26px; height: 26px; background: var(--red); color: #fff; border-radius: 50%; display: grid; place-items: center; font-size: .8rem; font-weight: 700; }
.callout { background: #fbf4f3; border-left: 4px solid var(--red); padding: 22px 24px; border-radius: 10px; margin-bottom: 28px; }
.callout h4 { color: var(--red); margin-bottom: 6px; }

/* ===== Course Card (Program section) ===== */
.course-card {
  background: linear-gradient(160deg, #1c1c1c 0%, #2b2b2b 100%);
  color: #fff; border-radius: var(--radius); padding: 44px 38px;
  box-shadow: var(--shadow); position: relative; overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
}
.course-card::before {
  content: ""; position: absolute; top: -60px; right: -60px;
  width: 180px; height: 180px; background: radial-gradient(circle, rgba(226,36,26,.5), transparent 70%);
}
.course-card-logo { display: inline-flex; flex-direction: column; align-items: center; gap: 0; margin-bottom: 28px; line-height: 1; }
.course-card-logo img { height: 96px; width: auto; display: block; }
.course-card-logo .logo-sub { margin-top: -14px; }
/* Shared "Barber Academy" sub-label that sits under the logo */
.logo-sub { font-family: 'Oswald', sans-serif; font-weight: 500; letter-spacing: 5px; text-transform: uppercase; font-size: .78rem; color: #f0f0f0; margin-top: -8px; }
.logo-script { font-family: 'Oswald', sans-serif; font-weight: 700; font-style: italic; font-size: 2.1rem; color: var(--red); letter-spacing: 1px; }
.logo-academy { font-size: .62rem; letter-spacing: 4px; text-transform: uppercase; color: var(--ink); margin-top: 3px; }
.course-card h3 { font-size: 1.6rem; color: #fff; position: relative; }
.course-card-tag { color: var(--red); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; font-size: .82rem; margin: 8px 0 22px; }
.course-card-list { list-style: none; margin-bottom: 28px; }
.course-card-list li { position: relative; padding-left: 24px; margin-bottom: 12px; color: #d8d8d8; }
.course-card-list li::before { content: "›"; position: absolute; left: 0; color: var(--red); font-weight: 700; font-size: 1.2rem; line-height: 1; }

/* ===== Kit Card (What You Get section) ===== */
.kit-card {
  background: rgba(0,0,0,.22); border: 1px solid rgba(255,255,255,.22);
  border-radius: var(--radius); padding: 40px 36px; text-align: center;
}
.kit-card-label { display: inline-block; background: rgba(255,255,255,.14); color: #fff; font-family: 'Oswald', sans-serif; text-transform: uppercase; letter-spacing: 1px; font-size: .8rem; padding: 8px 18px; border-radius: 999px; margin-bottom: 22px; }
.kit-card h4 { color: #fff; font-size: 1.5rem; margin-bottom: 22px; }
.kit-card-list { list-style: none; display: flex; flex-direction: column; gap: 12px; max-width: 260px; margin: 0 auto 22px; }
.kit-card-list li { background: rgba(255,255,255,.1); border-radius: 10px; padding: 12px; font-family: 'Oswald', sans-serif; text-transform: uppercase; letter-spacing: 1px; font-size: 1rem; }
.kit-card-note { color: #ffd9d6; font-size: .9rem; }
.kit-partner { margin-top: 18px; display: inline-block; background: #fff; color: var(--ink); font-family: 'Oswald', sans-serif; text-transform: uppercase; letter-spacing: 1px; font-size: .82rem; padding: 9px 18px; border-radius: 999px; }
.kit-partner strong { color: var(--red); }

/* ===== Features / Kit ===== */
.feature-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin: 44px 0 60px; }
.feature { background: rgba(0,0,0,.16); border: 1px solid rgba(255,255,255,.18); border-radius: 12px; padding: 22px 16px; text-align: center; font-family: 'Oswald', sans-serif; text-transform: uppercase; letter-spacing: .5px; font-size: .95rem; transition: background .2s; }
.feature:hover { background: rgba(0,0,0,.3); }
.kit-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.kit-detail .media-frame { box-shadow: 0 18px 50px rgba(0,0,0,.35); }

/* ===== Gallery ===== */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 44px; }
.gallery figure { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); cursor: pointer; aspect-ratio: 1 / 1; }
.gallery img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; transition: transform .5s ease; }
.gallery figure::after { content: "🔍"; position: absolute; inset: 0; display: grid; place-items: center; font-size: 1.6rem; background: rgba(20,20,20,.35); opacity: 0; transition: opacity .25s ease; pointer-events: none; }
.gallery figure:hover img { transform: scale(1.06); }
.gallery figure:hover::after { opacity: 1; }
.gallery-cta { text-align: center; margin-top: 40px; }
.gallery-page { padding-top: 70px; }
.gallery-page .lead { margin: 0 auto 40px; }
.btn-outline { border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }

/* ===== Contact / Enroll ===== */
.contact-grid { align-items: start; }
.contact-list { list-style: none; margin-top: 24px; }
.contact-list li { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.1); color: #ddd; }
.contact-list span { display: block; font-family: 'Oswald', sans-serif; text-transform: uppercase; letter-spacing: 1px; color: var(--red); font-size: .8rem; margin-bottom: 2px; }
.contact-list a:hover { color: #fff; }
.enroll-card { background: #fff; color: var(--ink); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow); }
.enroll-card h3 { color: var(--red); margin-bottom: 20px; }
.enroll-card form { display: flex; flex-direction: column; gap: 16px; }
.enroll-card label { font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: #555; display: flex; flex-direction: column; gap: 6px; }
.enroll-card input, .enroll-card textarea { font-family: inherit; font-size: 1rem; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: #fafafa; }
.enroll-card input:focus, .enroll-card textarea:focus { outline: none; border-color: var(--red); background: #fff; }
.form-note { font-size: .85rem; color: var(--muted); text-align: center; text-transform: none; letter-spacing: 0; font-weight: 400; }
.form-note a { color: var(--red); font-weight: 600; }
.form-alert { border-radius: 10px; padding: 14px 16px; margin-bottom: 18px; font-size: .92rem; line-height: 1.45; }
.form-alert.success { background: #e8f7ec; color: #1c7a37; border: 1px solid #b6e4c2; }
.form-alert.error { background: #fdecea; color: #b3261e; border: 1px solid #f5c6c2; }

/* ===== Footer ===== */
.site-footer { background: #0d0d0d; color: #aaa; padding: 48px 0; }
.footer-inner { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.site-footer .brand-mark { font-size: 1.6rem; }
.footer-brand { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 0; }
.footer-logo { height: 72px; width: auto; display: inline-block; }
.site-footer p { font-size: .9rem; margin-top: 4px; }
.footer-meta { text-align: right; }
.footer-meta a:hover { color: var(--red); }
.copyright { margin-top: 12px; font-size: .8rem; color: #666; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .nav-links { position: absolute; top: 78px; left: 0; right: 0; background: var(--ink); flex-direction: column; gap: 0; padding: 10px 0; max-height: 0; overflow: hidden; transition: max-height .3s ease; }
  .nav-links.open { max-height: 320px; }
  .nav-links a { padding: 14px 24px; border-bottom: 1px solid rgba(255,255,255,.06); }
  .btn-call { display: none; }
  .nav-toggle { display: flex; }
  .brand { align-items: flex-start; }
  .brand-sub { letter-spacing: 4px; }
  .grid-2, .kit-detail { grid-template-columns: 1fr; gap: 36px; }
  .promise-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .footer-meta { text-align: left; }
}
@media (max-width: 520px) {
  .section { padding: 64px 0; }
  .hero-stats { gap: 28px; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}

/* ===== Animations ===== */

/* Nav underline grow on hover */
.nav-links a { position: relative; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -5px; height: 2px; width: 0;
  background: var(--red); transition: width .28s ease;
}
.nav-links a:hover::after { width: 100%; }

/* Button shine sweep on hover */
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::after {
  content: ""; position: absolute; top: 0; left: -130%; width: 55%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.4), transparent);
  transform: skewX(-20deg); transition: left .65s ease; pointer-events: none;
}
.btn-primary:hover::after { left: 150%; }

@media (prefers-reduced-motion: no-preference) {
  /* Scroll reveal (applied via JS) */
  .reveal {
    opacity: 0; transform: translateY(28px);
    transition: opacity .75s cubic-bezier(.16,1,.3,1), transform .75s cubic-bezier(.16,1,.3,1);
  }
  .reveal.in { opacity: 1; transform: none; }

  /* Hero entrance */
  .hero-content > * { animation: heroIn .9s cubic-bezier(.16,1,.3,1) both; }
  .hero-content .eyebrow     { animation-delay: .05s; }
  .hero-content h1           { animation-delay: .15s; }
  .hero-content .hero-tagline{ animation-delay: .30s; }
  .hero-content .hero-text   { animation-delay: .42s; }
  .hero-content .hero-actions{ animation-delay: .54s; }
  .hero-content .hero-stats  { animation-delay: .66s; }
  @keyframes heroIn { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

  /* Gentle pulsing glow behind the hero */
  .hero::before { animation: heroGlow 6s ease-in-out infinite alternate; }
  @keyframes heroGlow { from { opacity: .82; } to { opacity: 1; } }

  /* Hero stat numbers count-in feel */
  .hero-stats strong { transition: color .3s ease; }
}

/* ===== Lightbox ===== */
.lightbox {
  position: fixed; inset: 0; z-index: 100; display: none;
  align-items: center; justify-content: center;
  background: rgba(8,8,8,.92); padding: 24px;
}
.lightbox.open { display: flex; }
.lightbox-img {
  max-width: 92vw; max-height: 86vh; width: auto; height: auto;
  border-radius: 10px; box-shadow: 0 20px 60px rgba(0,0,0,.6);
  animation: lbZoom .25s ease;
}
@keyframes lbZoom { from { transform: scale(.94); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.lightbox button {
  position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0;
  width: 52px; height: 52px; border-radius: 50%; font-size: 1.8rem; line-height: 1;
  cursor: pointer; display: grid; place-items: center; transition: background .2s ease;
}
.lightbox button:hover { background: var(--red); }
.lightbox-close { top: 22px; right: 22px; font-size: 1.6rem; }
.lightbox-prev { left: 22px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 22px; top: 50%; transform: translateY(-50%); }
.lightbox-count { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); color: #ccc; font-size: .9rem; letter-spacing: 1px; }
@media (max-width: 600px) {
  .lightbox button { width: 44px; height: 44px; font-size: 1.5rem; }
  .lightbox-prev { left: 10px; } .lightbox-next { right: 10px; }
  .lightbox-close { top: 14px; right: 14px; }
}
