:root {
    --t4t-red: #D21F3C;
    --marine-blue: #002D62;
    --light-gray: #f4f4f4;
    --dark-text: #333;
    --off-white: #fdfdfd;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    background-color: var(--light-gray);
    color: var(--dark-text);
}

header {
    background-color: white;
    padding: 15px 20px;
    border-bottom: 5px solid var(--t4t-red);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

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

.header-text h1 {
    color: var(--marine-blue);
    margin: 0;
    font-size: 1.8rem;
}

.header-text h2 {
    color: var(--t4t-red);
    margin: 5px 0;
    font-weight: 500;
}

.header-text .sub-header {
    margin: 0;
    font-size: 0.9rem;
    color: #666;
}

.logo {
    height: 80px;
}

.t4t-logo {
    height: 60px;
}

.container {
    display: flex;
    max-width: 1200px;
    margin: 20px auto;
    gap: 20px;
    padding: 0 20px;
}

#map {
    height: 70vh;
    flex: 2; /* Takes 2/3 of the width */
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

#location-list-container {
    flex: 1; /* Takes 1/3 of the width */
    height: 70vh;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
}

.list-header {
    background: var(--marine-blue);
    color: white;
    padding: 15px;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    text-align: center;
}

.list-header h3 {
    margin: 0;
    font-size: 1.1rem;
}

#location-list {
    overflow-y: auto;
    flex-grow: 1;
}

.location-item {
    padding: 15px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    transition: background-color 0.2s;
}

.location-item:hover {
    background-color: #eef5ff;
}

.location-item h4 {
    margin: 0 0 5px 0;
    color: var(--t4t-red);
}

.location-item p {
    margin: 0;
    font-size: 0.9rem;
    color: #555;
}

footer {
    text-align: center;
    padding: 20px;
    background-color: var(--marine-blue);
    color: white;
    font-size: 0.9rem;
}

.footer-bear {
    height: 100px;
    margin-top: 10px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 15px;
    }
    .logo {
        height: 60px;
    }
    .container {
        flex-direction: column;
    }
    #map, #location-list-container {
        height: 50vh;
    }
}