/* Reset some default browser styles */
body, h1, h2, h3, p, ul, li, a {
    margin: 0;
    padding: 0;
    text-decoration: none;
    list-style: none;
}

/* Body and Font Styles */
body {
    font-family: Arial, sans-serif;
    background-color: #000; /* Black background for the entire site */
    color: #fff; /* White text for readability */
}

/* Header, Main, and Footer Styles */
header, main, footer {
    max-width: 800px; /* Maximum width */
    margin: auto; /* Centering the content */
    width: 100%; /* Default to full width */
}

/* Logo Styles */
.logo img {
    max-width: 100%; /* Ensures the logo scales within its container */
    height: auto; /* Maintains aspect ratio */
    display: block; /* Centers the logo */
    margin: 0 auto;
}

/* Navigation Styles */
nav {
    margin-top: 10px;
    text-align: center;
}

nav ul {
    list-style-type: none;
    padding: 0;
    display: inline-block; /* Aligns the list items */
}

nav ul li {
    display: inline;
    margin-right: 20px;
}

nav ul li a {
    color: white;
    font-size: 1.2em;
}

/* Next Event Banner Styles */
.next-event-banner {
    background-color: #ff0000; /* Red background for event banner */
    color: white;
    padding: 10px;
    margin-top: 10px;
    text-align: center;
}

.next-event-banner a {
    color: #fff; /* White color for the link */
    text-decoration: none;
}

.next-event-banner a:hover {
    text-decoration: underline;
}

/* Main Content Styles */
main {
    width: 100%; /* Ensures it spans the full width */
    max-width: 800px; /* Consistent max-width */
    margin: auto; /* Centers it on the page */
    padding: 20px; /* Adds padding */
}

section {
    width: calc(100% - 40px); /* Adjusts width accounting for padding */
    max-width: 800px; /* Ensures no section exceeds this width */
    margin: auto; /* Center alignment of all sections */
    padding: 20px; /* Consistent padding across sections */
    box-sizing: border-box; /* Includes padding and border in the element's total width and height */
}

/* Text Readability */
p {
    font-size: 1em;
    line-height: 1.6;
    color: #fff;
}

h1, h2 {
    margin-bottom: 0.5em;
    color: #ffcc00;
}

/* Event List Styles */
.events-list {
    list-style: none;
    padding: 0;
}

.event-item {
    background-color: #333; /* Dark background for each event item */
    color: #fff;
    margin-bottom: 20px;
    padding: 15px;
    border-radius: 8px;
    overflow: hidden; /* Clear float */
    display: flex;
    flex-direction: column; /* Stack the content vertically */
}

/* Date Icon */
.date-icon {
    font-size: 1.2em;
    font-weight: bold;
    color: #ffcc00;
    margin-bottom: 10px; /* Spacing between date and event details */
}

/* Event Details */
.event-details {
    font-size: 0.9em;
    line-height: 1.4;
}

.event-details h3 {
    margin-top: 0;
}

.event-details a {
    font-weight: bold;
    color: #ffcc00; /* Match the icon color */
    text-decoration: none;
}

.event-details a:hover {
    text-decoration: underline;
}

/* Responsive Design Adjustments */
@media screen and (max-width: 767px) {
    header, main, footer {
        width: 100%; /* Full width on smaller screens */
    }

    .logo img {
        width: 100%; /* Full width logo on smaller screens */
    }

    nav ul li {
        display: block; /* Stack navigation items */
        text-align: center;
        margin: 10px 0; /* Add more space around each item */
    }

    .next-event-banner {
        font-size: 0.8em; /* Adjust font size for smaller screens */
    }

    main, footer {
        padding: 15px;
        text-align: center; /* Center-align text for readability */
    }

    h1, h2 {
        font-size: 1.2em; /* Adjust heading sizes for mobile */
    }

    .event-item {
        padding: 10px;
        font-size: 0.9em; /* Slightly smaller text on mobile */
    }
}

/* Footer Styles */
footer {
    background-color: #202020;
    color: white;
    text-align: center;
    padding: 10px 0;
}

/* Contact Section Styles */
.contact-section {
    background-color: #202020;
    color: #fff;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 10px;
}

.contact-section h2, .contact-section h3 {
    color: #ffcc00;
}

.contact-section a {
    color: #4a9eda;
    text-decoration: none;
}

.contact-section a:hover {
    text-decoration: underline;
}

/* Additional Styles for Sections */
.audio-section p {
    text-align: center;
    color: #fff;
    margin: 10px 0;
}

.song-list {
    text-align: left;
    margin: 20px 0;
    width: 100%;
    max-width: 800px;
    margin: auto;
}

.song-list h2 {
    margin-bottom: 20px;
}

.song-list ul {
    column-count: 2;
    column-gap: 40px;
    padding: 0;
    margin: 0 auto;
    list-style: none;
}

.song-list li {
    margin-bottom: 10px;
    break-inside: avoid;
    text-align: center;
}

/* Gallery Grid Styles */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(213px, 1fr));
    gap: 10px;
}

.thumbnail {
    width: 100%;
    height: auto;
    display: block;
}

/* Video Section Styles */
.video-section {
    margin: 20px 0;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 25px;
    height: 0;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
