/* styles.css */

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

header {
    background: #333;
    color: #fff;
    padding: 1rem 0;
    text-align: center;
}

header h1 {
    margin: 0;
}

nav ul {
    list-style: none;
    padding: 0;
}

nav ul li {
    display: inline;
    margin: 0 1rem;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
}

section {
    margin: 2rem auto;
    max-width: 800px;
    padding: 1rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

footer {
    text-align: center;
    padding: 1rem 0;
    background: #333;
    color: #fff;
    position: fixed;
    width: 100%;
    bottom: 0;
}

footer p {
    margin: 0;
}

/* styles.css */

/* Add the existing styles above this */

.gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.thumbnail {
    position: relative;
    margin-right: auto;
    cursor: pointer;
    transition: transform 0.2s;
}

.thumbnail:hover {
    transform: scale(1.05);
}

.thumbnail img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    border: 5px solid #555;
}

.thumbnail .description {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(220, 220, 220, 0.7);
    color: black;
    padding: 0.5rem;
    text-align: center;
    border-radius: 0 0 8px 8px;
    opacity: 0;
    transition: opacity 0.2s;
}

.thumbnail:hover .description {
    opacity: 1;
}

.carousel {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(220, 220, 220);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.carousel-inner {
    position: relative;
    text-align: center;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.carousel img {
    width: auto;
    display: block;
    margin-top: 7%;
    margin-left: auto;
    margin-right: auto;
    height: 500px;
}

.carousel .arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.5);
    border: none;
    font-size: 2rem;
    cursor: pointer;
    z-index: 1001;
    padding: 1rem;
}

.carousel .left-arrow {
    left: 10px;
}

.carousel .right-arrow {
    right: 10px;
}


.carousel .close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgb(200,200,200);
    border: none;
    padding: 0.5rem 1rem;
    cursor: pointer;
    font-size: 1rem;
}

