/* 07-sections.css - Page section styling */

/* Announcement bar */
.announcement-bar {
  background: var(--color-forest-dark);
  color: var(--color-cream);
  text-align: center;
  font-size: var(--fs-xs);
  letter-spacing: 0.06em;
  padding: 0.6rem var(--space-sm);
  height: var(--announcement-height);
  display: flex;
  align-items: center;
  justify-content: center;
}
.announcement-bar a { color: var(--color-gold-light); font-weight: 700; text-decoration: underline; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  height: var(--header-height);
  display: flex;
  align-items: center;
  background: var(--glass-bg);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border-bottom: 1px solid rgba(85,107,47,0.08);
  transition: box-shadow var(--transition-base), height var(--transition-base);
}
.site-header.scrolled { box-shadow: var(--shadow-md); height: 72px; }
.header-inner { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.logo { display: flex; align-items: center; gap: 0.6rem; }
.logo-text { font-family: var(--font-heading); font-size: var(--fs-xl); font-weight: 600; color: var(--color-forest-dark); }
.logo-text span { color: var(--color-gold); }

.main-nav { display: flex; align-items: center; gap: var(--space-lg); }
.nav-list { display: flex; gap: var(--space-lg); }
.nav-link {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--color-forest-dark);
  position: relative;
  padding: 0.4rem 0;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: var(--color-gold);
  transition: width var(--transition-base);
}
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.header-cta { display: flex; align-items: center; gap: var(--space-md); }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 32px;
  z-index: 950;
}
.nav-toggle span { display: block; height: 2px; width: 100%; background: var(--color-forest-dark); transition: all var(--transition-fast); }
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-height) - var(--announcement-height));
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-block: var(--space-2xl);
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-size: cover;
  background-position: center;
  will-change: transform;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.5) 45%, rgba(0, 0, 0, 0) 70%) !important;
}
.hero-content { max-width: 720px; color: var(--color-white); position: relative; z-index: 2 !important; }
.hero-content .eyebrow { color: var(--color-gold-light); }
.hero-content h1 { color: var(--color-white); margin-bottom: var(--space-md); }
.hero-content p { color: rgba(255,255,255,0.85); font-size: var(--fs-md); max-width: 560px; margin-bottom: var(--space-lg); }
.hero-actions { display: flex; gap: var(--space-md); flex-wrap: wrap; }
.hero-scroll-cue {
  position: absolute;
  bottom: var(--space-lg);
  left: 50%;
  transform: translateX(-50%);
  color: var(--color-white);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--fs-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.scroll-line { width: 1px; height: 40px; background: rgba(255,255,255,0.5); position: relative; overflow: hidden; }
.scroll-line::after {
  content: '';
  position: absolute;
  top: -100%; left: 0; width: 100%; height: 100%;
  background: var(--color-gold);
  animation: scroll-cue 1.8s ease-in-out infinite;
}
@keyframes scroll-cue { 50% { top: 100%; } 100% { top: 100%; } }

/* Trust badges */
.trust-bar { background: var(--color-white); padding-block: var(--space-lg); }
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  text-align: center;
}
.trust-item { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; }
.trust-item .icon-circle { width: 52px; height: 52px; }
.trust-item span { font-size: var(--fs-sm); font-weight: 600; color: var(--color-forest-dark); }

/* About */
.about-section { background: var(--color-cream); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2xl); align-items: center; }
.about-media { position: relative; }
.about-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.about-media-accent {
  position: absolute;
  bottom: -32px; left: -32px;
  width: 60%;
  border: 8px solid var(--color-cream);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}
.about-stats { display: flex; gap: var(--space-xl); margin-top: var(--space-lg); }
.stat-number { font-family: var(--font-heading); font-size: var(--fs-3xl); color: var(--color-olive); font-weight: 600; }
.stat-label { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.06em; color: var(--color-text-muted); }

/* Treatments */
.treatments-section { background: var(--color-ivory); }
.treatment-card {
  padding: var(--space-lg);
  position: relative;
  overflow: hidden;
}
.treatment-card-media { border-radius: var(--radius-md); overflow: hidden; margin-bottom: var(--space-md); aspect-ratio: 4/3; }
.treatment-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition-slow); }
.treatment-card:hover .treatment-card-media img { transform: scale(1.08); }
.treatment-card h3 { margin-bottom: 0.5rem; }
.treatment-price { color: var(--color-gold); font-weight: 700; font-size: var(--fs-md); margin-top: var(--space-sm); display: block; }
.treatment-link { display: inline-flex; align-items: center; gap: 0.4rem; margin-top: var(--space-sm); font-weight: 600; color: var(--color-forest); font-size: var(--fs-sm); }

/* Why choose us */
.why-section { background: var(--color-forest-dark); color: var(--color-cream); }
.why-section h2, .why-section .eyebrow { color: var(--color-white); }
.why-section .eyebrow { color: var(--color-gold-light); }
.why-section p { color: rgba(248,243,235,0.75); }
.why-item { display: flex; gap: var(--space-md); align-items: flex-start; }
.why-item .icon-circle { background: rgba(255,255,255,0.08); color: var(--color-gold-light); }
.why-item h3 { color: var(--color-white); }

/* Process */
.process-section { background: var(--color-cream); }
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-lg); position: relative; }
.process-step { text-align: center; position: relative; }
.process-number {
  width: 68px; height: 68px;
  margin-inline: auto;
  border-radius: 50%;
  background: var(--color-white);
  border: 2px solid var(--color-gold);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading);
  font-size: var(--fs-lg);
  font-weight: 600;
  color: var(--color-forest);
  margin-bottom: var(--space-md);
  box-shadow: var(--shadow-sm);
}

/* Gallery */
.gallery-section { background: var(--color-ivory); }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: var(--space-sm); }
.gallery-item { position: relative; overflow: hidden; border-radius: var(--radius-md); cursor: pointer; }
.gallery-item:nth-child(3n+1) { grid-row: span 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition-slow); }
.gallery-item:hover img { transform: scale(1.1); }
.gallery-item-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(35,38,31,0.75));
  display: flex; align-items: flex-end;
  padding: var(--space-md);
  opacity: 0;
  transition: opacity var(--transition-base);
}
.gallery-item:hover .gallery-item-overlay { opacity: 1; }
.gallery-item-overlay span { color: var(--color-white); font-weight: 600; font-size: var(--fs-sm); }

/* Testimonials */
.testimonials-section { background: var(--color-forest-dark); color: var(--color-cream); overflow: hidden; }
.testimonials-section .eyebrow { color: var(--color-gold-light); }
.testimonials-section h2 { color: var(--color-white); }
.testimonial-track { display: flex; gap: var(--space-lg); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: var(--space-md); scrollbar-width: none; }
.testimonial-track::-webkit-scrollbar { display: none; }
.testimonial-card {
  scroll-snap-align: start;
  flex: 0 0 min(400px, 85vw);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
}
.testimonial-card p { color: rgba(248,243,235,0.85); font-style: italic; margin-bottom: var(--space-md); }
.testimonial-author { display: flex; align-items: center; gap: var(--space-sm); }
.testimonial-author img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.testimonial-author strong { color: var(--color-white); }
.testimonial-author span { font-size: var(--fs-xs); color: rgba(248,243,235,0.6); }
.testimonial-nav { display: flex; gap: var(--space-sm); justify-content: center; margin-top: var(--space-lg); }
.testimonial-nav button {
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: var(--color-white);
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition-fast);
}
.testimonial-nav button:hover { background: var(--color-gold); color: var(--color-forest-dark); }

/* CTA */
.cta-section {
  background: linear-gradient(135deg, var(--color-olive), var(--color-forest));
  color: var(--color-white);
  text-align: center;
  border-radius: var(--radius-lg);
  margin-inline: var(--space-lg);
  padding: var(--space-2xl) var(--space-lg);
}
.cta-section h2 { color: var(--color-white); }
.cta-section p { color: rgba(255,255,255,0.85); max-width: 560px; margin-inline: auto; margin-bottom: var(--space-lg); }

/* FAQ */
.faq-section { background: var(--color-cream); }
.faq-list { max-width: 760px; margin-inline: auto; }

/* Contact */
.contact-section { background: var(--color-ivory); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: var(--space-2xl); }
.contact-info-item { display: flex; gap: var(--space-md); margin-bottom: var(--space-lg); align-items: flex-start; }
.contact-info-item h3 { font-size: var(--fs-md); margin-bottom: 0.2rem; }
.social-links { display: flex; gap: var(--space-sm); margin-top: var(--space-lg); }
.social-links a {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--color-cream);
  color: var(--color-forest);
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition-fast);
}
.social-links a:hover { background: var(--color-forest); color: var(--color-white); }

/* Map */
.map-section { padding: 0; }
.map-placeholder {
  width: 100%; height: 420px;
  background: var(--color-beige) url('../images/backgrounds/map-placeholder.jpg') center/cover;
  position: relative;
  display: flex; align-items: center; justify-content: center;
}
.map-placeholder iframe { width: 100%; height: 100%; border: 0; }

/* Footer */
.site-footer { background: var(--color-forest-dark); color: rgba(248,243,235,0.8); padding-top: var(--space-2xl); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: var(--space-xl); padding-bottom: var(--space-xl); }
.footer-logo { color: var(--color-white); font-family: var(--font-heading); font-size: var(--fs-xl); margin-bottom: var(--space-sm); }
.footer-heading { color: var(--color-white); font-size: var(--fs-sm); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: var(--space-md); }
.footer-links li { margin-bottom: 0.6rem; }
.footer-links a { color: rgba(248,243,235,0.7); font-size: var(--fs-sm); }
.footer-links a:hover { color: var(--color-gold-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-block: var(--space-md);
  display: flex; justify-content: space-between; align-items: center;
  font-size: var(--fs-xs);
}
.footer-bottom a { color: rgba(248,243,235,0.6); }
