/**
 * Section Intro_Parallax Component
 * Hero intro section for /intro page - based on hero_intro but without wallet integration
 * Includes parallax effect marker (data-parallax-enabled)
 * NO padding, NO max-width - exact replica pattern of hero_intro
 */

/* ============================================================
 * MAIN SECTION
 * ============================================================ */

.intro_parallax {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
}

/* ============================================================
 * BACKGROUND LAYER (replaces id="intro_parallax" div)
 * ============================================================ */

.intro_parallax__background {
  position: absolute;
  width: 100%;
  bottom: 0px;
  min-height: 100vh;
  z-index: 1;
  background-position: bottom center;
  background-repeat: no-repeat;
  background-size: 100%;
  background-attachment: scroll;
}

/* ============================================================
 * WRAPPER (replaces container_sections)
 * ============================================================ */

.intro_parallax__wrapper {
  top: 100px;
  position: relative; 
  vertical-align: middle;
  justify-content: center; 
  text-align: center;
  z-index: 1000;
}

/* ============================================================
 * CONTENT (replaces section box)
 * ============================================================ */

.intro_parallax__content {
  height: 450px;
}

/* ============================================================
 * CONTENT INNER (replaces flex-row layout)
 * ============================================================ */

.intro_parallax__content-inner {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  height: 100%;
  width: 100%;
}

/* ============================================================
 * COLUMNS (3-column layout: left-center-right)
 * ============================================================ */

.intro_parallax__col-left {
  display: block;
  position: relative;
  top: 0px;
  width: 150px;
  flex-shrink: 0;
  height: 450px;
  background-repeat: no-repeat;
  background-image: url('/medias/2024_Titre-G-300x900.webp');
  background-position: bottom right;
  background-attachment: scroll;
  background-size: 100% 100%;
}

.intro_parallax__col-center {
  display: block;
  position: relative;
  top: 0px;
  overflow: hidden;
  height: 100%;
  transition: width 0.5s ease-out;
  transition-delay: 0.5s;
}

.intro_parallax__col-right {
  width: 150px;
  flex-shrink: 0;
  height: 450px;
  background-repeat: no-repeat;
  background-image: url('/medias/2024_Titre-D-300x900.webp');
  background-position: bottom right;
  background-attachment: scroll;
  background-size: 100% 100%;
}

/* ============================================================
 * CENTER BOX (main content container)
 * ============================================================ */

.intro_parallax__box {
  overflow: hidden;
  height: 388px;
  background-color: var(--color-surface);
  border-top-left-radius: 40px 40px;
  border-top-right-radius: 40px 40px;
  border-bottom: 0.2rem solid var(--color-border);
  box-shadow: 0 20px 30px 0 rgba(5, 8, 28, 0.5);
  text-align: center;
}

/* ============================================================
 * TYPOGRAPHY
 * ============================================================ */

.intro_parallax__title {
  font-family: 'Changa', sans-serif;
  font-weight: 400;
  color: var(--color-link);
}

.intro_parallax__subtitle {
  color: var(--color-text-secondary);
}

.intro_parallax__description {
  color: var(--color-text-secondary);
}

.intro_parallax__cta {
  color: var(--color-link);
  text-decoration: none;
  font-family: 'Changa', sans-serif;
  font-weight: 400;
}

.intro_parallax__cta:hover {
  color: var(--color-link-accent);
}

.intro_parallax__cta i {
  animation: intro_parallax-bounce 2s infinite;
}

@keyframes intro_parallax-bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* ============================================================
 * RESPONSIVE
 * ============================================================ */

/* Mobile: < 768px */
@media (max-width: 767px) {
  .intro_parallax {
    height: auto;
    min-height: 100vh;
  }

  .intro_parallax__col-left,
  .intro_parallax__col-right {
    width: 10px;
  }

  .intro_parallax__box {
    padding: 20px;
  }
}

/* Tablet: 768px to 1023px */
@media (min-width: 768px) and (max-width: 1023px) {
  .intro_parallax__col-left,
  .intro_parallax__col-right {
    width: 100px;
  }
}
