body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f0f0f0; /* Fallback background color */
    background-image: url('img/linen2.jpg');
    background-size: cover; /* Cover the entire viewport */
    background-attachment: fixed; /* Fix the background position */
    background-repeat: no-repeat; /* Prevent the image from repeating */
    color: #333;
}

h1, h2, h3 {
    font-family: 'IM Fell English SC', serif;
}

header {
    text-align: center;
    padding: 20px;
    background-color: #e0e0e0; /* Slightly darker gray header */
    position: relative;
}

.logo img {
    height: 80px;
}

nav ul {
    list-style: none;
    padding: 0;
}

nav ul li {
    display: inline;
    margin: 0 15px;
}

nav a {
    text-decoration: none;
    color: #333;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-gap: 15px;
    padding: 20px;
    grid-auto-rows: 200px; /*added for masonry like effect*/
}

.gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
}

.about {
    padding: 20px;
    max-width: 800px;
    margin: 20px auto; /* Center the section */
    background-color: #f8f8f8; /* Slightly lighter gray background */
    border-radius: 5px; /* Add rounded corners */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Add a subtle shadow */
}

.about h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #d35400; /* Brick orange for headings */
}

.about p {
    line-height: 1.6;
    margin-bottom: 15px;
    color: #333;
}

.about img {
    display: block;
    max-width: 300px;
    margin: 20px auto; /* Center the image */
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

footer {
    text-align: center;
    padding: 20px;
    background-color: #e0e0e0;
}

footer a {
    color: #d35400; /* Brick orange */
    text-decoration: none;
    margin: 0 10px; /* Add spacing between icons */
}

footer img {
    height: 24px; /* Adjust icon size as needed */
    vertical-align: middle; /* Align icons vertically with text */
}

/* Lightbox styles */
.lightbox {
    display: none;
    position: fixed;
    z-index: 1;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
}

.lightbox-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
}

.lightbox .close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

#lightbox-caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
}

/* Mobile styles */
@media (max-width: 768px) {
    nav ul {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 100px;
        left: 0;
        background-color: #e0e0e0;
    }
    nav ul.active {
        display: flex;
    }
    nav ul li {
        display: block;
        text-align: center;
        margin: 10px 0;
    }
    .hamburger {
        display: block; /* Corrected: Display the hamburger menu */
        position: absolute;
        top: 20px;
        right: 20px;
    }
    .hamburger .line{
        width: 35px;
        height: 5px;
        background-color: #333;
        margin: 6px 0;
    }
    .gallery{
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
    }

    .about {
        padding: 15px;
        margin: 10px;
    }
    
    .about img {
        max-width: 100%; /* Make image responsive on mobile */
    }
}

@media (min-width: 769px) {
    .hamburger {
        display: none; /* Corrected: Hide on desktop */
    }
}
