/* ==========================================================================
   Shared site chrome: reset, variables, navigation, footer.
   Page-specific styles remain inline in each page's own <style> block.
   ========================================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-red: #AE1528;
    --warm-orange: #FF6B35;
    --soft-yellow: #FFE66D;
    --earthy-green: #4A7C59;
    --cream: #FFF8F0;
    --warm-beige: #F5E6D3;
    --dark-text: #2C2416;
    --gray-text: #6B5D4F;
    --primary-blue: #2563EB;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--dark-text);
    background: white;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(174, 21, 40, 0.1);
    z-index: 1000;
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--dark-text);
}

.nav-links {
    display: flex;
    gap: 1.75rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--gray-text);
    font-weight: 500;
    transition: color 0.2s;
    white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-red);
}

.nav-cta {
    background: var(--primary-red);
    color: white !important;
    padding: 0.65rem 1.75rem;
    border-radius: 50px;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(174, 21, 40, 0.2);
}

.nav-cta:hover {
    background: #8B1020;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(174, 21, 40, 0.3);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark-text);
    line-height: 1;
}

/* Footer */
footer {
    background: var(--dark-text);
    color: rgba(255, 255, 255, 0.8);
    padding: 4rem 2rem 2rem;
}

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

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

.footer-section h4 {
    margin-bottom: 1rem;
    font-size: 1rem;
    font-weight: 600;
    color: white;
}

.footer-section ul {
    list-style: none;
}

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

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

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

/* Responsive nav */
@media (max-width: 768px) {
    .nav-container {
        position: relative;
    }

    .nav-links {
        display: none;
    }

    .nav-links.is-open {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 1.25rem;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        padding: 1.5rem 2rem;
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
        border-bottom: 1px solid rgba(174, 21, 40, 0.1);
    }

    .mobile-menu-btn {
        display: block;
    }
}

@media (max-width: 1024px) {
    .nav-links {
        gap: 1.1rem;
    }
}
