:root {
    --cobalt-blue: #0047AB;
    --muted-gold: #B8860B;
    --soft-grey: #E0E0E0;
    --deep-teal: #008080;
    --text-dark: #333333;
    --bg-light: #F5F5F5;
}

body {
    font-family: 'Open Sans', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.7;
    font-size: 18px;
}

h1, h2, h4 {
    font-family: 'Merriweather', serif;
    font-weight: 700;
}

h1 { font-size: 3.5rem; color: var(--muted-gold); margin-bottom: 40px; }
h2 { font-size: 2.5rem; color: var(--cobalt-blue); margin-bottom: 60px; }
h3 { font-family: 'Open Sans', sans-serif; font-weight: 600; font-size: 1.5rem; color: var(--deep-teal); }

.main-header {
    background-color: var(--cobalt-blue);
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.navbar-brand {
    color: var(--muted-gold) !important;
    font-family: 'Merriweather', serif;
    font-weight: 700;
    font-size: 1.8rem;
}

.nav-link {
    color: #ffffff !important;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    margin: 0 15px;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--muted-gold) !important;
}

section {
    padding: 120px 0;
}

.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 71, 171, 0.6);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 40px;
    background: rgba(0, 0, 0, 0.2);
    border-left: 5px solid var(--muted-gold);
}

.hero-content p {
    color: #ffffff;
    font-size: 1.4rem;
}

.card-archive {
    background: #ffffff;
    border: 1px solid var(--soft-grey);
    padding: 40px;
    height: 100%;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.card-archive:hover {
    transform: translateY(-10px);
    border-color: var(--muted-gold);
}

.timeline {
    position: relative;
    padding-left: 40px;
    border-left: 2px solid var(--cobalt-blue);
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -49px;
    top: 5px;
    width: 16px;
    height: 16px;
    background: var(--muted-gold);
    border-radius: 50%;
}

.stat-strip {
    background: var(--cobalt-blue);
    color: #ffffff;
    padding: 60px 0;
}

.stat-item {
    text-align: center;
    border-right: 1px solid rgba(255,255,255,0.2);
}

.stat-item:last-child { border-right: none; }

.glossary-rail {
    display: flex;
    border-bottom: 1px solid var(--soft-grey);
    padding: 20px 0;
}

.glossary-term {
    flex: 0 0 300px;
    font-weight: 700;
    color: var(--cobalt-blue);
}

.matrix-box {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.matrix-item {
    border: 2px solid var(--soft-grey);
    padding: 20px;
    background: #fff;
}

.btn-muted-gold {
    background-color: var(--muted-gold);
    color: #ffffff;
    border: none;
    padding: 12px 30px;
    font-weight: 600;
    transition: 0.3s;
}

.btn-muted-gold:hover {
    background-color: #9a7008;
    color: #fff;
}

.main-footer {
    background-color: #111;
    color: #ccc;
    padding: 80px 0 40px;
}

.footer-title { color: var(--muted-gold); margin-bottom: 20px; }
.footer-subtitle { color: #fff; margin-bottom: 25px; border-bottom: 1px solid var(--deep-teal); padding-bottom: 10px; }
.footer-links { list-style: none; padding: 0; }
.footer-links a { color: #ccc; text-decoration: none; transition: 0.3s; }
.footer-links a:hover { color: var(--muted-gold); }

.cookie-banner {
    position: fixed;
    bottom: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.9);
    color: #fff;
    padding: 20px 0;
    z-index: 9999;
    display: none;
}

.limit-context {
    background: var(--soft-grey);
    padding: 40px;
    margin: 60px 0;
    border-radius: 4px;
}

.img-fluid-custom {
    max-width: 100%;
    height: auto;
    box-shadow: 20px 20px 0 var(--deep-teal);
    margin-bottom: 20px;
}