:root {
    --bg-color: #121212;
    --text-color: #f4f4f4;
    --accent-color: #e50914;
    --card-bg: #1e1e1e;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    margin: 0;
    padding: 0;
    line-height: 1.6;
    
    /* NEW: Setup a clean stack layout for the whole page */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.brand-logo {
    max-height: 140px; /* Adjust this to make it look balanced */
    margin-top:1rem;
    margin-bottom: 1.5rem;
    display: block;
}

/* =========================================
   PINNED HEADER (Compact Two-Row Layout)
========================================= */
.pinned-header {
    display: flex;
    flex-direction: column; 
    align-items: center;    
    /* Reduced top and bottom padding significantly */
    padding: 0.6rem 1rem 0.5rem 1rem; 
    border-bottom: 1px solid #333;
    position: sticky;
    top: 0;
    background-color: rgba(18, 18, 18, 0.95); 
    backdrop-filter: blur(5px);
    z-index: 1000; 
}

.pinned-header h1 {
    /* Squeezed the margin to pull the menu closer to the title */
    margin: 0 0 0.3rem 0; 
    font-size: 1.3rem; /* Slightly smaller font to match the tighter space */
}

.pinned-header p {
    margin: 0 0 0.5rem 0; /* Puts a little breathing room above the menu */
    text-align: center;   /* The magic fix that centers the text on mobile! */
    font-size: 0.8rem;    /* Makes it slightly smaller than the main text */
    color: #aaa;          /* Softens the color so it doesn't fight the main title */
    max-width: 90%;       /* Stops the text from touching the absolute edges of the phone screen */
    font-style: italic;
}

.nav-menu {
    margin-top: 0; 
    display: flex;
    justify-content: center;
    gap: 1.5rem; 
    flex-wrap: wrap; 
}

.nav-menu a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: bold;
    /* Reduced top/bottom padding on the links */
    padding: 0.2rem 0.8rem;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.nav-menu a:hover {
    color: var(--accent-color);
    background-color: rgba(255, 255, 255, 0.05);
}

/* =========================================
   MAIN LAYOUT
========================================= */
main {
    width: 100%;
    max-width: 1000px;
    margin: 2rem auto; 
    padding: 0 1rem;
    box-sizing: border-box;
    /* Creates a guaranteed 4-rem gap between your content and the footer */
    padding-bottom: 1.5rem;
    /* This pushes the footer to the bottom if content is short */
    flex: 1; 
}

/* Grid for the Home Page */
.grid-container {
    /* display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem; */
    display: flex;
    flex-wrap: wrap;       /* Allows cards to flow to the next row */
    justify-content: center; /* Centers everything perfectly! */
    gap: 2rem;
}

.band-card {
    width: 100%;
    max-width: 300px; /* Keeps them the exact same size they were before */

    background: var(--card-bg);
    border-radius: 8px;
    overflow: hidden;
    text-align: center;
    transition: transform 0.2s;
    display: flex;
    flex-direction: column;
    height: 100%; 
}

.band-card:hover {
    transform: translateY(-5px);
}

.band-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    background-color: #333; 
}

.band-card h3, .band-card p {
    padding: 0 1rem;
}

.band-card h3 {
    margin: 1rem 0 0.2rem 0;
}

.band-card p {
    color: #aaa;
    margin-bottom: 1.5rem;
}
/* =========================================
    Base Buttons 
========================================= */
.button {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background-color: var(--accent-color);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.band-card .button {
    margin-top: auto; 
    margin-bottom: 1.5rem;
    align-self: center;
}

.button:hover {
    background-color: #b8070f;
}
/* =========================================
    Profile Page Base Layout
========================================= */
.profile-container {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.profile-container img {
    width: 100%;
    max-height: 400px;
    object-fit: contain;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.profile-container h1 {
    font-size: 2.5rem;
    margin-bottom: 0;
}

.profile-container h3 {
    color: var(--accent-color);
    margin-top: 0.5rem;
}

/* 1. Target the main container to force left alignment */
#band-bio {
    text-align: left;
}

/* 2. Target the paragraphs inside the bio to control the gap */
#band-bio p {
    margin-top: 0;         /* Kills the browser's default top spacing */
    margin-bottom: 0.5rem; /* Now this single value fully controls the gap! */
    line-height: 1.5; 
}

/* 3. Clean up the bottom edge */
#band-bio p:last-child {
    margin-bottom: 0;
}

/* =========================================
   SOCIAL LINKS (BANDS)
========================================= */
.social-links {
    margin-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

.platform-btn {
    background-color: var(--accent-color);
    color: white;
    padding: 0.8rem 1.5rem; 
    border: none;
    border-radius: 4px; 
    display: flex;       
    align-items: center; 
    gap: 0.5rem; 
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.2s ease;
}

.platform-btn:hover {
    background-color: #b8070f; 
    color: white;
}

/* =========================================
   SITE FOOTER (Two-Row Layout)
========================================= */
.site-footer {
    background-color: var(--card-bg);
    border-top: 1px solid #333;
    padding: 0.8rem 1rem; /* this changes the overall size/height of the footer */
    width: 100%;
    box-sizing: border-box;
    margin-top: auto; 
}

/* Constrain the width so the left/right text doesn't touch the edges of giant monitors */
.footer-content {
    max-width: 1000px; 
    margin: 0 auto;
}

/* --- Row 1: Socials --- */
.footer-socials {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 0;
    margin-bottom: 0.8rem; /* Creates space between the icons and the text row */
}

.footer-icon {
    color: #888;
    font-size: 1.5rem; 
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
}

.footer-icon:hover {
    color: var(--text-color);
    transform: translateY(-3px);
}

/* --- Row 2: Info (3 Columns) --- */
.footer-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #333; /* A subtle line to separate socials from text */
    padding-top: 0.8rem;
}

.footer-left, .footer-center, .footer-right {
    flex: 1; /* Forces all 3 columns to share the exact same amount of space */
}

.footer-left {
    text-align: left;
}

.footer-center {
    text-align: center;
}

.footer-right {
    text-align: right;
}

.footer-info-row p {
    margin: 0; 
    color: #888;
    font-size: 0.85rem;
}

.footer-slogan {
    font-style: italic;
    color: #aaa !important; /* Slightly brighter than standard footer text */
}

.footer-email {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: bold;
}

.footer-email:hover {
    text-decoration: underline;
    color: white;
}
/* footer email */
#display-email {
    cursor: pointer;
    /*font-weight: bold; /* Optional: makes it stand out a bit more */
    transition: opacity 0.2s ease;
}

#display-email:hover {
    text-decoration: underline;
    opacity: 0.8;
}

/* --- Mobile Responsiveness --- */
/* If the screen is smaller than a tablet, stack the 3 columns into a center column */
@media (max-width: 768px) {
    .footer-info-row {
        flex-direction: column;
        gap: 1rem; /* Adds space between the stacked text */
    }
    .footer-left, .footer-center, .footer-right {
        text-align: center;
    }
}

/* =========================================
   MEDIA EMBED CONTAINER
========================================= */
.media-container {
    margin-top: 2rem;
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    background-color: #000; /* Hides any weird loading flashes */
}

.media-container iframe {
    width: 100%;
    aspect-ratio: 16 / 9; /* Keeps perfect video proportions natively */
    border: none;
    display: block;
}

/* =========================================
   TOUR DATES / ANNOUNCEMENTS
========================================= */
.tour-container {
    margin-top: 2rem;
    background-color: var(--card-bg);
    border-radius: 8px;
    padding: 1.5rem;
    text-align: left; /* Aligns the dates nicely to the left */
}

.tour-container h4 {
    margin-top: 0;
    margin-bottom: 1rem;
    color: var(--text-color);
    border-bottom: 1px solid #333;
    padding-bottom: 0.5rem;
}

.tour-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tour-item {
    display: flex;
    flex-direction: column;
    padding: 0.8rem 0;
    border-bottom: 1px solid #222;
}

.tour-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.tour-date {
    color: var(--accent-color);
    font-weight: bold;
    font-size: 0.9rem;
    margin-bottom: 0.2rem;
}

.tour-details {
    color: #ccc;
    font-size: 0.95rem;
}

/* =========================================
   Cloaking data (Currently Disabled)
========================================= */

/* body {
    opacity: 0;
    transition: opacity 0.1s ease-in-out;
}

body.loaded {
    opacity: 1;
} 
*/