body {
    font-family: 'Lora', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: #3B060A;
    color: #FBF5DE;
}

/* main {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

main div {
    border-radius: 10px;
    width: 150px;
    height: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
}

main div img {
    border-radius: 10px;
    max-width: 100%;
    max-height: 100%;
} */

.gallery-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.category-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.category-btn {
    background-color: #901E3E;
    color: #FBF5DE;
    border: none;
    padding: 12px 25px;
    border-radius: 30px;
    font-family: 'Lora', serif;
    font-size: 0.8em;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.category-btn:hover, .category-btn.active {
    background-color: #FBF5DE;
    color: #3B060A;
}

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

.gallery-item {
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
    height: 200px;
}

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

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

.gallery-item:hover img {
    opacity: 0.9;
}

.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    max-width: 80%;
    max-height: 80%;
    position: relative;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.6);
}

.close-lightbox {
    position: absolute;
    top: -40px;
    right: 0;
    color: #FBF5DE;
    font-size: 30px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-lightbox:hover {
    color: #901E3E;
}

.nav-arrows {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    padding: 0 20px;
    box-sizing: border-box;
}

.arrow {
    color: #FBF5DE;
    font-size: 40px;
    cursor: pointer;
    background: rgba(59, 6, 10, 0.5);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.arrow:hover {
    background: rgba(144, 30, 62, 0.8);
}

@media (max-width: 600px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
    
    .gallery-item {
        height: 150px;
    }
    
    .category-btn {
        padding: 10px 15px;
        font-size: 14px;
    }

    .lightbox-content {
        max-width: 95%;
        max-height: 95%;
    }

    .arrow {
        font-size: 30px;
        width: 40px;
        height: 40px;
    }
}