html, body {
    height: 100%;
    margin: 0;
}
html {
    height: 100%;
  overflow-y: scroll; /* Always show vertical scrollbar */
}
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #E1FFA9;
}

main {
    flex: 1;
    text-align: center;
}

/* Styles for Navigation Links */
.nav-container nav a {
    background-color: #4CAF50; /* Green background */
    color: white; /* White text */
    padding: 10px 15px;
    margin: 5px;
    text-decoration: none;
    text-align: center;
    display: inline-block;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s; /* Smooth transition for hover effect */
}

.nav-container nav a:hover {
    background-color: #45a049; /* Slightly darker green on hover */
    color: #fff; /* Maintain white text on hover */
}

header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #E1FFA9;
}

.logo-container {
    margin-bottom: 10px; /* Space between logo and navigation */
}

#logo {
    height: 356px; /* Adjust based on your preference */
    width: auto;
    padding: 10px;
}

.nav-container nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap; /* Ensures items wrap in smaller screens */
}

/* Footer styles */
footer {
    background-color: #006400;
    color: white;
    text-align: center;
    padding: 10px 0;
}

/* Lightbox styles */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.9);
}

.lightbox-content {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.lightbox-slide {
    display: none;
    position: relative; /* Set the slide to a relative position */
}

.close {
    position: fixed; /* Fixed position relative to the viewport */
    top: 20px; /* 20px from the top of the viewport */
    right: 20px; /* 20px from the right of the viewport */
    color: #fff; /* White color for visibility */
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000; /* High z-index to ensure it's above other elements */
}


/* Responsive design for smaller screens */
@media screen and (max-width: 600px) {
    .nav-container nav a {
        padding: 8px 10px;
        font-size: 14px;
    }

    #logo {
        height: 120px; /* Smaller logo for smaller screens */
    }
}
.content-section {
    margin: 20px auto; /* Centers the section and adds margin on the top and bottom */
    padding: 15px;
    max-width: 1000px; /* Maximum width set to 1000px */
    background-color: #E1FFA9;
    border-radius: 8px; /* Optional for rounded corners */
}

.content-section h1 {
    color: #336633; /* A shade of green that matches the gardening theme */
    margin-bottom: 10px;
}

.content-section p, .content-section ul {
    text-align: left;
    line-height: 1.6; /* Improves readability */
}

.content-section ul {
    list-style-type: disc;
    margin-left: 20px; /* Proper indentation for list */
}

.gallery-wrapper {
    max-width: 1000px;
    margin: 0 auto; /* Centers the wrapper */
    padding: 10px;
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 10px;
}

.gallery-container img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 5px; /* Optional for rounded corners */
}

form {
    max-width: 500px;
    margin: auto;
    padding: 15px;
    border-radius: 8px;
}

form label {
    display: block;
    margin-bottom: 5px;
}

form input[type="text"], 
form input[type="email"], 
form textarea {
    width: 100%;
    padding: 8px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

form input[type="submit"] {
    background-color: #4CAF50;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

form input[type="submit"]:hover {
    background-color: #45a049;
}
/* General Button Styling */
.email-button, .copy-button {
    display: inline-block;
    padding: 12px 20px;
    background-color: #4CAF50; /* Same as your other buttons */
    color: white;
    text-decoration: none;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: background 0.3s ease-in-out;
}

/* Hover Effect */
.email-button:hover, .copy-button:hover {
    background-color: #45a049; /* Slightly darker green */
}

/* Center Alignment */
.email-container {
    text-align: center;
    margin: 20px 0;
}

/* Input Field Styling */
.email-input {
    padding: 12px;
    width: 250px;
    text-align: center;
    border: 2px solid #4CAF50;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
}
