/* ==========================================================================
   Jeeva Earth Responsive Hero Slider
   Matching Reference Design:
   - Split 2 parts: Left Text, Right Image
   - Indian monument sketch skyline at bottom
   - Desktop & Mobile image support (<picture>)
   - Smooth slide & fade transition with modern pagination
   ========================================================================== */

:root {
    --jeeva-hero-bg: #f7f5ed;
    --jeeva-orange: #F47521;
    --jeeva-orange-hover: #dd6212;
    --jeeva-green: #045A31;
    --jeeva-text-dark: #1f2937;
    --jeeva-text-muted: #6b7280;
}

.jeeva-hero-slider-section {
    position: relative;
    width: 100%;
    background-color: var(--jeeva-hero-bg);
    overflow-x: clip;
    overflow-y: visible;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    box-sizing: border-box;
}

/* Slider Viewport */
.jeeva-hero-slider-container {
    position: relative;
    max-width: 1280px;
    margin: 0 auto;
    min-height: 440px;
    display: flex;
    align-items: center;
    z-index: 2;
    padding: 40px 0 30px;
    box-sizing: border-box;
}

.jeeva-hero-track {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 420px;
}

/* Individual Slide */
.jeeva-hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(20px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.jeeva-hero-slide.active {
    position: relative;
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* 1. Left Content Area */
.jeeva-hero-text-col {
    flex: 1 1 48%;
    max-width: 540px;
    z-index: 3;
    padding: 20px 0;
}

.jeeva-hero-badge {
    display: inline-flex;
    align-items: center;
    background-color: rgba(244, 117, 33, 0.12);
    color: var(--jeeva-orange);
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.jeeva-hero-title {
    font-size: 46px;
    font-weight: 800;
    line-height: 1.16;
    color: var(--jeeva-text-dark);
    margin: 0 0 18px 0;
    letter-spacing: -0.5px;
}

.jeeva-hero-title span.highlight {
    color: var(--jeeva-orange);
}

.jeeva-hero-desc {
    font-size: 16px;
    line-height: 1.6;
    color: var(--jeeva-text-muted);
    margin: 0 0 28px 0;
    max-width: 480px;
}

.jeeva-hero-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 34px;
    background-color: var(--jeeva-orange);
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 15px;
    font-weight: 600;
    border-radius: 28px;
    box-shadow: 0 4px 14px rgba(244, 117, 33, 0.35);
    transition: all 0.25s ease;
    cursor: pointer;
}

.jeeva-hero-cta:hover {
    background-color: var(--jeeva-orange-hover);
    box-shadow: 0 6px 20px rgba(244, 117, 33, 0.45);
    transform: translateY(-2px);
}

/* 2. Right Image Area */
.jeeva-hero-img-col {
    flex: 1 1 52%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
}

.jeeva-hero-img-wrap {
    position: relative;
    width: 100%;
    max-width: 580px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.jeeva-hero-picture {
    display: block;
    width: 100%;
}

.jeeva-hero-main-img {
    width: 100%;
    height: auto;
    max-height: 420px;
    object-fit: contain;
    display: block;
    filter: none;
    transition: transform 0.5s ease;
}

.jeeva-hero-slide.active .jeeva-hero-main-img {
    transform: scale(1.02);
}

/* Floating Ingredients Accents */
.jeeva-hero-accent {
    position: absolute;
    pointer-events: none;
    z-index: 4;
}

/* Left-Bottom Floating Spice Bowl Accent (Desktop Only, Half Outside Left & Half Below Slider) */
.jeeva-hero-accent-bl {
    position: absolute;
    bottom: -55px; /* Half of 220px bowl extends below the slider baseline */
    left: -110px; /* Exactly half of 220px is outside the left edge */
    width: 220px;
    height: 220px;
    display: block;
    pointer-events: none;
    z-index: 10;
    transition: transform 0.4s ease;
}

.jeeva-hero-accent-bl img,
.jeeva-hero-accent-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    filter: none;
}

@keyframes floatingFloat {
    0% { transform: translateY(0px) rotate(0deg); }
    100% { transform: translateY(-8px) rotate(3deg); }
}

/* 3. Slider Pagination Dots in Clean White Strip */
.jeeva-hero-pagination-wrap {
    width: 100%;
    background-color: #ffffff;
    padding: 20px 0 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 5;
}

.jeeva-hero-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: static;
    transform: none;
    z-index: 5;
}

.jeeva-hero-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #cbd5e1;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
}

.jeeva-hero-dot.active {
    width: 28px;
    height: 8px;
    background-color: var(--jeeva-orange);
    border-radius: 4px;
}

/* 4. Responsive Styles (Desktop Only Accent & Mobile/Tablet Layouts) */
@media (max-width: 1240px) and (min-width: 1025px) {
    .jeeva-hero-accent-bl {
        width: 180px;
        height: 180px;
        left: -90px;
        bottom: -70px;
    }
}

/* Strictly hide spice bowl accent on ALL devices <= 1024px (Tablets, Mobiles, etc.) */
@media (max-width: 1024px) {
    .jeeva-hero-accent-bl {
        display: none !important;
    }
}

@media (max-width: 1320px) {
    .jeeva-hero-slider-container {
        padding: 40px 20px 30px;
    }
}

@media (max-width: 991px) {
    .jeeva-hero-slider-container {
        min-height: auto;
        padding: 35px 20px 25px;
    }

    .jeeva-hero-slide {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0;
    }

    /* Use display: contents so text children and image can be ordered seamlessly */
    .jeeva-hero-text-col {
        display: contents;
    }

    .jeeva-hero-badge {
        order: 1;
        margin: 0 auto 12px auto;
    }

    .jeeva-hero-title {
        order: 2;
        font-size: 32px;
        line-height: 1.2;
        margin: 0 0 14px 0;
        max-width: 100%;
    }

    .jeeva-hero-desc {
        order: 3;
        margin: 0 auto 18px auto;
        font-size: 15px;
        line-height: 1.55;
        max-width: 92%;
    }

    /* Image in the middle - right above the button */
    .jeeva-hero-img-col {
        order: 4;
        flex: 1 1 100%;
        width: 100%;
        max-width: 100%;
        margin: 10px 0 24px 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .jeeva-hero-img-wrap {
        max-width: 340px;
        width: 100%;
        margin: 0 auto;
    }

    .jeeva-hero-main-img {
        max-height: 260px;
        width: auto;
        max-width: 100%;
        margin: 0 auto;
        display: block;
    }

    /* Button at the bottom */
    .jeeva-hero-cta {
        order: 5;
        margin: 0 auto;
        padding: 13px 36px;
    }

    .jeeva-hero-accent-tl,
    .jeeva-hero-accent-bl {
        display: none !important;
    }

    .jeeva-hero-pagination-wrap {
        padding: 16px 0 20px;
    }
}

@media (max-width: 480px) {
    .jeeva-hero-slider-container {
        padding: 28px 16px 20px;
    }

    .jeeva-hero-badge {
        font-size: 12px;
        padding: 5px 12px;
        margin-bottom: 10px;
    }

    .jeeva-hero-title {
        font-size: 26px;
        line-height: 1.22;
        margin-bottom: 10px;
    }

    .jeeva-hero-desc {
        font-size: 13.5px;
        line-height: 1.5;
        margin-bottom: 14px;
    }

    .jeeva-hero-img-col {
        margin: 8px 0 20px 0;
    }

    .jeeva-hero-img-wrap {
        max-width: 290px;
    }

    .jeeva-hero-main-img {
        max-height: 220px;
    }

    .jeeva-hero-cta {
        width: 100%;
        max-width: 240px;
        padding: 12px 24px;
        font-size: 14.5px;
    }

    .jeeva-hero-pagination-wrap {
        padding: 14px 0 18px;
    }
}
