/* =====================================================
   TAIGEN PAGE COMPONENTS
   ===================================================== */

/* Remove any conflicting video styles */
.iyeg-video-reveal,
.iyeg-video-reveal__container,
.iyeg-video-reveal__wrapper,
.iyeg-video-reveal__video {
    display: none !important;
}



/* ===== IMAGE SECTION ===== */
.iyeg-image-section {
    width: 100%;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.iyeg-image-section__image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* ===== SPECS TABS OVERLAP ===== */
.iyeg-specs-tabs-section--overlap {
    padding-top: 2rem;
}

.iyeg-specs-tabs-section--overlap .iyeg-specs-tabs__inner {
    background: rgba(10, 10, 10, 0.92);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 2rem 2rem 3rem;
    /* border: 1px solid rgba(255, 255, 255, 0.05); */
}

/* ===== COLOR SWITCHER WITH OVERLAY ===== */


/* ===== VEHICLE FEATURES ===== */
.iyeg-vehicle-features {
    background: #000;
    padding: var(--iyeg-space-xl) var(--iyeg-container-padding);
    position: relative;
    z-index: 1;
}

.iyeg-vehicle-features__container {
    max-width: 1200px;
    margin: 0 auto;
    height: 70vh;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.iyeg-vehicle-features__container::-webkit-scrollbar {
    display: none;
}

.iyeg-vehicle-features__slide {
    height: 100%;
    display: flex;
    align-items: center;
    gap: 4rem;
    scroll-snap-align: start;
    padding: 2rem 0;
    opacity: 0.5;
    transition: opacity 0.6s ease;
}

.iyeg-vehicle-features__slide.active {
    opacity: 1;
}

.iyeg-vehicle-features__image {
    flex: 1;
    height: 80%;
    border-radius: 12px;
    overflow: hidden;
}

.iyeg-vehicle-features__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.iyeg-vehicle-features__content {
    flex: 1;
    padding: 2rem;
}

.iyeg-vehicle-features__title {
    font-family: "Barlow Semi Condensed", "Inter", sans-serif;
    font-weight: 700;
    font-size: var(--iyeg-font-size-xl);
    color: #ffffff;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.iyeg-vehicle-features__description {
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size: var(--iyeg-font-size-base);
    color: var(--iyeg-text-gray);
    line-height: 1.8;
    max-width: 500px;
}

.iyeg-vehicle-features__numbers {
    position: absolute;
    bottom: 3rem;
    right: 5%;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    z-index: 10;
}

.iyeg-vehicle-features__number {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.3);
    font-family: "Inter", sans-serif;
    font-size: var(--iyeg-font-size-sm);
    font-weight: 400;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0.25rem 0.5rem;
    letter-spacing: 0.05em;
}

.iyeg-vehicle-features__number.active {
    color: #ffffff;
    transform: scale(1.2);
}

.iyeg-vehicle-features__number:hover {
    color: rgba(255, 255, 255, 0.8);
}

/* ===== ATTACHMENT CAROUSEL ===== */
.iyeg-attachment-carousel {
    position: relative;
    width: 100%;
    height: 90vh;
    overflow: hidden;
    background: #000;
    z-index: 1;
}

.iyeg-attachment-carousel__track {
    width: 100%;
    height: 100%;
    display: flex;
    transition: transform 0.6s ease;
}

.iyeg-attachment-carousel__slide {
    min-width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.iyeg-attachment-carousel__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.iyeg-attachment-carousel__label {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    padding: 0.75rem 2rem;
    border-radius: 8px;
    color: #ffffff;
    font-family: "Inter", sans-serif;
    font-size: var(--iyeg-font-size-md);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.iyeg-attachment-carousel__btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%) scale(0.9);
    width: 50px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.3);
    color: #ffffff;
    cursor: pointer;
    font-size: 1.2rem;
    opacity: 0.3;
    transition: all 0.3s ease;
    z-index: 10;
    pointer-events: auto;
}

.iyeg-attachment-carousel__btn:hover {
    opacity: 1 !important;
    transform: translateY(-50%) scale(1.1) !important;
    background: rgba(255, 255, 255, 0.1);
}

.iyeg-attachment-carousel__btn--prev {
    left: 20px;
}

.iyeg-attachment-carousel__btn--next {
    right: 20px;
}

/* ===== GALLERY CAROUSEL ===== */
.iyeg-gallery-carousel {
    position: relative;
    width: 100%;
    padding: 3rem 0;
    background: #000;
    overflow: hidden;
    z-index: 1;
}

.iyeg-gallery-carousel__controls {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    padding: 0 5% 2rem;
}

.iyeg-gallery-carousel__btn {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    background: transparent;
    color: #ffffff;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.iyeg-gallery-carousel__btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
}

.iyeg-gallery-carousel__track {
    display: flex;
    gap: 20px;
    transition: transform 0.6s ease;
    padding: 0 5%;
}

.iyeg-gallery-carousel__slide {
    min-width: calc(33.33% - 14px);
    flex-shrink: 0;
    position: relative;
}

.iyeg-gallery-carousel__slide img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
}

.iyeg-gallery-carousel__caption {
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size: var(--iyeg-font-size-sm);
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 0.75rem;
    padding-left: 0.25rem;
}

.iyeg-gallery-carousel__indicators {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2rem;
}

.iyeg-gallery-carousel__indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0;
}

.iyeg-gallery-carousel__indicator.active {
    background: var(--iyeg-active-green);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .iyeg-vehicle-features__slide {
        flex-direction: column;
        gap: 2rem;
        padding: 1rem 0;
    }
    
    .iyeg-vehicle-features__image {
        width: 100%;
        height: 50%;
    }
    
    .iyeg-vehicle-features__content {
        padding: 0 1rem;
    }
    
    .iyeg-gallery-carousel__slide {
        min-width: calc(50% - 10px);
    }
}

@media (max-width: 768px) {
    .iyeg-dynamic-carousel {
        height: 60vh;
        min-height: 400px;
    }
    
    .iyeg-attachment-carousel {
        height: 60vh;
        min-height: 400px;
    }
    
    .iyeg-vehicle-features__container {
        height: 80vh;
    }
    
    .iyeg-vehicle-features__numbers {
        bottom: 2rem;
        right: 5%;
        flex-direction: row;
    }
    
    .iyeg-gallery-carousel__slide {
        min-width: calc(100% - 20px);
    }
    
    .iyeg-gallery-carousel__slide img {
        height: 200px;
    }
    
    .iyeg-color-picker-wrapper .iyeg-color-btn {
        width: 2rem;
        height: 2rem;
    }
}

@media (max-width: 480px) {
    .iyeg-dynamic-carousel__btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .iyeg-attachment-carousel__btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .iyeg-vehicle-features__title {
        font-size: var(--iyeg-font-size-lg);
    }
    
    .iyeg-vehicle-features__description {
        font-size: var(--iyeg-font-size-sm);
    }
    
    .iyeg-gallery-carousel__controls {
        padding: 0 1rem 1rem;
    }
}