/* ============================================
   PLATINUM KUTZ — Editorial Salon Website
   Emerald Green + Cream | Playfair Display + Inter
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: #fefdf8;
  color: #022c22;
  font-family: 'Inter', system-ui, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* --- Container --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav-fixed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(254, 253, 248, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(4, 120, 87, 0.08);
  transition: box-shadow 0.3s ease;
}
.nav-fixed.scrolled {
  box-shadow: 0 4px 30px rgba(2, 44, 34, 0.08);
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.nav-logo { font-size: 1.125rem; }
.nav-cta {
  background: #047857;
  color: #fefdf8 !important;
  padding: 0.5rem 1.25rem;
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 600;
  transition: background 0.25s ease, transform 0.2s ease;
}
.nav-cta:hover { background: #065f46; transform: translateY(-1px); }

.menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: #047857;
}
.menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.menu-link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: #064e3b;
  position: relative;
  transition: color 0.25s ease;
}
.menu-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #10b981;
  transition: width 0.3s ease;
}
.menu-link:hover { color: #047857; }
.menu-link:hover::after { width: 100%; }

/* Mobile menu */
.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(2, 44, 34, 0.5);
  backdrop-filter: blur(4px);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.menu-overlay.active {
  opacity: 1;
  pointer-events: all;
}
.menu.active {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(320px, 85vw);
  background: #fefdf8;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  z-index: 999;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -10px 0 40px rgba(0,0,0,0.15);
}
.menu.active.open { transform: translateX(0); }
.menu.active .menu-link { font-size: 1.25rem; }

@media (max-width: 768px) {
  .menu-btn { display: flex; align-items: center; justify-content: center; }
  .menu { display: none; }
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #022c22;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url('https://images.pexels.com/photos/8834060/pexels-photo-8834060.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=1920&h=1080') center/cover no-repeat;
  transform: scale(1.05);
  animation: heroZoom 20s ease-in-out infinite alternate;
}
@keyframes heroZoom {
  from { transform: scale(1.05); }
  to   { transform: scale(1.12); }
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(2, 44, 34, 0.88) 0%,
    rgba(4, 120, 87, 0.75) 50%,
    rgba(2, 44, 34, 0.85) 100%
  );
}
.hero-grid {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 8rem 1.5rem 4rem;
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 3rem;
  align-items: center;
}

/* Hero card */
.hero-card {
  background: rgba(254, 253, 248, 0.07);
  border: 1px solid rgba(254, 253, 248, 0.15);
  border-radius: 24px;
  padding: 3rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.hero-main-card { max-width: 560px; }
.hero-eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #6ee7b7;
  margin-bottom: 1rem;
  padding: 0.375rem 0.875rem;
  background: rgba(110, 231, 183, 0.12);
  border: 1px solid rgba(110, 231, 183, 0.25);
  border-radius: 100px;
}
.hero-headline {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.75rem, 5.5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.08;
  color: #fefdf8;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}
.hero-headline em {
  font-style: italic;
  color: #6ee7b7;
}
.hero-sub {
  font-size: 1.125rem;
  line-height: 1.7;
  color: rgba(254, 253, 248, 0.75);
  margin-bottom: 2rem;
  max-width: 440px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border-radius: 100px;
  font-size: 0.9375rem;
  font-weight: 600;
  transition: all 0.25s ease;
  cursor: pointer;
  border: 2px solid transparent;
}
.btn-primary {
  background: #10b981;
  color: #022c22;
  border-color: #10b981;
}
.btn-primary:hover {
  background: #34d399;
  border-color: #34d399;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.35);
}
.btn-outline-light {
  background: transparent;
  color: #fefdf8;
  border-color: rgba(254, 253, 248, 0.4);
}
.btn-outline-light:hover {
  background: rgba(254, 253, 248, 0.1);
  border-color: #fefdf8;
  transform: translateY(-2px);
}
.btn-light {
  background: #fefdf8;
  color: #047857;
  border-color: #fefdf8;
}
.btn-light:hover {
  background: #faf0d7;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(254, 253, 248, 0.3);
}
.btn-outline {
  background: transparent;
  color: #047857;
  border-color: #047857;
}
.btn-outline:hover {
  background: #047857;
  color: #fefdf8;
  transform: translateY(-2px);
}
.btn-lg { padding: 1rem 2rem; font-size: 1rem; }

/* Stat cards */
.hero-stats {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.stat-card {
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(254, 253, 248, 0.12);
  transition: transform 0.3s ease;
}
.stat-card:hover { transform: translateY(-4px); }
.stat-card--accent {
  background: rgba(16, 185, 129, 0.2);
  border-color: rgba(16, 185, 129, 0.35);
}
.stat-card--dark {
  background: rgba(2, 44, 34, 0.6);
}
.stat-card--cream {
  background: rgba(254, 253, 248, 0.1);
  border-color: rgba(254, 253, 248, 0.18);
}
.stat-number {
  display: block;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2rem;
  font-weight: 800;
  color: #fefdf8;
  line-height: 1;
  margin-bottom: 0.375rem;
}
.stat-card--accent .stat-number { color: #6ee7b7; }
.stat-label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(254, 253, 248, 0.7);
  line-height: 1.4;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    padding-top: 7rem;
  }
  .hero-stats {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .stat-card { flex: 1; min-width: 140px; }
}
@media (max-width: 480px) {
  .hero-card { padding: 2rem 1.5rem; }
  .hero-headline { font-size: 2.25rem; }
  .hero-actions { flex-direction: column; }
  .btn { justify-content: center; width: 100%; }
}

/* ============================================
   MARQUEE
   ============================================ */
.marquee-strip {
  background: #047857;
  overflow: hidden;
  padding: 0.875rem 0;
}
.marquee-track {
  display: flex;
  gap: 1.5rem;
  animation: marquee 25s linear infinite;
  width: max-content;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.marquee-track span {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #D9F99D;
  white-space: nowrap;
}
.dot {
  color: rgba(217, 249, 157, 0.4) !important;
  font-size: 0.625rem !important;
  letter-spacing: 0 !important;
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
  padding: 6rem 0;
}
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 4rem;
}
.section-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #047857;
  margin-bottom: 0.75rem;
  padding: 0.3125rem 0.875rem;
  background: rgba(4, 120, 87, 0.08);
  border: 1px solid rgba(4, 120, 87, 0.15);
  border-radius: 100px;
}
.section-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 800;
  line-height: 1.1;
  color: #022c22;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}
.section-title em { font-style: italic; color: #047857; }
.section-desc {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: #065f46;
  opacity: 0.75;
}

/* ============================================
   SERVICES
   ============================================ */
.services { background: #fefdf8; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.service-card {
  background: #fdf9ef;
  border: 1px solid rgba(4, 120, 87, 0.08);
  border-radius: 20px;
  padding: 2rem;
  transition: all 0.3s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(4, 120, 87, 0.1);
  border-color: rgba(4, 120, 87, 0.18);
}
.service-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(4, 120, 87, 0.08);
  border-radius: 14px;
  margin-bottom: 1.25rem;
  color: #047857;
  transition: background 0.3s ease;
}
.service-card:hover .service-icon { background: #047857; color: #D9F99D; }
.service-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #022c22;
  margin-bottom: 0.625rem;
}
.service-desc {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: #065f46;
  opacity: 0.8;
}

@media (max-width: 900px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .services-grid { grid-template-columns: 1fr; }
  .section { padding: 4rem 0; }
}

/* ============================================
   ABOUT
   ============================================ */
.about { background: #ecfdf5; }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-image { position: relative; }
.about-img-wrapper {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(2, 44, 34, 0.15);
}
.about-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.about-img-wrapper:hover img { transform: scale(1.03); }
.about-accent {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 120px;
  height: 120px;
  background: #047857;
  border-radius: 20px;
  z-index: -1;
  opacity: 0.15;
}
.about-content { max-width: 480px; }
.about-text {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: #065f46;
  margin-bottom: 1.25rem;
  opacity: 0.85;
}
.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem 1.5rem;
  margin-bottom: 2rem;
}
.about-feature {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: #047857;
}
.about-check { color: #10b981; flex-shrink: 0; }

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-content { max-width: 100%; }
}

/* ============================================
   GALLERY
   ============================================ */
.gallery { background: #fefdf8; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.gallery-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: auto;
  cursor: pointer;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(2, 44, 34, 0.7) 0%, transparent 50%);
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-tag {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #D9F99D;
  background: rgba(4, 120, 87, 0.6);
  padding: 0.3125rem 0.75rem;
  border-radius: 100px;
}

@media (max-width: 768px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials {
  background: #022c22;
  color: #fefdf8;
}
.testimonials .section-eyebrow {
  color: #6ee7b7;
  background: rgba(110, 231, 183, 0.1);
  border-color: rgba(110, 231, 183, 0.2);
}
.testimonials .section-title { color: #fefdf8; }
.testimonials .section-title em { color: #6ee7b7; }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.testimonial-card {
  background: rgba(254, 253, 248, 0.05);
  border: 1px solid rgba(254, 253, 248, 0.1);
  border-radius: 20px;
  padding: 2rem;
  transition: all 0.3s ease;
}
.testimonial-card:hover {
  background: rgba(254, 253, 248, 0.08);
  transform: translateY(-4px);
}
.testimonial-quote {
  color: #10b981;
  margin-bottom: 1rem;
  opacity: 0.6;
}
.testimonial-text {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(254, 253, 248, 0.8);
  margin-bottom: 1.5rem;
  font-style: italic;
}
.testimonial-author {
  font-size: 0.875rem;
  font-weight: 600;
  color: #6ee7b7;
}

@media (max-width: 900px) {
  .testimonials-grid { grid-template-columns: 1fr; max-width: 600px; margin: 0 auto; }
}

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
  position: relative;
  padding: 6rem 0;
  overflow: hidden;
  background: #047857;
}
.cta-bg {
  position: absolute;
  inset: 0;
  background: url('https://images.pexels.com/photos/7447131/pexels-photo-7447131.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=1920&h=600') center/cover no-repeat;
  opacity: 0.12;
}
.cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.cta-eyebrow { color: #D9F99D; background: rgba(217, 249, 157, 0.12); border-color: rgba(217, 249, 157, 0.25); }
.cta-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: #fefdf8;
  line-height: 1.15;
  margin-bottom: 1rem;
}
.cta-text {
  font-size: 1.0625rem;
  color: rgba(254, 253, 248, 0.75);
  margin-bottom: 0.5rem;
  line-height: 1.7;
}
.cta-phone {
  color: #D9F91D;
  font-weight: 700;
  font-size: 1.25rem;
  transition: color 0.25s ease;
}
.cta-phone:hover { color: #bef264; }
.cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

/* ============================================
   CONTACT
   ============================================ */
.contact { background: #fdf9ef; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.contact-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(4, 120, 87, 0.08);
  border-radius: 14px;
  color: #047857;
  flex-shrink: 0;
}
.contact-label {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.0625rem;
  font-weight: 700;
  color: #022c22;
  margin-bottom: 0.25rem;
}
.contact-item p {
  font-size: 0.9375rem;
  color: #065f46;
  line-height: 1.6;
  opacity: 0.8;
}
.contact-item a {
  color: #047857;
  transition: color 0.25s ease;
}
.contact-item a:hover { color: #10b981; }
.contact-map {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(2, 44, 34, 0.1);
  min-height: 360px;
}

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: #022c22;
  color: rgba(254, 253, 248, 0.6);
  padding: 4rem 0 2rem;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand { max-width: 280px; }
.footer-tagline {
  font-size: 0.9375rem;
  line-height: 1.65;
  margin-top: 0.75rem;
  opacity: 0.7;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}
.footer-nav a {
  font-size: 0.9375rem;
  color: rgba(254, 253, 248, 0.6);
  transition: color 0.25s ease;
}
.footer-nav a:hover { color: #6ee7b7; }
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.9375rem;
}
.footer-bottom {
  border-top: 1px solid rgba(254, 253, 248, 0.08);
  padding-top: 2rem;
  text-align: center;
  font-size: 0.8125rem;
  opacity: 0.5;
}

@media (max-width: 768px) {
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .footer-brand { max-width: 100%; }
}

/* ============================================
   REVEAL ANIMATIONS (progressive enhancement)
   ============================================ */
/* Default: all content is visible (no JS required) */
.reveal {
  opacity: 1;
  transform: none;
  transition: none;
}

/* When JS is active and user prefers motion, enable scroll reveals */
.js-active .reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.js-active .reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .js-active .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Smooth scroll offset for fixed nav */
section[id], main > section[id], .anchor-target {
  scroll-margin-top: 80px;
}
