:root {
    --primary-bg: #F0F2F5;
    --deep-ocean: #34495E;
    --calm-teal: #AEC6CF;
    --subtle-horizon: #CED4DA;
    --white: #FFFFFF;
    --text-main: #2C3E50;
}

body {
    background-color: var(--primary-bg);
    color: var(--text-main);
    font-family: 'Open Sans', sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    color: var(--deep-ocean);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

h1 { font-size: 3.5rem; line-height: 1.2; }
h2 { font-size: 2.5rem; border-bottom: 2px solid var(--calm-teal); padding-bottom: 10px; margin-top: 4rem; }
h3 { font-size: 1.75rem; margin-top: 2rem; }

.container-wide {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px;
}

section {
    padding: 100px 0;
}

.bg-subtle { background-color: var(--subtle-horizon); }

/* Header & Nav */
header {
    background: var(--white);
    border-bottom: 1px solid var(--subtle-horizon);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--deep-ocean);
    text-decoration: none;
    letter-spacing: 2px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
}

nav a {
    text-decoration: none;
    color: var(--deep-ocean);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

nav a:hover { color: var(--calm-teal); }

/* Hero */
.hero {
    height: 80vh;
    background: linear-gradient(rgba(52, 73, 94, 0.6), rgba(52, 73, 94, 0.6)), url('../images/hero.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

.hero h1 { color: var(--white); border: none; }
.hero-content { max-width: 900px; }

/* Components */
.img-cinematic {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    box-shadow: 20px 20px 0px var(--calm-teal);
    border-radius: 4px;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.info-card {
    background: var(--white);
    padding: 40px;
    border: 1px solid var(--subtle-horizon);
    transition: all 0.3s ease-in-out;
}

.info-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-color: var(--calm-teal);
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 0;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background: var(--deep-ocean);
    top: 0; bottom: 0; left: 50%;
}

.timeline-item {
    padding: 20px 40px;
    position: relative;
    width: 50%;
    box-sizing: border-box;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    right: -8px;
    background: var(--calm-teal);
    border: 2px solid var(--deep-ocean);
    top: 25px;
    border-radius: 50%;
    z-index: 1;
}

.left { left: 0; text-align: right; }
.right { left: 50%; }
.right::after { left: -8px; }

/* Glossary Rail */
.glossary-rail {
    display: flex;
    border-top: 1px solid var(--deep-ocean);
}

.glossary-term {
    flex: 1;
    padding: 20px;
    border-right: 1px solid var(--subtle-horizon);
}

.glossary-def {
    flex: 2;
    padding: 20px;
}

/* Footer */
footer {
    background: var(--deep-ocean);
    color: var(--white);
    padding: 60px 0;
    margin-top: 80px;
}

footer a { color: var(--calm-teal); text-decoration: none; }
footer h3 { color: var(--white); border-bottom: 1px solid var(--calm-teal); padding-bottom: 5px; }

.cookie-banner {
    position: fixed;
    bottom: 0;
    width: 100%;
    background: var(--white);
    padding: 20px;
    border-top: 3px solid var(--calm-teal);
    z-index: 9999;
    display: none;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.1);
}

.btn-custom {
    display: inline-block;
    padding: 12px 30px;
    background: var(--deep-ocean);
    color: var(--white);
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: background 0.3s;
    text-decoration: none;
}

.btn-custom:hover {
    background: var(--calm-teal);
    color: var(--deep-ocean);
}

.disclaimer-box {
    border: 2px solid #e74c3c;
    padding: 20px;
    margin: 20px 0;
    background: rgba(231, 76, 60, 0.05);
}

@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    .timeline::after { left: 31px; }
    .timeline-item { width: 100%; padding-left: 70px; text-align: left; }
    .timeline-item::after { left: 23px; }
    .right { left: 0; }
    .glossary-rail { flex-direction: column; }
}