/* HERO REBORN V2 - FINAL IMAGE TITLE VERSION */

:root {
    --mars-red-dark: #8B0000;
    /* Dark Red / Maroon */
    --mars-red-vibrant: #A52A2A;
    /* Slightly lighter provided alt */
    --hero-gray-text: #424242;
    /* Dark Gray text */
    --hero-silver: #C0C0C0;
    /* Silver line */
    --hero-offer-text: #757575;
    /* Offer text */
    --font-serif: 'Begum', serif;
    --font-sans: 'Poppins', sans-serif;
}

/* 1. Global / Layout Corrections */
.hero-section-reborn {
    position: relative;
    height: auto;
    min-height: 90vh;
    /* Reduced from 110vh/140vh to 90vh */
    /* Compact layout */
    width: 100%;
    overflow: hidden;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* Changed to flex-start as requested */
    justify-content: center;
    padding-top: 8vh;
    /* Adjusted top padding */
    padding-bottom: 4vh;
    /* Reduced from 8vh to 4vh (desktop) */
    position: relative;
    overflow: visible;
    /* Ensure content isn't clipped */
}

/* Background & Improved Overlay */
.hero-bg-reborn {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 65%;
    /* Move planet down (65%) */
}

.hero-overlay-reborn {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Gradient adjusted to reveal planet */
    /* Gradient adjusted to reveal planet */
    background: linear-gradient(180deg,
            rgba(255, 255, 255, 0.88) 0%,
            rgba(255, 255, 255, 0.80) 20%,
            rgba(255, 255, 255, 0.70) 40%,
            rgba(255, 255, 255, 0.55) 60%,
            /* Reveals planet */
            rgba(255, 255, 255, 0.65) 80%,
            rgba(255, 255, 255, 0.75) 100%);
    z-index: 2;
}

/* Main Container */
.hero-container-reborn {
    position: relative;
    z-index: 10;
    max-width: 950px;
    margin: 0 auto;
    /* Enhance centering */
    width: 100%;
    padding: 0 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-bottom: 2rem;
    /* Reduced from 5rem to 2rem */
    /* Compact padding bottom */
}

/* 2. Image Title Wrapper */
/* 2. Image Title Wrapper */
.hero-title-image-wrapper {
    margin-bottom: 2rem;
    /* Reduced to 2rem */
    text-align: center;
    width: 100%;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.hero-title-image {
    max-width: 550px;
    max-height: 280px;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.08));
}

/* Response Breakpoints for Image */
/* Laptop */
@media (max-width: 1200px) {
    .hero-title-image {
        max-width: 500px;
        max-height: 250px;
    }
}

/* Tablet */
@media (max-width: 768px) {
    .hero-title-image-wrapper {
        margin-bottom: 1.5rem;
    }

    .hero-title-image {
        max-width: 400px;
        max-height: 200px;
        padding: 0 20px;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .hero-title-image-wrapper {
        margin-bottom: 1.2rem;
    }

    .hero-title-image {
        max-width: 280px;
        max-height: 140px;
        padding: 0 15px;
    }
}

/* Mobile Extra Small */
@media (max-width: 375px) {
    .hero-title-image {
        max-width: 240px;
        max-height: 120px;
    }
}


/* 4. Subtitle */
.hero-subtitle-reborn {
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--mars-red-dark);
    text-transform: uppercase;
    margin-bottom: 2rem;
    /* Reduced from 2.5rem to 2rem */
    /* Spacing */
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.4s forwards;
    letter-spacing: 1px;
    max-width: 850px;
}

/* 5. Description Wrapper + Decorative Line */
.hero-description-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 750px;
    margin-bottom: 2rem;
    /* Reduced from 3.5rem to 2rem */
    /* Spacing */
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.6s forwards;
}

.decorative-line {
    width: 80px;
    height: 2px;
    background-color: var(--hero-silver);
    margin-bottom: 1.2rem;
    /* Reduced from 2rem to 1.2rem */
}

.hero-text-reborn {
    font-family: var(--font-sans);
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--hero-gray-text);
    margin-bottom: 0;
    font-weight: 400;
    text-align: center;
}

/* 6. CTA Button Section */
.hero-cta-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.8s forwards;
    margin-top: 0;
    /* Removed margin top */
    /* Compact spacing */
    margin-bottom: 2rem;
    /* Margin bottom */
}

.btn-hero-reborn {
    display: inline-block;
    background-color: var(--mars-red-dark);
    color: #ffffff;
    font-family: var(--font-sans);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 22px 55px;
    border-radius: 60px;
    text-decoration: none;
    font-size: 1.1rem;
    box-shadow: 0 12px 35px rgba(139, 0, 0, 0.4);
    transition: all 0.3s ease;
}

.btn-hero-reborn:hover {
    background-color: #6d0000;
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(139, 0, 0, 0.5);
    color: #ffffff;
}

/* 7. Offer Text */
.hero-offer-text {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--hero-offer-text);
    margin-top: 1.5rem;
    /* Spacing */
    opacity: 0.9;
    font-weight: 500;
    margin-bottom: 0;
    /* Removed extra space since scroll indicator is gone */
    display: block;
}

/* Scroll Indicator Removed/Hidden */
.hero-scroll-indicator {
    display: none !important;
}



/* Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    position: absolute;
    bottom: 50px;
    /* Increased from 30px to 50px */
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 1.2s forwards;
}

.mouse-icon {
    width: 26px;
    height: 42px;
    border: 2px solid var(--hero-silver);
    border-radius: 20px;
    position: relative;
}

.mouse-wheel {
    width: 4px;
    height: 6px;
    background-color: var(--mars-red-dark);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 1.5s infinite;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleInFade {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes scrollWheel {
    0% {
        top: 8px;
        opacity: 1;
    }

    100% {
        top: 20px;
        opacity: 0;
    }
}

/* MOBILE RESPONSIVE TWEAKS */
@media (max-width: 768px) {
    .hero-section-reborn {
        padding-top: 10vh;
        /* Reduced for mobile */
        min-height: 100dvh;
    }

    .hero-container-reborn {
        padding: 0 20px;
    }

    .hero-title-image {
        max-width: 90%;
        padding: 0 15px;
    }

    .hero-subtitle-reborn {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }

    .hero-description-wrapper {
        margin-bottom: 2rem;
    }

    .decorative-line {
        margin-bottom: 1.5rem;
    }

    .hero-text-reborn {
        font-size: 1rem;
    }

    .hero-cta-wrapper {
        margin-top: 1rem;
    }

    .btn-hero-reborn {
        padding: 18px 40px;
        font-size: 1rem;
        width: 100%;
        max-width: 320px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title-image {
        max-width: 95%;
    }
}