/* General styling */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
}

/* Header styling */
header {
    background-color: rgba(255, 255, 255, 0.8);
    color: #003366;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1000; /* Ensure the header is above other elements */
}

.logo img {
    width: 150px;  /* Adjust the width as needed */
    height: auto;
    margin-bottom: 10px;  /* Space between the logo and the navigation */
}

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

nav ul li {
    margin: 0 10px;
}

nav ul li a {
    color: #003366;
    text-decoration: none;
    padding: 5px 10px;
    display: block;
}

/* Hamburger Menu */
nav .hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

nav .hamburger div {
    width: 25px;
    height: 3px;
    background-color: #003366;
    margin: 4px 0;
}

/* Responsive Styles */
@media (max-width: 768px) {
    nav ul {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 60px;
        left: 0;
        background-color: #f5f5f5;
        z-index: 1001; /* Ensure the menu is above other elements */
        padding: 20px 0;
    }

    nav ul.active {
        display: flex;
    }

    nav ul li {
        margin: 10px 0;
        text-align: center;
    }

    nav .hamburger {
        display: flex;
    }
}


/* Gallery Section */
.gallery {
    padding: 40px;
    text-align: center;
    background-color: #fff;
}

.category {
    display: inline-block;
    position: relative;
    margin: 20px;
    width: 200px;
    height: 200px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
}

.category h3 {
    margin-top: 10px;
}

/* Modal Styling */
.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.9);
    justify-content: center;
    align-items: center;
}

.modal-content {
    position: relative;
    width: 80%;
    max-width: 700px;
    margin: auto;
    display: flex;
    justify-content: center;
}

#modal-img {
    width: 100%;
    border-radius: 10px;
}

.modal-caption {
    text-align: center;
    color: white;
    padding: 10px 0;
}

.close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.modal-nav {
    text-align: center;
    margin-top: 10px;
}

.modal-nav button {
    background-color: #333;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    margin: 5px;
    border-radius: 5px;
}

.modal-nav button:hover {
    background-color: #555;
}

/* Footer styling */
footer {
    background-color: #333;
    color: white;
    padding: 20px;
    text-align: center;
}

footer .social-media a {
    color: white;
    margin: 0 10px;
    text-decoration: none;
}

footer .footer-bottom {
    margin-top: 10px;
    font-size: 14px;
}
