:root {
    --primary: #005D8A;
    --primary-light: #e8f2fb;
    --primary-dark: #003a64;
    --primary-hover: #004a70;
    --secondary: #FFC107;
    --secondary-dark: #e6a800;
    --text-dark: #212529;
    --text-light: #ffffff;
    --text-muted: #6c757d;
    --gray-light: #f8f9fa;
    --gray-medium: #e0e0e0;
    --success: #198754;
    --danger: #dc3545;
    --warning: #ffc107;
    --info: #0dcaf0;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.16);
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Segoe UI', Roboto, -apple-system, BlinkMacSystemFont, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--gray-light);
}

/* Header & Navigation */
.navbar {
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-sm);
    padding: 0.75rem 0;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--primary) !important;
    text-decoration: none;
}

.nav-link {
    color: var(--text-dark) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    border-radius: 6px;
    transition: var(--transition);
}

.nav-link:hover {
    background: var(--gray-light);
    color: var(--primary) !important;
}

.btn-cta-nav {
    background: var(--primary);
    color: var(--text-light) !important;
    padding: 0.5rem 1.25rem;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.btn-cta-nav:hover {
    background: var(--primary-dark);
    color: var(--text-light) !important;
}

/* Hero Section */
.hero {
    background: linear-gradient(180deg, rgba(0,93,138,0.92) 0%, rgba(0,69,107,0.88) 100%),
                url('/images/bunte-haeuser-nyhavn-kopenhagen.webp') center/cover;
    padding: 4rem 0 5rem;
    color: var(--text-light);
}

.hero h1 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.hero .lead {
    font-size: 1.15rem;
    opacity: 0.95;
}

.hero-badge {
    display: inline-block;
    background: var(--secondary);
    color: var(--text-dark);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.stat-card {
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(8px);
    padding: 1rem;
    border-radius: var(--border-radius);
    text-align: center;
    border: 1px solid rgba(255,255,255,0.15);
}

.stat-number {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--secondary);
    display: block;
}

.stat-label {
    color: var(--text-light);
    font-size: 0.85rem;
    margin-top: 0.25rem;
}

/* TOC */
.toc {
    background: var(--text-light);
    border-radius: var(--border-radius);
    padding: 1.5rem 2rem;
    margin: -3rem auto 2rem;
    position: relative;
    z-index: 10;
    box-shadow: var(--shadow-md);
    max-width: 800px;
}

.toc h2 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    color: var(--primary);
}

.toc ol {
    columns: 2;
    column-gap: 2rem;
    margin: 0;
    padding-left: 1.25rem;
}

.toc li {
    margin-bottom: 0.35rem;
    break-inside: avoid;
}

.toc a {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 0.95rem;
}

.toc a:hover {
    color: var(--primary);
    text-decoration: underline;
}

/* Route Comparison */
.route-comparison {
    background: var(--text-light);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    margin-bottom: 2rem;
}

.route-tabs {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.route-tab {
    flex: 1;
    min-width: 180px;
    padding: 1rem;
    background: var(--gray-light);
    border: 2px solid transparent;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.route-tab:hover {
    box-shadow: var(--shadow-sm);
}

.route-tab.active {
    background: var(--text-light);
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.route-tab h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.route-time {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
}

.route-details {
    display: none;
}

.route-details.active {
    display: block;
}

/* Content Sections */
.content-section {
    padding: 3rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.section-header h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.section-header p {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* Feature Cards */
.feature-card {
    background: var(--text-light);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.feature-card-img {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.feature-card-content {
    padding: 1.25rem;
}

.feature-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}

/* Insider Box */
.insider-box {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    color: var(--text-light);
}

.insider-box h3, .insider-box h4 {
    color: var(--text-light);
    margin-bottom: 0.75rem;
}

/* Calculator */
.calculator {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: var(--border-radius);
    padding: 2rem;
    color: var(--text-light);
}

.calc-input {
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    color: var(--text-light);
    padding: 0.6rem 0.75rem;
    border-radius: 6px;
    width: 100%;
    margin-bottom: 0.75rem;
}

.calc-input::placeholder {
    color: rgba(255,255,255,0.6);
}

.calc-input option {
    color: var(--text-dark);
}

.calc-result {
    background: rgba(255,255,255,0.15);
    padding: 1.25rem;
    border-radius: var(--border-radius);
    margin-top: 1rem;
    text-align: center;
}

.calc-result .price {
    font-size: 2rem;
    font-weight: 800;
    color: var(--secondary);
}

/* Tip Boxes */
.tip-box {
    background: var(--text-light);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--primary);
}

.tip-box h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

/* Map */
#map {
    height: 450px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    z-index: 1;
}

/* Modern Buttons */
.btn-modern {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary);
    color: var(--text-light);
    padding: 0.75rem 1.75rem;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-modern:hover {
    background: var(--primary-dark);
    color: var(--text-light);
}

.btn-outline-modern {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    color: var(--primary);
    padding: 0.75rem 1.75rem;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    border: 2px solid var(--primary);
}

.btn-outline-modern:hover {
    background: var(--primary);
    color: var(--text-light);
}

/* Image Credits */
.img-credit {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-align: right;
    margin-top: 0.25rem;
}

/* Footer */
.site-footer {
    background: var(--text-dark);
    color: var(--text-light);
    padding: 2.5rem 0 1.5rem;
    margin-top: 3rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.footer-section h5 {
    margin-bottom: 0.75rem;
    color: var(--secondary);
}

.footer-section a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--secondary);
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        padding: 2.5rem 0 3.5rem;
    }

    .toc ol {
        columns: 1;
    }

    .route-tab {
        min-width: 100%;
    }

    #map {
        height: 350px;
    }
}
