/* Swiper Container - Fullscreen */
/* Ana container - height YOK, dinamik */
.swiper-container {
    width: 100%;
}

/* Swiper - height auto */
.swiper {
    width: 100%;
    height: auto;  /* 100% değil, auto! */
}

/* Slide - block veya basit flex */
.swiper-slide {
    position: relative;
    display: block;  /* veya flex ama align-items/justify-content SİL */
    width: 100%;
}

/* Resim - tam width, auto height */
.slide-image {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain; /* veya none */
}

/* Overlay - slide'ın tamamını kaplamalı */
.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
    pointer-events: none; /* Tıklamaları engelleme */
}

/* Content - overlay üzerinde, ortada */
.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    text-align: center;
    width: 90%;
    max-width: 1000px;
}


/* Mobil resim gizli (masaüstünde) */
.slide-image-mobile {
    display: none;
}

.slide-content.text-left {
    text-align: left;
    margin-right: auto;
    margin-left: 100px;
}

.slide-content.text-right {
    text-align: right;
    margin-left: auto;
    margin-right: 100px;
}

.slide-title {
    font-size: 56px;
    font-weight: 700;
    color: white;
    margin-bottom: 24px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.slide-subtitle {
    font-size: 24px;
    color: white;
    margin-bottom: 36px;
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.slide-button {
    display: inline-block;
    padding: 18px 45px;
    background: #e74c3c;
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.slide-button:hover {
    background: #c0392b;
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(231, 76, 60, 0.5);
}

/* Swiper Navigation */
.swiper-button-prev,
.swiper-button-next {
    color: white;
    background: rgba(0, 0, 0, 0.6);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    backdrop-filter: blur(10px);
}

.swiper-button-prev:after,
.swiper-button-next:after {
    font-size: 24px;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
    background: rgba(0, 0, 0, 0.8);
}

/* Swiper Pagination */
.swiper-pagination-bullet {
    width: 14px;
    height: 14px;
    background: white;
    opacity: 0.6;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    background: #e74c3c;
    width: 40px;
    border-radius: 7px;
}

@media (max-width: 1400px) {
    .swiper-container {
        /*height: 85vh;*/  /* Biraz küçült */
    }
}

/* Dar ekranlarda (900px - 1200px) */
@media (max-width: 1200px) {
    .swiper-container {
        /*height: 70vh;*/  /* Daha da küçült */
    }
}

/* Tablet (769px - 900px) */
@media (max-width: 900px) {
    .swiper-container {
        /*height: 60vh;*/
    }
}

/* Responsive - Tablet */
@media (max-width: 992px) {
    .slide-content {
        max-width: 700px;
        padding: 40px 30px;
    }
    
    .slide-content.text-left {
        margin-left: 60px;
    }
    
    .slide-content.text-right {
        margin-right: 60px;
    }
    
    .slide-title {
        font-size: 42px;
    }
    
    .slide-subtitle {
        font-size: 20px;
    }
    
    .slide-button {
        padding: 14px 35px;
        font-size: 16px;
    }
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    .swiper-container{
        height: 600px;
    }
    
    .swiper {
        height: 600px;
    }
    
    /* Desktop resmi gizle, mobil resim varsa göster */
    .slide-image-desktop {
        display: none;
    }
    
    .slide-image-mobile {
        display: block;
        object-fit: cover;
        height: 100%;
        width: 100%;
    }
    
    /* Mobil resim yoksa desktop'ı göster */
    .swiper-slide:not(:has(.slide-image-mobile)) .slide-image-desktop {
        display: block;
        object-fit: cover;
        height: 100%;
        width: 100%;
    }
    
    .slide-content {
        padding: 30px 20px;
        max-width: 100%;
    }
    
    .slide-content.text-left,
    .slide-content.text-right {
        margin-left: 0;
        margin-right: 0;
        text-align: center;
    }
    
    .slide-title {
        font-size: 32px;
        margin-bottom: 18px;
    }
    
    .slide-subtitle {
        font-size: 16px;
        margin-bottom: 24px;
    }
    
    .slide-button {
        padding: 12px 30px;
        font-size: 15px;
    }
    
    .swiper-button-prev,
    .swiper-button-next {
        width: 45px;
        height: 45px;
    }
    
    .swiper-button-prev:after,
    .swiper-button-next:after {
        font-size: 18px;
    }
    
    .swiper-pagination-bullet {
        width: 10px;
        height: 10px;
    }
    
    .swiper-pagination-bullet-active {
        width: 30px;
    }
}

/* Küçük ekranlar için ek düzenleme */
@media (max-width: 590px) {
    .slide-image {
        object-fit: cover;
    }
}