/* ========================================
   BABY ROCKET CTA SECTION - GLOBAL STYLES
   "TAKE YOUR BABY TO THE MOON"

   This file contains all styles for the baby rocket
   parallax CTA section that appears on all logged-out pages.
   ======================================== */

/* CSS Variables - Ensure they're available */
:root {
    --zoogaboog-blue: #01aade;
    --zoogaboog-dark-blue: #0085ae;
}

/* Container - Scoped to baby rocket to prevent conflicts */
.baby-rocket-section .container-custom {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* BABY ROCKET SECTION */
.baby-rocket-section {
    padding-top: 100px;
    padding-bottom: 100px;
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%); /* Dark gradient background */
    position: relative;
    overflow: hidden;
    height: 100dvh
}

/* Parallax Layer System */
.parallax-layer {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

/* Layer 1: Gray Exhaust Bottom (Parallax - Very Mild Down) */
.exhaust-gray-bottom {
    background-image: url('/assets/images/pages/footer/exhaust-gray-bottom.png');
    background-repeat: repeat-x;
    background-position: center bottom 50px;
    background-size: contain;
    z-index: 1;
    transition: transform 0.1s ease-out;
    will-change: transform;
}

/* Layer 2: Clouds Top Right (Parallax - Downward) */
.clouds-layer {
    background-image: url('/assets/images/pages/footer/clouds.png');
    background-repeat: no-repeat;
    background-position: top right;
    background-size: auto auto;
    z-index: 2;
    transition: transform 0.1s ease-out;
    will-change: transform;
}

/* Layer 2.5: Moon Top Left (Static) */
.moon-layer {
    background-image: url('/assets/images/pages/footer/moon corner.png');
    background-repeat: no-repeat;
    background-position: top -20px left -20px;
    background-size: auto auto;
    z-index: 2;
}

/* Layer 3: Rocket (Parallax) */
.rocket-layer {
    z-index: 3;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding-left: 55%;
    padding-bottom: 0;
    margin-top: 600px;
    transition: transform 0.1s ease-out;
    will-change: transform;
}

.rocket-image {
    height: auto;
    width: auto;
    max-width: 100%;
    max-height: none;
    object-fit: contain;
    display: block;
    transform: scale(0.9);
}

/* Layer 4: White Exhaust Top (Static - Anchored) */
.exhaust-white-top {
    background-image: url('/assets/images/pages/footer/exhaust-white-top.png');
    background-repeat: repeat-x;
    background-position: bottom center;
    background-size: contain;
    z-index: 4;
}

/* Content Layer */
.rocket-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    position: relative;
    z-index: 5;
}

.rocket-text {
    position: relative;
    z-index: 6;
}

.rocket-graphic-placeholder {
    /* Empty placeholder for layout - actual graphic is in parallax layer */
    min-height: 500px;
}

.rocket-title {
    font-size: 4.5rem;
    font-weight: 900;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

.rocket-subtitle {
    font-size: 1.8rem;
    color: var(--zoogaboog-blue);
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.rocket-description {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

.rocket-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 3rem;
    background: var(--zoogaboog-blue);
    color: white;
    border-radius: 15px;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.3rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 35px rgba(1, 170, 222, 0.5);
    margin-bottom: 50px;
}

.rocket-cta-btn:hover {
    background: white;
    color: var(--zoogaboog-blue);
    transform: translateY(-4px);
    box-shadow: 0 15px 50px rgba(255, 255, 255, 0.3);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .rocket-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .rocket-title {
        font-size: 2.5rem;
    }

    .rocket-subtitle {
        font-size: 1.4rem;
    }

    .rocket-description {
        font-size: 1rem;
    }

    .rocket-image {
        height: 450px;
    }

    .rocket-layer {
        padding-right: 5%;
    }

    .clouds-layer {
        background-size: auto auto;
    }

    .rocket-graphic-placeholder {
        min-height: 450px;
    }
}
