﻿
/* Sponsor Carousel Styles - Infinite Scrolling with 3 Visible */
#sponsorCarouselWrapper {
    max-width: 1400px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.05);
    padding: 60px 80px;
    border-radius: 15px;
    position: relative;
}

#sponsorCarousel {
    position: relative;
    overflow: hidden;
    height: 320px;
    width: 100%;
}

.sponsor-track {
    display: flex;
    align-items: center;
    gap: 40px;
    position: relative;
    transition: transform 0.6s ease-in-out;
    padding: 40px 0;
    width: fit-content;
}

.sponsor-item {
    flex: 0 0 340px;
    width: 340px;
    text-align: center;
    padding: 20px;
    border-radius: 10px;
    transition: all 0.6s ease;
    position: relative;
    cursor: pointer;
}

    .sponsor-item:hover {
        opacity: 1 !important;
    }

.sponsor-logo {
    max-width: 100%;
    max-height: 120px;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: all 0.3s ease;
    margin-bottom: 15px;
}

.sponsor-name {
    font-size: 14px;
    font-weight: 600;
    color: rgba(0, 0, 0, 0.8);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    margin-top: 10px;
    transition: all 0.3s ease;
}

/* Hide sponsor text by default */
.sponsor-text {
    display: none;
}

/* Center sponsor highlight */
.sponsor-item.highlighted {
    transform: scale(1.2) translateY(-10px);
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 5px 10px 10px rgba(0, 0, 0, 0.3);
    z-index: 10;
}

    .sponsor-item.highlighted .sponsor-logo {
        max-height: 150px;
    }

    .sponsor-item.highlighted .sponsor-name {
        font-size: 20px;
        color: #555;
        font-weight: 700;
    }

/* Side sponsors */
.sponsor-item:not(.highlighted) {
    opacity: 0.5;
    transform: scale(0.75) translateY(10px);
    filter: grayscale(30%);
}

/* Navigation buttons */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.6);
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    color: white;
    cursor: pointer;
    z-index: 20;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .carousel-nav:hover {
        background-color: rgba(0, 0, 0, 0.8);
        transform: translateY(-50%) scale(1.1);
    }

    .carousel-nav.prev {
        left: 15px;
    }

    .carousel-nav.next {
        right: 15px;
    }

@media (max-width: 767px) {
    #sponsorCarouselWrapper {
        padding: 30px 15px;
    }

    #sponsorCarousel {
        height: 240px;
    }

    .sponsor-item {
        flex: 0 0 220px;
        width: 220px;        
    }

    .sponsor-track {
        padding: 20px 0;
    }

    .sponsor-logo {
    }

    .sponsor-item.highlighted {
        box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.3);
    }

        .sponsor-item.highlighted .sponsor-logo {
            max-height: 100px;
        }

        .sponsor-item.highlighted .sponsor-name {
            font-size: 12pt;
            color: #333;
            text-shadow: none;
        }
    .carousel-nav {
        display: none;
    }

    .modal-title {
        font-size: 22pt;
    }

    .modal-body {
        font-size: 16pt;
    }
}

/* Indicators */
.carousel-indicators-custom {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 25px;
}

.indicator-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

    .indicator-dot.active {
        background-color: rgba(255, 255, 255, 0.9);
        transform: scale(1.3);
    }
