/* --- 📐 ANA MANŞET (HERO SECTION) İÇ STİLLERİ --- */

.hero-grid {
    display: grid;
    grid-template-columns: var(--hero-grid-cols, 2.3fr 1fr); 
    gap: 20px;
    width: 100%;
}

/* ⬅️ SOL SLIDER ALANI */
.hero-slider-area {
    width: 100%;
    height: auto;
    /* 🎯 YENİ: PHP'den gelen dinamik oranı ve yüksekliği kullanır */
    aspect-ratio: var(--slider-aspect-ratio, 850 / 450); 
    max-height: var(--slider-max-height, 550px); 
    border-radius: 12px;
    overflow: hidden; 
    position: relative;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.mainHeroSwiper {
    width: 100%;
    height: 100%;
}

.hero-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    display: block; 
}

/* ➡️ SAĞ BANNER ALANI */
.hero-banners-area {
    display: grid;
    grid-template-rows: 1fr 1fr; 
    gap: 20px;
    height: 100%; 
}

.hero-banner-item {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.hero-banner-item:hover {
    transform: translateY(-5px);
}

.hero-banner-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 🎯 OKLAR VE SAYFALAMA */
.hero-nav-btn {
    color: #111827 !important;
    background: rgba(255, 255, 255, 0.9);
    width: 45px !important;
    height: 45px !important;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    opacity: 0; 
    transition: opacity 0.3s ease;
}

.hero-slider-area:hover .hero-nav-btn {
    opacity: 1; 
}

.hero-nav-btn::after {
    font-size: 18px !important;
    font-weight: 800;
}

.hero-pagination .swiper-pagination-bullet {
    background: #ffffff;
    opacity: 0.6;
    width: 10px;
    height: 10px;
    transition: all 0.3s ease;
}

.hero-pagination .swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--theme-color, #f97316); 
    width: 25px;
    border-radius: 5px;
}

/* 📱 MOBİL UYUMLULUK */
@media (max-width: 1024px) {
    .hero-grid {
        display: flex; 
        flex-direction: column; 
        height: auto;
        gap: 15px; 
    }

    .hero-slider-area {
        height: auto; 
        aspect-ratio: 850 / 450; 
        border-radius: 12px !important; 
        max-height: none; 
    }

    .hero-main-img {
        object-fit: cover; 
        background-color: transparent; 
    }

    .hero-banners-area {
        display: flex;
        flex-direction: row; 
        gap: 15px; 
        height: auto;
    }

    .hero-banner-item {
        flex: 1; 
        height: auto; 
        aspect-ratio: 850 / 450; 
        border-radius: 12px !important; 
    }

    .hero-nav-btn { display: none !important; }
}