/* Medyada Biz Bölümü Stilleri */
.media-section {
    padding: 100px 0 80px;
    background-color: var(--light-bg);
    position: relative;
    overflow: hidden;
}

/* Ana Wrapper */
.media-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
    align-items: center;
    position: relative;
}

/* Sol Taraf - Başlık ve Açıklama */
.media-intro {
    flex: 0 0 35%;
    padding-top: 20px;
}

/* Medyada Biz Başlığı */
.media-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--red);
    margin-bottom: 25px;
    line-height: 1.1;
}

.media-title span {
    display: block;
    color: var(--red);
}

/* Açıklama */
.media-description p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.5;
    margin-bottom: 25px;
}

/* YouTube Buton */
.youtube-btn {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    background-color: var(--red);
    color: var(--white);
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.youtube-btn i {
    margin-right: 8px;
    font-size: 1.2rem;
}

.youtube-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(226, 6, 19, 0.2);
}

/* Sağ Taraf - Video Slider */
.video-slider-container {
    flex: 0 0 55%;
    position: relative;
    padding: 20px 0;
}

/* Kırmızı Arka Plan */
.video-background {
    position: absolute;
    top: -100px;
    right: -450px;
    width: 650px;
    height: 650px;
    background-color: var(--red);
    border-radius: 50% 0 0 70%;
    transform: rotate(-15deg);
    z-index: 1;
}

/* Video Slider */
.video-slider {
    position: relative;
    width: 100%;
    height: 350px;
    z-index: 2;
    overflow: hidden;
}

.video-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease;
}

.video-slide.active {
    opacity: 1;
    visibility: visible;
}

/* Video Thumbnail */
.video-thumbnail {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    cursor: pointer;
}

.video-thumbnail video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.video-thumbnail:hover video {
    transform: scale(1.05);
}

/* Play Button */
.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    transition: all 0.3s ease;
}

.play-button i {
    color: var(--red);
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.video-thumbnail:hover .play-button {
    background-color: var(--red);
    transform: translate(-50%, -50%) scale(1.1);
}

.video-thumbnail:hover .play-button i {
    color: var(--white);
}

/* Video Slider Kontrolleri */
.video-navigation {
    position: absolute;
    bottom: 20px;
    left: 20px;
    display: flex;
    gap: 10px;
    z-index: 5;
}

.video-prev,
.video-next {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--white);
    color: var(--red);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.video-prev:hover,
.video-next:hover {
    background-color: var(--red);
    color: var(--white);
    transform: scale(1.1);
}

/* Video Göstergeleri */
.video-indicators {
    position: absolute;
    bottom: 30px;
    right: 20px;
    display: flex;
    gap: 8px;
    z-index: 5;
}

.video-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: all 0.3s ease;
}

.video-indicator.active {
    background-color: var(--red);
    transform: scale(1.2);
}

/* Video Modal Stili */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.video-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    width: 90%;
    max-width: 900px;
    height: 0;
    padding-bottom: 50.625%; /* 16:9 aspect ratio */
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.modal-content video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background-color: var(--red);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 1001;
}

.modal-close:hover {
    background-color: #c50000;
    transform: scale(1.1);
}

/* Responsive Düzenlemeler */
@media (max-width: 1200px) {
    .video-background {
        right: -100px;
        width: 500px;
        height: 500px;
    }
    
    .media-title {
        font-size: 3rem;
    }
}

@media (max-width: 992px) {
    .media-wrapper {
        flex-direction: column;
        gap: 40px;
    }
    
    .media-intro,
    .video-slider-container {
        flex: 0 0 100%;
    }
    
    .media-intro {
        text-align: center;
    }
    
    .video-background {
        top: -50px;
        right: -50px;
        width: 400px;
        height: 400px;
    }
    
    .video-slider {
        height: 300px;
    }
}

/* ===== MEDYADA BİZ MOBİL DÜZELTMELERİ - DOĞRU VERSİYON ===== */

/* 768px ve altında - Mobil düzeltmeler */
@media (max-width: 768px) {
    /* Media section container düzeltmesi */
    .media-section .section-container {
        padding: 80px 15px; /* Yan padding azaltıldı */
    }
    
    /* Media wrapper mobilde dikey düzen */
    .media-wrapper {
        flex-direction: column;
        gap: 40px;
        text-align: center;
        align-items: center;
    }
    
    /* Sol taraf (metin) mobilde üstte */
    .media-intro {
        flex: 0 0 100%;
        order: 1;
        text-align: center;
        padding-top: 0;
        max-width: 100%;
    }
    
    /* Sağ taraf (video) mobilde altta ve ortada */
    .video-slider-container {
        flex: 0 0 100%;
        order: 2;
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 0;
    }
    
    /* Kırmızı shape'i tamamen sağa taşı */
    .video-background {
        top: -80px;
        right: -200px !important; /* Daha çok sağa */
        left: auto;
        width: 350px;
        height: 350px;
        border-radius: 50% 0 0 70%;
        transform: rotate(-15deg);
        z-index: 1;
    }
    
    /* Video slider tam ortada */
    .video-slider {
        position: relative;
        margin: 0 auto;
        width: 300px !important; /* Sabit genişlik */
        max-width: 300px;
        height: 200px;
        z-index: 3;
        left: 0;
        right: 0;
    }
    
    /* Media title boyutu */
    .media-title {
        font-size: 2.5rem;
        margin-bottom: 20px;
    }
}

/* 480px ve altında - Küçük mobil */
@media (max-width: 480px) {
    /* Kırmızı shape daha çok sağa */
    .video-background {
        top: -60px;
        right: -180px !important;
        width: 280px;
        height: 280px;
    }
    
    /* Video slider daha küçük ama ortada */
    .video-slider {
        width: 260px !important;
        max-width: 260px;
        height: 180px;
    }
    
    /* Media title daha küçük */
    .media-title {
        font-size: 2rem;
        margin-bottom: 15px;
    }
    
    /* Açıklama metni */
    .media-description p {
        font-size: 0.9rem;
        line-height: 1.4;
        margin-bottom: 20px;
    }
    
    /* YouTube butonu */
    .youtube-btn {
        padding: 10px 20px;
        font-size: 0.8rem;
    }
}

/* 360px ve altında - Çok küçük ekranlar */
@media (max-width: 360px) {
    /* Kırmızı shape pozisyonu */
    .video-background {
        top: -50px;
        right: -150px !important;
        width: 220px;
        height: 220px;
    }
    
    /* Video slider en küçük boyut */
    .video-slider {
        width: 220px !important;
        max-width: 220px;
        height: 160px;
    }
    
    /* Media title en küçük */
    .media-title {
        font-size: 1.8rem;
    }
    
    /* Section container padding */
    .media-section .section-container {
        padding: 60px 10px;
    }
}