/* Gallery-specific styles */
.navigation {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #64ffda;
    text-decoration: none;
    padding: 10px 20px;
    border: 2px solid #64ffda;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.nav-link:hover {
    background: #64ffda;
    color: #000;
    text-decoration: none;
}

/* Gallery Grid */
.gallery-section {
    margin-bottom: 80px;
    padding: 0 20px;
}

.section-category {
    margin-bottom: 60px;
}

.category-title {
    font-size: 2rem;
    color: #64ffda;
    text-align: center;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-weight: 600;
}

.category-title i {
    font-size: 1.8rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.gallery-item {
    background: linear-gradient(135deg, #1e1e1e 0%, #2a2a2a 100%);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid #333;
    transition: all 0.3s ease;
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(100, 255, 218, 0.1);
    border-color: #64ffda;
}

.gallery-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.gallery-info {
    padding: 20px;
}

.gallery-title {
    color: #64ffda;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.gallery-description {
    color: #e0e0e0;
    font-size: 0.95rem;
    line-height: 1.5;
}

.gallery-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
}

.gallery-tag {
    background: #333;
    color: #64ffda;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    border: 1px solid #64ffda;
}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 80%;
    border-radius: 10px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1001;
}

.close-btn:hover {
    color: #64ffda;
}

.lightbox-caption {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    text-align: center;
    background: rgba(0, 0, 0, 0.7);
    padding: 10px 20px;
    border-radius: 10px;
    max-width: 80%;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    pointer-events: none;
}

.nav-btn {
    background: rgba(100, 255, 218, 0.8);
    color: #000;
    border: none;
    font-size: 24px;
    padding: 15px 20px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: all;
}

.nav-btn:hover {
    background: #64ffda;
    transform: scale(1.1);
}

.nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* Empty Gallery State */
.empty-gallery {
    text-align: center;
    padding: 80px 20px;
    color: #888;
}

.empty-gallery i {
    font-size: 4rem;
    color: #64ffda;
    margin-bottom: 20px;
}

.empty-gallery h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #e0e0e0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .gallery-image {
        height: 200px;
    }
    
    .lightbox-content {
        max-width: 95%;
        max-height: 70%;
    }
    
    .close-btn {
        top: 10px;
        right: 20px;
        font-size: 30px;
    }
    
    .nav-btn {
        font-size: 18px;
        padding: 10px 15px;
    }
}

@media (max-width: 480px) {
    .gallery-info {
        padding: 15px;
    }
    
    .gallery-title {
        font-size: 1.1rem;
    }
    
    .gallery-description {
        font-size: 0.9rem;
    }
}

/* Animation for gallery items */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.gallery-item {
    animation: fadeInUp 0.6s ease-out;
}