/* ══════════════════════════════════════
   AstroHealing with Esme — Stylesheet
   ══════════════════════════════════════ */

:root {
  --lavender: #C4B1D4;
  --lavender-light: #E8DFF0;
  --lavender-pale: #F5F0F9;
  --lavender-deep: #8B6FA8;
  --gold: #C9A94E;
  --gold-light: #E8D48B;
  --gold-pale: #FDF6E3;
  --white: #FEFEFE;
  --cream: #FAF7F2;
  --text-dark: #2D2438;
  --text-body: #4A3D5C;
  --text-muted: #7A6B8A;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Lora", Georgia, serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

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

/* ── Sacred Geometry Background ── */
.sacred-bg {
  position: fixed; top: 0; left: 0;
  width: 100vw; height: 100vh;
  pointer-events: none; z-index: 0; opacity: 0.04;
  background-image:
    radial-gradient(circle at 20% 30%, var(--lavender) 1px, transparent 1px),
    radial-gradient(circle at 80% 70%, var(--gold) 1px, transparent 1px),
    radial-gradient(circle at 50% 50%, var(--lavender-deep) 1px, transparent 1px);
  background-size: 60px 60px, 80px 80px, 100px 100px;
}

/* ── Navigation ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(196, 177, 212, 0.2);
  transition: box-shadow 0.4s;
}
nav.scrolled { box-shadow: 0 4px 30px rgba(45, 36, 56, 0.06); }

.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 2rem;
  display: flex; align-items: center; justify-content: space-between; height: 72px;
}

.nav-logo {
  font-family: var(--font-display); font-size: 1.35rem; font-weight: 500;
  color: var(--text-dark); letter-spacing: 0.02em; text-decoration: none;
}
.nav-logo span { color: var(--gold); }

.nav-links { display: flex; gap: 2.2rem; list-style: none; align-items: center; }
.nav-links a {
  text-decoration: none; color: var(--text-muted); font-size: 0.82rem;
  font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
  transition: color 0.3s; position: relative;
}
.nav-links a::after {
  content: ""; position: absolute; bottom: -4px; left: 0; right: 0;
  height: 1.5px; background: var(--gold); transform: scaleX(0); transition: transform 0.3s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--text-dark); }
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }

/* ── Hamburger ── */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; background: none; border: none; padding: 4px;
}
.hamburger span { width: 24px; height: 2px; background: var(--text-dark); transition: all 0.3s; }

.mobile-menu {
  display: none; position: fixed; top: 72px; left: 0; right: 0; bottom: 0;
  background: rgba(250, 247, 242, 0.98); backdrop-filter: blur(20px);
  z-index: 999; flex-direction: column; align-items: center; justify-content: center; gap: 2rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: var(--font-display); font-size: 1.5rem; color: var(--text-dark);
  text-decoration: none; letter-spacing: 0.05em;
}

/* ── Layout ── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 2rem; }

/* ── Page Header ── */
.page-header { padding: 140px 0 60px; text-align: center; }
.page-header h2 {
  font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400; color: var(--text-dark); margin-bottom: 0.5rem;
}
.page-header .subtitle {
  color: var(--gold); font-size: 0.85rem; letter-spacing: 0.2em; text-transform: uppercase;
}
.page-header .divider { width: 40px; height: 1px; background: var(--gold); margin: 1.5rem auto 0; }

/* ── Hero (Home) ── */
.hero {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  text-align: center; position: relative; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 30%, rgba(196,177,212,0.15) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 80%, rgba(201,169,78,0.08) 0%, transparent 50%);
}
.hero-image-overlay {
  position: absolute; inset: 0; opacity: 0.12;
  background-size: cover; background-position: center;
}
.hero-stars { position: absolute; inset: 0; overflow: hidden; }

.star {
  position: absolute; width: 3px; height: 3px; background: var(--gold);
  border-radius: 50%; opacity: 0; animation: twinkle 3s infinite;
}
@keyframes twinkle { 0%, 100% { opacity: 0; } 50% { opacity: 0.8; } }

.hero-content { position: relative; z-index: 2; padding: 2rem; }
.hero-symbol {
  font-size: 2.5rem; color: var(--gold); margin-bottom: 1.5rem;
  letter-spacing: 0.5em; opacity: 0; animation: fadeUp 1s 0.3s forwards;
}
.hero h1 {
  font-family: var(--font-display); font-size: clamp(2.5rem, 5.5vw, 4.2rem);
  font-weight: 400; color: var(--text-dark); line-height: 1.2;
  margin-bottom: 1rem; opacity: 0; animation: fadeUp 1s 0.5s forwards;
}
.hero h1 em { font-style: italic; color: var(--lavender-deep); }
.hero-tagline {
  font-size: 1rem; color: var(--text-muted); letter-spacing: 0.25em;
  text-transform: uppercase; margin-bottom: 2rem; opacity: 0; animation: fadeUp 1s 0.7s forwards;
}
.hero-quote {
  font-family: var(--font-display); font-size: 1.3rem; font-style: italic;
  color: var(--lavender-deep); margin-bottom: 2.5rem; opacity: 0; animation: fadeUp 1s 0.9s forwards;
}
.hero-divider {
  width: 60px; height: 1px; background: var(--gold);
  margin: 0 auto 2.5rem; opacity: 0; animation: fadeUp 1s 1.1s forwards;
}
.hero-offerings {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem 2rem;
  opacity: 0; animation: fadeUp 1s 1.3s forwards;
}
.hero-offerings span { font-size: 0.85rem; color: var(--text-muted); letter-spacing: 0.08em; }

.btn-outline {
  display: inline-block; padding: 14px 40px; border: 1.5px solid var(--gold);
  color: var(--gold); font-family: var(--font-body); font-size: 0.82rem;
  letter-spacing: 0.15em; text-transform: uppercase; text-decoration: none;
  cursor: pointer; transition: all 0.4s; background: transparent;
}
.btn-outline:hover { background: var(--gold); color: var(--white); }

.hero .btn-outline { margin-top: 2.5rem; opacity: 0; animation: fadeUp 1s 1.5s forwards; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── Image Strips ── */
.image-strip {
  display: grid; grid-template-columns: 1fr 1.5fr 1fr; gap: 1rem; height: 260px; margin-bottom: 3rem;
}
.image-strip.equal { grid-template-columns: 1fr 1fr 1fr; height: 240px; }
.image-strip > div { border-radius: 2px; background-size: cover; background-position: center; }

/* ── About ── */
.about-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 4rem; align-items: center; padding-bottom: 6rem; }
.about-image .img-frame {
  width: 100%; aspect-ratio: 4/5;
  background: linear-gradient(135deg, var(--lavender-light), var(--lavender-pale));
  border-radius: 2px; position: relative; overflow: hidden;
}
.about-image .img-frame::after {
  content: ""; position: absolute; inset: 8px;
  border: 1px solid rgba(201, 169, 78, 0.3); border-radius: 1px; pointer-events: none;
}
.about-image .img-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-text h3 {
  font-family: var(--font-display); font-size: 1.8rem; font-weight: 400;
  color: var(--text-dark); margin-bottom: 1.5rem;
}
.about-text p { margin-bottom: 1.2rem; font-size: 0.95rem; line-height: 1.85; }

/* ── Services ── */
.services-intro {
  max-width: 680px; margin: 0 auto 4rem; text-align: center;
  font-size: 0.95rem; color: var(--text-muted); line-height: 1.85;
}
.service-block { padding: 3rem 0; border-top: 1px solid rgba(196, 177, 212, 0.2); }
.service-block:last-child { border-bottom: 1px solid rgba(196, 177, 212, 0.2); }
.service-block h3 {
  font-family: var(--font-display); font-size: 1.6rem; font-weight: 400;
  color: var(--text-dark); margin-bottom: 1rem;
}
.service-block p { font-size: 0.92rem; line-height: 1.85; max-width: 800px; margin-bottom: 1rem; }

/* ── Service with Image ── */
.service-with-image {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start;
  padding: 3rem 0; border-top: 1px solid rgba(196, 177, 212, 0.2);
}
.service-with-image:last-of-type { border-bottom: 1px solid rgba(196, 177, 212, 0.2); }
.service-with-image.reverse { direction: rtl; }
.service-with-image.reverse > * { direction: ltr; }
.service-with-image h3 {
  font-family: var(--font-display); font-size: 1.6rem; font-weight: 400;
  color: var(--text-dark); margin-bottom: 1rem;
}
.service-with-image p { font-size: 0.92rem; line-height: 1.85; margin-bottom: 1rem; }
.service-img {
  width: 100%; height: 320px; border-radius: 2px;
  background-size: cover; background-position: center;
  position: relative;
}
.service-img::after {
  content: ""; position: absolute; inset: 6px;
  border: 1px solid rgba(201, 169, 78, 0.2); border-radius: 1px; pointer-events: none;
}
.service-list { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; margin-top: 1rem; }
.service-list li { font-size: 0.88rem; color: var(--text-muted); display: flex; align-items: center; gap: 0.5rem; }
.service-list li::before { content: "\2726"; color: var(--gold); font-size: 0.7rem; }

/* ── Packages ── */
.packages-heading { text-align: center; margin: 4rem 0 3rem; }
.packages-heading h3 { font-family: var(--font-display); font-size: 1.8rem; font-weight: 400; color: var(--text-dark); }
.packages-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; padding-bottom: 6rem; }

.package-card {
  background: var(--white); border: 1px solid rgba(196, 177, 212, 0.15);
  padding: 2.5rem 2rem; transition: all 0.4s; position: relative;
}
.package-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--lavender), var(--gold)); opacity: 0; transition: opacity 0.4s;
}
.package-card:hover { box-shadow: 0 8px 40px rgba(45, 36, 56, 0.06); transform: translateY(-2px); }
.package-card:hover::before { opacity: 1; }
.package-number { font-family: var(--font-display); font-size: 2.5rem; font-weight: 300; color: var(--lavender-light); margin-bottom: 0.5rem; }
.package-card h4 { font-family: var(--font-display); font-size: 1.3rem; font-weight: 500; color: var(--text-dark); margin-bottom: 0.5rem; }
.package-card .pkg-type { font-size: 0.82rem; color: var(--gold); font-style: italic; margin-bottom: 1rem; }
.package-card p { font-size: 0.88rem; line-height: 1.7; color: var(--text-muted); margin-bottom: 1rem; }
.package-meta { font-size: 0.8rem; letter-spacing: 0.1em; color: var(--text-muted); text-transform: uppercase; }

/* ── Testimonials ── */
.testimonial-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; padding-bottom: 3rem; }
.testimonial-card { background: var(--white); padding: 2.5rem 2rem; border: 1px solid rgba(196, 177, 212, 0.12); }
.testimonial-card .tc-stars { color: var(--gold); letter-spacing: 0.2em; font-size: 0.8rem; margin-bottom: 1rem; }
.testimonial-card p { font-style: italic; font-size: 0.92rem; line-height: 1.8; color: var(--text-muted); }
.testimonial-card .tc-name { margin-top: 1.2rem; font-style: normal; font-size: 0.82rem; color: var(--text-dark); font-weight: 600; letter-spacing: 0.05em; }
.testimonials-placeholder { text-align: center; padding: 2rem 2rem 8rem; max-width: 600px; margin: 0 auto; }
.testimonials-placeholder .placeholder-icon { font-size: 3rem; color: var(--lavender-light); margin-bottom: 1.5rem; }
.testimonials-placeholder p { font-size: 0.95rem; color: var(--text-muted); line-height: 1.8; }

/* ── Creative Insights ── */
.insights-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; padding-bottom: 6rem; }
.insight-card { background: var(--white); border: 1px solid rgba(196, 177, 212, 0.12); overflow: hidden; transition: all 0.4s; }
.insight-card:hover { box-shadow: 0 8px 40px rgba(45, 36, 56, 0.06); transform: translateY(-2px); }
.insight-thumb { height: 180px; background-size: cover; background-position: center; }
.insight-body { padding: 1.8rem; }
.insight-body .tag { font-size: 0.72rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.5rem; }
.insight-body h4 { font-family: var(--font-display); font-size: 1.25rem; font-weight: 500; color: var(--text-dark); margin-bottom: 0.5rem; }
.insight-body p { font-size: 0.85rem; line-height: 1.7; color: var(--text-muted); }

/* ── Contact ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; padding-bottom: 6rem; }
.contact-info h3 { font-family: var(--font-display); font-size: 1.8rem; font-weight: 400; color: var(--text-dark); margin-bottom: 1rem; }
.contact-info p { font-size: 0.92rem; line-height: 1.85; color: var(--text-muted); margin-bottom: 2rem; }
.contact-detail { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 1rem; font-size: 0.9rem; color: var(--text-body); }
.contact-detail .cd-icon {
  width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(196, 177, 212, 0.3); border-radius: 50%;
  font-size: 0.85rem; color: var(--gold); flex-shrink: 0;
}
.contact-form { display: flex; flex-direction: column; gap: 1.2rem; }
.form-group label {
  display: block; font-size: 0.78rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--text-muted); margin-bottom: 0.4rem;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%; padding: 12px 16px; border: 1px solid rgba(196, 177, 212, 0.3);
  background: var(--white); font-family: var(--font-body); font-size: 0.9rem;
  color: var(--text-body); outline: none; transition: border-color 0.3s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--gold); }
.form-group textarea { resize: vertical; min-height: 120px; }

/* ── Footer ── */
footer {
  background: var(--text-dark); color: rgba(255, 255, 255, 0.5);
  padding: 3rem 2rem; text-align: center; position: relative; z-index: 1;
}
footer .footer-logo { font-family: var(--font-display); font-size: 1.3rem; color: rgba(255, 255, 255, 0.85); margin-bottom: 0.5rem; }
footer .footer-logo span { color: var(--gold); }
footer p { font-size: 0.82rem; margin-bottom: 0.3rem; }
footer .footer-social { margin-top: 1rem; font-size: 0.8rem; letter-spacing: 0.1em; color: var(--gold-light); }

/* ── Intro Section ── */
.intro-section { max-width: 740px; margin: 0 auto; text-align: center; padding: 0 2rem 6rem; }
.intro-section p { font-size: 0.95rem; line-height: 1.9; color: var(--text-body); margin-bottom: 1.5rem; }

/* ── Scroll Reveal ── */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── Responsive ── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .service-with-image { grid-template-columns: 1fr; gap: 1.5rem; }
  .service-with-image.reverse { direction: ltr; }
  .service-img { height: 220px; }
  .testimonial-cards { grid-template-columns: 1fr; }
  .packages-grid { grid-template-columns: 1fr; }
  .image-strip,
  .image-strip.equal { grid-template-columns: 1fr; height: auto; }
  .image-strip > div { height: 200px; }
  .hero h1 { font-size: 2.2rem; }
}
