* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', sans-serif;
    background: #f4f6f8;
}


/* FILTER BUTTONS */
.filters {
    text-align: center;
    margin: 30px 0;
}

.filters button {
    border: 2px solid #8b1c24;
    background: transparent;
    color: #8b1c24;
    padding: 8px 18px;
    margin: 5px;
    border-radius: 20px;
    cursor: pointer;
    transition: 0.3s;
}

.filters button:hover,
.filters button.active {
    background: #8b1c24;
    color: #fff;
}

/* GALLERY */
.gallery {
    max-width: 1200px;
    margin: auto;
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 20px;
}

.img-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
    transition: 0.4s;
    cursor: pointer;
}

.img-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.img-card:hover {
    transform: scale(1.05);
}

/* LIGHTBOX */
#lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

#lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
}

#close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: #fff;
    cursor: pointer;
}



/* MOBILE */
@media(max-width:600px){
    .img-card img {
        height: 180px;
    }
}
