/* ========================================
   Golden Moon Salon — Styles
   Classic & Elegant · Plum + Amber
======================================== */

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

:root {
  --plum-50: #fdf2f8;
  --plum-100: #fce7f3;
  --plum-200: #fbcfe8;
  --plum-300: #f9a8d4;
  --plum-400: #f472b6;
  --plum-500: #7B2D60;
  --plum-600: #6b2554;
  --plum-700: #5c1e48;
  --plum-800: #4d173c;
  --plum-900: #3e1130;
  --amber-50: #fffbeb;
  --amber-100: #fef3c7;
  --amber-200: #fde68a;
  --amber-300: #fcd34d;
  --amber-400: #D4A017;
  --amber-500: #b8860b;
  --amber-600: #926008;
  --amber-700: #6b4606;
  --cream: #faf8f5;
  --warm-gray: #f5f0eb;
  --text-dark: #1a1a1a;
  --text-medium: #4a4a4a;
  --text-light: #6b6b6b;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Raleway', 'Helvetica Neue', sans-serif;
  --transition: 0.3s ease;
}

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

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

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

a {
  color: inherit;
  text-decoration: none;
}

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

/* ── Typography ── */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.2;
}

.section-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber-500);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--plum-800);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-medium);
  max-width: 600px;
  line-height: 1.8;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  padding: 14px 32px;
  border-radius: 50px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--amber-400);
  color: var(--plum-900);
  border-color: var(--amber-400);
}

.btn-primary:hover {
  background: var(--amber-500);
  border-color: var(--amber-500);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212, 160, 23, 0.3);
}

.btn-outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.6);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #fff;
  transform: translateY(-2px);
}

.btn-large {
  padding: 18px 40px;
  font-size: 1rem;
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* ── Navigation ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: all var(--transition);
}

.nav.scrolled {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  padding: 12px 0;
  box-shadow: 0 2px 24px rgba(123, 45, 96, 0.08);
}

.nav-inner {
  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;
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 600;
  color: #fff;
  transition: color var(--transition);
}

.nav.scrolled .nav-logo {
  color: var(--plum-800);
}

.nav-logo-icon {
  flex-shrink: 0;
}

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

.nav-links a {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  transition: color var(--transition);
  position: relative;
}

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

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a:hover {
  color: #fff;
}

.nav.scrolled .nav-links a {
  color: var(--text-medium);
}

.nav.scrolled .nav-links a:hover {
  color: var(--plum-600);
}

.nav-cta {
  background: var(--amber-400) !important;
  color: var(--plum-900) !important;
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 600 !important;
  letter-spacing: 0.06em !important;
  transition: all var(--transition) !important;
}

.nav-cta::after {
  display: none;
}

.nav-cta:hover {
  background: var(--amber-500) !important;
  transform: translateY(-1px);
}

.nav.scrolled .nav-cta {
  color: var(--plum-900) !important;
}

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}

.nav-toggle-bar {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all var(--transition);
}

.nav.scrolled .nav-toggle-bar {
  background: var(--plum-800);
}

.nav-toggle.active .nav-toggle-bar:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active .nav-toggle-bar:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    var(--plum-900) 0%,
    var(--plum-700) 25%,
    #5a2d5e 50%,
    var(--plum-600) 75%,
    #3e1a40 100%
  );
  z-index: 1;
}

.hero-gradient::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 80%, rgba(212, 160, 23, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(212, 160, 23, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse 50% 40% at 50% 50%, rgba(123, 45, 96, 0.3) 0%, transparent 70%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: url('https://images.pexels.com/photos/23349891/pexels-photo-23349891.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=1920&h=1080') center/cover no-repeat;
  opacity: 0.2;
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 800px;
  padding: 0 24px;
  padding-top: 80px;
}

.hero-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--amber-300);
  margin-bottom: 24px;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 500;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 24px;
}

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

.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

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

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

.hero-scroll svg {
  animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* ── Sections ── */
.section {
  padding: 100px 0;
}

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

.section-header .section-subtitle {
  margin: 0 auto;
}

/* ── Services ── */
.services {
  background: var(--cream);
}

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

.service-card {
  background: #fff;
  border-radius: 16px;
  padding: 40px 32px;
  text-align: center;
  transition: all var(--transition);
  border: 1px solid rgba(123, 45, 96, 0.06);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(123, 45, 96, 0.1);
  border-color: rgba(212, 160, 23, 0.2);
}

.service-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--plum-50);
  border-radius: 50%;
  transition: all var(--transition);
}

.service-card:hover .service-icon {
  background: var(--plum-100);
  transform: scale(1.05);
}

.service-name {
  font-size: 1.3rem;
  color: var(--plum-800);
  margin-bottom: 12px;
}

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

/* ── About ── */
.about {
  background: #fff;
}

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

.about-images {
  position: relative;
}

.about-img-main {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(123, 45, 96, 0.12);
}

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

.about-img-accent {
  position: absolute;
  bottom: -40px;
  right: -40px;
  width: 200px;
  height: 200px;
  border-radius: 16px;
  overflow: hidden;
  border: 6px solid #fff;
  box-shadow: 0 12px 32px rgba(123, 45, 96, 0.15);
}

.about-img-accent img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-badge {
  position: absolute;
  top: -20px;
  left: -20px;
  background: var(--plum-800);
  color: #fff;
  padding: 16px 24px;
  border-radius: 12px;
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-style: italic;
  box-shadow: 0 8px 24px rgba(123, 45, 96, 0.2);
  max-width: 200px;
  text-align: center;
  line-height: 1.4;
}

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

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

.about-stats {
  display: flex;
  gap: 40px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--plum-100);
}

.about-stat {
  text-align: center;
}

.about-stat-number {
  display: block;
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--plum-700);
  line-height: 1;
  margin-bottom: 6px;
}

.about-stat-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
}

/* ── Gallery ── */
.gallery {
  background: var(--cream);
}

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

.gallery-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(62, 17, 48, 0.7) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 24px;
  opacity: 0;
  transition: opacity var(--transition);
}

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

.gallery-item-overlay span {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: #fff;
  font-style: italic;
}

/* ── Testimonials ── */
.testimonials {
  background: var(--plum-800);
  position: relative;
  overflow: hidden;
}

.testimonials::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(212, 160, 23, 0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.testimonials .section-eyebrow {
  color: var(--amber-300);
}

.testimonials .section-title {
  color: #fff;
}

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

.testimonial-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 40px 32px;
  transition: all var(--transition);
}

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

.testimonial-quote {
  margin-bottom: 20px;
}

.testimonial-text {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-style: italic;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.75;
  margin-bottom: 24px;
}

.testimonial-author {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber-400);
}

/* ── CTA ── */
.cta {
  background: linear-gradient(135deg, var(--plum-700) 0%, var(--plum-900) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(212, 160, 23, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.cta::after {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(212, 160, 23, 0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.cta-inner {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
}

.cta-eyebrow {
  color: var(--amber-300);
}

.cta-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: #fff;
  margin-bottom: 20px;
}

.cta-text {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.8;
  margin-bottom: 40px;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Contact ── */
.contact {
  background: #fff;
}

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

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

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-bottom: 32px;
}

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

.contact-detail-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  background: var(--plum-50);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-detail-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 4px;
}

.contact-detail-value {
  display: block;
  font-size: 1rem;
  color: var(--plum-800);
  font-weight: 500;
  line-height: 1.5;
}

.contact-detail-value a:hover {
  color: var(--amber-500);
}

.contact-map {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(123, 45, 96, 0.1);
}

/* Contact Form */
.contact-form-wrapper {
  background: var(--cream);
  border-radius: 20px;
  padding: 48px;
  border: 1px solid rgba(123, 45, 96, 0.06);
}

.contact-form-title {
  font-size: 1.6rem;
  color: var(--plum-800);
  margin-bottom: 32px;
}

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

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

.form-input {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid rgba(123, 45, 96, 0.15);
  border-radius: 10px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--text-dark);
  background: #fff;
  transition: all var(--transition);
  outline: none;
}

.form-input:focus {
  border-color: var(--plum-400);
  box-shadow: 0 0 0 4px rgba(123, 45, 96, 0.08);
}

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

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

.form-success {
  text-align: center;
  padding: 40px 20px;
}

.form-success svg {
  margin: 0 auto 16px;
}

.form-success h4 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--plum-800);
  margin-bottom: 8px;
}

.form-success p {
  color: var(--text-medium);
  font-size: 0.95rem;
}

/* ── Footer ── */
.footer {
  background: var(--plum-900);
  color: rgba(255, 255, 255, 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(255, 255, 255, 0.08);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 16px;
}

.footer-tagline {
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 260px;
}

.footer-links h4 {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--amber-400);
  margin-bottom: 20px;
}

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

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

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

.footer-bottom {
  padding: 24px 0;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}

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

  .reveal.visible {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid {
    gap: 48px;
  }

  .contact-grid {
    gap: 48px;
  }

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

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

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--plum-900);
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    padding: 40px;
    transition: right var(--transition);
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.2);
  }

  .nav-links.open {
    right: 0;
  }

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

  .nav-links a:hover {
    color: var(--amber-300) !important;
  }

  .nav-cta {
    background: var(--amber-400) !important;
    color: var(--plum-900) !important;
  }

  .hero-title {
    font-size: clamp(1.8rem, 6vw, 2.6rem);
  }

  .hero-subtitle {
    font-size: 1rem;
  }

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

  .service-card {
    padding: 32px 24px;
  }

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

  .about-img-accent {
    right: 0;
    bottom: -30px;
    width: 160px;
    height: 160px;
  }

  .about-badge {
    left: 0;
    top: -16px;
  }

  .about-stats {
    gap: 24px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

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

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

  .contact-form-wrapper {
    padding: 32px 24px;
  }

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

  .section {
    padding: 72px 0;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

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

  .cta-actions {
    flex-direction: column;
    align-items: center;
  }

  .cta-actions .btn {
    width: 100%;
    justify-content: center;
  }

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

  .about-stats {
    flex-direction: column;
    gap: 20px;
  }
}
