/* References sayfası özel stilleri */

.references-page {
    background: #ffffff;
    width: 100%;
}

.references-page-hero {
    position: relative;
    padding: 4rem 0;
    overflow: hidden;
    background: #f8f9fa;
}

.references-page-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.18;
    filter: saturate(1.2) contrast(1.05);
    z-index: 1;
}

.references-page-hero-inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.references-page-hero-media {
    flex: 1;
    min-width: 320px;
    border-radius: 16px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.05);
    padding: 6px;
}

.references-page-hero-media img {
    width: 100%;
    height: 100%;
    max-height: 420px;
    object-fit: cover;
    display: block;
    border-radius: 12px;
}

.references-page-hero-text {
    flex: 1;
    min-width: 280px;
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
    text-align: center;
}

.references-page-title {
    font-size: 2.8rem;
    font-weight: 900;
    color: #2c3e50;
    margin: 0 0 1rem 0;
    letter-spacing: 0.3px;
    text-align: center;
}

.references-page-description {
    color: #555;
    line-height: 1.8;
    font-size: 1.15rem;
    margin: 0;
    max-width: 900px;
    font-weight: 800;
    margin-left: auto;
    margin-right: auto;
}

.references-page-logos {
    padding: 3rem 0 4rem;
    background: #ffffff;
}

.references-logos-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
}

.references-logo-card {
    width: 180px;
    height: auto;
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid rgba(0, 0, 0, 0.07);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem;
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.references-logo-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.12);
}

.references-logo-card img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

.references-logo-fallback {
    font-weight: 800;
    color: #667eea;
    text-align: center;
}

.references-empty {
    text-align: center;
    color: #888;
    font-weight: 700;
    padding: 2rem 0;
}

@media (max-width: 768px) {
    .references-page-hero-inner {
        flex-direction: column;
        align-items: stretch;
    }

    .references-page-hero-media img {
        max-height: 260px;
    }

    .references-page-title {
        font-size: 2rem;
    }

    .references-page-hero-text {
        text-align: center;
        max-width: 100%;
    }

    .references-page-description {
        max-width: 100%;
    }
}

/* References üst carousel yüksekliği (style.css min-height 600'ü yarıya indir) */
.references-top-carousel-section.carousel-section {
    min-height: 300px !important;
    max-height: 300px !important;
    background-color: transparent !important;
}

.references-top-carousel-section .carousel-skeleton,
.references-top-carousel-section .carousel-container,
.references-top-carousel-section .carousel-wrapper,
.references-top-carousel-section .carousel-slide {
    min-height: 300px !important;
    height: 300px !important;
}

