/* ========== MEAL PREP HERO SECTION ========== */

@keyframes mpSlideInUp {
    0% {
        opacity: 0;
        transform: translateY(40px);
        filter: blur(4px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

.mp-hero-animate {
    opacity: 0;
    animation: mpSlideInUp 0.85s cubic-bezier(0.77, 0, 0.175, 1) forwards;
}

.mp-hero-title.mp-hero-animate {
    animation-delay: 0.15s;
}

.mp-hero-subtitle.mp-hero-animate {
    animation-delay: 0.35s;
}

.mp-hero-cta.mp-hero-animate {
    animation-delay: 0.55s;
}

/* ---- Hero Wrapper ---- */
.mp-hero {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}

/* ---- Background Image ---- */
.mp-hero-bg {
    position: absolute;
    top: 21px;
    left: 26px;
    width: calc(100vw - 52px);
    height: calc(100vh - 42px);
    border-radius: 30px;
    overflow: hidden;
    z-index: 0;
}

.mp-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Dark gradient overlay — heavier at bottom like the design image */
.mp-hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(0, 0, 0, 0.15) 0%,
            rgba(0, 0, 0, 0.45) 45%,
            rgba(0, 0, 0, 0.75) 100%);
    border-radius: 30px;
}

/* ---- Hero Content — centered horizontally, placed at top:259px ---- */
.mp-hero-content {
    position: absolute;
    top: 200px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
    width: 1211px;
    max-width: calc(100vw - 80px);
}

/* ---- Main Title ---- */
.mp-hero-title {
    font-family: 'Jost', 'Poppins', sans-serif;
    font-size: clamp(2.8rem, 5.5vw, 5rem);
    font-weight: 700;
    line-height: 1.1;
    color: #ffffff;
    text-align: center;
    margin: 0;
    width: 100%;
    max-width: 1211px;
    min-height: 234px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ---- Subtitle ---- */
.mp-hero-subtitle {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(0.95rem, 1.4vw, 1.2rem);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    margin: 0;
    text-align: center;
}

/* ---- CTA Button ---- */
.mp-hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    background: linear-gradient(90deg, #e0b973 0%, #c9973b 100%);
    color: #1a1000;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 100px;
    padding: 14px 14px 14px 32px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 8px 30px rgba(224, 185, 115, 0.35);
    margin-top: 1rem;
}

.mp-hero-cta:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 14px 40px rgba(224, 185, 115, 0.5);
}

/* Arrow circle */
.mp-hero-cta-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: #1a1000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e0b973;
    transition: transform 0.3s ease;
}

.mp-hero-cta:hover .mp-hero-cta-icon {
    transform: rotate(45deg);
}

/* ---- Mobile Responsiveness ---- */
@media (max-width: 1023px) {

    /* Full-bleed hero, no border-radius on mobile */
    .mp-hero {
        width: 100%;
        height: 100svh;
        min-height: 100svh;
        overflow: visible;
    }

    .mp-hero-bg {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        border-radius: 0;
        z-index: -1;
    }

    .mp-hero-bg::after {
        border-radius: 0;
        /* Stronger gradient on mobile so text is always legible */
        background: linear-gradient(180deg,
                rgba(0, 0, 0, 0.2) 0%,
                rgba(0, 0, 0, 0.55) 40%,
                rgba(0, 0, 0, 0.85) 100%);
    }

    /* Center content vertically in viewport, account for navbar (~80px) */
    .mp-hero-content {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 100vw;
        max-width: 100vw;
        align-items: center;
        text-align: center;
        padding: 0 24px;
        gap: 16px;
        margin-top: 20px;
        box-sizing: border-box;
    }

    .mp-hero-title {
        font-size: clamp(2rem, 9vw, 2.8rem);
        line-height: 1.1;
        text-align: center;
        min-height: unset;
        display: block;
    }

    .mp-hero-subtitle {
        font-size: clamp(0.9rem, 3.5vw, 1.05rem);
        line-height: 1.55;
        text-align: center;
        max-width: 90%;
        margin: 0 auto;
    }

    .mp-hero-cta {
        font-size: 0.9rem;
        padding: 11px 11px 11px 24px;
        gap: 10px;
        margin-top: 8px;
    }

    .mp-hero-cta-icon {
        width: 36px;
        height: 36px;
        min-width: 36px;
    }
}

/* Extra small screens */
@media (max-width: 480px) {
    .mp-hero-title {
        font-size: clamp(1.7rem, 8vw, 2.2rem);
    }

    .mp-hero-subtitle {
        font-size: 0.875rem;
    }
}