:root {
    --primary-color: #8B0000;
    --text-color: #2D2D2D;
    --background-color: #F7F8FC;
    --link-hover-color: #660000;
}

body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    font-display: swap;
}

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

.logo {
    max-width: 300px;
    height: auto;
    display: block;
    margin: 20px auto;
}

.content {
    text-align: center;
    margin: 40px 0;
}

.video-container {
    max-width: 800px;
    width: 90%;
    margin: 40px auto;
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    z-index: 1;
}

video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Accessibility Widget */
.accessibility-widget {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    background: #fff;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.accessibility-widget button {
    margin: 0 5px;
    padding: 8px;
    border: none;
    background: #f0f0f0;
    cursor: pointer;
    border-radius: 3px;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    padding: 15px;
    text-align: center;
    box-shadow: 0 -2px 5px rgba(0,0,0,0.1);
    display: none;
    z-index: 1001;
}

.cookie-banner button {
    background: var(--primary-color);
    color: #ffffff;
    font-weight: bold;
    padding: 10px 20px;
    margin-left: 10px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
}

/* High Contrast Mode */
body.high-contrast {
    background: #000;
    color: #fff;
}

body.high-contrast .footer-content,
body.high-contrast footer,
body.high-contrast .cookie-banner {
    background: #000;
    color: #fff;
}

body.high-contrast .contact a,
body.high-contrast .footer-links a {
    color: #fff;
}

body.high-contrast .contact a:hover,
body.high-contrast .footer-links a:hover {
    color: #ffff00;
}

body.high-contrast .hours span,
body.high-contrast .contact h3,
body.high-contrast .hours h3 {
    color: #ffff00;
}

body.high-contrast .contact i {
    color: #ffff00;
}

footer {
    text-align: center;
    padding: 40px 20px;
    background: #ffffff;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.location {
    margin-bottom: 20px;
}

.hours {
    margin-bottom: 20px;
}

.hours h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

.hours ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hours li {
    margin-bottom: 5px;
}

.hours span {
    font-weight: bold;
    color: var(--primary-color);
}

.footer-links {
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.contact {
    margin-bottom: 20px;
}

.contact h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

.contact p {
    margin-bottom: 10px;
}

.contact i {
    margin-right: 10px;
    color: var(--primary-color);
}

.contact a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact a:hover {
    color: var(--link-hover-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    
    .logo {
        max-width: 200px;
    }
}

/* Make focus states visible for accessibility */
a:focus,
button:focus {
    outline: 3px solid #0066CC;
    outline-offset: 2px;
}

.offices {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.office {
    text-align: left;
    padding: 15px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 5px;
    border: 1px solid #eee;
    max-width: 400px;
    margin: 0 auto;
    width: 100%;
}

.office h4 {
    color: var(--primary-color);
    margin: 0 0 10px 0;
    font-size: 1.1em;
}

.office p {
    margin: 0;
    line-height: 1.4;
}

/* High contrast mode updates */
body.high-contrast .office {
    background: #333;
    border-color: #666;
}

body.high-contrast .office h4 {
    color: #ffff00;
}

/* Update footer grid layout */
.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
    
    .footer-links {
        grid-column: 1 / -1;
        margin-top: 20px;
    }
}

/* Remove the 1024px media query since we no longer need three columns */

.offices-container {
    text-align: center;
    padding: 40px 20px;
    background: #ffffff;
    border-bottom: 1px solid #eee;
}

.offices {
    max-width: 900px;
    margin: 20px auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.offices-row {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.office {
    text-align: left;
    padding: 15px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 5px;
    border: 1px solid #eee;
    width: 300px;  /* Fixed width for consistency */
}

/* Update high contrast mode for new structure */
body.high-contrast .offices-container {
    background: #000;
    border-color: #666;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .offices-row {
        flex-direction: column;
        align-items: center;
    }
    
    .office {
        width: 100%;
        max-width: 300px;
    }
} 