/* ==========================================================================
   Home page styles
   Depends on: tokens.css, base.css, layout.css, components.css
   ========================================================================== */

body {
  background-color: var(--soft-pink);
}

/* --------------------------------------------------------------------------
   Hero — full viewport, gradient background
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: calc(100dvh - var(--header-height-mobile));
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--soft-pink);
}

@media (min-width: 640px) {
  .hero {
    min-height: calc(100dvh - var(--header-height));
  }
}

/* Large decorative circle — top-right */
.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -15%;
  width: 70vmin;
  height: 70vmin;
  border-radius: var(--radius-full);
  background: radial-gradient(circle, rgba(183, 110, 121, 0.10) 0%, transparent 70%);
  pointer-events: none;
}

/* Soft wave cutting into the next section */
.hero::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 80px;
  background-color: var(--soft-pink);
  clip-path: ellipse(55% 100% at 50% 100%);
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-lg);
  padding-block: var(--space-3xl);
}

.hero__eyebrow {
  /* inherits .label from base.css */
}

.hero__title {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: 700;
  color: var(--charcoal);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  max-width: 14ch;
}

.hero__subtitle {
  font-size: var(--text-md);
  color: var(--charcoal-muted);
  max-width: 46ch;
  line-height: var(--leading-relaxed);
  text-align: center;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-md);
  margin-top: var(--space-sm);
}

/* Scroll indicator (animated chevron) */
.hero__scroll-indicator {
  position: absolute;
  bottom: var(--space-xl);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  opacity: 0.5;
  animation: scroll-bounce 2s var(--ease-in-out) infinite;
}

.hero__scroll-indicator span {
  display: block;
  width: 12px;
  height: 12px;
  border-right: 1.5px solid var(--charcoal);
  border-bottom: 1.5px solid var(--charcoal);
  transform: rotate(45deg);
}

@keyframes scroll-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0);   opacity: 0.5; }
  50%       { transform: translateX(-50%) translateY(6px); opacity: 1;   }
}

/* Hero content staggered fade-up on load */
.hero__content > * {
  animation: hero-fade-up 700ms var(--ease-out) both;
}

.hero__content > *:nth-child(1) { animation-delay: 80ms;  }
.hero__content > *:nth-child(2) { animation-delay: 200ms; }
.hero__content > *:nth-child(3) { animation-delay: 350ms; }
.hero__content > *:nth-child(4) { animation-delay: 480ms; }
.hero__content > *:nth-child(5) { animation-delay: 600ms; }

@keyframes hero-fade-up {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0);    }
}

@media (prefers-reduced-motion: reduce) {
  .hero::after             { display: none; }
  .hero__scroll-indicator  { animation: none; }
  .hero__content > *       { animation: none; }
}

/* --------------------------------------------------------------------------
   Featured services section
   -------------------------------------------------------------------------- */
.featured-services {
  background-color: var(--ivory);
}

.featured-services__cta {
  text-align: center;
  margin-top: var(--space-2xl);
}

/* --------------------------------------------------------------------------
   Highlights — 3-up icon blocks
   -------------------------------------------------------------------------- */
.highlights {
  background-color: var(--soft-pink);
}

.highlights-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
}

@media (min-width: 640px) {
  .highlights-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
  }
}

.highlight-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-md);
}

.highlight-item__icon {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-full);
  background-color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  color: var(--rose-gold);
  flex-shrink: 0;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.highlight-item:hover .highlight-item__icon {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.highlight-item__title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--charcoal);
}

.highlight-item__desc {
  font-size: var(--text-sm);
  color: var(--charcoal-muted);
  max-width: 26ch;
  line-height: var(--leading-relaxed);
  text-align: center;
}

/* --------------------------------------------------------------------------
   Contact & Location section
   -------------------------------------------------------------------------- */
.contact-section {
  background-color: var(--charcoal);
  color: var(--champagne);
}

.contact-section .section-title {
  color: var(--champagne);
}

.contact-section .ornament {
  background: linear-gradient(90deg, var(--gold-accent), var(--champagne));
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
  align-items: start;
}

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

.contact-details {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.contact-detail__label {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--gold-accent);
  display: block;
  margin-bottom: var(--space-xs);
}

.contact-detail__value {
  font-size: var(--text-base);
  color: var(--champagne);
  line-height: var(--leading-relaxed);
  max-width: 100%;
}

.contact-detail__value a {
  color: var(--champagne);
  text-decoration: underline;
  text-decoration-color: rgba(247, 231, 206, 0.4);
  text-underline-offset: 3px;
}

.contact-detail__value a:hover {
  color: var(--gold-accent);
  text-decoration-color: var(--gold-accent);
}

.contact-map {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  background-color: var(--charcoal-light);
  border: 1px solid rgba(247, 231, 206, 0.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  color: rgba(247, 231, 206, 0.45);
  overflow: hidden;
}

.contact-map__icon {
  opacity: 0.35;
}

.contact-map__text {
  font-size: var(--text-sm);
  letter-spacing: var(--tracking-wide);
  text-align: center;
  max-width: 100%;
}

/* Hero background image (Phase 5) */
.hero__bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero--has-image .hero__content,
.hero--has-image .hero__scroll-indicator {
  position: relative;
  z-index: 1;
}
