/* ================================================
   REACHING THE NATIONS PAGE STYLES
   Minimalist design matching index.html
   ================================================ */

.page-reaching {
  background: #f5f5f5;
  color: #3f3f3f;
}

/* ------------------------------------------------
   NAVIGATION - Match index.html style
   ------------------------------------------------ */

/* Ensure nav toggle bars are white on this page */
.page-reaching .primary-nav {
  --nav-toggle-bar-color: #ffffff;
}

/* Nav button styling to match index */
.page-reaching .primary-nav .button--primary {
  padding: 0.5rem 1.4rem;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}

/* Ensure floating nav has correct colors */
.page-reaching .primary-nav.is-floating {
  --nav-toggle-bar-color: #3f3f3f;
}

.page-reaching .primary-nav.is-floating .button--primary {
  background: #fadcb6;
  color: #3f3f3f;
}

/* ------------------------------------------------
   HEADER WITH BACKGROUND IMAGE
   ------------------------------------------------ */

.page-reaching .site-header--reaching {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  padding-top: clamp(16px, 3vw, 24px);
}

.page-reaching .site-header__media--image {
  position: absolute;
  inset: 0;
  background-image: url("../assets/house-of-prayer/house-4.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.page-reaching .site-header__overlay {
  background: linear-gradient(
    135deg, 
    rgba(63, 63, 63, 0.75) 0%, 
    rgba(63, 63, 63, 0.6) 50%, 
    rgba(250, 220, 182, 0.4) 100%
  );
}

.page-reaching .hero__eyebrow {
  color: #fadcb6;
  letter-spacing: 0.25em;
}

.page-reaching .hero__title {
  color: #ffffff;
  text-shadow: 0 20px 40px rgba(63, 63, 63, 0.12);
}

.page-reaching .hero__summary {
  color: rgba(255, 255, 255, 0.85);
}

/* ------------------------------------------------
   VIDEO SECTION - MINIMAL SPLIT LAYOUT
   ------------------------------------------------ */

.section--video {
  background: #f5f5f5;
  padding: clamp(80px, 12vw, 120px) 0;
}

.section__inner--video {
  width: min(100% - 40px, 1100px);
  margin: 0 auto;
}

.video-split {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(48px, 8vw, 80px);
  align-items: center;
}

.video-split__content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.video-split__eyebrow {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(63, 63, 63, 0.55);
}

.video-split__title {
  margin: 0;
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  font-weight: 700;
  line-height: 1.2;
  color: #3f3f3f;
}

.video-split__lead {
  margin: 0;
  font-size: clamp(1rem, 2vw, 1.1rem);
  line-height: 1.75;
  color: rgba(63, 63, 63, 0.75);
}

.video-split__note {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.6;
  color: rgba(63, 63, 63, 0.6);
  padding-left: 16px;
  border-left: 3px solid #fadcb6;
  font-style: italic;
}

/* Video frame with subtle styling */
.video-split__media {
  position: relative;
}

.video-frame {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 24px 56px rgba(63, 63, 63, 0.12);
}

.video-frame iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* ------------------------------------------------
   NATIONS SECTION - SLIDER CARDS
   ------------------------------------------------ */

.section--nations {
  background: #f5f5f5;
  padding: clamp(40px, 6vw, 60px) 0 clamp(80px, 12vw, 120px);
}

.section__inner--nations {
  width: min(100% - 40px, 1100px);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: clamp(48px, 8vw, 64px);
}

.nations-header {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.nations-header__eyebrow {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(63, 63, 63, 0.55);
}

.nations-header__title {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.1rem);
  font-weight: 700;
  color: #3f3f3f;
  line-height: 1.14;
}

/* Nations Slider */
.nations-slider {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.nations-slider__viewport {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.nations-slider__track {
  display: flex;
  gap: clamp(18px, 2vw, 28px);
  margin: 0;
  padding: clamp(8px, 1.6vw, 18px) 0;
  list-style: none;
}

.nation-card {
  flex: 0 0 calc((100% - (clamp(18px, 2vw, 28px) * 3)) / 4);
  min-width: 240px;
  background: #fff;
  border-radius: 22px;
  padding: clamp(28px, 4vw, 40px) clamp(24px, 3vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: left;
  transition: transform 0.35s ease, box-shadow 0.35s ease, background 0.35s ease;
}

.nation-card:hover {
  background: radial-gradient(
    circle at top left,
    rgba(250, 220, 182, 0.6) 0%,
    rgba(255, 255, 255, 0.4) 40%,
    rgba(245, 245, 245, 1) 75%
  ), #f5f5f5;
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(63, 63, 63, 0.1);
}

.nation-card__visual {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fadcb6 0%, #ffffff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 26px rgba(250, 220, 182, 0.4);
}

.nation-card__icon {
  width: 28px;
  height: 28px;
  color: #3f3f3f;
}

.nation-card__title {
  margin: 0;
  font-size: clamp(1.15rem, 2.4vw, 1.35rem);
  font-weight: 700;
  color: #3f3f3f;
  letter-spacing: 0.02em;
}

.nation-card__text {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.6;
  color: rgba(63, 63, 63, 0.7);
}

.nation-card__tag {
  margin-top: auto;
  display: inline-block;
  padding: 6px 14px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(63, 63, 63, 0.6);
  background: rgba(250, 220, 182, 0.35);
  border-radius: 999px;
  width: fit-content;
}

.nations-slider__dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

/* ------------------------------------------------
   PARTNER SECTION - CARD STYLE WITH GRADIENT BACKGROUND
   ------------------------------------------------ */

.section--partner {
  padding: clamp(80px, 12vw, 120px) 0;
  background: #f5f5f5;
}

.section__inner--partner {
  position: relative;
  width: min(100% - 40px, 1100px);
  margin: 0 auto;
  min-height: 350px;
  padding: clamp(48px, 8vw, 80px);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 24px;
  overflow: hidden;
  /* Color palette extracted from house-4.webp - warm terracotta/orange tones */
  background: linear-gradient(
    135deg,
    #c96b3a 0%,
    #dc8241 40%,
    #e8a165 100%
  );
}

.section__inner--partner::before {
  display: none;
}

.partner-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
}

.partner-content__eyebrow {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #fadcb6;
}

.partner-content__title {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.15;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.partner-content__lead {
  margin: 0;
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.9);
}

/* ------------------------------------------------
   BUTTONS
   ------------------------------------------------ */

.page-reaching .button--primary {
  background: #fadcb6;
  color: #3f3f3f;
  padding: 14px 32px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  box-shadow: 0 12px 28px rgba(63, 63, 63, 0.1);
}

.page-reaching .button--primary:hover,
.page-reaching .button--primary:focus {
  background: #fce6ca;
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(63, 63, 63, 0.15);
}

/* ------------------------------------------------
   RESPONSIVE DESIGN
   ------------------------------------------------ */

@media (max-width: 900px) {
  .video-split {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .video-split__content {
    text-align: center;
    align-items: center;
  }

  .nations-slider__track {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 16px;
  }

  .nations-slider__track::-webkit-scrollbar {
    display: none;
  }

  .nation-card {
    scroll-snap-align: start;
    flex: 0 0 280px;
  }
}

@media (max-width: 600px) {
  .nation-card {
    flex: 0 0 260px;
    padding: 28px 24px;
  }
}
