/* --- GALLERY PAGE UNIFIED CSS --- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: #050505; /* Deep black */
    color: white;
    overflow-x: hidden;
    min-height: 100vh;
}

/* THE MAJESTIC BACKGROUND GLOW */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, #1a1a2e 0%, #050505 100%);
    z-index: -1;
}

/* --- THE MAJESTIC NAVBAR --- */
.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    max-width: 1100px;
    height: 65px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    z-index: 2000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    padding: 0 25px;
}

.logo {
    font-size: 22px;
    font-weight: 900;
    letter-spacing: 2px;
    color: white;
}

.nav-links {
    display: flex;
    gap: 20px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    font-weight: 500;
    transition: 0.3s;
}

.nav-links a:hover, .nav-links a.active {
    color: white;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* --- GALLERY CONTENT --- */
.gallery-wrap {
    padding: 140px 20px 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-header {
    text-align: center;
    margin-bottom: 50px;
}

.gallery-header h1 {
    font-size: clamp(2.5rem, 8vw, 4rem);
    background: linear-gradient(to bottom, #fff, #667eea);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 900;
    letter-spacing: -1px;
}

.gallery-header p {
    color: rgba(255, 255, 255, 0.6);
    margin-top: 10px;
}

/* --- PHOTO GRID --- */
.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.photo-card {
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 1/1; /* Square gallery look */
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.photo-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.8) grayscale(20%);
    transition: 0.6s;
}

.photo-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 20px 40px rgba(0,0,0,0.8);
}

.photo-card:hover img {
    filter: brightness(1.1) grayscale(0%);
    transform: scale(1.1);
}

/* --- LOAD MORE BTN --- */
.load-more-container {
    display: flex;
    justify-content: center;
    margin: 60px 0;
}

.load-more-btn {
    padding: 15px 40px;
    background: white;
    color: black;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: 0.3s;
}

.load-more-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(255,255,255,0.3);
}

/* --- CLOSING SECTION --- */
.gallery-closing {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 40px;
    border-radius: 30px;
    text-align: center;
    margin-top: 80px;
}

/* --- MOBILE RESPONSIVE --- */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: white;
    transition: 0.3s;
}

@media (max-width: 850px) {
    .hamburger { display: flex; }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: rgba(5, 5, 5, 0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        transition: 0.5s;
    }

    .nav-links.active { right: 0; }

    .gallery-container {
        grid-template-columns: repeat(2, 1fr); /* 2 items per row on mobile */
        gap: 10px;
    }
}

/* UTILS */
.hidden { display: none; }