/* --- DISEÑO CINEMATOGRÁFICO PARA FOTOS HORIZONTALES --- */

.body-galeria-pro {
    background: transparent !important;
}

.mp-main-container {
    padding: 140px 5% 80px;
    max-width: 1600px;
    margin: 0 auto;
}

.mp-title-section h1 {
    font-family: 'Archivo Black', sans-serif;
    font-size: 4rem;
    margin: 0;
}

.mp-title-section span {
    color: #f5a623;
}

.mp-divider {
    width: 100px;
    height: 4px;
    background: #f5a623;
    margin: 20px 0 40px;
}

/* VIDEOS EN FORMATO PANORÁMICO */
.mp-video-cinema-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.video-cinema {
    flex: 1 1 450px;
    height: 300px;
    position: relative;
    border: 2px solid rgba(255,255,255,0.1);
    border-radius: 4px;
    overflow: hidden;
}

.video-cinema video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cinema-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #f5a623;
    color: #000;
    font-size: 11px;
    font-weight: 900;
    padding: 4px 12px;
}

/* GRID FLEXIBLE (ESTILO FLUIDO) */
.mp-flex-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.mp-flex-item {
    flex: 1 1 350px; /* Base de 350px, pero crecen para llenar la fila */
    height: 250px;
    position: relative;
    transition: 0.5s ease;
}

.mp-photo-card {
    width: 100%;
    height: 100%;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.2);
    position: relative;
}

.mp-photo-card img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Mantiene la horizontalidad sin deformar */
    transition: 0.8s transform ease;
}

/* EFECTO HOVER */
.mp-flex-item:hover {
    flex: 1 1 500px; /* La foto que tocas se expande horizontalmente */
    z-index: 10;
}

.mp-photo-card:hover img {
    transform: scale(1.1);
}

.mp-photo-info {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: #fff;
    padding: 20px 15px 10px;
    font-size: 12px;
    letter-spacing: 1px;
    opacity: 0;
    transition: 0.3s;
}

.mp-photo-card:hover .mp-photo-info {
    opacity: 1;
}

/* RESPONSIVO */
@media (max-width: 768px) {
    .mp-title-section h1 { font-size: 2.5rem; }
    .mp-flex-item {
        flex: 1 1 100%; /* Una foto por fila en móvil */
        height: 200px;
    }
    .mp-flex-item:hover {
        flex: 1 1 100%;
    }
}

/* ANIMACIONES */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: 0.8s all ease;
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}