/* ═══════════════════════════════════════════
   CLAUDES BARBERSHOP — STYLESHEET
   Palette: Plum (#4A1942 / #6B2158 / #8B3A72) + Amber (#C8952E / #D4A843 / #E8C96A)
   Fonts: Playfair Display (serif headings) + Inter (sans body)
   ═══════════════════════════════════════════ */

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

:root {
  --plum-darkest: #2D0F27;
  --plum-dark: #4A1942;
  --plum-mid: #6B2158;
  --plum-light: #8B3A72;
  --plum-pale: #F3E5F5;
  --plum-paler: #FBF5FC;
  --amber-deep: #A07518;
  --amber: #C8952E;
  --amber-light: #D4A843;
  --amber-glow: #E8C96A;
  --cream: #FDF8F0;
  --warm-white: #FEFCF8;
  --text-dark: #1A0A14;
  --text-mid: #3D1F35;
  --text-light: #6B4F62;
  --text-muted: #9A7E90;
  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--warm-white);
  line-height: 1.6;
  -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; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

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

/* ─── SECTION TYPOGRAPHY ─── */
.section-eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--plum-dark);
  margin-bottom: 20px;
}

.section-divider {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--amber), var(--amber-light));
  border: none;
  margin-bottom: 28px;
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: 4px;
  transition: all 0.3s var(--ease-out);
  white-space: nowrap;
}

.btn-primary {
  background: var(--amber);
  color: var(--plum-darkest);
  border: 2px solid var(--amber);
}
.btn-primary:hover {
  background: var(--amber-light);
  border-color: var(--amber-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(200, 149, 46, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--warm-white);
  border: 2px solid rgba(255,255,255,0.5);
}
.btn-outline:hover {
  border-color: var(--amber-light);
  color: var(--amber-light);
  transform: translateY(-2px);
}

.btn-full { width: 100%; }

/* ═══════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: all 0.4s var(--ease-out);
}

.navbar.scrolled {
  background: rgba(45, 15, 39, 0.95);
  backdrop-filter: blur(12px);
  padding: 12px 0;
  box-shadow: 0 4px 30px rgba(0,0,0,0.2);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-mark {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--amber);
  line-height: 1;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--warm-white);
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  letter-spacing: 0.05em;
  transition: color 0.3s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--amber);
  transition: width 0.3s var(--ease-out);
}

.nav-links a:hover { color: var(--amber-light); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  background: var(--amber) !important;
  color: var(--plum-darkest) !important;
  padding: 10px 24px;
  border-radius: 4px;
  font-weight: 600 !important;
  letter-spacing: 0.06em !important;
  transition: all 0.3s var(--ease-out) !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover {
  background: var(--amber-light) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(200,149,46,0.4);
}

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.hamburger,
.hamburger::before,
.hamburger::after {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--warm-white);
  border-radius: 2px;
  transition: all 0.3s var(--ease-out);
}
.hamburger::before, .hamburger::after { content: ''; position: absolute; }
.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); }

/* ─── HERO ─── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  background: var(--plum-darkest);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(45, 15, 39, 0.92) 0%,
    rgba(74, 25, 66, 0.85) 40%,
    rgba(107, 33, 88, 0.75) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px 24px 80px;
  width: 100%;
}

.hero-eyebrow {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--amber-light);
  margin-bottom: 24px;
}

.hero-headline {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.08;
  color: var(--warm-white);
  max-width: 800px;
  margin-bottom: 24px;
}

.hero-headline em {
  font-style: italic;
  color: var(--amber-light);
}

.hero-sub {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: rgba(253, 248, 240, 0.75);
  max-width: 540px;
  line-height: 1.7;
  margin-bottom: 40px;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.4);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-family: var(--font-body);
}

/* ═══════════════════════════════════════════
   SERVICES
   ═══════════════════════════════════════════ */
.services {
  padding: 120px 0;
  background: var(--warm-white);
}

.services .section-header {
  text-align: center;
  margin-bottom: 64px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--warm-white);
  border: 1px solid rgba(74, 25, 66, 0.08);
  border-radius: 8px;
  padding: 40px 32px;
  transition: all 0.4s var(--ease-out);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--amber), var(--amber-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(74, 25, 66, 0.1);
  border-color: transparent;
}

.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--plum-pale);
  color: var(--plum-dark);
  margin-bottom: 24px;
  transition: all 0.3s var(--ease-out);
}

.service-card:hover .service-icon {
  background: var(--plum-dark);
  color: var(--amber-light);
}

.service-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--plum-dark);
  margin-bottom: 12px;
}

.service-desc {
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* ═══════════════════════════════════════════
   ABOUT
   ═══════════════════════════════════════════ */
.about {
  padding: 120px 0;
  background: var(--plum-paler);
  overflow: hidden;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-image {
  position: relative;
}

.about-image img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 30px 60px rgba(74, 25, 66, 0.15);
}

.about-image-accent {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 60%;
  height: 40%;
  border: 2px solid var(--amber);
  border-radius: 8px;
  z-index: -1;
  opacity: 0.4;
}

.about-content .section-title { margin-bottom: 24px; }

.about-content p {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-signature {
  font-family: var(--font-heading);
  font-style: italic;
  color: var(--plum-mid);
  font-size: 1.05rem;
  margin-top: 24px;
  margin-bottom: 40px;
}

.about-stats {
  display: flex;
  gap: 40px;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--plum-dark);
}

.stat-label {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ═══════════════════════════════════════════
   GALLERY
   ═══════════════════════════════════════════ */
.gallery {
  padding: 120px 0;
  background: var(--warm-white);
}

.gallery .section-header {
  text-align: center;
  margin-bottom: 64px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery-item {
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  aspect-ratio: auto;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
  display: block;
}

.gallery-item:nth-child(1) { aspect-ratio: 4/5; }
.gallery-item:nth-child(2) { aspect-ratio: 5/4; }
.gallery-item:nth-child(3) { aspect-ratio: 5/4; }
.gallery-item:nth-child(4) { aspect-ratio: 4/5; }
.gallery-item:nth-child(5) { aspect-ratio: 5/4; }
.gallery-item:nth-child(6) { aspect-ratio: 5/4; }

.gallery-item:hover img { transform: scale(1.06); }

/* ═══════════════════════════════════════════
   HOURS & LOCATION
   ═══════════════════════════════════════════ */
.hours {
  padding: 120px 0;
  background: var(--plum-darkest);
  color: var(--warm-white);
}

.hours .section-eyebrow { color: var(--amber-light); }
.hours .section-title { color: var(--warm-white); }

.hours-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.hours-table {
  border-top: 1px solid rgba(255,255,255,0.1);
}

.hours-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.hours-day {
  font-weight: 500;
  color: rgba(253, 248, 240, 0.85);
  font-size: 0.95rem;
}

.hours-time {
  color: var(--amber-light);
  font-size: 0.95rem;
  font-weight: 500;
}

.hours-closed .hours-time { color: var(--text-muted); }

.hours-map {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
  min-height: 400px;
  position: relative;
}

.map-address {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(45, 15, 39, 0.9);
  backdrop-filter: blur(8px);
  color: var(--warm-white);
  padding: 14px 20px;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ═══════════════════════════════════════════
   CONTACT
   ═══════════════════════════════════════════ */
.contact {
  padding: 120px 0;
  background: var(--plum-paler);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-intro {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 36px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.95rem;
  color: var(--text-mid);
  transition: color 0.3s;
}

.contact-item svg {
  color: var(--amber);
  flex-shrink: 0;
}

.contact-item a {
  transition: color 0.3s;
}
.contact-item a:hover { color: var(--plum-mid); }

/* Form */
.contact-form-wrap {
  background: var(--warm-white);
  border-radius: 12px;
  padding: 48px 40px;
  box-shadow: 0 20px 50px rgba(74, 25, 66, 0.08);
  border: 1px solid rgba(74, 25, 66, 0.06);
}

.form-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--plum-dark);
  margin-bottom: 32px;
}

.form-group { margin-bottom: 24px; }

.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.form-input {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--plum-paler);
  border: 1.5px solid rgba(74, 25, 66, 0.1);
  border-radius: 6px;
  outline: none;
  transition: all 0.3s;
}

.form-input:focus {
  border-color: var(--amber);
  background: var(--warm-white);
  box-shadow: 0 0 0 4px rgba(200, 149, 46, 0.1);
}

.form-input::placeholder { color: var(--text-muted); }

.form-textarea { resize: vertical; min-height: 120px; }

.form-success {
  margin-top: 16px;
  padding: 14px 20px;
  background: rgba(74, 25, 66, 0.06);
  border-left: 3px solid var(--amber);
  border-radius: 4px;
  font-size: 0.9rem;
  color: var(--plum-dark);
  font-weight: 500;
}

/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */
.footer {
  background: var(--plum-darkest);
  color: var(--warm-white);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand .logo-mark { font-size: 2rem; }
.footer-brand .logo-text { font-size: 1.3rem; }

.footer-brand p {
  margin-top: 16px;
  color: rgba(253,248,240,0.5);
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 280px;
}

.footer-links h4,
.footer-contact h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--amber-light);
  margin-bottom: 20px;
  letter-spacing: 0.04em;
}

.footer-links ul { display: flex; flex-direction: column; gap: 12px; }

.footer-links a {
  font-size: 0.9rem;
  color: rgba(253,248,240,0.55);
  transition: color 0.3s;
}
.footer-links a:hover { color: var(--amber-light); }

.footer-contact p {
  font-size: 0.9rem;
  color: rgba(253,248,240,0.55);
  line-height: 1.8;
  margin-bottom: 4px;
}
.footer-contact a {
  color: rgba(253,248,240,0.55);
  transition: color 0.3s;
}
.footer-contact a:hover { color: var(--amber-light); }

.footer-bottom {
  padding: 28px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(253,248,240,0.3);
}

/* ═══════════════════════════════════════════
   REVEAL ANIMATIONS (progressive enhancement)
   ═══════════════════════════════════════════ */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
  }
  .reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Default: always visible (JS-disabled fallback) */
.reveal {
  opacity: 1;
  transform: none;
  transition: none;
}

/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item:nth-child(n) { aspect-ratio: 4/3; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--plum-darkest);
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    padding: 40px;
    transition: right 0.4s var(--ease-out);
    box-shadow: -10px 0 40px rgba(0,0,0,0.3);
  }

  .nav-links.open { right: 0; }
  .nav-links a { font-size: 1rem; color: rgba(255,255,255,0.85); }

  .hero-headline { font-size: clamp(2rem, 8vw, 3rem); }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }

  .services-grid { grid-template-columns: 1fr; }
  .services { padding: 80px 0; }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .about-image-accent { display: none; }
  .about { padding: 80px 0; }

  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item:nth-child(n) { aspect-ratio: 4/3; }
  .gallery { padding: 80px 0; }

  .hours-grid { grid-template-columns: 1fr; gap: 48px; }
  .hours { padding: 80px 0; }

  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .contact { padding: 80px 0; }
  .contact-form-wrap { padding: 32px 24px; }

  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-content { padding: 100px 16px 60px; }
  .about-stats { flex-direction: column; gap: 20px; }
}
