/* Reset some default browser styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
background-image: url("images/bgnew.png");background-repeat:repeat; background-size:500px 500px;
}

/* Header styles */
header {
    background: #;
    color: #fff;
    padding: 1rem;
    text-align: center;
}

/* Gallery styles */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    padding: 1rem;
}

.gallery-item {
    overflow: hidden;
    border: 2px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 200px; /* Fixed height for the gallery item */
}

.gallery-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover; /* Ensures images cover the area without distortion */
    transition: transform 0.3s ease;
}

.gallery-item img:hover {
    transform: scale(1.05);
}

/* Lightbox styles */
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    text-align: center;
}

.lightbox-content {
    max-width: 90%;
    max-height: 80%;
    margin: auto;
}

.close {
    position: absolute;
    top: 10px;
    right: 25px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: #ccc;
}

/* Footer styles */
footer {
    background: #333;
    color: #fff;
    padding: 1rem;
    text-align: center;
    margin-top: 1rem;
}
