/* --- Logo Header Styles --- */

.logos-container {
    min-width: 0;
}

/* Common styles for all logo cards */
.logo-card {
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.logo-card-main {
    background-color: white;
}

.logo-card-secondary {
    background-color: rgba(255, 255, 255, 0.9);
}

.logo-img {
    width: auto;
}

/* Desktop Styles (default, for screens > 992px) */
.logo-card {
    border-radius: 12px;
    width: 160px;
    height: 52px;
}

.logo-img-main {
    height: 30px;
}

.logo-img-secondary {
    height: 28px;
}


/* Mobile and Tablet Styles */
@media (max-width: 991.98px) {
    .logos-container {
        /* This ensures there's space on the right when scrolling */
        padding-right: 1rem; 
        clip-path: inset(0 0 0 0); /* Fix for padding with overflow-x */
    }

    .logo-card {
        border-radius: 8px;
        width: 125px;
        height: 44px;
    }

    .logo-img-main {
        height: 26px;
    }

    .logo-img-secondary {
        height: 22px;
    }
}

/* ================== HEADER LOGOS ================== */

.logo-link {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0; /* Logoların küçülmesini engeller */
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    border-radius: 12px; /* Daha modern bir görünüm için kavis artırıldı */
}

.logo-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.logo-link.logo-a101 {
    background-color: white;
}

.logo-link.logo-extra, .logo-link.logo-kapida {
    background-color: rgba(255, 255, 255, 0.9);
}

.logo-img {
    width: auto;
}

/* Mobil Stilleri (< 992px) */
@media (max-width: 991.98px) {
    .logo-wrapper {
        flex-grow: 0 !important; /* Logonun tüm alanı kaplamasını engeller, sağda boşluk bırakır */
    }
    .logo-link {
        width: 115px;
        height: 42px;
        padding: 0.5rem;
    }
    .logo-img {
        max-height: 22px;
    }
    .logo-a101 .logo-img {
        max-height: 24px;
    }
}

/* Masaüstü Stilleri (>= 992px) */
@media (min-width: 992px) {
    .logo-wrapper {
        overflow: visible; /* Masaüstünde kaydırma çubuğu görünmez */
    }
    .logo-link {
        width: 160px; /* Masaüstü için daha büyük logo alanı */
        height: 52px;
        padding: 0.75rem 1rem;
    }
    .logo-img {
        max-height: 28px;
    }
    .logo-a101 .logo-img {
        max-height: 32px;
    }
}

/* ================== SCROLLBAR GİZLEME ================== */
.no-scrollbar::-webkit-scrollbar {
    display: none; /* Chrome, Safari */
}
.no-scrollbar {
    -ms-overflow-style: none;  /* IE, Edge */
    scrollbar-width: none;  /* Firefox */
}

/* --- Promo Cards Section --- */

.promo-card {
    background-color: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border: none;
}

.promo-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.08);
}

.promo-card .card-title {
    color: #333;
    font-size: 1.25rem;
}

.promo-card .card-text {
    color: #666;
    margin-bottom: 1.5rem;
}

.promo-card .btn-primary {
    background-color: #00B7E6;
    border-color: #00B7E6;
    font-weight: 600;
    padding: 0.75rem 2rem;
}

.promo-card .btn-primary:hover {
    background-color: #009dcc;
    border-color: #009dcc;
}

.promo-image-link img {
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.promo-image-link:hover img {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.08);
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .promo-card {
        padding: 1rem !important;
        min-height: 150px; /* Ensure cards have a decent height on mobile */
    }
    .promo-image-link img {
         border-radius: 12px;
    }
    .row.g-3.mt-4.justify-content-center > div:nth-child(2),
    .row.g-3.mt-4.justify-content-center > div:nth-child(3) {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
     .row.g-3.mt-4.justify-content-center {
        margin-left: -0.5rem;
        margin-right: -0.5rem;
    }
}

/* --- Fullwidth Promo Cards --- */

.promo-card-fullwidth {
    background-color: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    border: none;
}

.promo-card-fullwidth p {
    color: #333;
}

.promo-card-fullwidth .btn-primary {
    background-color: #00B7E6;
    border-color: #00B7E6;
    font-weight: 600;
}

.promo-card-fullwidth .btn-primary:hover {
    background-color: #009dcc;
    border-color: #009dcc;
}

.promo-image-link img {
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.promo-image-link:hover img {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.08);
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
    .promo-image-link {
        display: block;
        margin-bottom: 1rem; /* Add space between stacked images */
    }
    .promo-image-link:last-child {
        margin-bottom: 0;
    }
    .row.g-3.mt-3 > div:last-child .promo-image-link {
        margin-bottom: 0; /* Remove margin from the very last item */
    }
}

@media (max-width: 991.98px) {
    .promo-card {
        padding: 1rem !important;
        min-height: auto;
    }
    .promo-image-link img {
         border-radius: 12px;
    }
}

.logo-link.logo-a1O1 {
    background: #fff !important;
    border: 1px solid #e6e6e6;
}
