/* Banner superior */
.full-width-banner {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    overflow: hidden;
    max-height: 50vh;
}

.responsive-banner {
    width: 100%;
    height: auto;
    display: block;
}

/* Secciones de galería */
.gallery-section {
    padding: 3rem 0;
}

.gallery-section h3 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 2.5rem;
    font-size: 2rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.gallery-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-light);
    border-radius: 2px;
}

/* Grid de galería */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.8rem;
}

.gallery-item {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.gallery-item .image-container {
    width: 100%;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Sección de video */
.video-section {
    padding: 2rem 0;
}

.video-container {
    position: relative;
    width: 100%;
    max-width: 900px; /* Ancho máximo para el video */
    margin: 0 auto;
    padding-bottom: 56.25%; /* Aspect ratio 16:9 */
    height: 0;
    background: #000;
    border-radius: 10px;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* --- Responsive --- */
@media (max-width: 992px) {
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .gallery-grid { grid-template-columns: 1fr; }
    .gallery-section h3 { font-size: 1.8rem; }
}
