/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.nav-links {
    display: flex;
    justify-content: center;
    gap: 3rem;
    list-style: none;
}

.nav-link {
    text-decoration: none;
    color: #666;
    font-weight: 400;
    font-size: 1rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #000;
}

.nav-link.active {
    color: #000;
    font-weight: 500;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #000;
}

/* Main content */
main {
    margin-top: 80px;
    min-height: calc(100vh - 80px - 200px);
    background-color: #fff;
}

.section {
    display: none;
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    background-color: #fff;
}

.section.active {
    display: block;
}

.section-title {
    font-size: 3rem;
    font-weight: 300;
    text-align: center;
    margin-bottom: 4rem;
    letter-spacing: -0.02em;
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Photo grid - True masonry layout */
.photo-grid {
    max-width: 800px;
    margin: 0 auto;
    column-count: 2; /* Creates 2 columns */
    column-gap: 1rem; /* Gap between columns */
}

.photo-item {
    display: block;
    margin-bottom: 1rem; /* Gap between items */
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
    cursor: pointer;
    break-inside: avoid; /* Prevents photos from breaking across columns */
    page-break-inside: avoid; /* For older browsers */
}

.photo-item:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.photo-item img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Contact Section */
.contact-section {
    background: #f9f9f9;
    padding: 4rem 2rem;
    text-align: center;
}

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

.contact-title {
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    color: #333;
}

.contact-info {
    margin-bottom: 2rem;
}

.contact-info p {
    margin-bottom: 0.5rem;
    color: #666;
}

.contact-info a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
}

.contact-info a:hover {
    text-decoration: underline;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.social-link {
    color: #666;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: #333;
}

/* Copyright */
.copyright {
    text-align: center;
    padding: 2rem;
    background: #fff;
}

.copyright p {
    color: #666;
    font-size: 0.9rem;
    font-weight: 400;
}

/* Lightbox styles */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    animation: fadeIn 0.3s ease forwards;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    padding: 10px;
    transition: color 0.3s ease;
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.lightbox-close:hover {
    color: #ccc;
}

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

/* Loading animation */
.loading {
    text-align: center;
    padding: 2rem;
    color: #666;
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.loading::after {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #333;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-left: 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive design */
@media (max-width: 768px) {
    .nav-links {
        gap: 2rem;
    }
    
    .section {
        padding: 2rem 1rem;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .photo-grid {
        column-count: 1; /* Single column on mobile */
        column-gap: 0.75rem;
        max-width: 100%;
    }
    
    .photo-item {
        margin-bottom: 0.75rem;
    }
    
    .contact-section {
        padding: 2rem 1rem;
    }
    
    .social-links {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .lightbox-close {
        top: -40px;
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .nav-links {
        gap: 1.5rem;
    }
    
    .nav-link {
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .photo-grid {
        column-gap: 0.5rem;
    }
    
    .photo-item {
        margin-bottom: 0.5rem;
    }
} 