/*
Thema Name: HurCocukAnaokulu
Author: Çanakkale Yazılım
Author URI: canakkaleyazilim.com
Description: Hür Çocuk Anaokulu Web Sitesi
Version: 1.0.0
*/


/* Reels Bölümü Stilleri */

.rts-reels-area {
    position: relative;
    z-index: 1;
    padding: 80px 0;
}

.reels-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
    aspect-ratio: 9/16;
}

.reels-card-inner {
    height: 100%;
    width: 100%;
    position: relative;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.reels-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.reels-thumb {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.reels-thumb:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.4) 40%, rgba(0, 0, 0, 0) 100%);
    z-index: 2;
}

.reels-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: 60px;
    height: 60px;
    background: rgba(255, 107, 107, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 22px;
    box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 3;
}

.reels-card:hover .reels-play-icon {
    transform: translate(-50%, -50%) scale(1);
    box-shadow: 0 0 0 12px rgba(255, 255, 255, 0.25);
}

.reels-content {
    padding: 25px 20px;
    position: relative;
    z-index: 3;
    width: 100%;
}

.reels-title {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 8px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.reels-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.4;
    margin-bottom: 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* Swiper Navigation Stilleri */
.swiper-btn.swiper-button-next-reels,
.swiper-btn.swiper-button-prev-reels {
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    cursor: pointer;
}

.swiper-btn.swiper-button-next-reels {
    right: -25px;
}

.swiper-btn.swiper-button-prev-reels {
    left: -25px;
}

.swiper-btn.swiper-button-next-reels:hover,
.swiper-btn.swiper-button-prev-reels:hover {
    background: #ff6b6b;
    color: white;
}

.swiper-btn.swiper-button-next-reels i,
.swiper-btn.swiper-button-prev-reels i {
    font-size: 18px;
}

.swiper-pagination-reels {
    text-align: center;
    margin-top: 30px;
}

.swiper-pagination-reels .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #dddddd;
    opacity: 1;
    margin: 0 5px;
    transition: all 0.3s ease;
}

.swiper-pagination-reels .swiper-pagination-bullet-active {
    background: #ff6b6b;
    width: 25px;
    border-radius: 5px;
}

/* Responsive Fixes */
@media (max-width: 767px) {

    .swiper-btn.swiper-button-next-reels,
    .swiper-btn.swiper-button-prev-reels {
        display: none;
    }

    .rts-reels-area {
        padding: 50px 0;
    }
}

@media (max-width: 991px) {
    .swiper-btn.swiper-button-next-reels {
        right: 0;
    }

    .swiper-btn.swiper-button-prev-reels {
        left: 0;
    }
}


.mfp-iframe-holder .mfp-content {
    height: 80%;
}

/* Reels Bölümü İçin Swiper Özelleştirmeleri */
.mySwiper-reels .swiper-slide {
    height: auto;
}

.swiper-container.mySwiper-reels {
    padding: 20px 5px;
}

@media (max-width: 767px) {
    .reels-card {
        aspect-ratio: 3/4;
    }

    .reels-play-icon {
        width: 50px;
        height: 50px;
        font-size: 18px;
    }

    .reels-content {
        padding: 15px;
    }

    .reels-title {
        font-size: 16px;
    }

    .reels-desc {
        font-size: 13px;
        -webkit-line-clamp: 3;
    }
    .swiper.mySwiper-reels.swiper-data.swiper-initialized.swiper-horizontal.swiper-pointer-events.swiper-backface-hidden:before, 
    .swiper.mySwiper-reels.swiper-data.swiper-initialized.swiper-horizontal.swiper-pointer-events.swiper-backface-hidden:after{
        display: none;
    }

}


@media (min-width: 767px) {
    
    .swiper.mySwiper-reels.swiper-data.swiper-initialized.swiper-horizontal.swiper-pointer-events.swiper-backface-hidden:before {
        content: '';
        position: absolute;
        display: block;
        width: 110px;
        height: 100%;
        z-index: 999;
        background: linear-gradient(90deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.5) 50%, rgba(255, 255, 255, 0) 100%);
    }
    
    .swiper.mySwiper-reels.swiper-data.swiper-initialized.swiper-horizontal.swiper-pointer-events.swiper-backface-hidden:after {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 110px;
        height: 100%;
        z-index: 999;
        background: linear-gradient(270deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.5) 50%, rgba(255, 255, 255, 0) 100%);
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .reels-card {
        aspect-ratio: 2/3;
    }
}

.mfp-iframe-holder .mfp-content {
    max-width: 90%;
    height: 80%;
}

.mfp-iframe-scaler iframe {
    background: #000;
}

/* Dikey Kartlar İçin Swiper Özelleştirmeleri */
.mySwiper-reels .swiper-wrapper {
    align-items: stretch;
}

.swiper-pagination-reels {
    position: relative;
    bottom: 0;
    text-align: center;
    margin-top: 30px;
}


.line-clamp-3 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

.program-description p {
	color: white !important;
}