.gallery-main {
    text-align: center;
    padding: 3rem 1rem;
    background: var(--primary-color);
    color: #ffffff;
}

.gallery-main h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

.gallery-main p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    color: var(--accent-color-light);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: 200px;
    gap: 1rem;
    padding: 2rem;
}

.grid-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
}

.grid-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    border-radius: 8px;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.grid-item:hover img {
    transform: scale(1.05);
    opacity: 0.9;
}

.grid-item.one {
    grid-column: span 3;
    grid-row: span 2;
}

.grid-item.two {
    grid-column: span 2;
    grid-row: span 3;
}

.grid-item.three {
    grid-column: span 1;
    grid-row: span 1;
}

.grid-item.four {
    grid-column: span 2;
    grid-row: span 1;
}

/* Lightbox styling */
.lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    align-items: center;
    justify-content: center;
}

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

.lightbox .close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 2.5rem;
    cursor: pointer;
}
