/* =========================
   SUBPAGE STYLES
   Reusable styles for interior pages
   ========================= */

/* =========================
   SUBPAGE HERO
   ========================= */
.subpage-hero {
  position: relative;
  min-height: 480px;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.subpage-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.subpage-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.subpage-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.65), rgba(0,0,0,0.5) 60%, rgba(0,0,0,0.75));
}

.subpage-hero-content {
  position: relative;
  z-index: 10;
  display: flex;
  min-height: 480px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 7rem 1.5rem 3.5rem;
  text-align: center;
}

.subpage-hero-eyebrow {
  margin-bottom: 1rem;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--primary);
}

.subpage-hero-title {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text-white);
  margin-bottom: 1rem;
}

.subpage-hero-title .script {
  font-family: var(--font-script);
  font-style: normal;
  color: var(--primary);
  font-size: 1.1em;
}

.subpage-hero-subtitle {
  max-width: 600px;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--text-white-80);
}

/* =========================
   SUBPAGE SECTIONS
   ========================= */
.subpage-section {
  padding: 5rem 0;
}

.subpage-section-light {
  background: var(--bg-light);
}

.subpage-section-cream {
  background: var(--bg-cream);
}

.subpage-section-dark {
  background: var(--bg-dark);
}

.subpage-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.subpage-container-narrow {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* =========================
   SECTION HEADERS
   ========================= */
.section-header {
  margin-bottom: 3rem;
}

.section-header-centered {
  text-align: center;
}

.section-eyebrow {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.section-eyebrow-centered {
  justify-content: center;
}

.section-eyebrow .rule {
  width: 40px;
  height: 1px;
  background: var(--primary);
}

.section-eyebrow .text {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--primary);
}

.section-title {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.section-title .script {
  font-family: var(--font-script);
  font-style: normal;
  color: var(--primary);
  font-size: 1.05em;
}

.section-title-dark {
  color: var(--stone-100);
}

.section-description {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 600px;
}

.section-description-centered {
  margin-left: auto;
  margin-right: auto;
}

.section-description-dark {
  color: var(--stone-400);
}

/* =========================
   CONTENT BLOCKS
   ========================= */
.content-block {
  margin-bottom: 2.5rem;
}

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

.content-block h3 {
  font-family: var(--font-serif);
  font-size: 1.375rem;
  font-weight: 400;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
}

.content-block p {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.75;
  color: var(--text-muted);
}

.content-block ul {
  margin-top: 0.75rem;
}

.content-block li {
  position: relative;
  padding-left: 1.25rem;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.content-block li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 6px;
  height: 1px;
  background: var(--primary);
}

/* =========================
   DIVIDERS
   ========================= */
.section-divider {
  width: 100%;
  height: 1px;
  background: var(--border-light);
  margin: 4rem 0;
}

.section-divider-gold {
  width: 60px;
  height: 1px;
  background: var(--primary);
  margin: 2rem 0;
}

.section-divider-gold-centered {
  margin-left: auto;
  margin-right: auto;
}

/* =========================
   CALLOUT BOX
   ========================= */
.callout-box {
  position: relative;
  padding: 2rem 2rem 2rem 2.5rem;
  background: rgba(201, 169, 110, 0.06);
  border-left: 2px solid var(--primary);
}

.callout-box p {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--text-medium);
  font-style: italic;
}

.callout-box-dark {
  background: rgba(201, 169, 110, 0.08);
}

.callout-box-dark p {
  color: var(--stone-300);
}

/* =========================
   SUBPAGE CTA
   ========================= */
.subpage-cta {
  padding: 5rem 0;
  background: var(--bg-dark);
  text-align: center;
}

.subpage-cta-content {
  max-width: 600px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.subpage-cta-title {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 400;
  line-height: 1.2;
  color: var(--stone-100);
  margin-bottom: 1rem;
}

.subpage-cta-title .script {
  font-family: var(--font-script);
  font-style: normal;
  color: var(--primary);
  font-size: 1.1em;
}

.subpage-cta-text {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--stone-400);
  margin-bottom: 2rem;
}

.subpage-cta-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.btn-subpage {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-width: 200px;
  padding: 1rem 2rem;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: all var(--transition-normal);
}

.btn-subpage-primary {
  background: var(--primary);
  color: var(--stone-900);
}

.btn-subpage-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
}

.btn-subpage-outline {
  border: 1px solid rgba(201, 169, 110, 0.5);
  color: var(--stone-100);
  background: transparent;
}

.btn-subpage-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(201, 169, 110, 0.08);
}

/* =========================
   DESKTOP RESPONSIVE
   ========================= */
@media (min-width: 768px) {
  .subpage-hero {
    min-height: 480px;
  }
  
  .subpage-hero-content {
    min-height: 480px;
    padding: 8rem 2rem 4rem;
  }
  
  .subpage-hero-title {
    font-size: 3rem;
  }
  
  .subpage-hero-subtitle {
    font-size: 1.125rem;
  }
  
  .subpage-section {
    padding: 6rem 0;
  }
  
  .section-title {
    font-size: 2.25rem;
  }
  
  .subpage-cta-buttons {
    flex-direction: row;
    justify-content: center;
  }
}

@media (min-width: 1024px) {
  .subpage-hero {
    min-height: 520px;
  }
  
  .subpage-hero-content {
    min-height: 520px;
  }
  
  .subpage-hero-title {
    font-size: 3.5rem;
  }
  
  .subpage-section {
    padding: 7rem 0;
  }
  
  .section-title {
    font-size: 2.5rem;
  }
  
  .subpage-cta-title {
    font-size: 2.5rem;
  }
}
