/* General styles */
body {
    font-family: 'Lato', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
    color: #333;
}

header {
    background-color: #004d00; /* Dark green */
    color: #fff;
    padding: 1em 0;
    text-align: center;
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
}

nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap; /* Allow nav items to wrap on smaller screens */
}

nav ul li {
    margin: 0.5em 1em; /* Increase vertical spacing for mobile */
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #DCEDC8; /* Lighter green */
}

main {
    text-align: center;
    max-width: 80%;
    margin: auto;
    padding: 1em;
}

h1, h2 {
    color: #DCEDC8; /* Light green */
    font-weight: 700;
}

.hero {
    position: relative;
    text-align: left;
    color: white;
}

.hero img {
    margin-top: -15%; 
    width: 100%;
    height: auto;
    overflow: hidden;
}

.hero-text {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(0, 77, 0, 0.7); /* Dark green with transparency */
    padding: 20px;
    border-radius: 10px;
}

.hero-text h2 {
    font-size: 2em;
    margin: 0;
    color: #DCEDC8; /* Light green */
}

.hero-text p {
    font-size: 1.2em;
    margin-top: 10px;
    color: #e0ffe0; /* Very light green */
}

.about, .dates, .contact {
    color: #e0ffe0; /* Very light green */
    background: rgba(0, 77, 0, 0.7); /* Dark green with transparency */
    padding: 2em;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 77, 0, 0.1); /* Dark green shadow */
    margin-top: 2em;
}

/* Responsive Design */
@media (max-width: 768px) {
    main {
        max-width: 90%; /* Increase width for smaller screens */
        padding: 1em;
    }

    .hero {
        text-align: center;
    }

    .hero img {
        margin-top: 0; /* Reset margin for smaller screens */
    }

    .hero-text {
        position: static;
        background: transparent; /* Remove background for mobile */
        color: #333; /* Use default text color */
        padding: 1em 0;
        max-width: 100%;
    }

    .hero-text h2 {
        font-size: 1.5em; /* Reduce font size for smaller screens */
        color: #004d00; /* Dark green */
    }

    .hero-text p {
        font-size: 1em; /* Reduce font size for smaller screens */
        color: #004d00; /* Dark green */
    }

    .about, .dates, .contact {
        padding: 1.5em; /* Adjust padding for smaller screens */
    }
}

@media (max-width: 480px) {
    .hero-text {
        padding: 1em; /* Adjust padding for very small screens */
    }

    .hero-text h2 {
        font-size: 1.2em; /* Further reduce font size for very small screens */
    }

    .hero-text p {
        font-size: 0.9em; /* Further reduce font size for very small screens */
    }

    nav ul li {
        margin: 0.5em 0.5em; /* Adjust nav item spacing for very small screens */
    }
}
