body {
    margin: 0;
    font-family: 'Arial', sans-serif;
    color: #fff;
    background: #000;
    background-image: url('../images/g14-5_nasa_NF_dark_grey.svg');
    background-repeat: no-repeat;
	background-position: center;
    background-attachment: fixed;
    background-size: 80%;
}

html {
    scroll-behavior: smooth;
}

.bio {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    text-align: left; /* Left-aligns the text */
    font-size: 1.2rem;
    line-height: 1.6;
}

.bio p {
    text-align: left !important;
    margin: 10px 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.hero-content {
    background: rgba(0, 0, 0, 0.7); /* 70% transparent black */
    padding: 20px;
    border-radius: 10px;
    position: absolute; /* Starts in the center */
    top: 50%; /* Center vertically */
    left: 50%;
    transform: translate(-50%, -50%); 
    width: auto;
    z-index: 1000;
}

.bio-hero {
    position: relative;
    top: 0;
    margin-top: 40px; /* Adds space without affecting padding */
    padding: 20px;
    width: 100%;
    text-align: center;
}

/* Override .hero for Bio Page */
.bio-page .hero {
    height: auto; /* Prevents it from taking the full screen height */
    display: block; /* Removes flexbox centering */
    padding: 20px 0; /* Adds spacing so it doesn’t stick to the very top */
}

.hero-content.sticky {
    position: fixed; /* Sticks to the top when scrolled */
    top: 0;
    left: 50%;
    transform: translateX(-50%); /* Stay centered */
    width: auto;
}
.band-name {
    font-family: "Libre Baskerville", serif;
    font-weight: 700;
    font-style: normal;
    font-size: 4rem; /* Adjust as needed */
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-align: center;
    margin: 0;
    white-space: nowrap;
}

.nav-links a {
    color: #fff;
    margin: 0 15px;
    text-decoration: none;
    font-size: 1.2rem;
}
.nav-links a:hover {
    text-decoration: underline;
}
.section {
    padding: 50px 0;
    text-align: center;
}
.music iframe {
    width: 80%;
    height: 305px;
    border: none;
    margin: 20px auto;
    display: block;
    margin-bottom: 10px;
}

.shows-container {
    display: flex;
    flex-direction: column; /* Stack tour dates */
    align-items: center; /* Center the list */
    text-align: center;
}

/* Full-screen overlay for the flyer (remains the same) */
.flyer-overlay {
    display: none; /* Hide by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8); /* Dark background */
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

/* Full-size flyer (remains the same) */
.flyer-overlay img {
    max-width: 90vw;
    max-height: 90vh;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.7);
    cursor: pointer;
}

.shows-list {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    text-align: left; /* Aligns text to the left within each list item */
    max-width: 600px; /* Optional: constrain width for readability */
    width: 100%;
}

/* NEW: Styles for each list item to align text and thumbnail */
.shows-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding: 10px;
    border-bottom: 1px solid #333; /* Optional: adds a separator line */
}

/* NEW: Styles for the dynamic thumbnails */
.thumbnail-flyer {
    width: 80px;
    height: 110px;
    object-fit: cover;
    margin-left: 20px;
    cursor: pointer;
    border: 1px solid #ddd;
    transition: transform 0.2s;
}

.thumbnail-flyer:hover {
    transform: scale(1.1);
}


.shows-list a {
    color: #ffcc00; /* Highlight ticket links */
    text-decoration: none; /* Remove underline */
    font-weight: bold;
}

.shows-list a:hover {
    text-decoration: underline;
}
.contact-form input,
.contact-form textarea {
    width: 100%;
    margin: 10px 0;
    padding: 10px;
    background: #222;
    border: 1px solid #444;
    color: #fff;
    border-radius: 5px;
}
.contact-form button {
    background: #444;
    border: none;
    padding: 10px 20px;
    color: #fff;
    cursor: pointer;
}
.bio-image {
    text-align: center; /* Centers the image */
    margin-top: 20px;
}

.bio-image img {
    max-width: 80%; /* Ensures it scales properly */
    height: auto; /* Keeps aspect ratio */
    border-radius: 10px; /* Slight rounding for a clean look */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5); /* Adds subtle depth */
}
.contact-form button:hover {
    background: #666;
}

.social-icons {
    text-align: center;
    margin-top: 10px;
    display: flex;
    justify-content: center;
    gap: 20px; /* Adds space between icons */
}

.icon-link {
    color: white;
    font-size: 48px;
    text-decoration: none; /* Prevents underline */
    display: inline-block; /* Ensures correct spacing */
    transition: opacity 0.3s ease-in-out;
}

.icon-link:hover {
    opacity: 0.7;
}

.icon-link:nth-child(2):hover {
    color: #E4405F; /* Instagram color for hover */
}

.footer {
    padding: 20px;
    text-align: center;
    background: #111;
    opacity: 0.5;
}

@media (max-width: 768px) { /* Targets tablets and smaller screens */
    body {
        background-attachment: fixed; /* Prevents jittery fixed background */
        background-size: 80%; /* Ensures full coverage */
        background-position: center; /* Keeps it aligned properly */
    } 

    .hero {
        display: flex;
        flex-direction: column; /* Stack elements properly */
        align-items: center; /* Ensures everything is centered */
        justify-content: center; /* Centers vertically */
        height: 100vh; /* Ensures it takes full screen height */
        text-align: center;
    }   
    
    .hero-content {
        width: 100%; /* Ensures the section doesn't overflow */
        align-content: center;
    }

    .shows-list {
        font-size: 0.8rem; /* Reduce font size for better readability */
    }

    /* Adjust list item padding for mobile */
    .shows-list li {
        padding: 8px 5px; /* Adjust padding for mobile */
        display: flex; /* Ensure flex layout is active */
        justify-content: space-between;
        align-items: center;
    }

    /* Explicitly define the thumbnail size and prevent it from shrinking */
    .thumbnail-flyer {
        flex-shrink: 0; /* This is the key: it prevents the image from shrinking */
        width: 45px;    /* You can make it slightly smaller for mobile screens */
        height: 45px;
        margin-left: 10px; /* Adjust space between text and flyer */
    }


    .band-name {
        font-size: 2.0rem; /* Reduce font size on smaller screens */
    }

    .music-player iframe {
        width: 100%; /* Full width */
        height: 200px; /* Reduce height for better mobile view */
    }

    .nav-links {
        display: flex;
        flex-direction: row; 
        align-items: center; 
        justify-content: center