/* =====================================================
   PRODUCT HERO CAROUSEL - Full Viewport Image Slider
   ===================================================== */

/* ===== FIXED HERO SECTION ===== */
.iyeg-product-hero-carousel {
    position: fixed;
    top: var(--iyeg-header-height, 80px);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--iyeg-header-height, 80px));
    z-index: 0;
    overflow: hidden;
    background: #000;
}

/* ===== SLIDES TRACK ===== */
.iyeg-product-hero-carousel__track {
    position: relative;
    width: 100%;
    height: 100%;
}

/* ===== SLIDES ===== */
/* .iyeg-product-hero-carousel__slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
    background-size: cover;
    background-position: center 40%;
    background-repeat: no-repeat;
    z-index: 1;
} */

.iyeg-product-hero-carousel__slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
    /* background-size: cover; */
    object-fit: cover;
    /* background-size: 96% auto;   */
    /* background-size: 100% 100%; */
    background-position: center;
    /* background-position: center center; */
    /* background-position: 50% 35%; */
    background-repeat: no-repeat;
    background-color: #000;
    z-index: 1;
}


.iyeg-product-hero-carousel__slide.active {
    opacity: 1;
    z-index: 2;
}

/* ===== OVERLAY ===== */
.iyeg-product-hero-carousel__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    pointer-events: none;
}

/* ===== CONTENT - Title & Subtitle ===== */
.iyeg-product-hero-carousel__content {
    position: absolute;
    bottom: 6rem;
    left: 8%;
    z-index: 4;
    pointer-events: none;
    max-width: 800px;
}

.iyeg-product-hero-carousel__title {
    font-family: "Barlow Semi Condensed", "Inter", sans-serif;
    font-weight: 800;
    font-size: clamp(3rem, 10vw, 6rem);
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #ffffff;
    margin: 0;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.6);
}

.iyeg-product-hero-carousel__subtitle {
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size: clamp(1rem, 1.8vw, 1.5rem);
    color: #ffffff;
    margin-top: 0.75rem;
    opacity: 0.9;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.02em;
}

/* ===== LINE INDICATORS ===== */
.iyeg-product-hero-carousel__indicators {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.iyeg-product-hero-carousel__line {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    width: 60px;
    height: 3px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 2px;
    overflow: hidden;
    transition: opacity 0.3s ease;
}

.iyeg-product-hero-carousel__line:hover {
    opacity: 0.8;
}

.iyeg-product-hero-carousel__line-track {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    background: transparent;
}

.iyeg-product-hero-carousel__line-progress {
    display: block;
    width: 0%;
    height: 100%;
    background: var(--iyeg-active-green, #00ff88);
    border-radius: 2px;
    transition: width 0s linear;
}

.iyeg-product-hero-carousel__line.active .iyeg-product-hero-carousel__line-progress {
    width: 100%;
    transition: width 5000ms linear;
}

/* ===== SPACER - Outside fixed section ===== */
.iyeg-product-hero-carousel__spacer {
    display: block;
    width: 100%;
    height: calc(100vh - var(--iyeg-header-height, 80px));
    pointer-events: none;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .iyeg-product-hero-carousel {
        height: 70vh;
        min-height: 500px;
    }
    
    .iyeg-product-hero-carousel__spacer {
        height: 70vh;
        min-height: 500px;
    }
    
    .iyeg-product-hero-carousel__content {
        bottom: 5rem;
        left: 6%;
        max-width: 600px;
    }
    
    .iyeg-product-hero-carousel__title {
        font-size: clamp(2.5rem, 8vw, 4.5rem);
    }
    
    .iyeg-product-hero-carousel__line {
        width: 45px;
        height: 2.5px;
    }
    
    .iyeg-product-hero-carousel__indicators {
        bottom: 2rem;
        gap: 0.4rem;
    }
}

@media (max-width: 768px) {
    .iyeg-product-hero-carousel {
        height: 60vh;
        min-height: 400px;
    }
    
    .iyeg-product-hero-carousel__spacer {
        height: 60vh;
        min-height: 400px;
    }
    
    .iyeg-product-hero-carousel__content {
        bottom: 4rem;
        left: 5%;
        max-width: 90%;
    }
    
    .iyeg-product-hero-carousel__title {
        font-size: clamp(2rem, 6vw, 3rem);
    }
    
    .iyeg-product-hero-carousel__subtitle {
        font-size: var(--iyeg-font-size-base);
    }
    
    .iyeg-product-hero-carousel__line {
        width: 35px;
        height: 2px;
    }
    
    .iyeg-product-hero-carousel__indicators {
        bottom: 1.5rem;
        gap: 0.3rem;
    }
}

@media (max-width: 480px) {
    .iyeg-product-hero-carousel {
        height: 50vh;
        min-height: 350px;
    }
    
    .iyeg-product-hero-carousel__spacer {
        height: 50vh;
        min-height: 350px;
    }
    
    .iyeg-product-hero-carousel__content {
        bottom: 3rem;
        left: 5%;
        max-width: 95%;
    }
    
    .iyeg-product-hero-carousel__title {
        font-size: clamp(1.5rem, 8vw, 2.25rem);
    }
    
    .iyeg-product-hero-carousel__subtitle {
        font-size: var(--iyeg-font-size-sm);
        margin-top: 0.4rem;
    }
    
    .iyeg-product-hero-carousel__line {
        width: 25px;
        height: 2px;
    }
    
    .iyeg-product-hero-carousel__indicators {
        bottom: 1rem;
        gap: 0.25rem;
    }
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
    .iyeg-product-hero-carousel__slide {
        transition: none !important;
    }
    
    .iyeg-product-hero-carousel__line-progress {
        transition: none !important;
    }
}