/* =========================
   SLIDER STYLES
========================= */

:root {
    --amber: #f4c430;
}

/* Slider Container */
.slider-container {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 30px auto;
    overflow: hidden;
    border-radius: 12px;
    background: #000;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* Slides Wrapper */
.slides {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 6;
    overflow: hidden;
    background: #000;
}

/* Individual Slide */
.slide {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    opacity: 0;
    visibility: hidden;

    transition: opacity 0.8s ease;

    z-index: 1;
}

/* Active Slide */
.slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

/* Slide Image */
.slide img {
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    animation: zoomEffect 6s linear infinite;
}


/* Dots */
.dots {
    position: absolute;
    bottom: 15px;
    left: 50%;

    transform: translateX(-50%);

    display: flex;
    gap: 10px;

    z-index: 10;
}

.dot {
    width: 13px;
    height: 13px;

    border-radius: 50%;

    background: rgba(255,255,255,0.6);

    cursor: pointer;

    transition: 0.3s ease;
}

.dot.active {
    background: var(--amber);
    transform: scale(1.2);
}

/* Zoom Animation */
@keyframes zoomEffect {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(1.05);
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {

    .slides {
        aspect-ratio: 4 / 3;
    }

    .dot {
        width: 10px;
        height: 10px;
    }
}