* {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box;
}


.navbar {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #2e4d32;
    padding: 30px;
    position: relative;
}


.hamburger {
    display: none;
    font-size: 30px;
    cursor: pointer;
    color: white;
    background: transparent;
    border: none;
    padding: 10px;
    margin: 20px;
}

.logo {
    width: 150px;
    height: auto;
    cursor: pointer;
    margin: 20px;
}

.navbar ul li {
    list-style: none;
    display: inline-block;
    margin: 20px;
}

.navbar ul li a {
    text-decoration: none;
    text-transform: uppercase;
    color: white;
    font-weight: 600;
    padding: 15px;
}

li a:hover {
    background: white;
    transition: 0.6s;
}

.navbar a:hover {
    color: black;
}


section {
    padding: 5%;
    background-color: #2e4d32;
    text-align: center;
    text-wrap: wrap;
    align-items: center;
}

section ul {
    list-style: none;
    padding: 0;
    color: white;
}

section ul li {
    margin-bottom: 10px;
}

#gallery-bg {
    background-color: white;
    padding: auto;
    margin: auto;
}

#gallery-bg h1 {
    font-size: 3rem;
    color: #2e4d32;
    margin-bottom: 30px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 40px;
    color: white;
    cursor: pointer;
    z-index: 1100;
    transition: color 0.3s;
}

.close-btn:hover {
    color: #ccc;
}

section h1 {
    font-size: 3rem;
    color: white;
    margin-bottom: 30px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

section h2 {
    font-size: 2rem;
    color: white;
    margin: auto;
    text-align: center;
    text-transform: uppercase;
}

section p {
    font-size: 1.2rem;
    color: white;
    margin-bottom: 30px;
    margin-left: auto;
    margin-right: auto;
    text-align: justify;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    padding: 40px 0;
}

.gallery img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 15px;
    transition: transform 0.3s ease-in-out;
    cursor: pointer;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
}

.gallery img:hover {
    transform: scale(1.05);
}

.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;
}

.modal-content {
    position: relative;
    width: auto;
    max-width: 900px;
    background-color: transparent;
    padding: 20px;
    border-radius: 15px;
}

.modal-content img {
    max-width: 80vw;
    max-height: 80vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 6px;
    display: block;
    margin: 0 auto;
    box-shadow: none;
    background: transparent;
}

.prev,
.next {
    position: absolute;
    top: 50%;
    font-size: 30px;
    color: white;
    cursor: pointer;
    padding: 20px;
    transform: translateY(-50%);
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

section button {
    width: 200px;
    padding: 15px;
    margin: 20px 5px;
    text-align: center;
    border-radius: 25px;
    color: black;
    border: 2px;
    font-size: 20px;
    cursor: pointer;
    font-weight: 600;
}

section button:hover {
    background: #153412;
    color: white;
}

a {
    color: #2e4d32;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

#footer {
    background-color: white;
    color: black;
    text-align: center;
    padding: 20px 0;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #2e4d32;
        z-index: 20;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
        padding: 15px;
    }

    .hamburger {
        display: block;
    }
    
    .modal {
        display: none !important;
        pointer-events: none;
    }

}


