﻿
/* ==========================================
   VINEET PANICKER - PREMIUM HERO SLIDER
   ========================================== */


.hero-section {
    width: 100%;
    /*padding: 24px 40px;*/
    box-sizing: border-box;
}

.hero-swiper {
    position: relative;
    width: 100%;
    max-width: 1400px;
    height: clamp(570px, 43vw, 700px);
    margin: 0 auto;
    overflow: hidden;
    isolation: isolate;
    background: var(--color-background, #FFFFFF);
    border-radius: 0px;
    box-shadow: 0 15px 45px rgba(61, 16, 25, 0.09);
}

@media (max-width: 600px) {
    .hero-section {
        padding: 8px 10px 16px;
    }
}


.hero-slide {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

/* ===== Background image ===== */

.hero-media {
    position: absolute;
    inset: 0;
    z-index: -2;
    background-image: var(--hero-image);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1);
    transition: transform 7s ease;
}

.hero-slide.swiper-slide-active .hero-media {
    transform: scale(1.045);
}

/* ===== Dark overlay for text readability ===== */

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient( 180deg, rgba(23, 9, 12, 0.36) 0%, rgba(23, 9, 12, 0.55) 45%, rgba(23, 9, 12, 0.72) 100% );
}

/* ===== Centered content ===== */

.hero-content {
    position: relative;
    z-index: 2;
    width: min(850px, 90%);
    margin: 0 auto;
    padding: 35px 20px 75px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-sizing: border-box;
    animation: hero-content-enter 0.75s ease both;
}

.hero-eyebrow {
    display: inline-block;
    margin-bottom: 22px;
    color: #FFFFFF;
    font-family: var(--font-navigation, "Manrope", sans-serif);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.6px;
    line-height: 1.7;
    text-transform: uppercase;
}

.hero-content h1,
.hero-content h2 {
    max-width: 800px;
    margin: 0;
    color: #FFFFFF;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(43px, 5.4vw, 76px);
    font-weight: 500;
    letter-spacing: -1.5px;
    line-height: 1.12;
    text-wrap: balance;
    text-shadow: 0 3px 18px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    margin: 20px 0 0;
    color: #FFFFFF;
    font-family: var(--font-navigation, "Manrope", sans-serif);
    font-size: clamp(16px, 1.8vw, 22px);
    font-weight: 600;
    line-height: 1.6;
    text-wrap: balance;
}

.hero-description {
    max-width: 620px;
    margin: 16px auto 0;
    color: rgba(255, 255, 255, 0.94);
    font-family: var(--font-navigation, "Manrope", sans-serif);
    font-size: 15px;
    font-weight: 400;
    line-height: 1.9;
    text-wrap: pretty;
}

/* ===== CTA buttons ===== */

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 30px;
}

.hero-btn {
    min-height: 50px;
    padding: 0 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border: 1px solid var(--color-primary, #D10023);
    border-radius: var(--radius-pill, 999px);
    font-family: var(--font-navigation, "Manrope", sans-serif);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.2px;
    text-decoration: none;
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

    .hero-btn:hover {
        transform: translateY(-2px);
    }

.hero-btn-primary {
    background: var(--color-primary, #D10023);
    color: #FFFFFF;
    border-color: var(--color-primary, #D10023);
    box-shadow: 0 8px 24px rgba(209, 0, 35, 0.25);
}

    .hero-btn-primary:hover {
        background: var(--color-primary-dark, #A8001C);
        color: #FFFFFF;
        border-color: var(--color-primary-dark, #A8001C);
    }

.hero-btn-outline {
    background: rgba(255, 255, 255, 0.08);
    color: #FFFFFF;
    border-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(4px);
}

    .hero-btn-outline:hover {
        background: #FFFFFF;
        color: var(--color-primary, #D10023);
        border-color: #FFFFFF;
    }

/* ===== Slider controls ===== */

.hero-slider-controls {
    position: absolute;
    left: 30px;
    right: 30px;
    bottom: 24px;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 18px;
}

    .hero-slider-controls .swiper-pagination {
        position: static;
        width: auto;
        display: flex;
        align-items: center;
        gap: 9px;
    }

    .hero-slider-controls .swiper-pagination-bullet {
        width: 7px;
        height: 7px;
        margin: 0 !important;
        background: rgba(255, 255, 255, 0.65);
        opacity: 1;
        transition: width 0.25s ease, background 0.25s ease;
    }

    .hero-slider-controls .swiper-pagination-bullet-active {
        width: 26px;
        border-radius: 99px;
        background: var(--color-primary, #D10023);
    }

.hero-arrows {
    display: flex;
    gap: 8px;
    margin-left: auto;
}

.hero-prev,
.hero-next {
    width: 38px;
    height: 38px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
    font-size: 18px;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

    .hero-prev:hover,
    .hero-next:hover {
        background: #FFFFFF;
        color: var(--color-primary, #D10023);
    }

.hero-counter {
    color: rgba(255, 255, 255, 0.8);
    font-family: var(--font-navigation, "Manrope", sans-serif);
    font-size: 11px;
    letter-spacing: 1px;
}

#heroCurrent {
    color: #FFFFFF;
    font-weight: 700;
}

/* ===== Animated scroll cue ===== */

.hero-scroll {
    position: absolute;
    left: 50%;
    bottom: 68px;
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transform: translateX(-50%);
}

.hero-mouse {
    width: 21px;
    height: 34px;
    display: flex;
    justify-content: center;
    padding-top: 6px;
    box-sizing: border-box;
    border: 1.5px solid rgba(255, 255, 255, 0.75);
    border-radius: 20px;
}

    .hero-mouse span {
        width: 3px;
        height: 7px;
        border-radius: 3px;
        background: #FFFFFF;
        animation: hero-mouse-scroll 1.5s ease-in-out infinite;
    }

.hero-scroll-text {
    font-family: var(--font-navigation, "Manrope", sans-serif);
    font-size: 8px;
    letter-spacing: 2px;
}

@keyframes hero-mouse-scroll {
    0% {
        transform: translateY(0);
        opacity: 0;
    }

    30% {
        opacity: 1;
    }

    100% {
        transform: translateY(11px);
        opacity: 0;
    }
}

@keyframes hero-content-enter {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Tablet ===== */

@media (max-width: 900px) {
    .hero-section {
        padding: 8px 16px 20px;
    }

    .hero-swiper {
        height: 620px;
    }

    .hero-content {
        width: 92%;
        padding-bottom: 80px;
    }

        .hero-content h1,
        .hero-content h2 {
            font-size: clamp(42px, 6vw, 60px);
        }

    .hero-slider-controls {
        left: 24px;
        right: 24px;
        bottom: 20px;
    }

    .hero-scroll {
        bottom: 82px;
    }
}

/* ===== Mobile: image first, text below ===== */

@media (max-width: 600px) {
    .hero-section {
        padding: 6px 10px 16px;
    }

    .hero-swiper {
        height: auto;
        min-height: 0;
        border-radius: 20px;
        overflow: hidden;
        background: #FFFFFF;
    }

    .hero-slide {
        height: auto;
        min-height: 0;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        background: #FFFFFF;
    }

    /* Image is a separate, prominent upper panel */
    .hero-media {
        position: relative;
        inset: auto;
        z-index: 0;
        display: block;
        width: 100%;
        height: clamp(260px, 70vw, 240px);
        flex: 0 0 auto;
        background-image: var(--hero-image);
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        transform: none !important;
    }

    /* Hide the desktop full-slide overlay */
    .hero-overlay {
        display: none;
    }

    /* Text block below image */
    .hero-content {
        position: relative;
        z-index: 1;
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 30px 20px 100px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        background: #FFFFFF;
        text-align: center;
        box-sizing: border-box;
    }

    .hero-eyebrow {
        margin-bottom: 13px;
        color: var(--color-primary, #D10023);
        font-size: 9px;
        letter-spacing: 1.6px;
    }

    .hero-content h1,
    .hero-content h2 {
        max-width: 100%;
        color: var(--color-text, #3D1019);
        font-size: clamp(35px, 8.5vw, 45px);
        letter-spacing: -0.8px;
        line-height: 1.15;
        text-shadow: none;
    }

    .hero-subtitle {
        margin-top: 12px;
        color: var(--color-primary, #D10023);
        font-size: 15px;
        line-height: 1.6;
    }

    .hero-description {
        max-width: 430px;
        margin-top: 12px;
        color: #68545A;
        font-size: 13px;
        line-height: 1.8;
    }

    .hero-actions {
        width: 100%;
        margin-top: 22px;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .hero-btn {
        min-height: 47px;
        width: min(100%, 300px);
        padding: 0 17px;
        font-size: 11px;
    }

    .hero-btn-primary {
        background: var(--color-primary, #D10023);
        color: #FFFFFF;
    }

    .hero-btn-outline {
        background: #FFFFFF;
        color: var(--color-primary, #D10023);
        border-color: var(--color-primary, #D10023);
        backdrop-filter: none;
    }

        .hero-btn-outline:hover {
            background: var(--color-primary, #D10023);
            color: #FFFFFF;
        }

    /* Controls sit on the white bottom area */
    .hero-slider-controls {
        left: 20px;
        right: 20px;
        bottom: 20px;
        gap: 10px;
    }

        .hero-slider-controls .swiper-pagination-bullet {
            background: #D9B7BD;
        }

        .hero-slider-controls .swiper-pagination-bullet-active {
            background: var(--color-primary, #D10023);
        }

    .hero-prev,
    .hero-next {
        width: 32px;
        height: 32px;
        border-color: #E6A0AC;
        background: #FFFFFF;
        color: var(--color-primary, #D10023);
        font-size: 15px;
    }

        .hero-prev:hover,
        .hero-next:hover {
            background: var(--color-primary, #D10023);
            color: #FFFFFF;
        }

    .hero-counter {
        color: #80646B;
        font-size: 10px;
    }

    #heroCurrent {
        color: var(--color-primary, #D10023);
    }

    .hero-scroll {
        display: none;
    }
}

/* ===== Small phones ===== */

@media (max-width: 380px) {
    .hero-media {
        height: 255px;
    }

    .hero-content {
        padding: 26px 16px 96px;
    }

        .hero-content h1,
        .hero-content h2 {
            font-size: 34px;
        }

    .hero-slider-controls {
        left: 16px;
        right: 16px;
        bottom: 18px;
    }

        .hero-slider-controls .swiper-pagination {
            gap: 6px;
        }

    .hero-prev,
    .hero-next {
        width: 29px;
        height: 29px;
    }
}

/* ===== Accessibility ===== */

@media (prefers-reduced-motion: reduce) {
    .hero-mouse span {
        animation: none;
    }

    .hero-content {
        animation: none;
    }

    .hero-media {
        transition: none;
    }

    .hero-btn,
    .hero-prev,
    .hero-next,
    .hero-slider-controls .swiper-pagination-bullet {
        transition: none;
    }
}
