/* GALLERY PAGE STYLES */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Georgia', serif;
    background-color: #1a1a1a;
    color: white;
    padding-top: 100px;
    overflow-x: hidden;
}

/* Header Styles (same as other pages) */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    background-color: rgba(49, 49, 49, 0.98);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    min-height: 100px;
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    margin-right: 20px;
}

.logo img {
    width: 80px;
    height: 80px;
    margin-right: 15px;
    object-fit: contain;
}

.title {
    flex-shrink: 0;
    white-space: nowrap;
}

.title h1 {
    font-size: clamp(1.8rem, 2vw, 2.5rem);
    letter-spacing: 2px;
    color: rgb(212, 212, 212);
    margin-bottom: 5px;
    line-height: 1.2;
}

.title p {
    font-size: clamp(1.2rem, 1.5vw, 1.8rem);
    letter-spacing: 1px;
    color: rgb(180, 180, 180);
    line-height: 1.2;
}

.hamburger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
    z-index: 1002;
}

.hamburger-menu span {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 3px 0;
    transition: 0.3s;
}

.nav-menu {
    flex-shrink: 0;
    margin-left: auto;
}

.nav-menu ul {
    list-style: none;
    display: flex;
    gap: 30px;
    align-items: center;
    padding: 0;
    margin: 0;
}

.nav-menu a {
    text-decoration: none;
    color: white;
    font-size: 18px;
    letter-spacing: 1px;
    white-space: nowrap;
    padding: 8px 15px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.nav-menu a:hover {
    color: #d4d4d4;
    transform: translateY(-2px);
}

/* Hero Section */
.gallery-hero {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8), rgba(20, 20, 20, 0.7)), url('../homepage/rp-bg-artwork.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
}

.hero-overlay h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: bold;
    letter-spacing: 3px;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.hero-overlay p {
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    margin-bottom: 3rem;
    opacity: 0.9;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: #d4d4d4;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.8;
    letter-spacing: 1px;
}

/* Gallery Filter */
.gallery-filter {
    background: #2a2a2a;
    padding: 2rem;
    border-bottom: 1px solid #444;
}

.filter-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.filter-container h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #d4d4d4;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: #444;
    color: white;
    border: 2px solid #666;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
    letter-spacing: 1px;
}

.filter-btn:hover {
    background: #555;
    transform: translateY(-2px);
}

.filter-btn.active {
    background: #d4d4d4;
    color: #1a1a1a;
    border-color: #d4d4d4;
}

/* Main Gallery */
.main-gallery {
    background: #1a1a1a;
    padding: 4rem 2rem;
    min-height: 60vh;
}

.gallery-container {
    max-width: 1400px;
    margin: 0 auto;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.gallery-item {
    position: relative;
    background: #2a2a2a;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid #444;
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
    border-color: #666;
}

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

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

.item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.9) 100%);
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.overlay-content {
    color: white;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.overlay-content p {
    color: #d4d4d4;
    font-size: 1.1rem;
    font-weight: bold;
    letter-spacing: 1px;
}

.overlay-content i {
    font-size: 1.5rem;
    color: #d4d4d4;
}

/* Call to Action */
.gallery-cta {
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
    padding: 4rem 2rem;
    text-align: center;
    color: white;
}

.cta-content h2 {
    font-size: 2.5rem;
    color: #d4d4d4;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.cta-content p {
    font-size: 1.3rem;
    color: #aaa;
    margin-bottom: 3rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.cta-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    letter-spacing: 1px;
}

.cta-btn.primary {
    background: linear-gradient(45deg, #d4d4d4, #f0f0f0);
    color: #1a1a1a;
}

.cta-btn.secondary {
    background: linear-gradient(45deg, #444, #666);
    color: white;
    border: 2px solid #666;
}

.cta-btn.tertiary {
    background: linear-gradient(45deg, #666, #888);
    color: white;
    border: 2px solid #888;
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.cta-btn.primary:hover {
    background: linear-gradient(45deg, #f0f0f0, #ffffff);
}

.cta-btn.secondary:hover {
    background: linear-gradient(45deg, #555, #777);
    border-color: #777;
}

.cta-btn.tertiary:hover {
    background: linear-gradient(45deg, #777, #999);
    border-color: #999;
}

/* Enhanced Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    backdrop-filter: blur(10px);
}

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

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2001;
}

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

#lightbox-img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}

.lightbox-info {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    padding: 1.5rem 2rem;
    border-radius: 15px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.lightbox-info p {
    color: #d4d4d4;
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.lightbox-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.lightbox-btn {
    background: #444;
    color: white;
    border: 1px solid #666;
    padding: 8px 15px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.lightbox-btn:hover {
    background: #666;
    transform: translateY(-2px);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2001;
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-nav.prev {
    left: 40px;
}

.lightbox-nav.next {
    right: 40px;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .hamburger-menu {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 100px;
        right: -100%;
        width: 250px;
        height: calc(100vh - 100px);
        background-color: rgba(49, 49, 49, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 50px;
        transition: right 0.3s ease;
        z-index: 999;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu ul {
        flex-direction: column;
        gap: 25px;
        width: 100%;
        text-align: center;
    }
    
    .nav-menu a {
        font-size: 1.2rem;
        padding: 15px 0;
        width: 100%;
        display: block;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .title h1 {
        font-size: 1.5rem;
    }
    
    .title p {
        font-size: 1rem;
    }
    
    .logo img {
        width: 60px;
        height: 60px;
    }

    .gallery-hero {
        height: 60vh;
        padding: 2rem 1rem;
    }

    .hero-stats {
        gap: 1.5rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 1rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .filter-buttons {
        gap: 0.5rem;
    }

    .filter-btn {
        padding: 8px 15px;
        font-size: 0.9rem;
    }

    .main-gallery {
        padding: 2rem 1rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .cta-btn {
        width: 250px;
        justify-content: center;
    }

    .lightbox-nav {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .lightbox-nav.prev {
        left: 20px;
    }

    .lightbox-nav.next {
        right: 20px;
    }

    .lightbox-info {
        bottom: 20px;
        padding: 1rem;
        width: 90%;
    }

    #lightbox-img {
        max-width: 95%;
        max-height: 70%;
    }
}