/* References Section Styles */

.references-section {
    padding: 40px 0;
    background: #fff;
}

.references-layout {
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Sol Taraf - İçerik */
.references-content {
    flex: 1;
    max-width: 400px;
}

.references-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #242E45;
    margin-bottom: 15px;
    line-height: 1.2;
}

.references-underline {
    width: 60px;
    height: 3px;
    background: #dc2626;
    margin-bottom: 20px;
}

.references-description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #6b7280;
    margin: 0;
}

/* Sağ Taraf - Logo'lar */
.references-logos {
    flex: 2;
    min-width: 0; /* Important for flexbox and swiper */
    width: 100%;
}
.references-swiper {
    width: 100%;
    height: auto;
    overflow: hidden;
}

.references-swiper .swiper-wrapper {
    display: flex;
    flex-wrap: nowrap;
    align-items: center; /* Vertically center the logos */
    transition-timing-function: linear !important; /* Ensures a constant speed */
}
.references-swiper .swiper-slide {
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-sizing: border-box;
    padding: 0 10px;
    width: auto;
}

.logo-item {
    text-align: center;
    transition: all 0.3s ease;
    width: 200px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-item:hover {
    transform: translateY(-5px);
}

.reference-logo {
    max-width: 220px; /* Increased from 180px */
    max-height: 120px; /* Increased from 100px */
    width: auto;
    height: auto;
    object-fit: contain;
    transition: all 0.3s ease;
}
.references-swiper .reference-logo {
    width: auto;
    height: auto;
}

.logo-item:hover .reference-logo {
    filter: grayscale(0%);
    opacity: 1;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .references-layout {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    
    .references-content {
        max-width: 100%;
    }

    .logo-item {
        width: 180px;
        height: 110px;
    }
}

@media (max-width: 768px) {
    .references-section {
        padding: 60px 0;
    }
    
    .references-title {
        font-size: 2rem;
    }
    
    .references-description {
        font-size: 1rem;
    }
    
    .reference-logo {
        max-width: 160px; /* Increased from 140px */
        max-height: 100px; /* Increased from 80px */
    }

    .logo-item {
        width: 160px;
        height: 100px;
    }
}

@media (max-width: 480px) {
    .references-layout {
        gap: 30px;
    }
    
    .references-title {
        font-size: 1.75rem;
    }
    
    .reference-logo {
        max-width: 170px; /* Increased from 150px */
        max-height: 110px; /* Increased from 90px */
    }

    .logo-item {
        width: 150px;
        height: 90px;
    }
}

/* AOS Animasyonları için ek stiller */
.logo-item[data-aos] {
    opacity: 0;
    transform: translateY(20px);
}

.logo-item[data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0);
} 
