/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --color-primary: #2d5016;
    --color-primary-light: #4a7c28;
    --color-accent: #8fbc5a;
    --color-bg: #f8faf5;
    --color-surface: #ffffff;
    --color-text: #1a1a1a;
    --color-text-muted: #555;
    --color-border: #dde8d0;
    --color-completed: #2d5016;
    --color-upcoming: #b0b0b0;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --radius: 8px;
}

[data-theme="dark"] {
    --color-primary: #6abf3b;
    --color-primary-light: #8fbc5a;
    --color-accent: #a8d97a;
    --color-bg: #1a1e14;
    --color-surface: #252b1e;
    --color-text: #e8e8e8;
    --color-text-muted: #aaa;
    --color-border: #3a4530;
    --color-completed: #6abf3b;
    --color-upcoming: #666;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.4);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, sans-serif;
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
}

/* Navigation */
.main-nav {
    background: var(--color-primary);
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: var(--shadow-md);
}

.nav-brand {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 700;
    text-decoration: none;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}

.nav-links a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--color-accent);
}

/* Theme Toggle */
.theme-toggle {
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 20px;
    padding: 0.4rem 0.7rem;
    cursor: pointer;
    font-size: 1.1rem;
    line-height: 1;
    transition: background 0.2s;
}

.theme-toggle:hover {
    background: rgba(255,255,255,0.25);
}

[data-theme="light"] .theme-icon-dark,
[data-theme="dark"] .theme-icon-light {
    display: none;
}

[data-theme="light"] .theme-icon-light,
[data-theme="dark"] .theme-icon-dark {
    display: inline;
}

[data-theme="dark"] .main-nav {
    background: #1e2a12;
}

/* Layout */
.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

/* Hero */
.hero {
    text-align: center;
    padding: 3rem 1rem;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    color: #fff;
    border-radius: var(--radius);
}

.hero h1 {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
}

.hero .subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 0.25rem;
}

.hero .location {
    font-size: 0.95rem;
    opacity: 0.75;
}

/* Sections */
section {
    margin-bottom: 3rem;
}

section h2 {
    font-size: 1.6rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--color-border);
    padding-bottom: 0.5rem;
}

/* Overview */
.overview p {
    font-size: 1.05rem;
    color: var(--color-text-muted);
}

/* Timeline */
.timeline-container {
    position: relative;
    padding-left: 2rem;
}

.timeline-container::before {
    content: '';
    position: absolute;
    left: 0.6rem;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--color-border);
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
    padding-left: 1.5rem;
}

.timeline-marker {
    position: absolute;
    left: -1.65rem;
    top: 0.3rem;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 3px solid var(--color-upcoming);
    background: var(--color-surface);
}

.timeline-item.completed .timeline-marker {
    background: var(--color-completed);
    border-color: var(--color-completed);
}

.timeline-item.completed .timeline-marker::after {
    content: '✓';
    color: #fff;
    font-size: 0.65rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.timeline-content {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 1.25rem;
    box-shadow: var(--shadow-sm);
}

.timeline-date {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--color-primary-light);
    margin-bottom: 0.25rem;
}

.timeline-content h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--color-text);
}

.timeline-content p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
}

.timeline-item.upcoming .timeline-content {
    opacity: 0.7;
    border-style: dashed;
}

.snapshot-link {
    display: inline-block;
    margin-top: 0.75rem;
    padding: 0.4rem 0.85rem;
    background: var(--color-primary);
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: background 0.2s;
}

.snapshot-link:hover {
    background: var(--color-primary-light);
}

.timeline-details {
    margin-top: 0.75rem;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 4px;
    padding: 0.75rem 1rem;
}

.timeline-details summary {
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--color-primary);
}

.timeline-details ul {
    margin-top: 0.5rem;
    padding-left: 1.25rem;
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.timeline-details li {
    margin-bottom: 0.35rem;
}

.timeline-task-list {
    margin-top: 0.5rem;
    padding-left: 1.25rem;
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.timeline-task-list li {
    margin-bottom: 0.35rem;
}

/* Status Summary */
.status-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
}

.status-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.status-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-primary);
}

.status-label {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-top: 0.25rem;
}

/* Footer */
.site-footer {
    text-align: center;
    padding: 2rem;
    color: var(--color-text-muted);
    font-size: 0.85rem;
    border-top: 1px solid var(--color-border);
    margin-top: 2rem;
}

/* Responsive */
@media (max-width: 600px) {
    .main-nav {
        flex-direction: column;
        gap: 0.75rem;
    }

    .hero h1 {
        font-size: 1.6rem;
    }

    .status-grid {
        grid-template-columns: 1fr;
    }
}
