/**
 * Content Page Styles for Fertilia
 * Shared styles for service/content pages with banner hero
 */

/* BANNER HERO SECTION */

.banner-hero {
  position: relative;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
}

.banner-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.banner-hero__image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.banner-hero__content {
  position: relative;
  z-index: 2;
  max-width: var(--container-xl);
  margin: 0 auto;
  padding: 0 var(--space-4);
  width: 100%;
}

.banner-hero__title {
  font-family: var(--font-heading);
  font-size: var(--text-5xl);
  font-weight: var(--font-extrabold);
  color: var(--color-white);
  text-transform: uppercase;
  line-height: var(--leading-tight);
  margin: 0;
}

/* CONTENT SECTION */

.content-section {
  padding: var(--space-10) 0;
  background-color: var(--color-white);
}

.content-section__container {
  max-width: var(--container-lg);
  margin: 0 auto;
  padding: 0 var(--space-4);
}

.content-section p {
  font-size: var(--text-lg);
  line-height: var(--leading-relaxed);
  color: var(--color-dark);
  margin-bottom: var(--space-4);
}

.content-section p strong {
  font-weight: var(--font-bold);
  color: var(--color-dark);
}

.content-section__highlight {
  font-weight: var(--font-bold);
  color: var(--color-dark);
}

.content-section__closing {
  font-weight: var(--font-semibold);
  font-size: var(--text-xl);
  color: var(--color-dark);
  margin-top: var(--space-6);
  margin-bottom: var(--space-6);
}

/* CTA SECTION */

.cta-section {
  padding: var(--space-8) 0 var(--space-10) 0;
  background-color: var(--color-white);
}

.cta-section__container {
  max-width: var(--container-lg);
  margin: 0 auto;
  padding: 0 var(--space-4);
  text-align: left;
}

/* RESPONSIVE */

@media (max-width: 768px) {
  .banner-hero {
    height: 400px;
  }

  .banner-hero__title {
    font-size: var(--text-3xl);
  }

  .content-section {
    padding: var(--space-8) 0;
  }

  .content-section p {
    font-size: var(--text-base);
  }

  .content-section__closing {
    font-size: var(--text-lg);
  }

  .cta-section {
    padding: var(--space-6) 0 var(--space-8) 0;
  }
}

@media (max-width: 480px) {
  .banner-hero {
    height: 350px;
  }

  .banner-hero__title {
    font-size: var(--text-2xl);
  }
}

/* ============================================
   LARGE SCREEN OPTIMIZATIONS (min-width)
   ============================================ */

/* Full HD - 1920px and above */
@media (min-width: 1920px) {
  .banner-hero {
    height: 600px;
  }
}

/* 2K - 2560px and above */
@media (min-width: 2560px) {
  .banner-hero {
    height: 700px;
  }
}

/* 4K - 3840px and above */
@media (min-width: 3840px) {
  .banner-hero {
    height: 900px;
  }
}
