/* Photos Page Specific Styles */

/* Page Header */
.page-header {
    padding: 10rem 0 5rem;
    background: var(--darker-bg);
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.page-header-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.page-title {
    font-size: 4rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    letter-spacing: 1px;
}

/* Photos Section */
.photos-section {
    padding: 5rem 0;
    background: var(--dark-bg);
}

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

/* Photo Project */
.photo-project {
    margin-bottom: 5rem;
}

.photo-project:last-child {
    margin-bottom: 0;
}

.project-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.project-title {
    font-size: 2rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.project-desc {
    font-size: 1rem;
    color: var(--text-muted);
    font-style: italic;
}

/* Photo Grid */
.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.photo-item {
    aspect-ratio: 16/10;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    position: relative;
    background: var(--darker-bg);
}

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

.photo-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(201, 169, 98, 0);
    transition: background 0.3s ease;
}

.photo-item:hover img {
    transform: scale(1.08);
}

.photo-item:hover::after {
    background: rgba(201, 169, 98, 0.1);
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 2rem;
}

.lightbox.active {
    display: flex;
}

.lightbox-img {
    max-width: 90%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 4px;
}

.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 3rem;
    color: var(--text-light);
    cursor: pointer;
    transition: color 0.3s ease;
    line-height: 1;
}

.lightbox-close:hover {
    color: var(--primary-color);
}

.lightbox-caption {
    margin-top: 1.5rem;
    font-size: 1.1rem;
    color: var(--text-muted);
    text-align: center;
}

/* Active Nav Link */
.nav-link.active {
    color: var(--primary-color);
}

.nav-link.active::after {
    width: 100%;
}

/* Responsive */
@media (max-width: 1024px) {
    .photo-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-title {
        font-size: 2.5rem;
    }

    .project-title {
        font-size: 1.5rem;
    }

    .photo-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 1rem;
    }

    .lightbox-close {
        top: 1rem;
        right: 1rem;
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .photo-grid {
        grid-template-columns: 1fr;
    }
}
