/* ========================================
   Théodore Roosevelt Presidency Website
   Shared Custom Styles
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&amp;family=Inter:wght@300;400;500;600&amp;display=swap');

:root {
    --navy: #0f172a;
    --crimson: #9f1239;
    --gold: #b45309;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

.heading-serif {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.025em;
}

.section-header {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    letter-spacing: -0.025em;
}

.presidential-navy {
    color: #0f172a;
}

.roosevelt-red {
    color: #9f1239;
}

.gold-accent {
    color: #b45309;
}

/* Navigation */
.nav-link {
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover {
    color: #9f1239;
    transform: translateY(-1px);
}

.nav-active {
    color: #9f1239 !important;
    font-weight: 600;
}

/* Cards & Components */
.fact-card, .pillar-card, .quote-card, .realisation-card {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), 
                box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.fact-card:hover, .realisation-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

.pillar-card {
    border-left: 5px solid #9f1239;
}

.quote-card {
    transition: all 0.3s ease;
}

/* Timeline */
.timeline-item {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.timeline-item:hover {
    transform: translateX(8px);
}

/* Images */
.historical-img {
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), 
                box-shadow 0.4s ease;
}

.historical-img:hover {
    transform: scale(1.015);
    box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.4);
}

/* Presidential Seal / Logo */
.presidential-seal {
    background: radial-gradient(circle at center, #0f172a 0%, #1e293b 70%);
}

/* Quiz Styles */
.quiz-container {
    max-width: 820px;
    margin: 0 auto;
}

.question-card {
    background: white;
    border-radius: 24px;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.05), 0 4px 6px -4px rgb(0 0 0 / 0.05);
}

.option {
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid #e2e8f0;
}

.option:hover {
    border-color: #9f1239;
    background-color: #fff1f2;
    transform: translateX(4px);
}

.option.selected {
    border-color: #9f1239;
    background-color: #fff1f2;
}

.option.correct {
    border-color: #15803d;
    background-color: #f0fdf4;
}

.option.incorrect {
    border-color: #b91c1c;
    background-color: #fef2f2;
}

.progress-bar {
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Modal */
.modal {
    animation: fadeInScale 0.2s ease forwards;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(10px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Utility */
.roosevelt-gradient {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

.content-section {
    scroll-margin-top: 80px;
}

/* Page specific */
.page-header {
    background: linear-gradient(to bottom, #0f172a, #1e293b);
}

.stat-box {
    background: white;
    border-radius: 16px;
    transition: transform 0.2s ease;
}

.stat-box:hover {
    transform: translateY(-2px);
}