/* Default Template — On The Road */

:root {
    --otr-primary: #2c3e50;
    --otr-accent: #c0392b;
    --otr-warm: #f5f0eb;
    --otr-text: #333;
}

body {
    color: var(--otr-text);
    font-family: 'Georgia', serif;
}

/* Navbar */
.navbar-brand {
    font-family: 'Georgia', serif;
    font-weight: bold;
    letter-spacing: 1px;
}

/* Hero */
.hero-section {
    background: linear-gradient(135deg, var(--otr-primary), #1a252f);
    color: #fff;
    padding: 4rem 0;
}
.hero-section h1 {
    font-size: 2.75rem;
    font-weight: bold;
    letter-spacing: 1px;
}
.hero-section .lead {
    font-size: 1.25rem;
    opacity: 0.85;
}
.hero-stats {
    display: flex;
    gap: 2rem;
    margin-top: 1.5rem;
    justify-content: center;
}
.hero-stat {
    text-align: center;
}
.hero-stat .stat-number {
    font-size: 2rem;
    font-weight: bold;
    display: block;
}
.hero-stat .stat-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.7;
}

/* Cards */
.story-card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.2s, box-shadow 0.2s;
    height: 100%;
}
.story-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}
.story-card .card-body {
    display: flex;
    flex-direction: column;
}
.story-card .card-title a {
    color: var(--otr-primary);
    text-decoration: none;
}
.story-card .card-title a:hover {
    color: var(--otr-accent);
}
.story-card .card-text {
    flex-grow: 1;
}

/* Moment list */
.moment-item {
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
    transition: background 0.15s;
}
.moment-item:hover {
    background: #fafafa;
}
.moment-item:last-child {
    border-bottom: none;
}
.moment-date {
    color: var(--otr-accent);
    font-weight: bold;
    font-size: 0.9rem;
    white-space: nowrap;
    min-width: 120px;
}
.moment-title a {
    color: var(--otr-primary);
    text-decoration: none;
    font-weight: 600;
}
.moment-title a:hover {
    color: var(--otr-accent);
}
.moment-location {
    color: #777;
    font-size: 0.85rem;
}

/* Moment indicators */
.moment-indicators {
    flex-shrink: 0;
}
.moment-indicator {
    color: #aaa;
    font-size: 0.9rem;
    transition: color 0.15s;
}
.moment-indicator:hover {
    color: var(--otr-accent);
}
.moment-indicator .bi-journal-text { color: #6c757d; }
.moment-indicator .bi-image { color: #198754; }
.moment-indicator .bi-music-note-beamed { color: #0d6efd; }
.moment-indicator .bi-camera-video { color: #dc3545; }
.moment-indicator .bi-people { color: #6f42c1; }
.moment-indicator .bi-music-note-list { color: #fd7e14; }
.moment-indicator .bi-geo-alt { color: #20c997; }

/* Timeline */
.timeline-year-header {
    font-size: 2rem;
    font-weight: bold;
    color: var(--otr-primary);
    border-bottom: 3px solid var(--otr-accent);
    padding-bottom: 0.5rem;
    margin: 2rem 0 1rem;
}
.timeline-year-header:first-of-type {
    margin-top: 0;
}

/* Year nav pills */
.year-nav .nav-link {
    color: var(--otr-primary);
    border-radius: 20px;
    padding: 0.25rem 0.75rem;
    font-size: 0.85rem;
}
.year-nav .nav-link:hover {
    background: var(--otr-warm);
}
.year-nav .nav-link.active {
    background: var(--otr-primary);
    color: #fff;
}

/* Map */
#tourMap {
    height: 70vh;
    min-height: 400px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}
.map-popup-title {
    font-weight: bold;
    font-size: 1rem;
    margin-bottom: 0.25rem;
}
.map-popup-date {
    color: var(--otr-accent);
    font-size: 0.85rem;
}
.map-popup-location {
    color: #777;
    font-size: 0.8rem;
}

/* 404 */
.page-404 {
    text-align: center;
    padding: 5rem 0;
}
.page-404 h1 {
    font-size: 5rem;
    color: #ddd;
}

/* Section spacing */
.section {
    padding: 3rem 0;
}

/* Browse links */
.browse-links a {
    display: inline-block;
    margin: 0.25rem;
    padding: 0.35rem 0.75rem;
    background: var(--otr-warm);
    color: var(--otr-primary);
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.85rem;
}
.browse-links a:hover {
    background: var(--otr-primary);
    color: #fff;
}
