/* ===== GALLERY PAGE STYLES ===== */

/* Gallery Hero */
.gallery-hero {
    height: 50vh;
    min-height: 400px;
    background: 
        linear-gradient(135deg, rgba(10, 10, 10, 0.85), rgba(26, 26, 26, 0.7)),
        url('https://images.unsplash.com/photo-1604654894610-df63bc536371?w=1920') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 80px;
    position: relative;
}

.gallery-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
}

.gallery-hero-content {
    text-align: center;
    z-index: 2;
}

.gallery-hero-content h1 {
    font-size: 4rem;
    font-family: var(--font-heading);
    color: var(--bright-silver);
    margin-bottom: 15px;
    letter-spacing: 4px;
    text-shadow: 0 0 40px rgba(255, 255, 255, 0.3);
}

.gallery-hero-content p {
    font-size: 1.5rem;
    color: var(--metallic-silver);
    letter-spacing: 3px;
    font-weight: 300;
}

/* Social Links Section */
.gallery-social {
    background: var(--bg-darker);
    padding: 60px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.social-buttons {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.btn-social-lg {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 40px;
    font-size: 1rem;
    border-radius: 15px;
}

.btn-social-lg i {
    font-size: 2.5rem;
}

.social-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.social-text span {
    font-size: 0.85rem;
    opacity: 0.8;
}

.social-text strong {
    font-size: 1.2rem;
    font-weight: 700;
}

.social-note {
    text-align: center;
    color: var(--metallic-silver);
    font-size: 1rem;
    font-style: italic;
}

/* Gallery Page Content */
.gallery-page-content {
    background: var(--bg-dark);
    padding: 80px 0;
}

/* Gallery Filters */
.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 28px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    background: transparent;
    color: var(--metallic-silver);
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
}

.filter-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.4);
    color: var(--bright-silver);
}

.filter-btn.active {
    background: var(--gradient-silver);
    color: var(--black);
    border-color: var(--primary-silver);
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.3);
}

/* Gallery Full Grid */
.gallery-full-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.gallery-full-item {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    cursor: pointer;
    height: 420px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 1;
    transform: scale(1);
    animation: fadeInUp 0.6s ease;
}

.gallery-full-item.hide {
    display: none;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.gallery-full-item:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.8),
        0 0 40px rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.gallery-full-image {
    width: 100%;
    height: 100%;
    position: relative;
}

.gallery-full-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-full-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.95), rgba(26, 26, 26, 0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-full-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
}

.gallery-full-overlay i {
    font-size: 4rem;
    color: var(--bright-silver);
    filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.5));
    animation: zoomIn 0.6s ease;
    position: relative;
    z-index: 1;
}

@keyframes zoomIn {
    from { transform: scale(0) rotate(-180deg); }
    to { transform: scale(1) rotate(0deg); }
}

.gallery-full-item:hover .gallery-full-image img {
    transform: scale(1.15);
    filter: brightness(0.5);
}

.gallery-full-item:hover .gallery-full-overlay {
    opacity: 1;
}

/* Load More Container */
.load-more-container {
    text-align: center;
    margin-top: 60px;
}

.gallery-count {
    font-size: 1.1rem;
    color: var(--metallic-silver);
    margin-bottom: 30px;
}

.gallery-count span {
    color: var(--bright-silver);
    font-weight: 700;
}

/* Gallery CTA */
.gallery-cta {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(232, 232, 232, 0.03));
    padding: 80px 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.gallery-cta h2 {
    font-size: 3rem;
    font-family: var(--font-heading);
    color: var(--bright-silver);
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.gallery-cta p {
    font-size: 1.2rem;
    color: var(--metallic-silver);
    margin-bottom: 40px;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
}

.lightbox.active {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.lightbox-content {
    max-width: 90%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.9);
    animation: zoomIn 0.4s ease;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: var(--bright-silver);
    font-size: 3rem;
    font-weight: 300;
    cursor: pointer;
    transition: var(--transition);
    background: rgba(0, 0, 0, 0.5);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.lightbox-close:hover {
    transform: rotate(90deg) scale(1.1);
    color: var(--primary-silver);
    background: rgba(0, 0, 0, 0.8);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    color: var(--bright-silver);
    border: 2px solid rgba(255, 255, 255, 0.2);
    padding: 15px 20px;
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
    left: 30px;
}

.lightbox-next {
    right: 30px;
}

.lightbox-caption {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--bright-silver);
    font-size: 1.2rem;
    text-align: center;
    padding: 15px 30px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 30px;
}

/* ===== HAMBURGER MENU CON !IMPORTANT ===== */
.hamburger {
    display: none !important;
    flex-direction: column !important;
    gap: 5px !important;
    cursor: pointer !important;
    z-index: 1001 !important;
}

.hamburger span {
    width: 25px !important;
    height: 3px !important;
    background: var(--bright-silver) !important;
    transition: all 0.3s ease !important;
    border-radius: 3px !important;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 968px) {
    /* Hamburger Menu */
    .hamburger {
        display: flex !important;
    }
    
    .nav-menu {
        position: fixed !important;
        top: 70px !important;
        right: -100% !important;
        width: 75% !important;
        height: calc(100vh - 70px) !important;
        background: rgba(10, 10, 10, 0.98) !important;
        backdrop-filter: blur(20px) !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        padding: 50px 40px !important;
        transition: right 0.3s ease !important;
        border-left: 1px solid rgba(183, 110, 121, 0.2) !important;
        overflow-y: auto !important;
    }
    
    .nav-menu.active {
        right: 0 !important;
    }
    
    .nav-menu li {
        width: 100% !important;
        margin: 0 !important;
    }
    
    .nav-link {
        display: block !important;
        color: var(--bright-silver) !important;
        width: 100% !important;
        padding: 18px 0 !important;
        border-bottom: 1px solid rgba(183, 110, 121, 0.15) !important;
        font-size: 1.1rem !important;
    }
    
    .nav-link::after {
        display: none !important;
    }
    
    .nav-menu .btn {
        width: 100% !important;
        text-align: center !important;
        margin-top: 20px !important;
    }

    /* Gallery Adjustments */
    .gallery-hero {
        height: 40vh;
        min-height: 300px;
    }

    .gallery-hero-content h1 {
        font-size: 2.5rem;
    }

    .gallery-hero-content p {
        font-size: 1.1rem;
    }

    .social-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-social-lg {
        width: 100%;
        max-width: 400px;
    }

    .gallery-full-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 20px;
    }

    .gallery-filters {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 10px;
    }

    .filter-btn {
        white-space: nowrap;
    }

    .lightbox-prev,
    .lightbox-next {
        padding: 10px 15px;
        font-size: 1.2rem;
    }

    .lightbox-prev {
        left: 15px;
    }

    .lightbox-next {
        right: 15px;
    }
}

@media (max-width: 576px) {
    .gallery-hero-content h1 {
        font-size: 2rem;
    }

    .gallery-full-grid {
        grid-template-columns: 1fr;
    }

    .gallery-full-item {
        height: 350px;
    }

    .gallery-cta h2 {
        font-size: 2rem;
    }

    .btn-social-lg {
        padding: 15px 25px;
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .social-text {
        align-items: center;
        text-align: center;
    }

    .lightbox-close {
        top: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
        font-size: 2rem;
    }

    .lightbox-content {
        max-width: 95%;
        max-height: 80vh;
    }
}