/* ===== CRABBY CUTS KIDS SALON — STYLES ===== */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  color: #2C1810;
  background: #FDF6EE;
  line-height: 1.6;
  -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: 1200px; margin: 0 auto; padding: 0 24px; }

/* --- Typography --- */
h1, h2, h3 { font-family: 'Playfair Display', Georgia, serif; font-weight: 700; line-height: 1.15; }
em { font-style: italic; }

/* --- Skip Link --- */
.skip-link {
  position: absolute; top: -100%; left: 16px;
  background: #C45B38; color: #fff; padding: 8px 16px;
  border-radius: 0 0 8px 8px; z-index: 9999; font-weight: 600;
}
.skip-link:focus { top: 0; }

/* --- Buttons --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 14px 32px; border-radius: 50px;
  font-family: 'Inter', sans-serif; font-weight: 600; font-size: 0.95rem;
  transition: all 0.3s ease; border: 2px solid transparent; cursor: pointer;
  white-space: nowrap;
}
.btn-primary {
  background: #C45B38; color: #fff; border-color: #C45B38;
}
.btn-primary:hover { background: #A84A2E; border-color: #A84A2E; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(196,91,56,0.3); }
.btn-outline {
  background: transparent; color: #C45B38; border-color: #C45B38;
}
.btn-outline:hover { background: #C45B38; color: #fff; transform: translateY(-2px); }
.btn-outline-light {
  background: transparent; color: #fff; border-color: #fff;
}
.btn-outline-light:hover { background: #fff; color: #C45B38; transform: translateY(-2px); }
.btn-secondary {
  background: transparent; color: #C45B38; border-color: #C45B38;
}
.btn-secondary:hover { background: #C45B38; color: #fff; }
.btn-nav {
  background: #C45B38; color: #fff; border-radius: 50px; padding: 10px 24px; font-size: 0.875rem;
}
.btn-nav:hover { background: #A84A2E; }
.btn-lg { padding: 18px 40px; font-size: 1.05rem; }
.btn-full { width: 100%; }

/* --- Section Eyebrow --- */
.section-eyebrow {
  font-family: 'Inter', sans-serif; font-size: 0.8rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.15em; color: #C45B38;
  margin-bottom: 12px;
}

/* --- Section Title --- */
.section-title {
  font-size: clamp(2rem, 5vw, 3.5rem); color: #2C1810;
  margin-bottom: 24px;
}
.section-title em { color: #C45B38; }

/* --- Header --- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(253,246,238,0.95); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(196,91,56,0.1);
  transition: box-shadow 0.3s ease;
}
.site-header.scrolled { box-shadow: 0 4px 30px rgba(44,24,16,0.08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding-top: 16px; padding-bottom: 16px; }

/* --- Logo --- */
.logo { display: flex; align-items: center; gap: 10px; }
.logo-icon { width: 36px; height: 36px; color: #C45B38; }
.logo-text { font-family: 'Playfair Display', serif; font-weight: 900; font-size: 1.25rem; color: #2C1810; }
.logo-sub { font-family: 'Inter', sans-serif; font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em; color: #C45B38; margin-top: -4px; }

/* --- Nav --- */
.main-nav ul { display: flex; align-items: center; gap: 32px; }
.main-nav a { font-size: 0.9rem; font-weight: 500; color: #2C1810; transition: color 0.2s; }
.main-nav a:hover { color: #C45B38; }

/* --- Nav Toggle --- */
.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  width: 40px; height: 40px; position: relative;
}
.hamburger {
  display: block; width: 24px; height: 2px; background: #2C1810;
  position: absolute; left: 8px; transition: all 0.3s ease;
}
.hamburger::before, .hamburger::after {
  content: ''; position: absolute; left: 0; width: 24px; height: 2px;
  background: #2C1810; transition: all 0.3s ease;
}
.hamburger::before { top: -7px; }
.hamburger::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .hamburger { background: transparent; }
.nav-toggle[aria-expanded="true"] .hamburger::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .hamburger::after { top: 0; transform: rotate(-45deg); }

/* --- Mobile Nav --- */
@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed; top: 73px; left: 0; right: 0; bottom: 0;
    background: rgba(253,246,238,0.98); backdrop-filter: blur(12px);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden; transition: all 0.3s ease;
  }
  .main-nav.open { opacity: 1; visibility: visible; }
  .main-nav ul { flex-direction: column; gap: 24px; text-align: center; }
  .main-nav a { font-size: 1.25rem; }
}

/* --- Hero --- */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  overflow: hidden; padding-top: 73px;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(44,24,16,0.82) 0%, rgba(44,24,16,0.65) 50%, rgba(196,91,56,0.4) 100%);
}
.hero-content {
  position: relative; z-index: 1; max-width: 720px; padding: 60px 0;
}
.hero-eyebrow {
  font-size: 0.8rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.2em; color: #F4A261; margin-bottom: 20px;
}
.hero-title {
  font-size: clamp(2.5rem, 7vw, 4.5rem); color: #FDF6EE;
  margin-bottom: 24px; line-height: 1.1;
}
.hero-title em { color: #F4A261; font-style: italic; }
.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem); color: rgba(253,246,238,0.85);
  max-width: 540px; margin-bottom: 40px; line-height: 1.7;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-trust {
  display: flex; flex-wrap: wrap; gap: 24px;
  font-size: 0.85rem; color: rgba(253,246,238,0.7); font-weight: 500;
}
.hero-scroll {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(253,246,238,0.5); font-size: 0.7rem; text-transform: uppercase;
  letter-spacing: 0.15em; z-index: 1;
}
.hero-scroll svg { width: 20px; height: 20px; animation: bounce 2s infinite; }
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* --- Intro Strip --- */
.intro-strip {
  background: #C45B38; padding: 48px 0;
}
.intro-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center;
}
.intro-item {}
.intro-number {
  display: block; font-family: 'Playfair Display', serif;
  font-size: 2.5rem; font-weight: 900; color: #FDF6EE; line-height: 1;
}
.intro-label {
  display: block; font-size: 0.8rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em; color: rgba(253,246,238,0.75);
  margin-top: 8px;
}
@media (max-width: 640px) {
  .intro-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}

/* --- Services --- */
.services { padding: 120px 0; }
.services .section-header { text-align: center; max-width: 600px; margin: 0 auto 64px; }
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.service-card {
  background: #fff; border-radius: 16px; padding: 40px 32px;
  border: 1px solid rgba(196,91,56,0.1); transition: all 0.3s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 20px 60px rgba(196,91,56,0.1); border-color: rgba(196,91,56,0.2); }
.service-icon {
  width: 56px; height: 56px; margin-bottom: 24px; color: #C45B38;
}
.service-icon svg { width: 100%; height: 100%; }
.service-card h3 {
  font-size: 1.3rem; color: #2C1810; margin-bottom: 12px;
}
.service-card p { font-size: 0.95rem; color: #6B4C3B; line-height: 1.7; }
@media (max-width: 900px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .services-grid { grid-template-columns: 1fr; } }

/* --- About --- */
.about { padding: 120px 0; background: #F5E6D3; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-image { position: relative; }
.about-image img { border-radius: 20px; width: 100%; height: 100%; object-fit: cover; }
.about-image-accent {
  position: absolute; bottom: -20px; right: -20px; width: 120px; height: 120px;
  background: #C45B38; border-radius: 20px; z-index: -1;
}
.about-content .section-title { margin-bottom: 24px; }
.about-body { font-size: 1.05rem; color: #5C3D2E; line-height: 1.8; margin-bottom: 20px; }
.about-values { margin-top: 32px; display: grid; gap: 16px; }
.value-item {
  display: flex; align-items: center; gap: 12px;
  font-weight: 600; color: #2C1810; font-size: 1rem;
}
.value-item svg { width: 20px; height: 20px; color: #C45B38; flex-shrink: 0; }
@media (max-width: 768px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-image-accent { display: none; }
}

/* --- Gallery --- */
.gallery { padding: 120px 0; }
.gallery .section-header { text-align: center; max-width: 500px; margin: 0 auto 64px; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery-item { border-radius: 12px; overflow: hidden; aspect-ratio: 5/4; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery-item:hover img { transform: scale(1.05); }
@media (max-width: 640px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }

/* --- Testimonials --- */
.testimonials { padding: 120px 0; background: #2C1810; }
.testimonials .section-eyebrow { color: #F4A261; }
.testimonials .section-title { color: #FDF6EE; }
.testimonials .section-title em { color: #F4A261; }
.testimonials .section-header { text-align: center; max-width: 500px; margin: 0 auto 64px; }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial-card {
  background: rgba(253,246,238,0.06); border: 1px solid rgba(253,246,238,0.1);
  border-radius: 16px; padding: 40px 32px; position: relative;
}
.testimonial-quote {
  font-family: 'Playfair Display', serif; font-size: 5rem; line-height: 1;
  color: #C45B38; position: absolute; top: 16px; left: 28px; opacity: 0.4;
}
.testimonial-text {
  font-size: 1rem; color: rgba(253,246,238,0.85); line-height: 1.8;
  margin-bottom: 24px; position: relative; z-index: 1;
}
.testimonial-author {
  font-size: 0.85rem; font-weight: 600; color: #F4A261;
  text-transform: uppercase; letter-spacing: 0.08em;
}
@media (max-width: 768px) { .testimonials-grid { grid-template-columns: 1fr; } }

/* --- CTA Banner --- */
.cta-banner { position: relative; padding: 120px 0; overflow: hidden; }
.cta-bg { position: absolute; inset: 0; z-index: 0; }
.cta-bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-content { position: relative; z-index: 1; text-align: center; max-width: 680px; }
.cta-title { color: #FDF6EE; margin-bottom: 20px; }
.cta-title em { color: #F4A261; }
.cta-subtitle { font-size: 1.1rem; color: rgba(253,246,238,0.8); margin-bottom: 40px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* --- Contact --- */
.contact { padding: 120px 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.contact-intro { font-size: 1.05rem; color: #6B4C3B; line-height: 1.7; margin-bottom: 40px; }
.contact-details { display: grid; gap: 32px; }
.contact-item dt {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; color: #2C1810; margin-bottom: 6px; font-size: 0.85rem;
  text-transform: uppercase; letter-spacing: 0.08em;
}
.contact-item dt svg { width: 18px; height: 18px; color: #C45B38; }
.contact-item dd { font-size: 1rem; color: #5C3D2E; line-height: 1.7; }
.contact-item a { color: #C45B38; font-weight: 600; transition: color 0.2s; }
.contact-item a:hover { color: #A84A2E; }
@media (max-width: 768px) { .contact-grid { grid-template-columns: 1fr; gap: 48px; } }

/* --- Contact Form --- */
.contact-form-wrap { background: #fff; border-radius: 20px; padding: 48px; border: 1px solid rgba(196,91,56,0.1); }
.form-title { font-size: 1.5rem; color: #2C1810; margin-bottom: 32px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block; font-size: 0.8rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em; color: #5C3D2E;
  margin-bottom: 8px;
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 14px 16px; border: 1.5px solid rgba(196,91,56,0.2);
  border-radius: 10px; font-family: 'Inter', sans-serif; font-size: 0.95rem;
  color: #2C1810; background: #FDF6EE; transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: #C45B38; box-shadow: 0 0 0 3px rgba(196,91,56,0.1);
}
.form-group input::placeholder, .form-group textarea::placeholder { color: #B8978A; }
.form-note { font-size: 0.8rem; color: #B8978A; margin-top: 16px; text-align: center; }
@media (max-width: 480px) { .form-row { grid-template-columns: 1fr; } .contact-form-wrap { padding: 32px 24px; } }

/* --- Form Success --- */
.form-success {
  text-align: center; padding: 48px 24px;
}
.success-icon {
  width: 64px; height: 64px; margin: 0 auto 20px;
  background: #C45B38; border-radius: 50%; display: flex;
  align-items: center; justify-content: center;
}
.success-icon svg { width: 32px; height: 32px; color: #fff; }
.form-success h3 { font-size: 1.5rem; color: #2C1810; margin-bottom: 12px; }
.form-success p { color: #6B4C3B; margin-bottom: 24px; }

/* --- Footer --- */
.site-footer { background: #1A0F0A; color: rgba(253,246,238,0.7); padding: 80px 0 0; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 48px;
  padding-bottom: 60px; border-bottom: 1px solid rgba(253,246,238,0.08);
}
.footer-logo .logo-icon { width: 32px; height: 32px; }
.footer-logo .logo-text { color: #FDF6EE; }
.footer-brand p { margin-top: 16px; font-size: 0.9rem; line-height: 1.7; max-width: 280px; }
.footer-links h4, .footer-hours h4, .footer-contact h4 {
  font-family: 'Inter', sans-serif; font-size: 0.8rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.12em; color: #F4A261;
  margin-bottom: 20px;
}
.footer-links ul { display: grid; gap: 12px; }
.footer-links a { font-size: 0.9rem; transition: color 0.2s; }
.footer-links a:hover { color: #F4A261; }
.footer-hours ul { display: grid; gap: 10px; }
.footer-hours li { display: flex; justify-content: space-between; font-size: 0.9rem; }
.footer-hours span:last-child { color: #F4A261; font-weight: 600; }
.footer-contact p { font-size: 0.9rem; line-height: 1.8; margin-bottom: 4px; }
.footer-contact a { color: #F4A261; font-weight: 600; transition: color 0.2s; }
.footer-contact a:hover { color: #FDF6EE; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding: 24px 0; font-size: 0.8rem; color: rgba(253,246,238,0.4);
  flex-wrap: wrap; gap: 12px;
}
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* --- Scroll Reveal (progressive enhancement) --- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
  .reveal.revealed { opacity: 1; transform: translateY(0); }
}
