body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f6f6f6;
}

/* HEADER */
.gallery-header {
    text-align: center;
    padding: 140px 20px;
    background: white;
}
.gallery-header h1 {
    font-size: 36px;
    margin-bottom: 10px;
}

/* FILTER BUTTONS */
.gallery-filters {
    text-align: center;
    margin: 20px 0;
}
.filter-btn {
    padding: 10px 20px;
    margin: 5px;
    background: #eaeaea;
    border: none;
    cursor: pointer;
    border-radius: 20px;
    font-size: 14px;
}
.filter-btn.active, .filter-btn:hover {
    background: #111;
    color: white;
}

/* GALLERY GRID */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 12px;
    padding: 20px;
}
.gallery-item {
    position: relative;
    overflow: hidden;
}
.gallery-img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    cursor: pointer;
    border-radius: 8px;
    transition: transform .3s;
}
.gallery-img:hover {
    transform: scale(1.05);
}

/* LIGHTBOX */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.9);
    justify-content: center;
    align-items: center;
}
.lightbox-img {
    max-width: 90%;
    max-height: 80vh;
    border-radius: 10px;
}
.close {
    position: absolute;
    top: 25px;
    right: 40px;
    color: white;
    font-size: 40px;
    cursor: pointer;
}
.prev-btn, .next-btn {
    position: absolute;
    top: 50%;
    color: white;
    background: rgba(0,0,0,0.4);
    border: none;
    padding: 15px;
    font-size: 30px;
    cursor: pointer;
    border-radius: 50%;
}
.prev-btn { left: 30px; }
.next-btn { right: 30px; }

.prev-btn:hover, .next-btn:hover {
    background: rgba(255,255,255,0.2);
}
