/* =======================================
   STUDIO ZEN - Salon Coiffure & Bien-être
   Premium Redesign
   ======================================= */

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

:root {
  --zen-sage: #5a7d5a;
  --zen-sage-light: #7fa97f;
  --zen-sage-dark: #3d5c3d;
  --zen-olive: #8a9a6c;
  --zen-beige: #f5f0e8;
  --zen-cream: #faf8f4;
  --zen-warm: #e8ddd0;
  --zen-text: #2c2a26;
  --zen-text-light: #7a756d;
  --zen-gold: #c4a45a;
  --zen-gold-light: #d4b86a;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, sans-serif;
  color: var(--zen-text);
  background: var(--zen-cream);
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* --- Back to portfolio --- */
.back-to-portfolio {
  position: fixed; top: 20px; left: 20px; z-index: 1000;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 20px; border-radius: 50px;
  background: rgba(250,248,244,0.9); backdrop-filter: blur(12px);
  color: var(--zen-sage); font-size: 0.8rem; font-weight: 500;
  text-decoration: none; box-shadow: 0 2px 16px rgba(0,0,0,0.08);
  transition: all 0.3s;
}
.back-to-portfolio:hover { background: var(--zen-sage); color: #fff; transform: translateX(-3px); }

/* =======================================
   NAVIGATION
   ======================================= */
.navbar {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 100;
  padding: 20px 0; transition: all 0.4s;
}
.navbar.scrolled {
  background: rgba(250,248,244,0.95); backdrop-filter: blur(16px);
  padding: 14px 0; box-shadow: 0 1px 30px rgba(0,0,0,0.05);
}
.nav-container { max-width: 1100px; margin: 0 auto; padding: 0 24px; display: flex; justify-content: space-between; align-items: center; }
.nav-logo { font-family: 'Playfair Display', serif; font-size: 1.5rem; font-weight: 700; color: var(--zen-sage-dark); text-decoration: none; letter-spacing: -0.02em; }
.nav-logo .logo-accent { color: var(--zen-gold); font-style: italic; }
.nav-menu { list-style: none; display: flex; gap: 32px; align-items: center; }
.nav-link { text-decoration: none; color: var(--zen-text-light); font-size: 0.85rem; font-weight: 500; transition: color 0.3s; position: relative; letter-spacing: 0.02em; }
.nav-link::after { content: ''; position: absolute; bottom: -4px; left: 50%; transform: translateX(-50%); width: 0; height: 1.5px; background: var(--zen-gold); transition: width 0.3s; border-radius: 1px; }
.nav-link:hover, .nav-link.active { color: var(--zen-sage-dark); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-link--cta {
  background: var(--zen-sage); color: #fff !important; padding: 10px 28px;
  border-radius: 50px; transition: all 0.3s; letter-spacing: 0.03em;
}
.nav-link--cta::after { display: none; }
.nav-link--cta:hover { background: var(--zen-sage-dark); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(90,125,90,0.3); }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.hamburger-line { display: block; width: 22px; height: 1.5px; background: var(--zen-text); margin: 5px 0; transition: all 0.3s; border-radius: 2px; }

/* =======================================
   HERO
   ======================================= */
.hero {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  text-align: center; position: relative; overflow: hidden;
  background: var(--zen-cream);
}
.hero::before {
  content: ''; position: absolute; top: -50%; right: -20%; width: 80vw; height: 80vw;
  border-radius: 50%; background: radial-gradient(circle, rgba(196,164,90,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: ''; position: absolute; bottom: -30%; left: -15%; width: 60vw; height: 60vw;
  border-radius: 50%; background: radial-gradient(circle, rgba(90,125,90,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: url('https://images.unsplash.com/photo-1560066984-138dadb4c035?w=1400&h=900&fit=crop') center/cover;
  opacity: 0.06;
}
.hero-content { position: relative; z-index: 2; padding: 0 24px; max-width: 700px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 24px; border-radius: 50px; margin-bottom: 28px;
  background: rgba(196,164,90,0.1); border: 1px solid rgba(196,164,90,0.2);
  font-size: 0.78rem; color: var(--zen-gold); font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  opacity: 0; animation: fadeUp 0.8s 0.2s forwards;
}
.hero-title {
  font-family: 'Playfair Display', serif; font-size: clamp(2.8rem, 6vw, 4.8rem);
  font-weight: 700; line-height: 1.1; margin-bottom: 24px; color: var(--zen-text);
  letter-spacing: -0.02em;
  opacity: 0; animation: fadeUp 0.8s 0.4s forwards;
}
.title-accent { color: var(--zen-sage); font-style: italic; }
.hero-subtitle {
  font-size: 1.1rem; color: var(--zen-text-light); max-width: 480px; margin: 0 auto 36px;
  line-height: 1.8; opacity: 0; animation: fadeUp 0.8s 0.6s forwards;
}
.hero-actions {
  display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
  opacity: 0; animation: fadeUp 0.8s 0.8s forwards;
}
.hero-scroll {
  position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--zen-text-light); font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase;
  opacity: 0; animation: fadeUp 0.8s 1.2s forwards;
}
.hero-scroll-line { width: 1px; height: 40px; background: linear-gradient(to bottom, var(--zen-gold), transparent); animation: scrollPulse 2s infinite; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(25px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 15px 36px; border-radius: 50px; font-size: 0.88rem;
  font-weight: 600; text-decoration: none; transition: all 0.4s; border: none; cursor: pointer;
  letter-spacing: 0.02em;
}
.btn-primary { background: var(--zen-sage); color: #fff; }
.btn-primary:hover { background: var(--zen-sage-dark); transform: translateY(-2px); box-shadow: 0 12px 32px rgba(90,125,90,0.25); }
.btn-outline { background: transparent; color: var(--zen-sage); border: 1.5px solid rgba(90,125,90,0.4); }
.btn-outline:hover { background: var(--zen-sage); color: #fff; border-color: var(--zen-sage); }
.btn-full { width: 100%; justify-content: center; }

/* =======================================
   FEATURE STRIP
   ======================================= */
.feature-strip {
  padding: 50px 0; background: var(--zen-sage-dark); color: #fff;
}
.feature-strip__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; text-align: center;
}
.feature-strip__item { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.feature-strip__icon { opacity: 0.7; }
.feature-strip__label { font-size: 0.82rem; font-weight: 500; opacity: 0.9; letter-spacing: 0.02em; }

/* =======================================
   SERVICES
   ======================================= */
.services-section { padding: 110px 0; background: var(--zen-beige); }
.section-header { text-align: center; margin-bottom: 64px; }
.section-tag {
  display: inline-block; font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.18em; color: var(--zen-gold); margin-bottom: 14px;
}
.section-title {
  font-family: 'Playfair Display', serif; font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700; line-height: 1.2; margin-bottom: 16px; color: var(--zen-text);
}
.section-description { font-size: 0.98rem; color: var(--zen-text-light); max-width: 520px; margin: 0 auto; line-height: 1.7; }
.section-line { width: 40px; height: 2px; background: var(--zen-gold); margin: 20px auto 0; border-radius: 1px; }

.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card {
  background: #fff; border-radius: 20px; padding: 40px 28px;
  text-align: center; transition: all 0.4s; border: 2px solid rgba(90,125,90,0.35);
  position: relative; overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 40px; height: 3px; background: var(--zen-gold); border-radius: 0 0 3px 3px;
  opacity: 0; transition: opacity 0.3s;
}
.service-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(0,0,0,0.12); border-color: rgba(90,125,90,0.6); }
.service-card:hover::before { opacity: 1; }
.service-icon {
  width: 60px; height: 60px; border-radius: 16px; margin: 0 auto 22px;
  background: linear-gradient(135deg, rgba(90,125,90,0.1), rgba(196,164,90,0.1));
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s;
}
.service-card:hover .service-icon { background: linear-gradient(135deg, var(--zen-sage), var(--zen-sage-dark)); }
.service-card:hover .service-icon svg { color: #fff; }
.service-icon svg { color: var(--zen-sage); transition: color 0.3s; }
.service-card h3 { font-family: 'Playfair Display', serif; font-size: 1.15rem; margin-bottom: 10px; letter-spacing: -0.01em; }
.service-card p { font-size: 0.85rem; color: var(--zen-text-light); line-height: 1.65; }
.service-price {
  display: inline-block; margin-top: 18px; font-weight: 700; color: var(--zen-sage);
  font-size: 0.9rem; padding: 6px 16px; border-radius: 50px;
  background: rgba(90,125,90,0.08);
}

/* =======================================
   GALERIE
   ======================================= */
.galerie-section { padding: 110px 0; background: var(--zen-cream); }
.galerie-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.galerie-item {
  border-radius: 16px; overflow: hidden; position: relative; aspect-ratio: 4/3;
  background: var(--zen-warm); cursor: pointer;
}
.galerie-placeholder {
  width: 100%; height: 100%; background-size: cover; background-position: center;
  transition: transform 0.6s cubic-bezier(0.16,1,0.3,1);
}
.galerie-item:hover .galerie-placeholder { transform: scale(1.08); }
.galerie-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(transparent 40%, rgba(44,42,38,0.7));
  display: flex; align-items: flex-end; padding: 20px;
  opacity: 0; transition: opacity 0.4s;
}
.galerie-item:hover .galerie-overlay { opacity: 1; }
.galerie-label { color: #fff; font-size: 0.88rem; font-weight: 600; letter-spacing: 0.02em; }

/* =======================================
   AVIS
   ======================================= */
.avis-section { padding: 110px 0; background: #fff; }
.avis-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.avis-card {
  background: var(--zen-cream); border-radius: 20px; padding: 36px 32px;
  border: 1px solid rgba(0,0,0,0.04); position: relative; transition: all 0.3s;
}
.avis-card:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(0,0,0,0.06); }
.avis-card::before {
  content: '\201C'; position: absolute; top: 20px; right: 28px;
  font-family: 'Playfair Display', serif; font-size: 4rem; line-height: 1;
  color: var(--zen-gold); opacity: 0.15;
}
.avis-stars { color: var(--zen-gold); font-size: 0.85rem; margin-bottom: 16px; letter-spacing: 3px; }
.avis-text { font-size: 0.9rem; color: var(--zen-text-light); line-height: 1.75; margin-bottom: 20px; font-style: italic; }
.avis-footer { display: flex; align-items: center; gap: 12px; }
.avis-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--zen-sage-light), var(--zen-gold-light));
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.8rem; color: #fff;
}
.avis-info { display: flex; flex-direction: column; }
.avis-author { font-weight: 600; font-size: 0.88rem; }
.avis-service { font-size: 0.75rem; color: var(--zen-text-light); margin-top: 2px; }

/* =======================================
   RESERVATION
   ======================================= */
.reservation-section { padding: 110px 0; background: var(--zen-cream); }
.reservation-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.reservation-info .section-title { text-align: left; }
.reservation-text { color: var(--zen-text-light); line-height: 1.8; margin-bottom: 36px; }

.detail-item { display: flex; gap: 16px; margin-bottom: 24px; align-items: flex-start; }
.detail-icon {
  flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px;
  background: rgba(90,125,90,0.08); display: flex; align-items: center; justify-content: center;
}
.detail-text { display: flex; flex-direction: column; gap: 2px; }
.detail-text strong { font-size: 0.9rem; }
.detail-text span { font-size: 0.82rem; color: var(--zen-text-light); }

.reservation-form {
  background: #fff; border-radius: 24px; padding: 40px;
  box-shadow: 0 12px 48px rgba(0,0,0,0.06); border: 1px solid rgba(0,0,0,0.03);
}
.form-title { font-family: 'Playfair Display', serif; font-size: 1.35rem; margin-bottom: 28px; text-align: center; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 0.8rem; font-weight: 600; margin-bottom: 6px; color: var(--zen-text); letter-spacing: 0.02em; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 13px 18px; border: 1.5px solid #e8e4dc; border-radius: 12px;
  font-size: 0.88rem; font-family: inherit; transition: all 0.3s; background: var(--zen-cream);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--zen-sage); background: #fff; box-shadow: 0 0 0 3px rgba(90,125,90,0.08);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-note { text-align: center; font-size: 0.78rem; color: var(--zen-text-light); margin-top: 14px; }

/* =======================================
   FOOTER
   ======================================= */
.footer { padding: 70px 0 30px; background: var(--zen-text); color: rgba(255,255,255,0.6); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-logo { font-family: 'Playfair Display', serif; font-size: 1.4rem; font-weight: 700; color: #fff; text-decoration: none; display: block; margin-bottom: 14px; }
.footer-logo .logo-accent { color: var(--zen-gold); font-style: italic; }
.footer-tagline { font-size: 0.85rem; line-height: 1.7; }
.footer-heading { color: #fff; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.15em; margin-bottom: 18px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: rgba(255,255,255,0.5); text-decoration: none; font-size: 0.85rem; transition: color 0.3s; }
.footer-links a:hover { color: var(--zen-gold-light); }
.footer-hours { list-style: none; }
.footer-hours li { display: flex; justify-content: space-between; font-size: 0.82rem; margin-bottom: 10px; gap: 12px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 24px; display: flex; justify-content: space-between; font-size: 0.78rem; }
.footer-credit a { color: var(--zen-gold-light); text-decoration: none; }

/* =======================================
   PAGE HERO (sub-pages)
   ======================================= */
.page-hero {
  padding: 140px 0 60px; text-align: center;
  background: linear-gradient(180deg, var(--zen-cream) 0%, #fff 100%);
}
.page-hero .section-tag { margin-bottom: 12px; }
.page-hero .section-description { margin-top: 8px; }

.nav-hidden { transform: translateY(-100%); }

/* =======================================
   REVEAL ANIMATIONS
   ======================================= */
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.9s cubic-bezier(0.16,1,0.3,1); }
.reveal.revealed { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* =======================================
   RESPONSIVE
   ======================================= */
@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav-menu {
    position: fixed; top: 0; right: -100%; width: 280px; height: 100vh;
    background: var(--zen-cream); flex-direction: column; padding: 80px 32px 32px;
    gap: 20px; transition: right 0.4s; box-shadow: -4px 0 24px rgba(0,0,0,0.1);
  }
  .nav-menu.active { right: 0; }
  .nav-toggle.active .hamburger-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.active .hamburger-line:nth-child(2) { opacity: 0; }
  .nav-toggle.active .hamburger-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .feature-strip__grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .services-grid { grid-template-columns: 1fr; max-width: 380px; margin: 0 auto; }
  .galerie-grid { grid-template-columns: 1fr 1fr; }
  .avis-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .reservation-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .hide-mobile { display: none; }
  .hero-scroll { display: none; }
}
