/*
 * Shri Ganga homepage banner
 * This is the single authoritative stylesheet for the hero component.
 */

.hero-slider-container {
    position: relative;
    height: 620px;
    min-height: 620px;
    overflow: hidden;
    background: #173d31;
}

.hero-slider-container::before {
    display: none;
}

.hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 0 max(6vw, calc((100% - 1180px) / 2));
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity .55s ease;
}

.hero-slide.active {
    z-index: 2;
    opacity: 1;
    visibility: visible;
}

.hero-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    display: block;
    background: linear-gradient(90deg, rgba(9,32,25,.88) 0%, rgba(9,32,25,.62) 42%, rgba(9,32,25,.08) 70%);
}

.hero-slide::after {
    display: none;
}

.hero-slide-content {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    grid-template-rows: auto auto auto auto;
    column-gap: 70px;
    align-items: center;
    color: #fff;
    background: transparent;
    border: 0;
    box-shadow: none;
    backdrop-filter: none;
}

.hero-brand-label,
.hero-slide-content:not(:has(.hero-brand-label))::before {
    display: block;
    margin: 0 0 18px;
    padding: 0;
    color: #efc778;
    background: none;
    border: 0;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    grid-column: 1;
}

.hero-slide-content:not(:has(.hero-brand-label))::before {
    content: "Pure food for every kitchen";
}

.hero-slide-content h1 {
    width: 100%;
    margin: 0 0 20px;
    color: #fff;
    font: 700 clamp(52px, 5.5vw, 78px)/1 Georgia, 'Times New Roman', serif;
    letter-spacing: -2px;
    text-shadow: 0 8px 30px rgba(0,0,0,.25);
    grid-column: 1;
}

.hero-slide-content p {
    width: 100%;
    max-width: 520px;
    margin: 0 0 30px;
    color: rgba(255,255,255,.86);
    font-size: 16px;
    line-height: 1.75;
    text-shadow: 0 2px 12px rgba(0,0,0,.25);
    grid-column: 1;
}

.hero-slide-content p::after {
    display: none;
}

.hero-pack-carousel {
    position: relative;
    z-index: 4;
    top: auto;
    right: auto;
    width: 100%;
    height: 430px;
    margin: 0;
    display: grid;
    place-items: center;
    grid-column: 2;
    grid-row: 1 / 5;
    transform: none;
}

.hero-pack-carousel::before {
    content: "";
    position: absolute;
    z-index: -1;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: rgba(215,155,43,.9);
    box-shadow: 0 30px 80px rgba(0,0,0,.28);
}

.hero-pack-item {
    display: none;
}

.hero-pack-item:first-child {
    display: flex;
    width: 245px;
    height: 335px;
    padding: 18px;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid rgba(255,255,255,.8);
    border-radius: 18px;
    box-shadow: 0 30px 65px rgba(0,0,0,.36);
    transform: none;
}

.hero-pack-item:first-child:hover {
    transform: translateY(-8px);
}

.hero-pack-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.pack-size-badge {
    right: -14px;
    bottom: 18px;
    padding: 6px 12px;
    color: #fff;
    background: #b52b24;
    border: 3px solid #fff;
    border-radius: 999px;
}

.slider-cta-btn {
    display: inline-flex;
    padding: 13px 26px;
    color: #fff;
    background: #b52b24;
    border: 0;
    border-radius: 6px;
    box-shadow: 0 12px 28px rgba(0,0,0,.22);
    grid-column: 1;
    justify-self: start;
}

.slider-cta-btn::after {
    content: "→";
    margin-left: 10px;
}

.slide-arrow {
    top: 50%;
    bottom: auto;
    width: 44px;
    height: 44px;
    padding: 0;
    color: #fff;
    background: rgba(9,32,25,.62);
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 50%;
    transform: translateY(-50%);
}

.left-arrow { left: 20px; }
.right-arrow { right: 20px; left: auto; }

.slider-dot-navigation {
    right: auto;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
}

.navigation-dot {
    width: 9px;
    height: 9px;
    background: rgba(255,255,255,.45);
    border: 0;
    border-radius: 50%;
}

.navigation-dot.active {
    width: 28px;
    background: #d79b2b;
    border-radius: 999px;
}

@media (max-width: 900px) {
    .hero-slider-container {
        height: 640px;
        min-height: 640px;
    }

    .hero-slide {
        padding: 30px 20px 58px;
        align-items: flex-end;
        background-position: center;
    }

    .hero-slide::before {
        background: linear-gradient(0deg, rgba(9,32,25,.96) 0%, rgba(9,32,25,.56) 56%, rgba(9,32,25,.08) 100%);
    }

    .hero-slide-content {
        width: 100%;
        max-width: 560px;
        display: block;
        text-align: left;
    }

    .hero-slide-content h1 {
        margin-bottom: 13px;
        font-size: clamp(38px, 11vw, 52px);
        letter-spacing: -1px;
    }

    .hero-slide-content p {
        margin-bottom: 18px;
        font-size: 13px;
        line-height: 1.55;
    }

    .hero-brand-label,
    .hero-slide-content:not(:has(.hero-brand-label))::before {
        margin-bottom: 9px;
        font-size: 9px;
    }

    .hero-pack-carousel {
        position: absolute;
        top: -280px;
        right: 50%;
        width: 175px;
        height: 210px;
        transform: translateX(50%);
    }

    .hero-pack-carousel::before { width: 205px; height: 205px; }

    .hero-pack-item:first-child {
        width: 120px;
        height: 165px;
        padding: 8px;
        border-radius: 12px;
    }

    .slide-arrow { display: none; }
    .slider-dot-navigation { bottom: 17px; }
}

/* Featured pack: independent from the copy, with no overlap. */
.hero-slide-content {
    width: 100%;
    max-width: 1180px;
}

.hero-brand-label,
.hero-slide-content:not(:has(.hero-brand-label))::before,
.hero-slide-content h1,
.hero-slide-content p {
    width: 52%;
}

.hero-pack-carousel {
    position: absolute;
    z-index: 4;
    top: 50%;
    right: 0;
    width: 40%;
    height: 440px;
    display: grid;
    place-items: center;
    transform: translateY(-50%);
}

.hero-pack-carousel::before {
    display: none;
    width: 350px;
    height: 350px;
    background: rgba(215,155,43,.9);
}

.hero-pack-item:first-child {
    display: flex;
    width: 245px;
    height: 335px;
    padding: 18px;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 30px 65px rgba(0,0,0,.36);
}

@media (max-width: 900px) {
    .hero-slider-container {
        height: 650px;
        min-height: 650px;
    }

    .hero-brand-label,
    .hero-slide-content:not(:has(.hero-brand-label))::before,
    .hero-slide-content h1,
    .hero-slide-content p {
        width: 100%;
    }

    .hero-pack-carousel {
        top: -255px;
        right: 50%;
        width: 190px;
        height: 215px;
        transform: translateX(50%);
    }

    .hero-pack-carousel::before {
        width: 205px;
        height: 205px;
    }

    .hero-pack-item:first-child {
        width: 125px;
        height: 172px;
        padding: 8px;
        border-radius: 12px;
    }
}

/* Minimal photographic campaign variant. */
.hero-slider-container {
    height: 600px;
    min-height: 600px;
}

.hero-slide {
    padding: 0 max(8vw, calc((100% - 1180px) / 2));
    background-position: center;
}

.hero-slide::before {
    background: transparent;
}

.hero-slide-content {
    display: block;
    width: min(620px, 58%);
    max-width: 620px;
    margin: 0;
}

.hero-brand-label,
.hero-slide-content:not(:has(.hero-brand-label))::before {
    display: inline-block;
    margin-bottom: 22px;
    padding: 7px 12px;
    border-left: 3px solid #d79b2b;
    color: #f4cf82;
    background: rgba(10,42,32,.45);
    font-size: 10px;
    letter-spacing: 2.2px;
}

.hero-slide-content h1 {
    margin-bottom: 22px;
    font-size: clamp(58px, 6.4vw, 88px);
    line-height: .95;
    letter-spacing: -3px;
    text-wrap: balance;
}

.hero-slide-content p {
    max-width: 520px;
    margin-bottom: 32px;
    padding-left: 18px;
    border-left: 1px solid rgba(255,255,255,.35);
    font-size: 16px;
    line-height: 1.75;
}

.hero-pack-carousel {
    display: none;
}

.slider-cta-btn {
    padding: 14px 28px;
    border-radius: 4px;
    background: #b52b24;
    font-size: 12px;
    letter-spacing: .8px;
    text-transform: uppercase;
}

.slider-cta-btn:hover {
    background: #d79b2b;
    color: #173d31;
    transform: translateY(-2px);
}

.slide-arrow {
    width: 42px;
    height: 42px;
    background: rgba(8,34,26,.55);
    backdrop-filter: blur(6px);
}

.navigation-dot {
    width: 18px;
    height: 3px;
    border-radius: 4px;
}

.navigation-dot.active {
    width: 38px;
}

@media (max-width: 900px) {
    .hero-slider-container {
        height: 560px;
        min-height: 560px;
    }

    .hero-slide {
        padding: 45px 24px 68px;
        align-items: flex-end;
    }

    .hero-slide::before {
        background: transparent;
    }

    .hero-slide-content {
        width: 100%;
        max-width: 520px;
    }

    .hero-slide-content h1 {
        margin-bottom: 14px;
        font-size: clamp(40px, 12vw, 56px);
        letter-spacing: -1.5px;
    }

    .hero-slide-content p {
        margin-bottom: 20px;
        padding-left: 12px;
        font-size: 13px;
        line-height: 1.55;
    }

    .hero-brand-label,
    .hero-slide-content:not(:has(.hero-brand-label))::before {
        margin-bottom: 12px;
    }
}

/* Product image placement for the final photographic banner. */
.hero-slide-content { width: 100%; max-width: 1180px; }
.hero-slide-content {
    padding: 0;
    border-radius: 0;
    background: transparent;
}
.hero-brand-label,
.hero-slide-content:not(:has(.hero-brand-label))::before,
.hero-slide-content h1,
.hero-slide-content p {
    width: 52%;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, .55);
}
.hero-brand-label,
.hero-slide-content:not(:has(.hero-brand-label))::before {
    color: #fff;
    background: transparent;
}
.hero-pack-carousel {
    position: absolute;
    z-index: 4;
    top: 50%;
    right: 0;
    width: 40%;
    height: 440px;
    display: grid;
    place-items: center;
    transform: translateY(-50%);
}
.hero-pack-carousel::before {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle at 35% 30%, #285c4a 0%, #173d31 52%, #0b281f 100%);
    border: 1px solid rgba(239,199,120,.5);
    box-shadow: 0 30px 70px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.12);
}
.hero-pack-item:first-child { display: flex; width: 245px; height: 335px; padding: 18px; background: radial-gradient(circle at 50% 40%, #fffdf8 0 28%, #fff4de 66%, #f5e4bd 100%); border-radius: 18px; box-shadow: 0 30px 65px rgba(0,0,0,.24), inset 0 1px 0 rgba(255,255,255,.9), inset 0 -18px 28px rgba(126,93,35,.12); }
@media (max-width: 900px) {
    .hero-slider-container { height: 650px; min-height: 650px; }
    .hero-brand-label,
    .hero-slide-content:not(:has(.hero-brand-label))::before,
    .hero-slide-content h1,
    .hero-slide-content p { width: 100%; }
    .hero-pack-carousel { top: -255px; right: 50%; width: 190px; height: 215px; transform: translateX(50%); }
    .hero-pack-carousel::before { width: 205px; height: 205px; }
    .hero-pack-item:first-child { width: 125px; height: 172px; padding: 8px; border-radius: 12px; }
}
