/* 1. Define variables for Light Mode (Default) */
:root {
    --bg-color: #ffffff;
    --container-bg: #f9f9f9;
    --text-main: #333333;
    --text-muted: #666666;
    --border-color: #cccccc;
    --accent-color: #0084EF;
    --footer-bg: #333333;
    --footer-text: #ffffff;
    --shadow: rgba(0, 0, 0, 0.1);
}

/* 2. Overwrite variables for Dark Mode */
@media (prefers-color-scheme: dark) {
    :root {
        --bg-color: #121212;
        --container-bg: #1e1e1e;
        --text-main: #ffffff;  /* Main titles to pure white */
        --text-muted: #f0f0f0; /* The date text: now much whiter */
        --border-color: #444444;
        --accent-color: #4db5ff; 
        --footer-bg: #000000;
        --footer-text: #ffffff;
        --shadow: rgba(0, 0, 0, 0.5);
    }
}

/* 3. Apply variables to your styles */
body {
    background-color: var(--bg-color);
    color: var(--text-main);
    transition: background-color 0.3s ease, color 0.3s ease;
}

footer {
    background-color: var(--footer-bg);
    color: var(--footer-text);
    padding: 20px 0;
    text-align: center;
    width: 100%;
    position: absolute;
    bottom: 0;
}

.schedule-title {
    font-size: 20px;
    color: var(--text-main);
    margin-bottom: 20px;
    text-align: center;
}

.schedule-list {
    list-style-type: none;
    padding: 0;
}

.schedule-item {
    border: 1px solid var(--border-color);
    border-radius: 5px;
    margin-bottom: 20px;
    padding: 20px;
    background-color: var(--container-bg);
    box-shadow: 0px 2px 4px var(--shadow);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.show-name {
    font-size: 18px;
    color: var(--accent-color);
    margin: 0;
}

.show-date {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0;
}

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

.schedule-link:hover {
    text-decoration: underline;
}

.schedule-container {
    padding-bottom: 40px;
}