/* Courthouse wedding page specific styles */

/* ── 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 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 ── */
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 ── */
.content-section {
  max-width: var(--container-text, 900px);
  margin: 0 auto;
}

.content-section.compact {
  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-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 backgrounds ── */
.section-guide { background: var(--color-white); }
.section-costs { background: #f9f9f9; }
.section-photos { background: var(--color-white); }
.section-day-of { background: #f9f9f9; }
.section-pricing { background: var(--color-white); }

/* ── Quick Facts Box ── */
.quick-facts {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin: 2rem 0;
}

.facts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.fact-item {
  text-align: center;
  padding: 1rem;
  background: #f9f9f9;
  border-radius: var(--radius-md);
}

.fact-label {
  display: block;
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 0.25rem;
}

.fact-value {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-gray-dark);
}

/* ── Location Box ── */
.location-box {
  background: #fff;
  border-left: 4px solid var(--color-primary, #722F37);
  padding: 1.5rem;
  margin: 2rem 0;
}

.location-box h3 { margin-top: 0; margin-bottom: 1rem; }

.location-details {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--color-text-light);
}

/* ── Step Process ── */
.step-process { margin-top: 2rem; }

.process-step {
  margin-bottom: 1rem;
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.step-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  background: #f9f9f9;
  border-bottom: 1px solid #eee;
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--color-primary, #722F37);
  color: #fff;
  border-radius: 50%;
  font-weight: 600;
  flex-shrink: 0;
}

.step-content {
  padding: 1rem 1.5rem;
}

.step-content p:last-child { margin-bottom: 0; }

/* ── Cost Table ── */
.cost-table {
  margin: 2rem 0;
  border: 1px solid #e5e5e5;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.cost-row {
  display: grid;
  grid-template-columns: 1fr auto;
  padding: 0.75rem 1.5rem;
  border-bottom: 1px solid #e5e5e5;
}

.cost-row:last-child { border-bottom: none; }
.cost-row.header { background: #f9f9f9; font-weight: 600; }
.cost-row.total { background: #fdfbfb; }

/* ── Tip Box ── */
.tip-box {
  background: #fffbeb;
  border: 1px solid #f5e6b8;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin: 2rem 0;
}

.tip-box h3 { margin-top: 0; color: #8a6d3b; }
.tip-box p { margin-bottom: 0; }

/* ── Photo Spots ── */
.photo-spots {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.photo-spots li {
  padding: 0.5rem 0;
  padding-left: 0.5rem;
  border-bottom: 1px solid #eee;
}

.photo-spots li:last-child { border-bottom: none; }

/* ── Gallery Grid ── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 2rem 0;
}

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

/* ── Checklist ── */
.checklist {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  columns: 2;
}

.checklist li {
  padding: 0.4rem 0 0.4rem 1.5rem;
  position: relative;
  break-inside: avoid;
}

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

/* ── Package Cards ── */
.package-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 2rem 0;
}

.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); }
.package-duration { font-size: 0.85rem; color: #666; }

.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 0.2rem 1.25rem;
  position: relative;
}

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

.packages-note {
  text-align: center;
  font-size: 0.9rem;
  color: #666;
  margin-top: 1rem;
}

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

/* ── Mobile ── */
@media (max-width: 900px) {
  .facts-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .package-cards { grid-template-columns: 1fr; }
  .checklist { columns: 1; }
}

@media (max-width: 600px) {
  .facts-grid { grid-template-columns: 1fr; }
  .cta-buttons { flex-direction: column; align-items: center; }
}
