/* ========================
   Side Navigation
   ======================== */
.side-nav {
    position: fixed;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    display: none;
}

@media(min-width: 900px) {
    .side-nav {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }
}

.nav-dot {
    position: relative;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s;
    padding: 0;
}

.nav-dot:hover {
    background: rgba(0, 0, 0, 0.4);
    transform: scale(1.3);
}

.nav-dot.active {
    background: var(--text-color);
    transform: scale(1.5);
}

.dot-label {
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    white-space: nowrap;
    font-size: 0.75rem;
    font-weight: 600;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    background: var(--text-color);
    color: var(--bg-color);
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
}

.nav-dot:hover .dot-label {
    opacity: 1;
}

/* ========================
   Infinite Scroll Gallery
   ======================== */
.infinite-gallery {
    display: block !important;
    padding: 3rem 0;
    background: var(--bg-color);
    overflow: hidden;
}

.gallery-marquee {
    overflow: hidden;
    width: 100%;
}

.infinite-gallery .gallery-track {
    display: flex;
    gap: 1.5rem;
    animation: scroll-gallery 40s linear infinite;
    width: max-content;
    height: auto;
}

.infinite-gallery .gallery-track img {
    height: 280px;
    width: auto;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

@media(min-width: 768px) {
    .infinite-gallery .gallery-track img {
        height: 350px;
    }
}

@media(min-width: 900px) {
    .infinite-gallery .gallery-track img {
        height: 400px;
    }
}

@keyframes scroll-gallery {
    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(0);
    }
}