/* ==========================================================================
   Sections
   ========================================================================== */

.section {
  padding: 5rem 0;
}

.section-dark {
  background-color: var(--color-night-800);
  color: white;
}

.section-light {
  background-color: var(--color-snow-200);
}

.section-wilderness {
  background-color: var(--color-wilderness-900);
  color: white;
}

.section-campfire {
  background-color: var(--color-campfire-600);
  color: white;
}

/* Container */
.container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 2rem;
  }
}

.container-custom {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ==========================================================================
   Two Column Layout
   ========================================================================== */

.two-column {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .two-column {
    grid-template-columns: 1fr 1fr;
  }
}

.two-column.reverse {
  direction: rtl;
}

.two-column.reverse > * {
  direction: ltr;
}

/* ==========================================================================
   Sidebar
   ========================================================================== */

.with-sidebar {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .with-sidebar {
    grid-template-columns: 1fr 20rem;
  }
}

.sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.sidebar-widget {
  padding: 1.5rem;
  background-color: white;
  border-radius: 0.75rem;
  box-shadow: var(--shadow-md);
}

.sidebar-widget-title {
  font-family: 'Oswald', sans-serif;
  font-size: 1.125rem;
  text-transform: uppercase;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--color-wilderness-500);
}

.sidebar-cta {
  background-color: var(--color-campfire-600);
  color: white;
}

.sidebar-cta .sidebar-widget-title {
  border-bottom-color: rgba(255, 255, 255, 0.3);
}

/* ==========================================================================
   CTA Section
   ========================================================================== */

.cta-section {
  position: relative;
  padding: 8rem 0;
  text-align: center;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: white;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.6);
}

.cta-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(15, 23, 42, 0.7);
}

.cta-container {
  position: relative;
  z-index: 10;
}

.cta-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.cta-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .cta-title {
    font-size: 3.5rem;
  }
}

.cta-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  color: white;
  margin: 0 0 1.5rem;
}

@media (min-width: 768px) {
  .cta-content h2 {
    font-size: 3.5rem;
  }
}

.cta-content > p {
  font-size: 1.25rem;
  color: rgba(255,255,255,0.8);
  margin: 0 0 2.5rem;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  margin-top: 2rem;
}

@media (min-width: 640px) {
  .cta-buttons {
    flex-direction: row;
  }
}
