﻿/* Extracted from Views\Shared\tr\Components\LogoSlider\_footer_logo_slider.cshtml */
#logoCarousel.logo-carousel {
        padding: 1rem 0.5rem !important;
    }

    .logo-slider-row {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: stretch;
        gap: 0.75rem;
        width: 100%;
    }

    .img-slider {
        flex: 1 1 calc(50% - 0.75rem);
        max-width: calc(50% - 0.75rem);
        min-width: 0;
        overflow: hidden;
        border-radius: 5px;
        transition: all 0.3s ease;
        padding: 0.5rem;
        box-sizing: border-box;
    }

    .img-slider > a,
    .img-slider > a > img {
        display: block;
        width: 100%;
        max-width: 100%;
    }

    .img-slider img {
        filter: grayscale(100%);
        transition: all 0.3s ease, box-shadow 0.3s ease;
        box-shadow: none;
        max-height: 3.25rem;
        width: auto;
        max-width: 100%;
        margin: 0 auto;
        object-fit: contain;
    }

    .img-slider:hover img {
        filter: grayscale(0%);
    }

    .img-slider:hover {
        box-shadow: 0 3px 9px var(--kutu-arka-plan-koyu);
    }

    .carousel-indicators {
        position: relative;
    }

    .carousel-indicators > button {
        background-color: var(--kutu-arka-plan-koyu) !important;
        margin-top: 1.3rem;
        height: 0.3rem !important;
    }

    .carousel-item {
        transition: transform 2s ease, opacity 2s ease;
    }

    /* Küçük tablet: 3 sütun */
    @media (min-width: 576px) {
        .img-slider {
            flex: 1 1 calc(33.333% - 0.75rem);
            max-width: calc(33.333% - 0.75rem);
        }

        .img-slider img {
            max-height: 3.5rem;
        }
    }

    /* Tablet / masaüstü: 5 yan yana, taşma yok */
    @media (min-width: 768px) {
        #logoCarousel.logo-carousel {
            padding: 1.5rem 1rem !important;
        }

        .logo-slider-row {
            flex-wrap: nowrap;
            gap: 1rem;
        }

        .img-slider {
            flex: 1 1 0;
            max-width: none;
            padding: 0.75rem;
        }

        .img-slider img {
            max-height: 4rem;
        }
    }
