/* ===========================
   Gallery Page Stylesheet
   =========================== */

.gallery-section {
    padding-top: 150px;
    padding-bottom: 80px;
    background-color: var(--bg-black, #121212);
}

.gallery-header {
    text-align: center;
    margin-bottom: 60px;
}

.gallery-header h2 {
    font-size: 38px;
    margin-bottom: 15px;
    color: var(--gold, #d4af37);
    font-family: 'Playfair Display', serif;
}

.gallery-header p {
    color: var(--text-gray, #bbb);
    font-size: 16px;
    max-width: 700px;
    margin: 0 auto;
}

/* 3-Column Equal Grid Layout */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.gallery-item {
    background: var(--card-black, #1a1a1a);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-item:hover {
    border-color: var(--gold, #d4af37);
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.2);
}

.gallery-item img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-caption {
    padding: 15px 20px;
    text-align: center;
    color: #ddd;
    font-size: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Lightbox Modal Overlay */
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.lightbox-modal.active {
    display: flex;
}

.lightbox-content {
    max-width: 850px;
    width: 100%;
    text-align: center;
    position: relative;
}

.lightbox-content img {
    width: 100%;
    max-height: 75vh;
    object-fit: contain;
    border-radius: 6px;
    border: 2px solid var(--gold, #d4af37);
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: #fff;
    font-size: 32px;
    cursor: pointer;
    transition: color 0.3s;
}

.lightbox-close:hover {
    color: var(--gold, #d4af37);
}

.lightbox-caption {
    color: var(--gold, #d4af37);
    font-size: 18px;
    margin-top: 15px;
    font-family: 'Playfair Display', serif;
}

/* Gallery CTA Banner */
.gallery-cta {
    background: var(--card-black, #1a1a1a);
    border: 1px solid var(--gold, #d4af37);
    padding: 40px;
    border-radius: 8px;
    text-align: center;
}

.gallery-cta h3 {
    color: var(--gold, #d4af37);
    font-size: 24px;
    margin-bottom: 10px;
}

.gallery-cta p {
    color: var(--text-gray, #bbb);
    font-size: 15px;
    margin-bottom: 25px;
}

/* Outline to Full Color Hover Button */
.btn-outline-gold {
    background: transparent;
    color: var(--gold, #d4af37);
    border: 1px solid var(--gold, #d4af37);
    padding: 12px 30px;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    font-size: 15px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-outline-gold:hover {
    background: var(--gold, #d4af37);
    color: #121212;
}

/* Responsive */
@media (max-width: 900px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}