/* ===================================
   FRESH BIG 5 HERO SLIDER STYLES
   =================================== */

/* Container */
.hero-slider-container {
    width: 100%;
    margin: 0;
    padding: 2rem 0;
    background: transparent;
    overflow: hidden;
}

/* Swiper Container */
.hero-swiper {
    width: 100%;
    max-width: 1400px;
    height: 80vh;
    margin: 0 auto;
    position: relative;
    overflow: visible;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* Swiper Wrapper */
.hero-swiper .swiper-wrapper {
    height: 100%;
    display: flex;
    align-items: center;
}

/* Individual Slides */
.hero-swiper .swiper-slide {
    height: 100%;
    width: 100%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    transition: all 0.4s ease;
    background: #fff;
}

/* Slide Images */
.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: 15px;
}

/* Image hover effect - disabled to prevent cropping */
.hero-swiper .swiper-slide:hover .hero-img {
    transform: none;
}

/* Overlay gradient for better text readability if needed */
.hero-swiper .swiper-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.1) 0%,
        rgba(0, 0, 0, 0.05) 50%,
        rgba(0, 0, 0, 0.2) 100%
    );
    z-index: 1;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.hero-swiper .swiper-slide:hover::before {
    opacity: 1;
}

/* Navigation Container */
.hero-navigation {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    pointer-events: none;
    z-index: 10;
}

/* Navigation Buttons */
.hero-button-prev,
.hero-button-next {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, #FF6B35 0%, #FFD700 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.3rem;
    cursor: pointer;
    pointer-events: auto;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
    border: 3px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.hero-button-prev:hover,
.hero-button-next:hover {
    background: linear-gradient(135deg, #FFD700 0%, #FF6B35 100%);
    transform: scale(1.15) translateY(-2px);
    box-shadow: 0 12px 35px rgba(255, 107, 53, 0.6);
    border-color: rgba(255, 255, 255, 0.5);
}

.hero-button-prev:active,
.hero-button-next:active {
    transform: scale(0.95);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

/* Button icon animation */
.hero-button-prev i,
.hero-button-next i {
    transition: transform 0.3s ease;
}

.hero-button-prev:hover i {
    transform: translateX(-3px);
}

.hero-button-next:hover i {
    transform: translateX(3px);
}

/* ===================================
   DESKTOP: 2 SLIDES PER VIEW (992px+)
   =================================== */
@media (min-width: 992px) {
    .hero-swiper {
        padding: 0 20px;
        transform: translateX(-15px);
    }

    .hero-swiper .swiper-slide {
        margin: 0 10px;
    }
}

/* ===================================
   TABLET & MOBILE: 1 SLIDE (below 992px)
   =================================== */
@media (max-width: 991px) {
    .hero-slider-container {
        padding: 1rem;
        margin: 0;
        background: transparent;
    }

    .hero-swiper {
        height: 70vh;
        padding: 0;
        border-radius: 20px;
        max-width: 100%;
        width: 100%;
        background: transparent;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
        overflow: hidden;
    }

    .hero-swiper .swiper-wrapper {
        width: 100%;
        height: 100%;
    }

    .hero-swiper .swiper-slide {
        padding: 0;
        margin: 0;
        width: 100% !important;
        border-radius: 20px;
        background: #fff;
        overflow: hidden;
    }

    /* Hide non-active slides on mobile/tablet */
    .hero-swiper .swiper-slide:not(.swiper-slide-active) {
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none;
    }

    .hero-swiper .swiper-slide-active {
        opacity: 1 !important;
        visibility: visible !important;
    }

    .hero-img {
        border-radius: 20px;
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .hero-navigation {
        padding: 0 15px;
    }

    .hero-button-prev,
    .hero-button-next {
        width: 48px;
        height: 48px;
        font-size: 1.1rem;
    }
}

/* Mobile Small (480px and below) */
@media (max-width: 480px) {
    .hero-slider-container {
        padding: 0.75rem;
        margin: 0;
        background: transparent;
    }

    .hero-swiper {
        height: 70vh;
        padding: 0;
        border-radius: 15px;
        width: 100%;
        max-width: 100%;
        background: transparent;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
        overflow: hidden;
    }

    .hero-swiper .swiper-slide {
        padding: 0;
        margin: 0;
        border-radius: 15px;
        width: 100% !important;
        background: #fff;
        overflow: hidden;
    }

    .hero-button-prev,
    .hero-button-next {
        width: 42px;
        height: 42px;
        font-size: 1rem;
        border-width: 2px;
    }

    .hero-img {
        border-radius: 15px;
        width: 100%;
        height: 100%;
        object-fit: contain;
    }
}

/* Mobile Extra Small (360px and below) */
@media (max-width: 360px) {
    .hero-slider-container {
        padding: 0.5rem;
        margin: 0;
        background: transparent;
    }

    .hero-swiper {
        height: 70vh;
        border-radius: 12px;
        padding: 0;
        width: 100%;
        max-width: 100%;
        background: transparent;
        box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
        overflow: hidden;
    }

    .hero-swiper .swiper-slide {
        padding: 0;
        margin: 0;
        border-radius: 12px;
        width: 100% !important;
        background: #fff;
        overflow: hidden;
    }

    .hero-button-prev,
    .hero-button-next {
        width: 38px;
        height: 38px;
        font-size: 0.9rem;
    }

    .hero-img {
        border-radius: 12px;
        width: 100%;
        height: 100%;
        object-fit: contain;
    }
}
