.gallery-section {
    background-color: #f7f5f0;
    padding: 80px 0;
}

.gallery-header {
    text-align: center;
    margin-bottom: 40px;
}

.gallery-title {
    font-size: 2.8rem;
    color: #db4242;
    margin: 10px 0;
}

.decorative-line {
    width: 120px;
    height: 3px;
    background-color: #8B4513;
    margin: 0 auto;
    position: relative;
}

.decorative-line::before,
.decorative-line::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    border: 2px solid #8B4513;
    border-radius: 50%;
    top: -4px;
}

.decorative-line::before {
    left: -20px;
}

.decorative-line::after {
    right: -20px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.gallery-item {
    border: none;
    padding: 0;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item.hidden {
    display: none;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
}

.gallery-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.gallery-label {
    display: block;
    padding: 12px 16px;
    font-weight: 600;
    color: #8B4513;
    text-align: center;
}

.gallery-dots {
    text-align: center;
    margin-top: 30px;
}

.gallery-dots .dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #c5b5a3;
    margin: 0 6px;
}

.gallery-dots .dot.active {
    background-color: #8B4513;
}

.gallery-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 2000;
}

.gallery-lightbox.active {
    display: flex;
}

.lightbox-content {
    background: #fff;
    border-radius: 12px;
    max-width: 900px;
    width: 100%;
    padding: 20px;
    text-align: center;
    position: relative;
}

.lightbox-content img {
    width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border-radius: 8px;
}

.lightbox-content p {
    margin-top: 15px;
    color: #333;
    font-weight: 600;
}

.lightbox-close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: transparent;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #333;
}

@media (max-width: 768px) {
    .gallery-title {
        font-size: 2.2rem;
    }

    .gallery-item img {
        height: 220px;
    }

    .lightbox-content {
        padding: 15px;
    }
}

