body {
    margin: 0;
    background-color: black;
    color: white;
    font-family: Arial, sans-serif;
}

/* Increased specificity for next-event link colors */
body .header .next-event p a,
body .header .next-event p a:visited {
    color: #fff !important;
    text-decoration: none;
}

body .header .next-event p a:hover {
    color: #fff !important;
    text-decoration: underline;
}

/* Existing CSS rules... */

/* Global link color settings */
a:link, a:visited {
    color: #fff; /* Ensures all links and visited links are white */
    text-decoration: none; /* Removes underline from all links by default */
}

a:hover, a:active {
    color: #fff; /* Ensures text remains white on hover and when active */
    text-decoration: underline; /* Optional: underline on hover for better user interaction feedback */
}

/* Other CSS rules... */

.header {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.header img {
    width: 100%;
    height: auto;
}

.next-event {
    text-align: center;
    background-color: #333;
    color: #fff;
    padding: 10px;
    margin-bottom: 20px;
}

.next-event p {
    margin: 0;
    font-size: 16px;
}

.next-event p a,
.next-event p a:visited {
    color: #fff;  /* Ensures the text is white for both normal and visited states */
    text-decoration: none;  /* Removes underline */
}

.next-event p a:hover {
    color: #fff;  /* Keeps the text white on hover as well */
    text-decoration: underline;  /* Adds underline on hover for interaction feedback */
}

.nav {
    display: flex;
    justify-content: center;
    padding: 10px 0;
}

.nav a {
    text-decoration: none;
    color: white;
    margin: 0 15px;
    font-size: 18px;
}

.nav a:hover {
    color: #ccc;
}

main {
    max-width: 800px;
    margin: auto;
    padding: 20px;
}

#band-introduction {
    background-color: #000000;
    padding: 20px;
    color: #ffffff;
    font-family: 'Open Sans', Arial, sans-serif;
    max-width: 800px;
    margin: auto;
    line-height: 1.6;
    border-radius: 5px;
}

#band-introduction h1 {
    font-size: 28px;
    margin-bottom: 15px;
}

#band-introduction p {
    font-size: 18px;
    margin-bottom: 10px;
}

.members-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.member {
    width: 48%;
    box-sizing: border-box;
}

.member img {
    width: 100%;
    height: auto;
    max-width: 600px;
    max-height: 648px;
    margin: auto;
    display: block;
}

.member p {
    margin: 10px 0;
}

@media (min-width: 1248px) {
    .member {
        width: 50%;
    }
}

#song-list {
    text-align: center;
}

#song-list h2 {
    margin-bottom: 20px;
}

.song-list-content {
    column-count: 2;
    column-gap: 40px;
    text-align: left;
    display: inline-block;
    width: 100%;
}

.song-list-content ul {
    list-style-type: none;
    padding: 0;
}

#media-introduction, #stills, #videos, #audio {
    max-width: 800px;
    margin: auto;
    padding: 20px;
    text-align: center;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 10px;
    padding: 20px 0;
}

.gallery-item {
    display: block;
    margin: 0 auto;
    width: 100%;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    transition: transform 0.3s ease-in-out;
    display: block;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

@media (min-width: 600px) {
    .gallery {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    }
}

h3 {
    color: #1E90FF;
    margin: 15px 0;
}

section p {
    font-size: 16px;
    color: #ffffff;
}

.event p, .event-details p {
    font-size: 18px;
    margin: 5px 0 15px;
    font-weight: bold;
}

.event, .event-details {
    background-color: #333;
    color: #fff;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
}

.event a, .event-details a, .event a.button, .event-details a.button {
    color: white;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

button, .button {
    background-color: #333;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 16px;
    margin: 4px 2px;
    transition-duration: 0.4s;
    border-radius: 5px;
}

button:hover, .button:hover, .event a.button:hover, .event-details a.button:hover {
    background-color: #1E90FF;
    color: white;
}

.directions-button {
    background-color: #4CAF50;
    color: white;
}

.directions-button:hover {
    background-color: #45a049;
    color: white;
}

#contact-info {
    max-width: 800px;
    margin: auto;
    padding: 20px;
    background-color: #333;
    color: #fff;
    border-radius: 5px;
}

#contact-info h2 {
    color: #1E90FF;
}

.contact-details p {
    font-size: 18px;
    line-height: 1.6;
}

.contact-details a {
    color: #1E90FF;
    text-decoration: none;
}

.contact-details a:hover {
    text-decoration: underline;
}

footer {
    background-color: black;
    color: white;
    text-align: center;
    padding: 20px;
    font-size: 14px;
}

footer a {
    color: white;
    text-decoration: none;
}
