body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: #E6E6FA; /* Pastel purple */
}

header {
    background-color: #333;
    color: white;
    padding: 1rem 0;
    text-align: center;
}

header h1 {
    margin: 0;
}

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

nav ul li {
    display: inline;
    margin-right: 1rem;
}

nav ul li a {
    color: white;
    text-decoration: none;
}

main {
    flex: 1;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

main .content {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
    max-width: 800px;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

main .content .text {
    flex: 1;
    text-align: left;
    padding-right: 1rem; /* Adjust spacing between text and image */
}

main .content .image-slot {
    flex: 1;
    text-align: center;
}

main .content .image-slot img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.contact {
    text-align: center;
    padding: 1rem;
    background-color: rgba(230, 230, 250, 0.8); /* Adjusted pastel purple background */
    border-radius: 8px;
    max-width: 800px;
    width: 100%;
    margin-top: auto; /* Pushes the contact section to the bottom */
}

.contact h3 {
    margin-top: 0;
}

.contact ul {
    list-style-type: none; /* Remove bullets from the list */
    padding: 0; /* Remove default padding */
    margin: 0; /* Remove default margin */
}

.contact ul li {
    margin-bottom: 0.5rem; /* Optional: Adjust spacing between list items */
}

footer {
    background-color: #E6E6FA; /* Pastel purple */
    color: black;
    text-align: center;
    padding: 1rem 0;
}

.gallery {
    width: 100%;
    max-width: 1000px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); /* 4 columns layout */
    gap: 1rem;
    padding-top: 2rem;
}

.gallery-item {
    position: relative;
    width: 100%;
    padding-top: 75%; /* Aspect ratio 4:3 */
    overflow: hidden;
}

.gallery-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s ease-in-out; /* Optional: Add hover effects */
}

.gallery-item img:hover {
    transform: scale(1.05); /* Optional: Scale up image on hover */
}

#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
}

#overlay img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 8px;
}
