/* Gallery page specific styles */

.navigation {
    margin-bottom: 2em;
}

.navigation a {
    font-family: 'DM Mono', monospace;
    font-size: 1.1em;
    text-decoration: none;
    color: #888;
    transition: color 0.3s ease;
}

.navigation a:hover {
    color: white;
}

.gallery-container {
    margin-top: 2em;
    column-count: 3;
    column-gap: 1.5em;
    column-fill: balance;
}

.gallery-item {
    break-inside: avoid;
    margin-bottom: 1.5em;
    border-radius: 1em;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid #333;
    transition: all 0.3s ease;
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-5px);
    border-color: #555;
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

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

.gallery-overlay {
    padding: 1.5em;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
}

.gallery-overlay h3 {
    font-size: 1.2em;
    font-weight: 400;
    margin: 0 0 0.5em 0;
    color: white;
}

.gallery-overlay p {
    font-family: 'DM Mono', monospace;
    font-size: 0.9em;
    line-height: 1.5em;
    color: #ccc;
    margin: 0;
}

.gallery-note {
    margin-top: 3em;
    padding: 2em;
    border: 1px solid #333;
    border-radius: 1em;
    background: rgba(255, 255, 255, 0.02);
    text-align: center;
}

.gallery-note p {
    margin: 0;
    color: #888;
    font-family: 'DM Mono', monospace;
    font-size: 1em;
}

/* Lightbox styles */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 1em;
    padding: 2em;
    border: 1px solid #333;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 70vh;
    border-radius: 0.5em;
    display: block;
    margin: 0 auto;
}

.lightbox-info {
    margin-top: 1.5em;
    text-align: center;
}

.lightbox-info h3 {
    font-size: 1.5em;
    font-weight: 400;
    margin: 0 0 0.5em 0;
    color: white;
}

.lightbox-info p {
    font-family: 'DM Mono', monospace;
    font-size: 1em;
    color: #ccc;
    margin: 0;
    line-height: 1.6em;
}

.lightbox-close {
    position: absolute;
    top: 1em;
    right: 1em;
    background: none;
    border: none;
    color: white;
    font-size: 2em;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: background 0.3s ease;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Responsive design */
@media (max-width: 1200px) {
    .gallery-container {
        column-count: 2;
    }
}

@media (max-width: 768px) {
    .gallery-container {
        column-count: 1;
        column-gap: 1em;
    }
    
    .gallery-item {
        margin-bottom: 1em;
    }
    
    .gallery-overlay {
        padding: 1em;
    }
    
    .lightbox-content {
        max-width: 95%;
        padding: 1em;
    }
    
    .lightbox-info h3 {
        font-size: 1.2em;
    }
    
    .lightbox-info p {
        font-size: 0.9em;
    }
}

/* Loading animation for images */
.gallery-item img {
    opacity: 0;
    animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* Staggered animation for gallery items */
.gallery-item {
    animation: slideUp 0.6s ease forwards;
    opacity: 0;
    transform: translateY(30px);
}

.gallery-item:nth-child(1) { animation-delay: 0.1s; }
.gallery-item:nth-child(2) { animation-delay: 0.2s; }
.gallery-item:nth-child(3) { animation-delay: 0.3s; }
.gallery-item:nth-child(4) { animation-delay: 0.4s; }
.gallery-item:nth-child(5) { animation-delay: 0.5s; }
.gallery-item:nth-child(6) { animation-delay: 0.6s; }
.gallery-item:nth-child(7) { animation-delay: 0.7s; }
.gallery-item:nth-child(8) { animation-delay: 0.8s; }
.gallery-item:nth-child(9) { animation-delay: 0.9s; }
.gallery-item:nth-child(10) { animation-delay: 1.0s; }

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
} 