/* ───────────────────────────────────────────────────────────────────
   All In One Barbershop — Styles
   Teal + Slate Grey · Fresh & Airy
─────────────────────────────────────────────────────────────────── */

/* ── Tokens ──────────────────────────────────────────────────────── */
:root {
  --teal:       #0D9488;
  --teal-dark:  #0F766E;
  --teal-light: #99F6E4;
  --teal-50:    #F0FDFA;
  --teal-100:   #CCFBF1;

  --slate:      #334155;
  --slate-dark: #1E293B;
  --slate-light:#94A3B8;
  --slate-50:   #F8FAFC;
  --slate-100:  #F1F5F9;

  --bg:       #F8FAFC;
  --white:    #FFFFFF;
  --text:     #1E293B;
  --text-muted:#64748B;

  --radius:   16px;
  --radius-sm: 10px;
  --shadow:   0 4px 24px rgba(15,41,57,.08);
  --shadow-lg:0 12px 40px rgba(15,41,57,.12);
  --transition: 0.3s cubic-bezier(.4,0,.2,1);
}

/* ── Reset & Base ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
h1, h2, h3, h4 { font-family: 'Outfit', sans-serif; line-height: 1.2; }

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

/* ── Typography helpers ──────────────────────────────────────────── */
.section-label {
  display: inline-block;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--teal);
  background: var(--teal-100);
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--slate-dark);
  margin-bottom: 16px;
}
.text-gradient {
  background: linear-gradient(135deg, var(--teal) 0%, #2DD4BF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 560px;
}

/* ── Buttons ─────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: .95rem;
  border: 2px solid transparent;
  border-radius: 999px;
  padding: 12px 28px;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-teal {
  background: var(--teal);
  color: #fff;
  border-color: var(--teal);
}
.btn-teal:hover { background: var(--teal-dark); border-color: var(--teal-dark); }

.btn-outline {
  background: transparent;
  color: var(--slate-dark);
  border-color: var(--slate-light);
}
.btn-outline:hover { border-color: var(--teal); color: var(--teal); }

.btn-white {
  background: var(--white);
  color: var(--teal);
  border-color: var(--white);
}
.btn-white:hover { background: var(--teal-50); }

.btn-ghost-light {
  background: rgba(255,255,255,.15);
  color: #fff;
  border-color: rgba(255,255,255,.4);
}
.btn-ghost-light:hover { background: rgba(255,255,255,.25); }

.btn-outline-teal {
  background: transparent;
  color: var(--teal);
  border-color: var(--teal);
}
.btn-outline-teal:hover { background: var(--teal-50); }

.btn-sm { padding: 8px 20px; font-size: .85rem; }
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }
.btn-full { width: 100%; justify-content: center; }

/* ── Header ──────────────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(248,250,252,.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(51,65,85,.08);
  transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: var(--shadow); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--slate-dark);
}
.logo svg { flex-shrink: 0; }

/* Nav */
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-links a {
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  font-size: .9rem;
  color: var(--slate);
  padding: 8px 16px;
  border-radius: 999px;
  transition: var(--transition);
}
.nav-links a:hover { color: var(--teal); background: var(--teal-50); }

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--slate-dark);
  border-radius: 2px;
  transition: var(--transition);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ── Hero ────────────────────────────────────────────────────────── */
.hero {
  padding-top: 72px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--teal-50) 0%, var(--bg) 50%, var(--teal-100) 100%);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(13,148,136,.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 60px 0 100px;
}
.hero-eyebrow {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: .85rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 20px;
}
.hero-headline {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800;
  color: var(--slate-dark);
  line-height: 1.1;
  margin-bottom: 24px;
}
.hero-sub {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 480px;
  margin-bottom: 36px;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 48px;
}
.hero-stats {
  display: flex;
  gap: 32px;
  align-items: center;
}
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat strong {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--teal);
}
.stat span { font-size: .85rem; color: var(--text-muted); }
.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--slate-light);
  opacity: .4;
}

/* Hero visual */
.hero-visual { position: relative; }
.hero-img-wrapper {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.hero-img-wrapper img { width: 100%; height: 100%; object-fit: cover; }
.hero-badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  color: var(--slate-dark);
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: .9rem;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
}

/* Wave */
.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  line-height: 0;
}
.hero-wave svg { width: 100%; height: 80px; }

/* ── Services ────────────────────────────────────────────────────── */
.services {
  padding: 100px 0;
  background: var(--bg);
}
.services .container { text-align: center; }
.services .section-sub { margin: 0 auto 56px; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 32px;
  text-align: left;
  box-shadow: var(--shadow);
  border: 1px solid rgba(51,65,85,.06);
  transition: var(--transition);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--teal-light);
}
.service-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--teal-50);
  border-radius: var(--radius-sm);
  margin-bottom: 24px;
}
.service-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--slate-dark);
  margin-bottom: 10px;
}
.service-desc {
  font-size: .95rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── About ───────────────────────────────────────────────────────── */
.about {
  padding: 100px 0;
  background: var(--white);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-visual { position: relative; }
.about-img-main {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-img-main img { width: 100%; height: 100%; object-fit: cover; }
.about-img-secondary {
  position: absolute;
  bottom: -32px;
  right: -32px;
  width: 55%;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--white);
}
.about-img-secondary img { width: 100%; height: 100%; object-fit: cover; }
.about-content .section-title { margin-bottom: 24px; }
.about-text {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 16px;
}
.about-text strong { color: var(--slate-dark); }
.about-features {
  margin-top: 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.about-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  color: var(--slate);
  font-size: .95rem;
}

/* ── Gallery ─────────────────────────────────────────────────────── */
.gallery {
  padding: 100px 0;
  background: var(--bg);
}
.gallery .container { text-align: center; }
.gallery .section-sub { margin: 0 auto 56px; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.gallery-item:hover { transform: scale(1.03); box-shadow: var(--shadow-lg); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-item:nth-child(1) { grid-row: span 2; }
.gallery-item:nth-child(1) img { height: 100%; }
.gallery-item:nth-child(4) { grid-row: span 2; }
.gallery-item:nth-child(4) img { height: 100%; }

/* ── Testimonials ────────────────────────────────────────────────── */
.testimonials {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--white) 0%, var(--teal-50) 100%);
}
.testimonials .container { text-align: center; }
.testimonials .section-sub { margin: 0 auto 56px; }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 32px;
  text-align: left;
  box-shadow: var(--shadow);
  border: 1px solid rgba(51,65,85,.06);
  transition: var(--transition);
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
}
.testimonial-text {
  font-size: 1.05rem;
  color: var(--slate);
  line-height: 1.7;
  margin-bottom: 24px;
  font-style: italic;
}
.testimonial-author {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: .9rem;
  color: var(--teal);
}

/* ── CTA Banner ──────────────────────────────────────────────────── */
.cta-banner {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--slate-dark) 0%, var(--teal-dark) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(13,148,136,.3) 0%, transparent 60%);
  pointer-events: none;
}
.cta-inner { position: relative; }
.cta-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
}
.cta-sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,.7);
  margin-bottom: 40px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}
.cta-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ── Contact ─────────────────────────────────────────────────────── */
.contact {
  padding: 100px 0;
  background: var(--bg);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.contact-info .section-title { margin-bottom: 16px; }
.contact-intro {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 40px;
}
.contact-details { display: flex; flex-direction: column; gap: 28px; margin-bottom: 40px; }
.contact-item { display: flex; flex-direction: column; gap: 6px; }
.contact-item-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: .95rem;
  color: var(--slate-dark);
}
.contact-item dd {
  padding-left: 30px;
  color: var(--text-muted);
  font-size: .95rem;
  line-height: 1.6;
}
.contact-item a {
  color: var(--teal);
  transition: color var(--transition);
}
.contact-item a:hover { color: var(--teal-dark); text-decoration: underline; }
.map-wrapper { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }

/* Form */
.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius);
  padding: 48px 40px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(51,65,85,.06);
}
.form-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--slate-dark);
  margin-bottom: 32px;
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: .85rem;
  color: var(--slate);
  margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--slate-light);
  border-radius: var(--radius-sm);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: .95rem;
  color: var(--text);
  background: var(--slate-50);
  transition: var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--teal);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(13,148,136,.12);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--slate-light); }
.form-group-full { grid-column: 1 / -1; }
.form-note {
  text-align: center;
  font-size: .8rem;
  color: var(--text-muted);
  margin-top: 16px;
}
.form-success {
  text-align: center;
  padding: 40px 20px;
}
.form-success svg { margin: 0 auto 16px; }
.form-success h4 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--slate-dark);
  margin-bottom: 8px;
}
.form-success p { color: var(--text-muted); margin-bottom: 24px; }

/* ── Footer ──────────────────────────────────────────────────────── */
.footer {
  background: var(--slate-dark);
  color: rgba(255,255,255,.7);
  padding: 80px 0 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 60px;
}
.footer-brand .logo { color: #fff; margin-bottom: 16px; }
.footer-tagline { font-size: .9rem; line-height: 1.7; max-width: 300px; }
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-nav a {
  font-size: .9rem;
  color: rgba(255,255,255,.6);
  transition: color var(--transition);
}
.footer-nav a:hover { color: var(--teal-light); }
.footer-contact { font-size: .9rem; line-height: 1.8; }
.footer-contact a { color: var(--teal-light); transition: color var(--transition); }
.footer-contact a:hover { color: #fff; text-decoration: underline; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 24px 0;
  text-align: center;
  font-size: .8rem;
  color: rgba(255,255,255,.4);
}

/* ── Scroll Reveal ───────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(.4,0,.2,1), transform 0.7s cubic-bezier(.4,0,.2,1);
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ── Responsive ──────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { max-width: 480px; margin: 0 auto; }
  .hero-badge { left: 50%; transform: translateX(-50%); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-visual { max-width: 500px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item:nth-child(1),
  .gallery-item:nth-child(4) { grid-row: span 1; }
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 24px;
    gap: 8px;
    box-shadow: var(--shadow-lg);
    transform: translateY(-120%);
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
  .nav-links a { padding: 12px 16px; width: 100%; text-align: center; }
  .hero { padding-top: 72px; }
  .hero-grid { padding: 40px 0 80px; }
  .hero-headline { font-size: clamp(2rem, 8vw, 2.8rem); }
  .services-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .about-img-secondary { right: -16px; bottom: -16px; }
  .contact-form-wrap { padding: 32px 24px; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .cta-actions { flex-direction: column; align-items: center; }
}

@media (max-width: 480px) {
  .hero-stats { flex-direction: column; gap: 20px; }
  .stat-divider { width: 40px; height: 1px; }
  .about-features { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: no-preference) {
  /* Animations handled by JS for progressive enhancement */
}
