/* ============================================================
   PAGES — Page-specific styles
   Homepage hero, section variants, inner page layouts
   ============================================================ */

/* ----------------------------------------------------------
   HOMEPAGE — Hero
---------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  min-height: 100vh; /* fallback */
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--color-dark);
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  background-image: url('/assets/images/elopements/01.jpg');
  transform-origin: center;
  transition: opacity 0.5s ease;
}

/* Dark overlay */
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(32, 31, 29, 0.15) 0%,
    rgba(32, 31, 29, 0.35) 60%,
    rgba(32, 31, 29, 0.4) 100%
  );
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: flex-end;
  padding-top: calc(var(--header-h) + 40px);
  padding-bottom: 80px;
}

.hero__content {
  max-width: 580px;
  text-align: right;
}

.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(44px, 6vw, 84px);
  font-weight: 400;
  line-height: 1.06;
  color: var(--color-white);
  letter-spacing: -0.02em;
  margin-bottom: clamp(20px, 2.5vw, 32px);
}

.hero__title em {
  font-style: italic;
  font-weight: 400;
}

.hero__text {
  font-size: clamp(14px, 1.2vw, 17px);
  color: rgba(249, 249, 249, 0.75);
  line-height: 1.7;
  max-width: 46ch;
  margin-left: auto;
  margin-bottom: clamp(28px, 3vw, 44px);
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  justify-content: flex-end;
}

@media (max-width: 768px) {
  .hero__inner {
    justify-content: center;
    padding-top: calc(var(--header-h) + 24px);
    padding-bottom: 60px;
  }

  .hero__content {
    text-align: center;
    max-width: 100%;
  }

  .hero__text {
    margin-right: auto;
  }

  .hero__ctas {
    justify-content: center;
  }
}

/* ----------------------------------------------------------
   HOMEPAGE — Services section
---------------------------------------------------------- */
.section-services {
  background-color: var(--color-off-white);
}

/* ----------------------------------------------------------
   HOMEPAGE — Milos experience (split layout)
---------------------------------------------------------- */
.section-experience {
  background-color: var(--color-cream);
}

/* Single large image with portrait crop */
.experience__img-wrap {
  aspect-ratio: 3 / 4;
  background-color: var(--color-taupe);
  overflow: hidden;
  position: relative;
}

.experience__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ----------------------------------------------------------
   HOMEPAGE — Planning process (dark section)
---------------------------------------------------------- */
.section-process {
  background-color: var(--color-dark);
}

.process__header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
  margin-bottom: clamp(40px, 5vw, 64px);
}

.process__header h2 {
  font-size: clamp(34px, 4vw, 58px);
}

.process__intro {
  padding-top: clamp(8px, 1vw, 16px);
}

.process__intro p {
  font-size: 15px;
  color: rgba(249, 249, 249, 0.6);
  max-width: 46ch;
  margin-bottom: var(--sp-4);
}

@media (max-width: 768px) {
  .process__header {
    grid-template-columns: 1fr;
  }

  .process-item {
    grid-template-columns: 40px 1fr;
    gap: var(--sp-2) var(--sp-3);
  }

  .process-item__desc {
    grid-column: 2;
  }
}

/* ----------------------------------------------------------
   HOMEPAGE — Gallery preview section
---------------------------------------------------------- */
.section-gallery-preview {
  background-color: var(--color-white);
  padding-bottom: clamp(24px, 3vw, 40px);
}

.section-testimonials {
  padding-top: clamp(24px, 3vw, 40px);
}

.gallery-preview__heading {
  font-family: var(--font-serif);
  font-size: clamp(44px, 6.5vw, 96px);
  font-weight: 400;
  font-style: italic;
  color: #C6C3BA;
  line-height: 1.05;
  margin-bottom: clamp(32px, 4vw, 56px);
  letter-spacing: -0.02em;
  max-width: 14ch;
}

.gallery-preview__footer {
  display: flex;
  justify-content: flex-end;
  margin-top: clamp(20px, 2.5vw, 32px);
}

/* ----------------------------------------------------------
   HOMEPAGE — Testimonials
---------------------------------------------------------- */
.section-testimonials {
  background-color: var(--color-white);
}

/* ----------------------------------------------------------
   HOMEPAGE — Final CTA band
---------------------------------------------------------- */
.section-cta-home {
  background-color: var(--color-dark);
  text-align: center;
}

.section-cta-home .eyebrow {
  color: rgba(249, 249, 249, 0.45);
}

.section-cta-home .eyebrow::before,
.section-cta-home .eyebrow::after {
  background-color: rgba(249, 249, 249, 0.2);
}

.section-cta-home h2 {
  color: var(--color-white);
  font-style: italic;
}

.section-cta-home p {
  color: rgba(249, 249, 249, 0.65);
}

/* ----------------------------------------------------------
   INNER PAGES — Service page layout
---------------------------------------------------------- */

/* Emotional opening */
.service-opening {
  background-color: var(--color-off-white);
}

.service-opening__text {
  max-width: 68ch;
}

.service-opening__text p {
  font-size: clamp(16px, 1.3vw, 19px);
  color: var(--color-muted);
  max-width: 64ch;
  line-height: 1.75;
}

/* Locations / Includes layout */
.service-detail {
  background-color: var(--color-cream);
}

.service-detail__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 6vw, 96px);
  align-items: start;
}

@media (max-width: 768px) {
  .service-detail__grid {
    grid-template-columns: 1fr;
  }
}

/* ----------------------------------------------------------
   PLANNING GUIDE — Timeline steps
---------------------------------------------------------- */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-left: 1px solid var(--color-border);
  margin-left: 12px;
}

.timeline-item {
  position: relative;
  padding: 0 0 var(--sp-6) var(--sp-5);
}

.timeline-item::before {
  content: '';
  position: absolute;
  top: 6px;
  left: -5px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: var(--color-cream);
  border: 1px solid var(--color-taupe);
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item__period {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-taupe);
  margin-bottom: 6px;
}

.timeline-item__title {
  font-family: var(--font-serif);
  font-size: clamp(18px, 1.6vw, 22px);
  color: var(--color-dark);
  font-weight: 400;
  margin-bottom: var(--sp-1);
}

.timeline-item__desc {
  font-size: 14px;
  color: var(--color-muted);
  max-width: 52ch;
  line-height: 1.65;
}

/* ----------------------------------------------------------
   SEASONAL GRID
---------------------------------------------------------- */
.seasons-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 24px);
}

.season-card {
  padding: clamp(20px, 2.5vw, 32px);
  background-color: var(--color-cream);
  border-top: 2px solid var(--color-taupe);
}

.season-card__name {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-taupe);
  margin-bottom: var(--sp-1);
}

.season-card__period {
  font-family: var(--font-serif);
  font-size: clamp(17px, 1.5vw, 21px);
  color: var(--color-dark);
  margin-bottom: var(--sp-2);
}

.season-card__desc {
  font-size: 14px;
  color: var(--color-muted);
  line-height: 1.65;
}

@media (max-width: 700px) {
  .seasons-grid {
    grid-template-columns: 1fr;
  }
}

/* ----------------------------------------------------------
   CONTACT PAGE — Two-column layout
---------------------------------------------------------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(48px, 7vw, 112px);
  align-items: start;
}

.contact-aside h2 {
  margin-bottom: var(--sp-3);
}

.contact-aside p {
  font-size: 15px;
  margin-bottom: var(--sp-5);
}

.contact-steps {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  border-top: 1px solid var(--color-border);
  padding-top: var(--sp-4);
  margin-top: var(--sp-4);
}

.contact-step {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: var(--sp-2);
  align-items: start;
}

.contact-step__num {
  font-family: var(--font-serif);
  font-size: 18px;
  font-style: italic;
  color: var(--color-taupe);
  line-height: 1.4;
}

.contact-step__text {
  font-size: 14px;
  color: var(--color-muted);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

/* ----------------------------------------------------------
   GALLERY PAGE
---------------------------------------------------------- */
.gallery-full-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(8px, 1.2vw, 16px);
}

.gallery-full-grid .gallery-grid__item {
  aspect-ratio: 4 / 5;
}

@media (max-width: 768px) {
  .gallery-full-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .gallery-full-grid {
    grid-template-columns: 1fr;
  }
}
