﻿/* ==============================
   GALERÍA COMPLETA - ESTILO PROFESIONAL
============================== */

/* === CABECERA === */
.gallery-full-header {
    text-align: center;
    padding: 60px 20px 60px 20px;
}

    .gallery-full-header .section-subtitle {
        font-size: 1.2rem;
        color: #e74c3c;
        text-transform: uppercase;
        letter-spacing: 2px;
        font-weight: 600;
        margin-bottom: 12px;
    }

        .gallery-full-header .section-subtitle i {
            margin-right: 10px;
            color: #e74c3c;
        }

    .gallery-full-header .section-title {
        font-size: 2.8rem;
        color: #333;
        font-weight: 700;
        margin-bottom: 20px;
    }

    .gallery-full-header .section-description {
        max-width: 800px;
        margin: 0 auto 40px auto;
        color: #555;
        font-size: 1.1rem;
        line-height: 1.6;
    }

/* === GRID DE IMÁGENES === */
.gallery-full__grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.gallery-full__item {
    flex: 1 1 280px;
    max-width: 350px;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    cursor: pointer;
}

    .gallery-full__item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.3s ease-in-out;
        display: block;
    }

    .gallery-full__item:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    }

    .gallery-full__item img:hover {
        transform: scale(1.05);
    }

/* === OVERLAY CON ICONO === */
.gallery-full__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.35);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

    .gallery-full__overlay i {
        color: #fff;
        font-size: 2rem;
    }

.gallery-full__item:hover .gallery-full__overlay {
    opacity: 1;
}

/* === BOTÓN REGRESAR AL INICIO === */
.gallery-full-actions {
    margin-top: 50px;
    display: flex;
    justify-content: center;
}

    .gallery-full-actions .btn {
        display: inline-block;
        padding: 14px 32px;
        background-color: #e74c3c;
        color: #fff;
        text-decoration: none;
        font-size: 1.1rem;
        font-weight: 600;
        border-radius: 50px;
        transition: background-color 0.3s ease, transform 0.2s ease;
    }

        .gallery-full-actions .btn:hover {
            background-color: #c0392b;
            transform: scale(1.05);
        }

/* === LIGHTBOX === */
.gallery-lightbox-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.95);
    justify-content: center;
    align-items: center;
    z-index: 9999;
    overflow: auto;
    padding: 20px;
}

    .gallery-lightbox-modal.active {
        display: flex;
    }

.modal-content {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .modal-content img {
        max-width: 90vw;
        max-height: 90vh;
        width: auto;
        height: auto;
        border-radius: 10px;
        object-fit: contain;
    }

.close-btn {
    position: absolute;
    top: 10px;
    right: 20px;
    color: #fff;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .gallery-full-header {
        padding: 50px 15px 40px 15px;
    }

        .gallery-full-header .section-title {
            font-size: 2.4rem;
        }

        .gallery-full-header .section-subtitle {
            font-size: 1.1rem;
        }

        .gallery-full-header .section-description {
            font-size: 1rem;
            margin-bottom: 35px;
        }
}

@media (max-width: 480px) {
    .gallery-full__item {
        flex: 1 1 100%;
        max-width: 100%;
    }
}
