/* Gallery Page Specific Styles */

/* Page Header */
.page-header {
    background: linear-gradient(135deg, rgba(24, 67, 57, 0.85) 0%, rgba(161, 179, 203, 0.60) 100%), url('../logos/event.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: var(--white);
    padding: calc(var(--section-space) + 2rem) 0 var(--section-space);
    text-align: center;
    margin-top: 0;
    position: relative;
    overflow: hidden;
}

.page-header h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    opacity: 0;
    animation: fadeInUp 1s ease 0.5s forwards;
}

.page-header p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    opacity: 0;
    animation: fadeInUp 1s ease 0.7s forwards;
}

.page-header .container {
    position: relative;
    z-index: 2;
}

/* Coming Soon Section */
.coming-soon {
    padding: var(--section-space) 0;
    background: var(--white);
    text-align: center;
}

.coming-soon-content {
    max-width: 600px;
    margin: 0 auto;
}

.coming-soon-content i {
    font-size: 5rem;
    color: var(--rock-blue);
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeInUp 1s ease 0.2s forwards;
}

.coming-soon-content h2 {
    color: var(--golden-green);
    font-size: 2.5rem;
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeInUp 1s ease 0.4s forwards;
}

.coming-soon-content p {
    font-size: 1.2rem;
    color: var(--steel-grey);
    margin-bottom: 3rem;
    line-height: 1.8;
    opacity: 0;
    animation: fadeInUp 1s ease 0.6s forwards;
}

.coming-soon-content .cta-button {
    opacity: 0;
    animation: fadeInUp 1s ease 0.8s forwards;
}

/* CTA Button */
.cta-button {
    display: inline-block;
    background: var(--rock-blue);
    color: var(--white);
    padding: 1.2rem 2.5rem;
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.cta-button:hover {
    background: var(--golden-green);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(24, 67, 57, 0.2);
}

/* Active Navigation Link */
.nav-link.active {
    color: var(--golden-green);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--golden-green);
}

/* Gallery Section */
.gallery-section {
    padding: calc(var(--section-space) - 2rem) 0 var(--section-space);
    background: #f8fafc;
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--grid-gap);
    margin-top: 2rem;
}

.gallery-item {
    position: relative;
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    aspect-ratio: 1;
}

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

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(24, 67, 57, 0.8) 0%, rgba(161, 179, 203, 0.6) 100%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-icon {
    align-self: flex-start;
    color: var(--white);
    font-size: 1.5rem;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.8rem;
    border-radius: 50%;
    backdrop-filter: blur(10px);
}

.gallery-content {
    color: var(--white);
}

.gallery-content h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.gallery-content p {
    font-size: 0.9rem;
    opacity: 0.9;
    line-height: 1.4;
}

/* Loading and No Images States */
.loading, .no-images {
    text-align: center;
    padding: 4rem 2rem;
    grid-column: 1 / -1;
}

.loading i {
    font-size: 3rem;
    color: var(--rock-blue);
    margin-bottom: 1rem;
}

.no-images i {
    font-size: 4rem;
    color: var(--steel-grey);
    margin-bottom: 1.5rem;
}

.no-images h3 {
    color: var(--golden-green);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.no-images p {
    color: var(--steel-grey);
    font-size: 1.1rem;
}

/* Filter Buttons */
.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: var(--white);
    color: var(--golden-green);
    padding: 0.8rem 1.5rem;
    border: 2px solid var(--dawn-pink);
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--rock-blue);
    color: var(--white);
    border-color: var(--rock-blue);
    transform: translateY(-2px);
}

/* Load More Button */
.load-more-container {
    text-align: center;
    margin-top: 3rem;
}

.load-more-btn {
    background: var(--rock-blue);
    color: var(--white);
    padding: 1rem 2rem;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.load-more-btn:hover {
    background: var(--golden-green);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(24, 67, 57, 0.2);
}

/* Image Modal */
.image-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    backdrop-filter: blur(10px);
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s ease;
}

.image-modal.show {
    visibility: visible;
    opacity: 1;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.modal-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.5);
    color: var(--white);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: scale(1.1);
}

.modal-image-container {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
}

.modal-image-container img {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
}

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

.modal-nav-btn {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    pointer-events: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-nav-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.modal-info {
    padding: 2rem;
    background: var(--white);
}

.modal-info h3 {
    color: var(--golden-green);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.modal-info p {
    color: var(--steel-grey);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.modal-meta {
    display: flex;
    gap: 2rem;
    font-size: 0.9rem;
    color: var(--rock-blue);
}

.modal-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

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

@media (max-width: 768px) {
    .page-header {
        padding: 6rem 0 3rem;
    }
    
    .page-header h1 {
        font-size: 2.5rem;
    }
    
    .gallery-section {
        padding: 3rem 0 4rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .gallery-overlay {
        padding: 1rem;
    }
    
    .gallery-content h3 {
        font-size: 1rem;
    }
    
    .gallery-content p {
        font-size: 0.8rem;
    }
    
    .gallery-filters {
        gap: 0.5rem;
        margin-bottom: 1.5rem;
    }
    
    .filter-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.8rem;
    }
    
    .modal-content {
        max-width: 95vw;
        max-height: 95vh;
    }
    
    .modal-info {
        padding: 1.5rem;
    }
    
    .modal-info h3 {
        font-size: 1.3rem;
    }
    
    .modal-meta {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .page-header h1 {
        font-size: 2rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .gallery-overlay {
        padding: 0.8rem;
    }
    
    .gallery-icon {
        font-size: 1.2rem;
        padding: 0.6rem;
    }
    
    .gallery-content h3 {
        font-size: 0.9rem;
    }
    
    .gallery-content p {
        font-size: 0.75rem;
    }
    
    .filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.75rem;
    }
    
    .modal-nav-btn {
        width: 40px;
        height: 40px;
    }
    
    .modal-close {
        width: 35px;
        height: 35px;
        top: 0.5rem;
        right: 0.5rem;
    }
    
    .modal-info {
        padding: 1rem;
    }
    
    .modal-info h3 {
        font-size: 1.1rem;
    }
}
