/* Premium Hero Section Styles */
.hero-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    /* Background color removed to use global body background */
}

.hero-slide {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Slide Background with Ken Burns Effect */
.slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

/* Removed Zoom Effect */

/* Premium Soft White Radial Overlay for Crisp Backgrounds */
.hero-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center,
            rgba(255, 255, 255, 0.4) 0%,
            rgba(255, 255, 255, 0.25) 50%,
            rgba(255, 255, 255, 0.15) 100%);
    z-index: 1;
}

/* Slide Content Container */
.slide-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
    padding: 0 40px;
    color: #1a1a1a;
}

/* Waterfall Animations */
.slide-subtitle {
    font-family: 'Outfit', sans-serif;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-weight: 700;
    font-size: 14px;
    color: #d12229;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(-50px);
    filter: blur(10px);
    transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.slide-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(32px, 6vw, 65px);
    /* Reduced size */
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 25px;
    opacity: 0;
    transform: translateY(-80px);
    transition: all 1s cubic-bezier(0.34, 1.56, 0.64, 1);
    letter-spacing: -2px;
    /* Start tight */
    text-shadow: 0 0 0px rgba(209, 34, 41, 0);
    /* Start no glow */
}

.slide-description {
    font-size: 16px;
    /* Reduced size */
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 600px;
    /* Adjusted width */
    margin-inline: auto;
    opacity: 0;
    transform: translateY(-40px);
    transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
    letter-spacing: 0.5px;
}

.slide-actions {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Trigger Animations on Active Slide */
.swiper-slide-active .slide-subtitle {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
    transition-delay: 0.2s;
}

.swiper-slide-active .slide-title {
    opacity: 1;
    transform: translateY(0);
    letter-spacing: 0px;
    /* Expand letters on active */
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
    /* Soft glow */
    transition-delay: 0.4s;
}

.swiper-slide-active .slide-description {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.6s;
}

.swiper-slide-active .slide-actions {
    opacity: 1;
    transform: scale(1);
    transition-delay: 0.8s;
}

/* Premium Navigation Arrows */
.hero-nav {
    width: 60px !important;
    height: 60px !important;
    background: rgba(255, 255, 255, 0.05) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 50% !important;
    color: white !important;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1) !important;
    margin: 0 40px !important;
}

.hero-nav:hover {
    background: #d12229 !important;
    border-color: #d12229 !important;
    transform: scale(1.1);
    box-shadow: 0 15px 30px rgba(209, 34, 41, 0.3);
}

/* Force Height and Visibility for Desktop */
.hero-slider {
    height: 100vh !important;
    min-height: 800px !important;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Responsiveness */
@media (max-width: 768px) {
    .hero-slider {
        height: 600px !important;
        min-height: 600px !important;
    }

    .slide-content {
        padding: 0 20px;
    }

    .slide-title {
        font-size: 38px !important;
    }

    .slide-description {
        font-size: 15px !important;
    }

    .hero-nav {
        display: none !important;
    }
}

/* Customized Slide Themes matching Background Images */

/* Slide 1: Premium Sweets (Warm Chocolate Theme) */
.slide-sweets .slide-title {
    color: #613F26 !important;
    /* Deep rich chocolate */
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.4) !important;
}

.slide-sweets .slide-description {
    color: #000000 !important;
    /* Set to black as specified */
}

/* Slide 2: Export Excellence (Slate Navy Theme) */
.slide-exports .slide-subtitle {
    color: #d12229 !important;
    /* Brand Crimson Red */
}

.slide-exports .slide-title {
    color: #613F26 !important;
    /* Same color as "Purity in Every Bite Since 1975" */
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.4) !important;
}

.slide-exports .slide-description {
    color: #000000 !important;
    /* Set to black as specified */
}

/* Slide 3: Fresh Milk (Keep original white text for clean contrast) */
.slide-milk .slide-title {
    color: #613F26 !important;
    /* Same color as "Purity in Every Bite Since 1975" */
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.15) !important;
}

.slide-milk .slide-description {
    color: #000000 !important;
    /* Set to black as specified */
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
}

/* Slide 4: Traditional Snacks (Earthy Charcoal Theme) */
.slide-snacks .slide-subtitle {
    color: #d12229 !important;
    /* Brand Red */
}

.slide-snacks .slide-title {
    color: #613F26 !important;
    /* Same color as "Purity in Every Bite Since 1975" */
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.4) !important;
}

.slide-snacks .slide-description {
    color: #000000 !important;
    /* Set to black as specified */
}