/* CUSTOM SLIDER CSS - TAMAMEN YENİ YAKLAŞIM */

/* Ana slider container */
.custom-slider {
    width: 100%;
    position: relative;
    overflow: hidden;
    background: #fff;
}

/* Slider içeriği - flexbox ile yan yana */
.custom-slider-content {
    display: flex;
    align-items: stretch;
    height: 500px;
    width: 100%;
    max-height: 500px;
    overflow: hidden;
}

/* Sol taraf - yazı alanı */
.custom-slider-left {
    flex: 1;
    background-color: rgb(238, 241, 224);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 40px;
    position: relative;
}

.custom-slider-text {
    max-width: 500px;
    width: 100%;
}

.custom-slider-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #333;
}

.custom-slider-desc {
    font-size: 18px;
    line-height: 1.5;
    margin-bottom: 30px;
    color: #666;
}

.custom-slider-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background: transparent;
    border: 2px solid #333;
    color: #333;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border-radius: 5px;
}

.custom-slider-btn:hover {
    background: #333;
    color: #fff;
}

/* Sağ taraf - fotoğraf alanı */
.custom-slider-right {
    flex: 1;
    position: relative;
    overflow: hidden;
    height: 500px;
}

.custom-slider-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    min-height: 500px;
    max-height: 500px;
}

/* Swiper özellikleri */
.custom-slider .swiper-slide {
    height: auto;
}

.custom-slider .swiper-wrapper {
    align-items: stretch;
}

/* Pagination dots */
.custom-slider .swiper-pagination {
    bottom: 40px;
    left: 60px;
    right: auto;
    width: auto;
    display: flex;
    gap: 12px;
}

.custom-slider .swiper-pagination-bullet {
    width: 14px;
    height: 14px;
    background: rgba(255, 255, 255, 0.4);
    opacity: 1;
    margin: 0;
    border-radius: 50%;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.custom-slider .swiper-pagination-bullet:hover {
    background: rgba(255, 255, 255, 0.7);
    transform: scale(1.1);
}

.custom-slider .swiper-pagination-bullet-active {
    background: #fff;
    border-color: rgba(255, 255, 255, 0.3);
    transform: scale(1.2);
}

/* RESPONSIVE TASARIM */

/* Tablet */
@media (max-width: 1024px) {
    .custom-slider-content {
        height: 400px;
        max-height: 400px;
    }
    
    .custom-slider-right {
        height: 400px;
    }
    
    .custom-slider-image {
        min-height: 400px;
        max-height: 400px;
    }
    
    .custom-slider-left {
        padding: 40px 30px;
    }
    
    .custom-slider-title {
        font-size: 36px;
    }
    
    .custom-slider-desc {
        font-size: 16px;
    }
}

/* Mobil */
@media (max-width: 768px) {
    .custom-slider-content {
        flex-direction: column;
        height: auto;
        max-height: none;
    }
    
    .custom-slider-left {
        order: 2;
        padding: 40px 20px;
        text-align: center;
    }
    
    .custom-slider-right {
        order: 1;
        height: 300px;
        min-height: 300px;
    }
    
    .custom-slider-image {
        min-height: 300px;
        max-height: 300px;
    }
    
    .custom-slider-title {
        font-size: 28px;
        margin-bottom: 15px;
    }
    
    .custom-slider-desc {
        font-size: 14px;
        margin-bottom: 25px;
    }
    
    .custom-slider-btn {
        padding: 12px 24px;
        font-size: 14px;
    }
    
    .custom-slider .swiper-pagination {
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        gap: 10px;
    }
    
    .custom-slider .swiper-pagination-bullet {
        width: 12px;
        height: 12px;
    }
}

/* Küçük mobil */
@media (max-width: 480px) {
    .custom-slider-left {
        padding: 30px 15px;
    }
    
    .custom-slider-title {
        font-size: 24px;
    }
    
    .custom-slider-right {
        height: 250px;
        min-height: 250px;
    }
    
    .custom-slider-image {
        min-height: 250px;
        max-height: 250px;
    }
}

/* Animation effects */
.custom-slider-fade-item {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.4s ease;
}

.swiper-slide-active .custom-slider-fade-item {
    opacity: 1;
    transform: translateY(0);
}

.custom-slider-fade-item.delay-1 {
    transition-delay: 0.1s;
}

.custom-slider-fade-item.delay-2 {
    transition-delay: 0.2s;
}

.custom-slider-fade-item.delay-3 {
    transition-delay: 0.3s;
}
