/* ===== PAGE NAV ===== */
.page-nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    padding: 1.2rem 3rem;
    display: flex; justify-content: space-between; align-items: center;
    background: rgba(10,10,10,0.92); backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border);
}
.page-nav-links { display: flex; gap: 2rem; }
.page-nav-links a {
    color: var(--silver); text-decoration: none;
    font-size: 0.8rem; font-weight: 500;
    transition: color 0.3s;
}
.page-nav-links a:hover, .page-nav-links a.active { color: var(--gold); }

/* ===== PAGE HERO ===== */
.page-hero {
    padding: 8rem 3rem 3rem;
    max-width: 1000px; margin: 0 auto;
}
.page-hero h1 {
    font-family: 'JetBrains Mono', monospace;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700; color: var(--gold);
    margin-bottom: 0.5rem;
}
.page-hero p { font-size: 1rem; color: var(--silver); }

/* ===== GALLERY SECTION ===== */
.gallery-section {
    max-width: 1000px; margin: 0 auto;
    padding: 2rem 3rem 6rem;
    display: flex; flex-direction: column;
    gap: 2rem;
}

.gallery-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    transition: all 0.3s;
}
.gallery-card:nth-child(even) { direction: rtl; }
.gallery-card:nth-child(even) > * { direction: ltr; }
.gallery-card:hover { border-color: var(--gold); transform: translateY(-3px); box-shadow: 0 12px 40px rgba(201,168,76,0.06); }

.gallery-img-wrap {
    overflow: hidden;
    cursor: pointer;
    position: relative;
}
.gallery-img-wrap::after {
    content: '🔍';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%) scale(0);
    font-size: 1.5rem;
    background: rgba(0,0,0,0.6);
    width: 50px; height: 50px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    transition: transform 0.3s;
    z-index: 2;
}
.gallery-img-wrap:hover::after { transform: translate(-50%, -50%) scale(1); }
.gallery-img-wrap img {
    width: 100%; height: 100%;
    object-fit: cover;
    min-height: 280px;
    filter: brightness(0.75);
    transition: all 0.5s;
}
.gallery-img-wrap:hover img { filter: brightness(0.9); transform: scale(1.03); }

.gallery-info {
    padding: 2.5rem;
    display: flex; flex-direction: column;
    justify-content: center;
}
.gallery-info h3 {
    font-size: 1.3rem; font-weight: 700;
    color: var(--white); margin-bottom: 0.75rem;
}
.gallery-comment {
    font-size: 0.88rem; color: var(--light);
    line-height: 1.8; margin-bottom: 1rem;
    font-style: italic;
}
.gallery-date {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.65rem; color: var(--mid);
    letter-spacing: 1px;
}

/* ===== LIGHTBOX ===== */
.lightbox {
    position: fixed; inset: 0; z-index: 9999;
    background: rgba(0,0,0,0.92);
    backdrop-filter: blur(10px);
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    padding: 2rem;
    opacity: 0; visibility: hidden;
    transition: all 0.3s;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox-close {
    position: absolute; top: 1.5rem; right: 2rem;
    background: none; border: none;
    color: var(--white); font-size: 1.5rem;
    cursor: pointer; transition: color 0.3s;
}
.lightbox-close:hover { color: var(--gold); }
.lightbox-img {
    max-width: 90%; max-height: 70vh;
    object-fit: contain;
    border-radius: 8px;
}
.lightbox-caption {
    margin-top: 1.5rem;
    text-align: center;
    font-size: 0.9rem;
    color: var(--light);
    max-width: 600px;
    line-height: 1.7;
}
.lightbox-caption strong { color: var(--gold); }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .page-nav { padding: 1rem 1.5rem; }
    .page-nav-links { gap: 1rem; }
    .page-nav-links a { font-size: 0.7rem; }
    .page-hero { padding: 6rem 1.5rem 2rem; }
    .gallery-section { padding: 1rem 1.5rem 4rem; }
    .gallery-card { grid-template-columns: 1fr; }
    .gallery-card:nth-child(even) { direction: ltr; }
    .gallery-img-wrap img { min-height: 200px; }
    .gallery-info { padding: 1.5rem; }
}
