/* --- 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%; 
    border-bottom: 5px solid var(--color-primary);
    text-align: center;
}

/* Wrapper for Logo and Images */
.header-content-wrapper {
    display: flex; 
    justify-content: center; 
    align-items: center; 
    gap: 30px; 
    max-width: 1200px; 
    margin: 0 auto; 
}

/* Container for the text (Logo and Tagline) */
.header-text {
    text-align: center;
    flex-shrink: 0; 
}

/* Styling for the Images */
.header-image {
    width: 120px; 
    height: 120px;
    object-fit: cover; 
    border-radius: 5px;
    border: 3px solid var(--color-primary); 
}

.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;
    background: #fff; 
    border: 1px solid var(--color-primary); 
    padding: 5px; 
}

.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;
    font-size: 1.1em; 
    color: var(--color-text-dark); 
}

/* Style for the genre/style descriptor to make it less distracting */
.track-style {
    font-size: 0.9em; 
    color: #666;      
    font-style: italic;
    font-weight: 400;
    margin-left: 5px;
}


/* --- Song Request Section Styling (NEW) --- */
.request-section {
    padding: 60px 20px;
    margin-bottom: 40px;
    background: #fff; 
    border: 1px solid #eee;
    text-align: center;
}

.request-intro {
    font-size: 1.1em;
    line-height: 1.6;
    max-width: 800px;
    margin: 20px auto 40px; 
}

/* Styling for the new Request button (Replacing the embedded form) */
.request-button {
    display: inline-block;
    background-color: var(--color-primary); 
    color: var(--color-text-light); 
    border: none;
    padding: 20px 40px;
    font-size: 1.3em;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    text-decoration: none; 
    border-radius: 5px;
    margin-top: 20px;
    margin-bottom: 20px;
    transition: background-color 0.3s;
}

.request-button:hover {
    background-color: #a30808;
}

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

/* Defining the follow button style */
.follow-btn {
    background-color: #4a4a4a; 
    color: var(--color-text-light);
    border: 1px solid var(--color-text-light);
    padding: 15px 30px;
    font-size: 1.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.1s;
    border-radius: 4px; 
    margin-top: 20px;
}

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

/* --- 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;
}

/* --- Responsive Navigation & Header --- */

/* Hide images and adjust header on small screens */
@media (max-width: 768px) {
    .header-image {
        display: none; 
    }
    .header-content-wrapper {
        gap: 0; 
        flex-direction: column; 
    }
    .header-text {
        text-align: center;
        width: 100%; 
    }
    .logo {
        font-size: 2em; 
    }
}

/* On smaller screens (like phones), force the navigation links to wrap */
@media (max-width: 600px) {
    
    .main-nav ul {
        flex-wrap: wrap; 
        gap: 10px;      
    }

    .main-nav li {
        width: 45%; 
        text-align: center;
    }

    .main-nav a {
        display: block;
        padding: 8px 10px;
        border: 1px solid rgba(255, 255, 255, 0.2); 
        border-radius: 4px;
        font-size: 0.9em;
    }

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