/* Proposals page specific styles */

/* ── Unified section spacing ──
   One rule governs all section vertical rhythm on this page.
   Exceptions: hero (full-bleed), trust-bar (overlaps hero), hero-about (compact). */
:root {
  --section-padding-y-compact: 3rem;
}

main > section {
  padding: var(--section-padding-y-compact) var(--section-padding-x);
}

/* Exceptions — these opt out of the unified spacing */
main > .section-hero { padding: 0; }
main > .section-trust-bar { padding: 0 var(--section-padding-x); }
main > section.hero-about { padding: 1.5rem var(--section-padding-x); }

/* Override inline <style> blocks from shared includes (specificity 0,1,1 beats their 0,1,0) */
section.awards-section,
section.section-testimonials,
section.section-faq,
section.section-recent-work-compact {
  padding: var(--section-padding-y-compact) var(--section-padding-x);
}

@media (max-width: 900px) {
  :root { --section-padding-y-compact: 2.25rem; }
}

@media (max-width: 480px) {
  :root { --section-padding-y-compact: 1.75rem; }
}

/* ── Hero overrides — bottom-aligned, editorial ── */
.section-hero.text-bottom .hero-overlay {
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.6) 0%,
    rgba(0,0,0,0.35) 35%,
    rgba(0,0,0,0.15) 60%,
    rgba(0,0,0,0.05) 80%
  );
}

.section-hero.text-bottom .hero-content {
  text-align: left;
  max-width: 700px;
  padding: 0 2.5rem 3rem;
  margin-right: auto;
}

.section-hero.text-bottom .hero-script {
  margin-bottom: 0.25rem;
}

.section-hero.text-bottom h1 {
  font-size: var(--heading-h1-hero-lg);
  font-weight: 400;
  margin-bottom: 0.75rem;
  line-height: 1.1;
}

.section-hero.text-bottom p {
  font-size: 1rem;
  opacity: 0.85;
  letter-spacing: 0.02em;
  max-width: 500px;
}

@media (max-width: 768px) {
  .section-hero.text-bottom .hero-content {
    padding: 0 1.5rem 2.5rem;
  }
}

/* ── Hero-about — compact variant ──
   Double class for specificity over inline <style> in hero-about.njk */
section.hero-about .hero-about__container {
  max-width: 800px;
  gap: 2rem;
  padding: 1rem 2rem;
}

section.hero-about .hero-about__image {
  max-width: 280px;
}

section.hero-about .hero-about__content {
  padding: 0.5rem 0;
}

section.hero-about .hero-about__title {
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  margin-bottom: 0.25rem;
}

section.hero-about .hero-about__tagline {
  font-size: clamp(0.95rem, 1.8vw, 1.15rem);
  margin-bottom: 0.75rem;
}

section.hero-about .hero-about__description {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

section.hero-about .hero-about__stats {
  display: none;
}

section.hero-about .hero-about__cta {
  padding: 0.75rem 2rem;
  font-size: 0.9rem;
}

/* ── Content sections — shared styles ── */
.content-section {
  max-width: var(--container-text, 900px);
  margin: 0 auto;
}

.content-section.compact {
  max-width: var(--container-text, 900px);
  text-align: center;
}

.content-section h2,
.content-section h3 {
  margin-bottom: 1.5rem;
  color: var(--color-gray-dark);
}

.content-section p {
  line-height: 1.8;
  color: var(--color-text-light);
  margin-bottom: 1rem;
}

.section-intro-text {
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.section-link {
  margin-top: 1.5rem;
}

.section-link a {
  color: var(--color-primary, #722F37);
  text-decoration: none;
  font-weight: 500;
}

.section-link a:hover {
  text-decoration: underline;
}

.section-note {
  font-style: italic;
  color: #666;
  margin-top: 1.5rem;
}

.price-note {
  font-size: 0.95rem;
  color: #666;
}

/* (engagement-callout removed — no longer used) */

/* ── Two column layout ── */
.two-column {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-top: 1.5rem;
}

.two-column.reverse {
  grid-template-columns: 1fr 1.5fr;
}

.two-column.reverse .column-image {
  order: -1;
}

.column-image img {
  width: 100%;
  box-shadow: var(--shadow-md);
}

/* ── Section backgrounds — alternating white/gray rhythm ── */
.section-how-it-works { background: var(--color-white); }
.section-locations { background: #f9f9f9; }
.section-seasonal { background: var(--color-white); }
.section-pricing { background: #f9f9f9; }

.section-nights-of-lights {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  color: #fff;
}

.section-nights-of-lights h2 { color: #fff; }
.section-nights-of-lights p { color: rgba(255, 255, 255, 0.9); }
.section-nights-of-lights .section-link a { color: #ffd700; }

/* ── Nights of Lights gallery ── */
.nol-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.nol-gallery img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
}

/* ── Process steps ── */
.process-steps {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.process-step {
  text-align: center;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--color-primary, #722F37);
  color: var(--color-white);
  border-radius: var(--radius-circle);
  font-weight: bold;
  margin-bottom: 0.75rem;
}

.step-label {
  display: block;
  font-size: 1rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
  color: var(--color-gray-dark);
}

.process-step h3 {
  font-size: var(--heading-h3-small);
  font-weight: 400;
  margin-bottom: 0.5rem;
  color: var(--color-gray-dark);
}

.process-step p {
  font-size: 0.85rem;
  color: var(--color-gray-medium);
  margin-bottom: 0;
}

/* ── Location grid ── */
.location-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}

.location-item {
  padding: 1.5rem;
  background: #f9f9f9;
  border-radius: var(--radius-md);
  border: 1px solid #e5e5e5;
}

.location-item h3 {
  font-size: var(--heading-h3-card);
  font-weight: 400;
  margin-bottom: 0.5rem;
  color: var(--color-gray-dark);
}

.location-item p {
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 0;
}

/* ── Seasonal cards ── */
.seasonal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
  align-items: stretch;
}

.seasonal-card {
  padding: 2rem 1.5rem;
  background: var(--color-white);
  border-radius: var(--radius-md);
  border: 1px solid #e5e5e5;
  text-align: center;
  display: flex;
  flex-direction: column;
}

.seasonal-card h3 {
  font-size: var(--heading-h3-card);
  font-weight: 400;
  margin-bottom: 0.75rem;
  color: var(--color-gray-dark);
}

.seasonal-card p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--color-text-light);
  margin-bottom: 0;
}

/* ── Package cards ── */
.package-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin: 2rem auto;
  max-width: 600px;
}

.package-card {
  text-align: center;
  padding: 1.5rem 1rem;
  background: #f9f9f9;
  border-radius: var(--radius-md);
  border: 1px solid #e5e5e5;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.package-card--featured {
  border: 2px solid var(--color-primary, #722F37);
  background: #fdfbfb;
}

.package-name {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-gray-dark);
}

.package-price {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-primary, #722F37);
  margin-top: 0.25rem;
}

.package-features {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 0;
  text-align: left;
  border-top: 1px solid #e5e5e5;
  padding-top: 0.75rem;
}

.package-features li {
  font-size: 0.85rem;
  color: var(--color-gray-medium);
  padding: 0.2rem 0;
  padding-left: 1.25rem;
  position: relative;
}

.package-features li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--color-primary, #722F37);
  font-weight: 600;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 1.5rem;
}

/* ── Mobile responsive ── */
@media (max-width: 900px) {
  .two-column,
  .two-column.reverse {
    grid-template-columns: 1fr;
  }

  .two-column.reverse .column-image {
    order: 0;
  }

  .seasonal-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }

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

  .nol-gallery img:last-child {
    display: none;
  }
}

@media (max-width: 600px) {
  .location-grid { grid-template-columns: 1fr; }
  .seasonal-grid { grid-template-columns: 1fr; }

  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .package-cards {
    grid-template-columns: 1fr;
  }

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

  .nol-gallery img:last-child {
    display: block;
  }

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