/* ═══════════════════════════════════════
   Altunsa Media Widget
   ═══════════════════════════════════════ */

.altunsa-media-section {
    padding: 80px 0;
}

.altunsa-media-header {
    text-align: center;
    margin-bottom: 60px;
}

.altunsa-media-title {
    font-size: 3rem;
    font-weight: 700;
    color: #db1222;
    margin: 0;
}

/* ── Kart ── */
.altunsa-media-card {
    position: relative;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    height: 280px;
}

.altunsa-media-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

/* ── Görsel ── */
.altunsa-media-image {
    position: relative;
    height: 100%;
    overflow: hidden;
}

.altunsa-media-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.altunsa-media-card:hover .altunsa-media-image img {
    transform: scale(1.1);
}

/* ── Play Butonu ── */
.altunsa-media-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: rgba(196, 30, 58, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 2;
}

.altunsa-media-play i {
    color: white;
    font-size: 24px;
    margin-left: 3px;
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900;
}

.altunsa-media-card:hover .altunsa-media-play {
    background: rgba(196, 30, 58, 1);
    transform: translate(-50%, -50%) scale(1.1);
}

/* ── Overlay ── */
.altunsa-media-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 40px 20px 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    z-index: 3;
}

.altunsa-media-card:hover .altunsa-media-overlay {
    transform: translateY(0);
}

.altunsa-media-info h4 {
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0 0 5px 0;
}

.altunsa-media-info p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    margin: 0;
}

/* ── Video Modal ── */
.altunsa-media-modal .modal-content {
    border: none;
    border-radius: 15px;
    overflow: hidden;
}

.altunsa-media-modal .modal-header {
    background: #c41e3a;
    color: white;
    border-bottom: none;
}

.altunsa-media-modal .modal-header .modal-title {
    color: white;
}

.altunsa-media-modal .modal-header .btn-close {
    filter: invert(1);
}

/* ── Scroll Animation ── */
.altunsa-media-section [data-altunsa-animate] {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.altunsa-media-section [data-altunsa-animate].altunsa-animated {
    opacity: 1;
    transform: translateY(0);
}

.elementor-editor-active .altunsa-media-section [data-altunsa-animate] {
    opacity: 1;
    transform: translateY(0);
}

/* ── Responsive ── */
@media (max-width: 992px) {
    .altunsa-media-title {
        font-size: 2.5rem;
    }

    .altunsa-media-card {
        height: 260px;
    }

    .altunsa-media-play {
        width: 60px;
        height: 60px;
    }

    .altunsa-media-play i {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    .altunsa-media-section {
        padding: 60px 0;
    }

    .altunsa-media-title {
        font-size: 2rem;
    }

    .altunsa-media-header {
        margin-bottom: 40px;
    }

    .altunsa-media-card {
        height: 240px;
    }

    .altunsa-media-play {
        width: 50px;
        height: 50px;
    }

    .altunsa-media-play i {
        font-size: 18px;
    }

}

@media (max-width: 576px) {
    .altunsa-media-title {
        font-size: 1.8rem;
    }

    .altunsa-media-card {
        height: 220px;
    }

    .altunsa-media-info h4 {
        font-size: 1rem;
    }

    .altunsa-media-info p {
        font-size: 0.8rem;
    }
}
