/* --- General Styles --- */
:root {
    --primary-color: #e50914; /* Red for emphasis */
    --secondary-color: #0f0f0f; /* Dark grey/black */
    --tertiary-color: #1a1a1a; /* Slightly lighter dark grey */
    --accent-color: #ffffff; /* White for text and highlights */
    --light-gray: #f4f4f4;
    --dark-gray: #333;
}

body {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    color: var(--accent-color);
    background-color: var(--secondary-color);
    line-height: 1.6;
    scroll-behavior: smooth; /* Still useful for potential anchor links if needed later */
}

.container {
    width: 85%; /* Slightly wider for better image/text flow */
    max-width: 1200px; /* Max width for very large screens */
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4 {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

h1 {
    font-size: 2.8em;
    margin: 0;
    color: var(--accent-color);
}

h2 {
    font-size: 3em; /* Slightly smaller for the hero */
    margin-bottom: 15px;
    color: var(--accent-color);
}

h3 {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 40px;
}

h4 {
    font-size: 1.8em;
    color: var(--primary-color);
    margin-bottom: 15px;
}

p {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1em;
    color: var(--light-gray);
    margin-bottom: 15px;
}

p:last-child {
    margin-bottom: 0;
}

a { /* No longer used for navigation, but good to have for links in text if any */
    color: var(--primary-color);
    text-decoration: none;
}

a:hover {
    color: var(--accent-color);
}

/* --- Header --- */
header {
    background: var(--tertiary-color);
    padding: 25px 0;
    border-bottom: 3px solid var(--primary-color);
    text-align: center; /* Center everything in header */
}

/* --- Hero Section --- */
#hero {
    height: 200px; /* Set a fixed height or a smaller min-height */
    background: url('hero.png') no-repeat center center/cover;
    text-align: center;
    color: var(--accent-color);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Dark overlay */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px; /* Padding for smaller screens */
}

.hero-content p {
    font-size: 1.3em;
    color: var(--light-gray);
}

/* --- Section Styles --- */
section {
    padding: 60px 0;
    border-bottom: 1px solid var(--tertiary-color);
}

section:last-of-type {
    border-bottom: none; /* No border on the very last section */
}

/* --- Event Details Section --- */
#event-details {
    background: var(--secondary-color);
}

#event-details h3 {
    margin-bottom: 50px; /* More space above the phase grid */
}

.phase-section {
    display: flex;
    align-items: center; /* Vertically align items */
    gap: 40px; /* Space between image and text */
    margin-bottom: 80px; /* Space between phases */
    text-align: left; /* Align text to the left within its column */
}

.phase-section:last-child {
    margin-bottom: 0; /* No margin on the last phase */
}

.phase-image-container {
    flex: 1; /* Takes up 1 part of the flex space */
    max-width: 45%; /* Limit width to about half */
}

.phase-image-container img {
    width: 100%;
    height: auto; /* Maintain aspect ratio */
    display: block; /* Remove extra space below image */
    border-radius: 8px;
}

.phase-text-content {
    flex: 1.2; /* Takes up slightly more space than image */
    max-width: 55%; /* Limit width */
}

.phase-text-content p {
    font-size: 1em; /* Slightly smaller text for readability in columns */
}

.phase-text-content p strong {
    color: var(--primary-color); /* Highlight key info */
}

/* Reverse layout for alternating effect */
.phase-section.reverse {
    flex-direction: row-reverse; /* Reverse the order */
}

/* --- LSPD Benefits Section --- */
#lspd-benefits {
    background: var(--tertiary-color);
    text-align: center;
}

#lspd-benefits p {
    max-width: 800px;
    margin: 0 auto 30px auto;
    font-size: 1.1em;
}

#lspd-benefits p strong {
    color: var(--primary-color); /* Highlight key terms */
}

#lspd-benefits blockquote {
    font-style: italic;
    color: var(--light-gray);
    border-left: 4px solid var(--primary-color);
    padding-left: 20px;
    margin: 30px auto;
    max-width: 600px;
    text-align: left;
}

/* --- Closing Section --- */
#closing {
    background: var(--secondary-color);
    text-align: center;
    padding-bottom: 80px; /* Extra padding at the bottom */
}

#closing p {
    font-size: 1.1em;
    color: var(--light-gray);
}

#closing p:last-child {
    margin-top: 20px;
}

#closing p strong {
    color: var(--accent-color); /* Make names stand out more */
}

/* --- Footer --- */
footer {
    background: var(--tertiary-color);
    color: var(--light-gray);
    text-align: center;
    padding: 30px 0;
    font-size: 0.9em;
}

/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
    header #branding h1 {
        font-size: 2em;
    }

    h2 {
        font-size: 2.5em;
    }

    h3 {
        font-size: 2em;
    }

    h4 {
        font-size: 1.5em;
    }

    .hero-content p {
        font-size: 1.1em;
    }

    .phase-section {
        flex-direction: column; /* Stack image and text */
        gap: 20px;
        margin-bottom: 50px;
        text-align: center; /* Center content */
    }

    .phase-section.reverse {
        flex-direction: column; /* Stack image and text, order doesn't matter when stacked */
    }

    .phase-image-container,
    .phase-text-content {
        max-width: 100%; /* Full width on small screens */
        flex: none; /* Remove flex grow/shrink */
    }

    .phase-image-container img {
        margin-bottom: 15px; /* Space below image */
    }

    #lspd-benefits blockquote {
        text-align: center; /* Center quote too */
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2em;
    }
    h2 {
        font-size: 2em;
    }
    .hero-content p {
        font-size: 1em;
    }
    .phase-text-content p {
        font-size: 0.95em;
    }
}