/* ============================================
   MUSE. -HAIR SALON — STYLES
   Color Palette: Charcoal + Coral
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --coral: #E07A5F;
  --coral-light: #F2CC8F;
  --coral-dark: #C4624A;
  --coral-pale: #FFF0EB;
  --charcoal: #2D3436;
  --charcoal-light: #4A5356;
  --charcoal-dark: #1A1F20;
  --cream: #FDF6F0;
  --cream-dark: #F5EDE6;
  --white: #FFFFFF;
  --text-dark: #2D3436;
  --text-medium: #4A5356;
  --text-light: #6B7A7D;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --shadow-sm: 0 2px 8px rgba(45,52,54,0.06);
  --shadow-md: 0 4px 20px rgba(45,52,54,0.08);
  --shadow-lg: 0 8px 40px rgba(45,52,54,0.12);
  --shadow-coral: 0 4px 20px rgba(224,122,95,0.3);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: 'Quicksand', sans-serif;
  font-weight: 500;
  color: var(--text-dark);
  background: var(--cream);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Lora', serif;
  font-weight: 600;
  line-height: 1.25;
  color: var(--charcoal);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--coral);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--coral-dark);
}

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

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: 50px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--coral);
  color: var(--white);
  border-color: var(--coral);
  box-shadow: var(--shadow-coral);
}

.btn-primary:hover {
  background: var(--coral-dark);
  border-color: var(--coral-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(224,122,95,0.4);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--charcoal);
  border-color: var(--charcoal);
}

.btn-outline:hover {
  background: var(--charcoal);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-nav {
  background: var(--coral);
  color: var(--white);
  border-color: var(--coral);
  padding: 10px 22px;
  font-size: 0.88rem;
}

.btn-nav:hover {
  background: var(--coral-dark);
  border-color: var(--coral-dark);
  color: var(--white);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1rem;
}

.btn-full {
  width: 100%;
  justify-content: center;
  padding: 16px 28px;
}

/* --- Section Shared --- */
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 60px;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 12px;
  background: var(--coral-pale);
  padding: 6px 16px;
  border-radius: 50px;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: 16px;
  color: var(--charcoal);
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-medium);
  line-height: 1.7;
}

/* --- Navbar --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(253,246,240,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(224,122,95,0.1);
  transition: box-shadow var(--transition);
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  font-family: 'Lora', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--charcoal);
  text-decoration: none;
}

.logo-dot {
  color: var(--coral);
  font-weight: 700;
}

.logo-sub {
  font-family: 'Quicksand', sans-serif;
  font-weight: 500;
  font-size: 0.85rem;
  color: var(--text-medium);
  margin-left: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav-links a:not(.btn-nav) {
  color: var(--text-dark);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 8px 16px;
  border-radius: 50px;
  transition: all var(--transition);
}

.nav-links a:not(.btn-nav):hover {
  color: var(--coral);
  background: var(--coral-pale);
}

/* Hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 40px;
  height: 40px;
  position: relative;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}

.nav-toggle:hover {
  background: var(--coral-pale);
}

.hamburger,
.hamburger::before,
.hamburger::after {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: all var(--transition);
  position: absolute;
  left: 9px;
}

.hamburger {
  top: 50%;
  transform: translateY(-50%);
}

.hamburger::before {
  content: '';
  top: -7px;
  left: 0;
}

.hamburger::after {
  content: '';
  bottom: -7px;
  left: 0;
}

.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 {
  bottom: 0;
  transform: rotate(-45deg);
}

/* --- Hero --- */
.hero {
  padding: 120px 0 80px;
  background: var(--cream);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(224,122,95,0.08) 0%, transparent 70%);
  border-radius: 50%;
  aria-hidden: true;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--coral);
  background: var(--coral-pale);
  padding: 8px 18px;
  border-radius: 50px;
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  line-height: 1.15;
  margin-bottom: 20px;
  color: var(--charcoal);
}

.hero-title em {
  color: var(--coral);
  font-style: italic;
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--text-medium);
  line-height: 1.8;
  margin-bottom: 32px;
  max-width: 500px;
}

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

.hero-trust {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark);
}

.trust-item svg {
  color: var(--coral);
  flex-shrink: 0;
}

/* Hero Images */
.hero-image-wrap {
  position: relative;
  padding: 20px;
}

.hero-img-main {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 2;
}

.hero-img-main img {
  width: 100%;
  height: 640px;
  object-fit: cover;
}

.hero-img-float {
  position: absolute;
  bottom: -20px;
  left: -40px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  z-index: 3;
  border: 4px solid var(--cream);
}

.hero-img-float img {
  width: 280px;
  height: 340px;
  object-fit: cover;
}

.hero-accent-circle {
  position: absolute;
  top: 0;
  right: 0;
  width: 120px;
  height: 120px;
  background: var(--coral);
  border-radius: 50%;
  opacity: 0.1;
  z-index: 1;
}

/* --- Services --- */
.services {
  padding: 100px 0;
  background: var(--white);
}

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

.service-card {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: all var(--transition);
  border: 1px solid transparent;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(224,122,95,0.2);
  background: var(--white);
}

.service-icon {
  width: 64px;
  height: 64px;
  background: var(--coral-pale);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--coral);
  margin-bottom: 20px;
  transition: all var(--transition);
}

.service-card:hover .service-icon {
  background: var(--coral);
  color: var(--white);
}

.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--charcoal);
}

.service-card p {
  font-size: 0.95rem;
  color: var(--text-medium);
  line-height: 1.7;
}

/* --- About --- */
.about {
  padding: 100px 0;
  background: var(--cream);
}

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

.about-images {
  position: relative;
}

.about-img-main {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-img-main img {
  width: 100%;
  height: 560px;
  object-fit: cover;
}

.about-img-secondary {
  position: absolute;
  bottom: -30px;
  right: -30px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--cream);
}

.about-img-secondary img {
  width: 300px;
  height: 360px;
  object-fit: cover;
}

.about-badge {
  position: absolute;
  top: -20px;
  left: -20px;
  background: var(--coral);
  color: var(--white);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-coral);
  text-align: center;
}

.about-badge-number {
  display: block;
  font-family: 'Lora', serif;
  font-size: 0.85rem;
  font-weight: 500;
  opacity: 0.9;
}

.about-badge-text {
  display: block;
  font-family: 'Lora', serif;
  font-size: 1.1rem;
  font-weight: 600;
}

.about-content .section-tag {
  margin-bottom: 12px;
}

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

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

.about-stats {
  display: flex;
  gap: 32px;
  margin: 32px 0;
  flex-wrap: wrap;
}

.stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-family: 'Lora', serif;
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--coral);
  line-height: 1.2;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-light);
  font-weight: 600;
}

/* --- Gallery --- */
.gallery {
  padding: 100px 0;
  background: var(--white);
}

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

.gallery-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(45,52,54,0.3) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--transition);
  border-radius: var(--radius-lg);
}

.gallery-item:hover::after {
  opacity: 1;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  display: block;
}

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

.gallery-item:nth-child(1) img { height: 500px; }
.gallery-item:nth-child(2) img { height: 320px; }
.gallery-item:nth-child(3) img { height: 320px; }
.gallery-item:nth-child(4) img { height: 500px; }
.gallery-item:nth-child(5) img { height: 320px; }
.gallery-item:nth-child(6) img { height: 500px; }

/* --- Testimonials --- */
.testimonials {
  padding: 100px 0;
  background: var(--charcoal);
}

.testimonials .section-tag {
  background: rgba(224,122,95,0.2);
}

.testimonials .section-title {
  color: var(--white);
}

.testimonials .section-desc {
  color: rgba(255,255,255,0.6);
}

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

.testimonial-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: all var(--transition);
}

.testimonial-card:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-4px);
}

.testimonial-quote {
  font-family: 'Lora', serif;
  font-size: 4rem;
  line-height: 1;
  color: var(--coral);
  opacity: 0.4;
  margin-bottom: -8px;
}

.testimonial-text {
  font-size: 1rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.8;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  background: var(--coral);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}

.author-name {
  font-weight: 700;
  color: var(--white);
  font-size: 0.95rem;
}

/* --- Contact --- */
.contact {
  padding: 100px 0;
  background: var(--cream);
}

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

.contact-info .section-title {
  margin-bottom: 16px;
}

.contact-desc {
  font-size: 1.05rem;
  color: var(--text-medium);
  line-height: 1.8;
  margin-bottom: 36px;
}

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

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-icon {
  width: 52px;
  height: 52px;
  background: var(--coral-pale);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--coral);
  flex-shrink: 0;
  transition: all var(--transition);
}

.contact-item:hover .contact-icon {
  background: var(--coral);
  color: var(--white);
}

.contact-item strong {
  display: block;
  font-size: 1rem;
  color: var(--charcoal);
  margin-bottom: 4px;
}

.contact-item p {
  font-size: 0.95rem;
  color: var(--text-medium);
  line-height: 1.6;
}

.contact-item a {
  color: var(--coral);
}

/* Form */
.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(224,122,95,0.1);
}

.contact-form h3 {
  font-size: 1.5rem;
  margin-bottom: 24px;
  color: var(--charcoal);
}

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

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--cream-dark);
  border-radius: var(--radius-sm);
  font-family: 'Quicksand', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-dark);
  background: var(--cream);
  transition: all var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--coral);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(224,122,95,0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-light);
}

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

.form-success {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  background: #E8F5E9;
  border: 1px solid #A5D6A7;
  border-radius: var(--radius-sm);
  color: #2E7D32;
  font-weight: 600;
  font-size: 0.95rem;
  margin-top: 16px;
}

.form-success.show {
  display: flex;
}

/* --- Footer --- */
.footer {
  background: var(--charcoal-dark);
  color: rgba(255,255,255,0.7);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 48px;
}

.footer .logo {
  color: var(--white);
  margin-bottom: 16px;
  display: inline-block;
}

.footer-brand p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.55);
  max-width: 280px;
}

.footer-links strong,
.footer-contact strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: rgba(255,255,255,0.55);
  font-size: 0.92rem;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--coral);
}

.footer-contact address {
  font-style: normal;
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 12px;
  color: rgba(255,255,255,0.55);
}

.footer-contact p {
  font-size: 0.92rem;
  margin-bottom: 6px;
}

.footer-contact a {
  color: rgba(255,255,255,0.55);
}

.footer-contact a:hover {
  color: var(--coral);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
}

.footer-bottom p {
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.35);
}

/* --- Scroll Reveal (progressive enhancement) --- */
.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
  }
  .reveal.revealed {
    opacity: 1;
    transform: none;
  }
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .hero-grid {
    gap: 40px;
  }
  .hero-img-main img {
    height: 480px;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .testimonials-grid .testimonial-card:last-child {
    grid-column: span 2;
    max-width: 50%;
    margin: 0 auto;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(253,246,240,0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    flex-direction: column;
    padding: 24px;
    gap: 4px;
    border-bottom: 1px solid rgba(224,122,95,0.15);
    transform: translateY(-120%);
    opacity: 0;
    transition: all var(--transition);
    pointer-events: none;
    box-shadow: var(--shadow-md);
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav-links a:not(.btn-nav) {
    padding: 12px 16px;
    width: 100%;
  }

  .nav-toggle {
    display: block;
  }

  .hero {
    padding: 100px 0 60px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-image-wrap {
    order: -1;
    max-width: 400px;
    margin: 0 auto;
  }

  .hero-img-main img {
    height: 380px;
  }

  .hero-img-float {
    left: -10px;
    bottom: -10px;
  }

  .hero-img-float img {
    width: 200px;
    height: 250px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    justify-content: center;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-img-secondary {
    right: 0;
    bottom: -20px;
  }

  .about-img-secondary img {
    width: 220px;
    height: 270px;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-item:nth-child(1) img,
  .gallery-item:nth-child(4) img,
  .gallery-item:nth-child(6) img {
    height: 320px;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .testimonials-grid .testimonial-card:last-child {
    grid-column: span 1;
    max-width: 100%;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-form-wrap {
    padding: 28px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero {
    padding: 90px 0 50px;
  }

  .hero-image-wrap {
    padding: 12px;
  }

  .hero-img-main img {
    height: 300px;
  }

  .hero-img-float img {
    width: 160px;
    height: 200px;
  }

  .hero-trust {
    gap: 16px;
  }

  .section-header {
    margin-bottom: 40px;
  }

  .services,
  .about,
  .gallery,
  .testimonials,
  .contact {
    padding: 70px 0;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item:nth-child(1) img,
  .gallery-item:nth-child(4) img,
  .gallery-item:nth-child(6) img {
    height: 360px;
  }

  .about-stats {
    gap: 20px;
  }
}
