/* ----------------- Gallery Section ----------------- */
.gallery-section {
    padding: 20px 0 100px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 400px;
    gap: 30px;
    margin-bottom: 60px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

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

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

/* Gradient overlay for items with captions */
.with-caption::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
    pointer-events: none;
}

.gallery-caption {
    position: absolute;
    bottom: 30px;
    left: 30px;
    right: 30px;
    z-index: 2;
    color: white;
}

.badge {
    display: inline-block;
    background-color: var(--primary); /* Gold */
    color: white;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 1.5px;
    padding: 6px 12px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.gallery-caption h3 {
    font-size: 24px;
    color: white;
    margin-bottom: 8px;
    line-height: 1.2;
}

.gallery-caption p {
    font-size: 10px;
    color: rgba(255,255,255,0.7);
    letter-spacing: 1px;
}

/* Load More Button */
.load-more-container {
    text-align: center;
    margin-top: 40px;
}

.btn-load-more {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--text-dark);
    text-transform: uppercase;
    border-bottom: 1px solid var(--primary);
    padding-bottom: 5px;
    display: inline-block;
}

.btn-load-more:hover {
    color: var(--primary);
}

/* Animations */
.gallery-item {
    animation: fadeIn 0.8s ease forwards;
    opacity: 0;
}
.gallery-item:nth-child(1) { animation-delay: 0.1s; }
.gallery-item:nth-child(2) { animation-delay: 0.2s; }
.gallery-item:nth-child(3) { animation-delay: 0.3s; }
.gallery-item:nth-child(4) { animation-delay: 0.4s; }
.gallery-item:nth-child(5) { animation-delay: 0.5s; }
.gallery-item:nth-child(6) { animation-delay: 0.6s; }

/* Responsive */
@media (max-width: 992px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 350px;
    }
}
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 300px;
    }
}
