/* AKI Gallery Carousel Widget Styles */

/* ===========================
   MAIN CONTAINER
   =========================== */
.aki-gallery-carousel {
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* ===========================
   TITLE
   =========================== */
.gallery-carousel-title {
    color: #0a1e3f;
    font-family: "Inter", sans-serif;
    font-size: 36px;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0;
    text-align: left;
}

/* ===========================
   CAROUSEL WRAPPER
   =========================== */
.gallery-carousel-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
    width: 100%;
    position: relative;
}

/* ===========================
   TRACK CONTAINER
   =========================== */
.gallery-carousel-track-container {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.gallery-carousel-track {
    display: flex;
    transition: transform 0.5s ease;
    will-change: transform;
}

/* ===========================
   SLIDES
   =========================== */
.gallery-slide {
    flex-shrink: 0;
    overflow: hidden;
}

.gallery-slide-image {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-slide-image:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

/* ===========================
   NAVIGATION ARROWS
   =========================== */
.gallery-nav-arrow {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #0a1e3f;
    border: none;
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.gallery-nav-arrow:hover {
    background: #fe6c33;
    color: #ffffff;
}

.gallery-nav-arrow:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.gallery-nav-arrow:disabled:hover {
    background: #0a1e3f;
    color: #ffffff;
}

.gallery-nav-arrow svg {
    width: 24px;
    height: 24px;
}

/* ===========================
   DOTS NAVIGATION
   =========================== */
.gallery-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 10px;
}

.gallery-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(10, 30, 63, 0.3);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
}

.gallery-dot:hover {
    background-color: rgba(10, 30, 63, 0.5);
    transform: scale(1.1);
}

.gallery-dot.active {
    background-color: #fe6c33;
    transform: scale(1.2);
}

/* ===========================
   RESPONSIVE DESIGN
   =========================== */

/* Tablet */
@media (max-width: 1024px) {
    .gallery-carousel-title {
        font-size: 28px;
    }

    .gallery-nav-arrow {
        width: 44px;
        height: 44px;
    }

    .gallery-nav-arrow svg {
        width: 20px;
        height: 20px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .aki-gallery-carousel {
        padding: 0 15px;
        gap: 20px;
    }

    .gallery-carousel-title {
        font-size: 24px;
    }

    .gallery-carousel-wrapper {
        gap: 10px;
    }

    .gallery-nav-arrow {
        width: 38px;
        height: 38px;
    }

    .gallery-nav-arrow svg {
        width: 18px;
        height: 18px;
    }

    .gallery-dots {
        gap: 10px;
    }

    .gallery-dot {
        width: 10px;
        height: 10px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .gallery-carousel-title {
        font-size: 20px;
    }

    .gallery-nav-arrow {
        width: 34px;
        height: 34px;
        border-width: 1px;
    }

    .gallery-nav-arrow svg {
        width: 16px;
        height: 16px;
    }
}