/* Banner Stilleri - İstasyon tarzı */

.banner-section {
    margin-bottom: 2rem;
    overflow: visible;
}

/* Row için normal Bootstrap grid kullan */
.banner-section .row {
    margin-left: -0.375rem;
    margin-right: -0.375rem;
}

.banner-section .row > * {
    padding-left: 0.375rem;
    padding-right: 0.375rem;
}

.banner-section .container {
    max-width: 1140px;
    width: 100%;
    margin: 0 auto;
    padding-left: 15px !important;
    padding-right: 15px !important;
}

/* Ürün section normal kalır */
.hero-section .container {
    max-width: 1140px;
    width: 100%;
    margin: 0 auto;
    padding-left: 15px;
    padding-right: 15px;
}

/* Büyük Banner */
.banner-large {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    background: #f5f5f5;
    width: 100%;
    aspect-ratio: 16 / 9;
}

.banner-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}

.banner-large .banner-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
    color: white;
}

.banner-large .banner-content h2 {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
    letter-spacing: 0.5px;
}

.banner-large .banner-content p {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #ffffff;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
}

.banner-large .banner-content .btn {
    background: white;
    color: #333;
    padding: 0.75rem 2rem;
    text-decoration: none;
    border-radius: 8px;
    display: inline-block;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
    transition: all 0.3s;
}

.banner-large .banner-content .btn:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0,0,0,0.4);
}

/* Küçük Banner'lar */
.banner-small {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    background: #f5f5f5;
    width: 100%;
    aspect-ratio: 16 / 9;
}

/* Küçük banner container - tam yükseklik */
.banner-section .col-lg-4 {
    display: flex;
    flex-direction: column;
}

.banner-section .col-lg-4 .row {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.banner-section .col-lg-4 .col-12 {
    flex: 1;
    display: flex;
}

.banner-section .col-lg-4 .banner-small {
    flex: 1;
    min-height: 0;
}

.banner-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transition: transform 0.3s;
    display: block;
}

.banner-small:hover img {
    transform: scale(1.05);
}

.banner-small .banner-small-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    color: white;
}

.banner-small .banner-small-content h5 {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 0.25rem;
}

.banner-small .banner-small-content small {
    font-size: 0.9rem;
}

/* Main Banner Swiper */
.mainBannerSwiper {
    width: 100%;
    aspect-ratio: 16 / 9;
}

.mainBannerSwiper .swiper-pagination-bullet {
    background: white;
    opacity: 0.7;
}

.mainBannerSwiper .swiper-pagination-bullet-active {
    opacity: 1;
}

.mainBannerSwiper .swiper-button-next,
.mainBannerSwiper .swiper-button-prev {
    color: white;
    background: rgba(0,0,0,0.3);
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.mainBannerSwiper .swiper-button-next:after,
.mainBannerSwiper .swiper-button-prev:after {
    font-size: 20px;
}

/* Responsive */
@media (max-width: 991px) {
    /* Mobilde küçük banner'ları gizle */
    .banner-section .col-lg-4 {
        display: none !important;
    }
    
    /* Büyük banner tam genişlik */
    .banner-section .col-lg-8 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .banner-section .container {
        padding-left: 0;
        padding-right: 0;
    }
    
    .hero-section .container {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .banner-large {
        height: 350px;
    }
    
    .banner-large .banner-content h2 {
        font-size: 2rem;
    }
    
    .banner-large .banner-content p {
        font-size: 1.1rem;
    }
    
    .banner-small {
        height: 170px;
    }
    
    .mainBannerSwiper {
        height: 350px;
    }
}

@media (max-width: 576px) {
    .banner-section .container {
        padding-left: 0;
        padding-right: 0;
    }
    
    .hero-section .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .banner-large {
        height: 280px;
    }
    
    .banner-large .banner-content {
        padding: 1rem;
    }
    
    .banner-large .banner-content h2 {
        font-size: 1.5rem;
    }
    
    .banner-large .banner-content p {
        font-size: 1rem;
    }
    
    .banner-large .banner-content .btn {
        padding: 0.6rem 1.5rem;
        font-size: 1rem;
    }
    
    .banner-small {
        height: 135px;
    }
    
    .mainBannerSwiper {
        height: 280px;
    }
}
