.galeria-completa-seccion {
    padding: 6rem 2rem;
    min-height: 100vh;
}

.galeria-completa-contenedor {
    max-width: 1400px;
    margin: 0 auto;
}

/* Header */
.galeria-completa-header {
    text-align: center;
    margin-bottom: 3rem;
    animation: galeria-aparecer 0.8s ease;
}

.galeria-completa-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: color-mix(in srgb, var(--uesca-primary) 10%, transparent);
    color: var(--uesca-primary);
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid color-mix(in srgb, var(--uesca-primary) 20%, transparent);
}

.galeria-completa-titulo {
    font-size: 3rem;
    font-weight: 800;
    color: var(--uesca-dark);
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--uesca-primary), var(--uesca-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.galeria-completa-descripcion {
    font-size: 1.2rem;
    color: #64748b;
    max-width: 700px;
    margin: 0 auto;
}

/* Filtros */
.galeria-completa-filtros {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.galeria-completa-filtro-btn {
    background: var(--uesca-light);
    color: var(--uesca-dark);
    border: 2px solid color-mix(in srgb, var(--uesca-primary) 20%, transparent);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.galeria-completa-filtro-btn:hover,
.galeria-completa-filtro-btn.activo {
    background: linear-gradient(135deg, var(--uesca-primary), var(--uesca-primary-dark));
    color: var(--uesca-light);
    border-color: var(--uesca-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(134, 47, 46, 0.3);
}

/* Secciones por tipo de habitación */
.galeria-completa-categoria {
    margin-bottom: 4rem;
    animation: galeria-aparecer 1s ease;
}

.galeria-completa-categoria-titulo {
    font-size: 2rem;
    font-weight: 700;
    color: var(--uesca-primary);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid color-mix(in srgb, var(--uesca-primary) 20%, transparent);
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

/* Grid de imágenes */
.galeria-completa-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.galeria-completa-item {
    position: relative;
    aspect-ratio: 4/3;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.galeria-completa-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(134, 47, 46, 0.2);
}

.galeria-completa-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.galeria-completa-item:hover img {
    transform: scale(1.05);
}

/* Overlay */
.galeria-completa-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.galeria-completa-item:hover .galeria-completa-overlay {
    opacity: 1;
}

.galeria-completa-item-titulo {
    color: var(--uesca-light);
    font-weight: 600;
    font-size: 0.95rem;
}

/* Badge de tipo */
.galeria-completa-tipo-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--uesca-primary);
    color: var(--uesca-light);
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.galeria-completa-tipo-badge.video {
    background: var(--uesca-primary);
}

.galeria-completa-tipo-badge.imagen {
    background: var(--uesca-secondary);
}

/* Icono de play para videos */
.galeria-completa-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--uesca-primary), var(--uesca-primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(134, 47, 46, 0.4);
    z-index: 2;
    transition: all 0.3s ease;
}

.galeria-completa-item:hover .galeria-completa-play-icon {
    transform: translate(-50%, -50%) scale(1.1);
}

.galeria-completa-play-icon::before {
    content: '';
    width: 0;
    height: 0;
    border-left: 18px solid var(--uesca-light);
    border-top: 11px solid transparent;
    border-bottom: 11px solid transparent;
    margin-left: 4px;
}

/* Modal */
.galeria-completa-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.galeria-completa-modal-activo {
    display: flex;
    animation: galeria-modal-aparecer 0.3s ease;
}

.galeria-completa-modal-contenido {
    position: relative;
    width: 90%;
    max-width: 1100px;
    max-height: 90vh;
    background: var(--uesca-dark);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
    animation: galeria-modal-contenido-aparecer 0.4s ease 0.1s both;
}

.galeria-completa-modal-video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.galeria-completa-modal-video-wrapper iframe,
.galeria-completa-modal-video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.galeria-completa-modal-imagen-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    max-height: 90vh;
}

.galeria-completa-modal-imagen-wrapper img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 8px;
}

.galeria-completa-modal-cerrar {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: var(--uesca-primary);
    color: var(--uesca-light);
    border: 3px solid var(--uesca-light);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.8rem;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
    z-index: 10002;
}

.galeria-completa-modal-cerrar:hover {
    background: var(--uesca-primary-dark);
    transform: rotate(90deg) scale(1.15);
}

/* Navegación en modal */
.galeria-completa-modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    color: var(--uesca-light);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    z-index: 10001;
}

.galeria-completa-modal-nav:hover {
    background: var(--uesca-primary);
    transform: translateY(-50%) scale(1.1);
}

.galeria-completa-modal-nav-prev {
    left: 2rem;
}

.galeria-completa-modal-nav-next {
    right: 2rem;
}

/* Animaciones */
@keyframes galeria-aparecer {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes galeria-modal-aparecer {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes galeria-modal-contenido-aparecer {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .galeria-completa-seccion {
        padding: 3rem 1rem;
    }

    .galeria-completa-titulo {
        font-size: 2rem;
    }

    .galeria-completa-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1rem;
    }

    .galeria-completa-filtros {
        gap: 0.5rem;
    }

    .galeria-completa-filtro-btn {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }

    .galeria-completa-modal-nav {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .galeria-completa-modal-nav-prev {
        left: 1rem;
    }

    .galeria-completa-modal-nav-next {
        right: 1rem;
    }
}

@media (max-width: 480px) {
    .galeria-completa-grid {
        grid-template-columns: 1fr;
    }
}