/* Photography Page Styles */

:root {
    --primary-bg: #0a0a0a;
    --secondary-bg: #1a1a1a;
    --tertiary-bg: #2a2a2a;
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --accent-color: #e8b923;
    --hover-bg: rgba(232, 185, 35, 0.1);
    --transition: 0.3s ease;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    padding: 4rem 2rem;
    text-align: center;
    border-bottom: 2px solid var(--accent-color);
    margin-bottom: 3rem;
}

.hero h1 {
    font-size: 3rem;
    color: var(--text-primary);
    margin: 0;
    font-weight: 800;
    letter-spacing: 2px;
}

.hero p {
    color: var(--text-secondary);
    font-size: 1.2rem;
    margin: 1rem 0 0 0;
    font-style: italic;
}

/* Gallery Container */
.gallery-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

.photo-gallery {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

/* Gallery Section */
.gallery-section {
    animation: fadeIn 0.6s ease;
}

.gallery-title {
    font-size: 2rem;
    color: var(--text-primary);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--accent-color);
    letter-spacing: 1px;
}

/* Copyright Notice */
.copyright-notice {
    max-width: 1400px;
    margin: 4rem auto 2rem;
    padding: 2rem;
    background: rgba(232, 185, 35, 0.05);
    border-left: 4px solid var(--accent-color);
    border-radius: 4px;
    text-align: center;
}

.copyright-notice p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Tiles Grid */
.tiles-grid {
    display: block;
    animation: slideUp 0.6s ease;
}

.tiles-grid.masonry {
    column-count: auto;
}

/* Photo Tile */
.photo-tile {
    position: relative;
    border-radius: 0px;
    overflow: hidden;
    background: var(--tertiary-bg);
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    transition: all var(--transition);
    border: 1px solid var(--tertiary-bg);
    float: left;
    margin: 0.25rem;
    width: calc(25% - 0.5rem);
}

.photo-tile img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform var(--transition), filter var(--transition);
}

.photo-tile:hover {
    box-shadow: 0 8px 30px rgba(232, 185, 35, 0.25);
    border-color: var(--accent-color);
}

.photo-tile:hover img {
    transform: scale(1.08);
    filter: brightness(0.85);
}

.tile-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.9) 50%);
    padding: 2rem 1.5rem 1.5rem;
    color: var(--text-primary);
    opacity: 0;
    transition: opacity var(--transition);
    display: flex;
    align-items: flex-end;
    height: 100%;
}

.tile-overlay p {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.photo-tile:hover .tile-overlay {
    opacity: 1;
}

/* 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.95);
    animation: fadeIn 0.3s ease;
}

.lightbox.active {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#lightbox-image {
    max-width: 90%;
    max-height: 85vh;
    object-fit: contain;
    animation: slideUp 0.3s ease;
}

.lightbox .close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--text-primary);
    cursor: pointer;
    transition: color var(--transition);
    z-index: 1001;
}

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

.lightbox-nav {
    position: absolute;
    bottom: 2rem;
    display: flex;
    gap: 2rem;
    z-index: 1001;
}

.nav-btn {
    background: rgba(232, 185, 35, 0.2);
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    padding: 0.75rem 1.5rem;
    font-size: 1.2rem;
    cursor: pointer;
    border-radius: 4px;
    transition: all var(--transition);
}

.nav-btn:hover {
    background: rgba(232, 185, 35, 0.3);
    box-shadow: 0 0 10px rgba(232, 185, 35, 0.5);
}

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

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

/* Responsive Design */
@media (max-width: 1024px) {
    .photo-tile {
        width: calc(33.333% - 0.5rem);
    }

    .hero h1 {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 2.5rem 1.5rem;
        margin-bottom: 2rem;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .photo-tile {
        width: calc(50% - 0.5rem);
    }

    .gallery-title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .gallery-container {
        padding: 0 1rem;
    }

    .lightbox-nav {
        bottom: 1rem;
        gap: 1rem;
    }

    .nav-btn {
        padding: 0.5rem 1rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.5rem;
        letter-spacing: 1px;
    }

    .hero p {
        font-size: 0.9rem;
    }

    .photo-tile {
        width: calc(100% - 0.5rem);
    }

    .gallery-title {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }

    #lightbox-image {
        max-width: 95%;
    }

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

/* Dark mode by default already applied */
body {
    background-color: var(--primary-bg);
    color: var(--text-primary);
}
