body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f4f4f4;
}

/* HEADER */
.header {
    background: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 10px;
    border-bottom: 1px solid #e5e5e5;
}

.header img {
    max-width: 650px;
    width: 100%;
    height: auto;
}

/* TITLE */
h1 {
    text-align: center;
    padding: 20px 10px 5px;
    font-weight: 600;
    color: #111;
}

/* ========================= */
/* SLIDESHOW (UPDATED - BIGGER & WIDER) */
/* ========================= */
.slideshow {
    width: 98%;
    max-width: 1600px;
    margin: 30px auto 15px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 35px rgba(0,0,0,0.20);
    background: #ddd;
}

.slideshow img {
    width: 100%;
    height: 650px;
    object-fit: cover;
    display: block;
    transition: opacity 0.4s ease;
}

/* ========================= */
/* GALLERY GRID */
/* ========================= */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 14px;
    padding: 14px;
}

/* IMAGE STYLE */
.gallery img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
    background: #eaeaea;
    padding: 4px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* HOVER */
.gallery img:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

/* LAZY LOAD EFFECT */
.lazy-img {
    filter: blur(8px);
    transform: scale(1.02);
    opacity: 0.85;
    transition: filter 0.4s ease, opacity 0.4s ease, transform 0.4s ease;
}

.lazy-img[src] {
    filter: blur(0);
    opacity: 1;
    transform: scale(1);
}

/* ========================= */
/* LIGHTBOX */
/* ========================= */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.92);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.lightbox img {
    max-width: 92%;
    max-height: 88%;
    border-radius: 8px;
}

/* CLOSE BUTTON */
.close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 34px;
    color: #fff;
    cursor: pointer;
}

/* NAVIGATION ARROWS */
.nav {
    position: absolute;
    top: 50%;
    font-size: 42px;
    color: #fff;
    cursor: pointer;
    user-select: none;
    padding: 10px;
    transform: translateY(-50%);
}

.prev {
    left: 20px;
}

.next {
    right: 20px;
}

/* ========================= */
/* MOBILE */
/* ========================= */
@media (max-width: 600px) {

    .header img {
        max-width: 90%;
    }

    .slideshow {
        width: 100%;
        border-radius: 0; /* edge-to-edge on mobile */
    }

    .slideshow img {
        height: 280px;
    }

    .gallery {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 10px;
        padding: 10px;
    }

    .gallery img {
        height: 160px;
    }

    .nav {
        font-size: 30px;
    }

    .close {
        font-size: 28px;
    }
}