

:root {
    --primary: #800000;
    --primary-dark: #4a0000;
    --primary-light: #b33636;
    --secondary: #f5e6e6;
    --accent: #ffd700;
    --dark: #1a1a2e;
    --light: #faf9f9;
    --gray: #6b7280;
    --bp-xl: 1400px;
    --container-padding: 2rem;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, #800000, #ff4500);
    z-index: 10000;
    transition: width 0.1s linear;
}

.footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #fff;
    padding: 4rem 0 2rem;
    margin-top: auto;
}

.footer-container {
    max-width: var(--bp-xl, 1400px);
    margin: 0 auto;
    padding: 0 var(--container-padding, 2rem);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h4 {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background: #800000;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-logo img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.footer-logo h3 {
    font-size: 1.1rem;
    margin: 0;
    color: #fff;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    margin: 0.5rem 0;
}

.footer-location {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: #fff;
    transform: translateX(5px);
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact i {
    color: #800000;
    font-size: 1.1rem;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: #fff;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #fff !important;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: #800000;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    margin: 0.5rem 0;
    font-size: 0.95rem;
}

.footer-credit a {
    color: #800000;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-credit a:hover {
    color: #ff4500;
}

@media (max-width: 768px) {
    html,
    body {
        overflow-x: hidden;
        max-width: 100%;
    }

    .container {
        width: 100%;
        max-width: 100%;
        padding-left: max(1rem, env(safe-area-inset-left, 0px));
        padding-right: max(1rem, env(safe-area-inset-right, 0px));
        box-sizing: border-box;
    }

    .row > [class*="col-"] {
        width: 100%;
        max-width: 100%;
    }

    .footer {
        padding: 3rem 0 1.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .footer-section h4 {
        font-size: 1.1rem;
    }
}

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

.container {
    max-width: var(--bp-xl, 1400px);
    margin: 0 auto;
    padding: 0 var(--container-padding, 2rem);
}

/* Mobile nav drawer is injected by nav.js - keep hidden until menu is opened */
.mobile-overlay:not(.active) {
    display: none !important;
}

.mobile-menu-drawer {
    transform: translateX(-100%);
}

img[loading="lazy"] {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
}

img[loading="lazy"].loaded {
    animation: none;
}

.btn,
a.btn {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn:hover,
a.btn:hover {
    transform: translateY(-2px);
}

.crawlable-nav {
    position: absolute !important;
    left: -10000px !important;
    top: auto !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
    border: 0 !important;
    visibility: hidden !important;
}

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

.crawlable-nav a:focus,
.crawlable-nav a:focus-visible {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

*:focus-visible {
    outline: 2px solid #800000;
    outline-offset: 2px;
}

.scale-in,
.fade-in-up,
.slide-in-left,
.slide-in-right,
.zoom-in {
    will-change: transform, opacity;
}

.scale-in.reveal,
.fade-in-up.reveal,
.slide-in-left.reveal,
.slide-in-right.reveal,
.zoom-in.reveal {
    will-change: auto;
}

@media (max-width: 992px) {
    
}

@media (hover: none) {
    .footer-links a:hover,
    .footer-social a:hover,
    .btn:hover {
        transform: none;
    }
}

.skip-to-content {
    position: fixed;
    top: -100%;
    left: 1rem;
    z-index: 1000000;
    padding: 0.75rem 1.25rem;
    background: #800000;
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 0 0 10px 10px;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    transition: top 0.2s ease;
}

.skip-to-content:focus {
    top: 0;
    outline: 3px solid #ffd700;
    outline-offset: 2px;
}
