/* Brand Wave Animation */
.logo-carousel {
    width: 100%;
    overflow: hidden;
    padding: 40px 0;
    background: var(--color-bg-surface);
    /* Highlight background */
    position: relative;
    white-space: nowrap;
}

.logo-carousel::before,
.logo-carousel::after {
    content: "";
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.logo-carousel::before {
    left: 0;
    background: linear-gradient(to right, var(--color-bg-surface), transparent);
}

.logo-carousel::after {
    right: 0;
    background: linear-gradient(to left, var(--color-bg-surface), transparent);
}

.logo-track {
    display: inline-block;
    animation: scrollBrands 35s linear infinite;
    /* Ensure width fits content */
    width: max-content;
}

.logo-carousel:hover .logo-track {
    animation-play-state: paused;
}

.logo-item {
    display: inline-block;
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text-muted);
    margin: 0 40px;
    text-transform: uppercase;
    opacity: 0.5;
    transition: all 0.3s ease;
    cursor: default;
}

.logo-item:hover {
    opacity: 1;
    color: var(--color-accent-gold);
    /* Gold highlight on hover */
    text-shadow: 0 0 10px rgba(34, 113, 177, 0.5);
    transform: scale(1.1);
}

/* Wave Vertical Motion */
.logo-item {
    animation: waveFloat 3s ease-in-out infinite;
}

/* Stagger delays for wave effect */
.logo-item:nth-child(1) {
    animation-delay: 0.0s;
}

.logo-item:nth-child(2) {
    animation-delay: 0.2s;
}

.logo-item:nth-child(3) {
    animation-delay: 0.4s;
}

.logo-item:nth-child(4) {
    animation-delay: 0.6s;
}

.logo-item:nth-child(5) {
    animation-delay: 0.8s;
}

.logo-item:nth-child(6) {
    animation-delay: 1.0s;
}

.logo-item:nth-child(7) {
    animation-delay: 1.2s;
}

.logo-item:nth-child(8) {
    animation-delay: 1.4s;
}

/* Duplicate Set */
.logo-item:nth-child(9) {
    animation-delay: 1.6s;
}

.logo-item:nth-child(10) {
    animation-delay: 1.8s;
}

.logo-item:nth-child(11) {
    animation-delay: 2.0s;
}

.logo-item:nth-child(12) {
    animation-delay: 2.2s;
}

.logo-item:nth-child(13) {
    animation-delay: 2.4s;
}

.logo-item:nth-child(14) {
    animation-delay: 2.6s;
}

.logo-item:nth-child(15) {
    animation-delay: 2.8s;
}

.logo-item:nth-child(16) {
    animation-delay: 3.0s;
}


@keyframes scrollBrands {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes waveFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
        /* Bob up */
    }
}