/* --- CSS Reset & Variables for a Modern Build --- */
:root {
    --color-primary: #8a0303; 
    --color-secondary: #000;
    --color-text-light: #fff;
    --color-text-dark: #333;
    --color-background-main: #f4f4f4;
    --color-background-dark: #1a1a1a;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--color-text-dark);
    background-color: var(--color-background-main);
}

/* --- Typography & Headings (The Luxury Look) --- */
h1, h2, h3 {
    font-family: var(--font-heading);
    margin-bottom: 0.5em;
    color: var(--color-secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
}

h1 { font-size: 2.5em; }
h2 { font-size: 1.8em; }

/* --- Header & Navigation (The Soulzonelive Brand) --- */
.site-header {
    background: var(--color-background-dark);
    color: var(--color-text-light);
    padding: 2em 5%; /* Keep padding for vertical space */
    border-bottom: 5px solid var(--color-primary);
    text-align: center; /* Fallback centering */
}

/* Wrapper for Logo and Images */
.header-content-wrapper {
    display: flex; /* Enables flexible layout */
    justify-content: center; /* Centers the whole group */
    align-items: center; /* Vertically aligns items */
    gap: 30px; /* Space between images and the title block */
    max-width: 1200px; /* Optional: Constrain the width */
    margin: 0 auto; /* Center the wrapper */
}

/* Container for the text (Logo and Tagline) */
.header-text {
    text-align: center;
    /* Ensure text doesn't shrink when images are present */
    flex-shrink: 0; 
}

/* Styling for the Images */
.header-image {
    width: 120px; /* Define a fixed size for the images */
    height: 120px;
    object-fit: cover; /* Ensures images are cropped nicely */
    border-radius: 5px;
    border: 3px solid var(--color-primary); /* Add a subtle frame */
}

/* Media Query: Hide images on very small screens to save space */
@media (max-width: 768px) {
    .header-image {
        display: none; 
    }
    .header-content-wrapper {
        gap: 0; /* Remove gap when images are gone */
    }
}

.logo {
    color: var(--color-primary);
    margin-bottom: 0.1em;
}

.tagline {
    font-style: italic;
    opacity: 0.8;
    margin-bottom: 1.5em;
}

.main-nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.main-nav a {
    text-decoration: none;
    color: var(--color-text-light);
    padding: 5px 10px;
    transition: color 0.3s, border-bottom 0.3s;
}

.main-nav a:hover {
    color: var(--color-primary);
    border-bottom: 2px solid var(--color-primary);
}

/* --- Sections & Main Content --- */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

section {
    padding: 40px 0;
    margin-bottom: 40px;
    border-bottom: 1px solid #ddd;
}

/* --- Hero Section (Listen) --- */
.hero {
    text-align: center;
    background: #fff;
    padding: 60px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

/* The Final Player Container (Static Embed) */
#player-container {
    min-height: 120px; 
    width: 100%;
    margin-top: 20px;
    /* Use a simple background as the player will draw over it */
    background: #fff; 
    border: 1px solid var(--color-primary); 
    padding: 5px; 
}

/* Button Styling (Only for the Follow button now) */
.follow-btn {
    background-color: var(--color-primary); 
    color: var(--color-text-light); 
    border: none;
    padding: 15px 30px;
    font-size: 1.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.1s;
    margin-top: 15px;
}

.follow-btn:hover {
    background-color: #a30808;
    transform: translateY(-2px);
}

.about-section {
    background: var(--color-text-light);
    padding: 30px 40px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.about-section h2 {
    color: var(--color-primary);
    margin-top: 0;
}

.about-section p {
    font-size: 1.1em;
    line-height: 1.7;
    max-width: 900px;
    margin: 0 auto;
}

/* --- Schedule Section (Grid Layout) --- */
.schedule-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.schedule-grid article {
    background: var(--color-text-light);
    padding: 20px;
    border-left: 5px solid var(--color-primary);
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.schedule-grid strong {
    font-size: 1.2em;
    display: block;
    margin: 5px 0 10px;
}

.time {
    font-weight: 700;
    color: var(--color-primary);
}

.genre {
    font-size: 0.9em;
    opacity: 0.7;
}

/* --- Recently Played (History) --- */
.track-list {
    list-style-type: square;
    padding-left: 20px;
    margin-top: 20px;
    font-size: 1.1em;
}

.track-list li {
    margin-bottom: 10px;
    border-bottom: 1px dotted #ccc;
    padding-bottom: 5px;
}

/* --- CTA Aside --- */
.cta-aside {
    background: var(--color-background-dark);
    color: var(--color-text-light);
    padding: 40px;
    text-align: center;
    margin: 60px 0;
}

/* Specific styling for the follow button in the CTA block */
.cta-aside .follow-btn {
    background-color: #4a4a4a; 
    color: var(--color-text-light);
    border: 1px solid var(--color-text-light);
    padding: 10px 25px;
    margin-top: 20px;
}

/* --- Footer --- */
.site-footer {
    text-align: center;
    padding: 20px 0;
    font-size: 0.9em;
    color: #666;
    border-top: 1px solid #eee;
}

.site-footer a {
    color: var(--color-primary);
    text-decoration: none;
}