:root {
    --primary: #005D8A;
    --primary-dark: #00456B;
    --secondary: #FFC107;
    --secondary-dark: #E6AD00;
    --light: #F8F9FA;
    --dark: #212529;
    --gray: #6C757D;
    --light-gray: #E9ECEF;
    --white: #FFFFFF;
    --success: #28A745;
    --blue-accent: #0074D9;
    --danger: #DC3545;
    --biker-red: #CC0000;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--dark);
    background-color: var(--light);
    line-height: 1.6;
}

/* Modern Header */
.site-header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1030;
}

.site-header .navbar-brand {
    font-weight: 700;
    color: var(--primary);
}

.site-header .nav-link {
    color: var(--dark);
    font-weight: 500;
    padding: 0.5rem 1rem;
    margin: 0 0.25rem;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.site-header .nav-link:hover {
    background-color: var(--light-gray);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(0,93,138,0.85) 0%, rgba(29,53,87,0.85) 100%), url('motorrad-tour-hero.webp');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 5rem 0;
    margin-bottom: 3rem;
    position: relative;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero h1 {
    font-weight: 800;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.hero-credit {
    position: absolute;
    bottom: 0.5rem;
    right: 1rem;
    font-size: 0.7rem;
    color: rgba(255,255,255,0.5);
}

/* Table of Contents */
.toc {
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    padding: 1.5rem 2rem;
    margin-bottom: 2rem;
}

.toc h2 {
    color: var(--primary);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.toc ol {
    margin: 0;
    padding-left: 1.2rem;
}

.toc li {
    margin-bottom: 0.4rem;
}

.toc a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.toc a:hover {
    text-decoration: underline;
}

/* Route Map Section */
.route-map {
    height: 500px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Content Sections */
.content-section {
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    padding: 2rem;
    margin-bottom: 2rem;
}

.content-section h2 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.content-section h3 {
    color: var(--primary-dark);
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

/* Price Highlight Box */
.price-highlight {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
    color: var(--dark);
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.price-highlight h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.price-highlight .old-price {
    text-decoration: line-through;
    opacity: 0.7;
    font-size: 1.2rem;
}

/* Route Cards */
.route-card {
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.route-card:hover {
    transform: translateY(-5px);
}

.route-header {
    background-color: var(--primary);
    color: var(--white);
    padding: 1rem 1.5rem;
}

.route-content {
    padding: 1.5rem;
}

.route-stats {
    display: flex;
    justify-content: space-around;
    padding: 1rem;
    background-color: var(--light-gray);
    border-radius: 8px;
    margin-top: 1rem;
}

.route-stat {
    text-align: center;
}

.route-stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.route-stat-label {
    font-size: 0.9rem;
    color: var(--gray);
}

/* Accommodation Cards */
.accommodation-card {
    background-color: var(--white);
    border: 1px solid var(--light-gray);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.accommodation-card:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.rating {
    color: var(--secondary);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.top-rated-badge {
    background-color: var(--success);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 0.5rem;
}

/* Museum Card */
.museum-card {
    background-color: var(--light);
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.museum-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background-color: var(--biker-red);
}

/* Event Timeline */
.event-timeline {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 2rem;
}

.event-timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background-color: var(--primary);
}

.event-item {
    position: relative;
    padding-bottom: 2rem;
}

.event-item::before {
    content: '';
    position: absolute;
    left: -2.4rem;
    top: 0;
    width: 15px;
    height: 15px;
    background-color: var(--primary);
    border-radius: 50%;
    border: 3px solid var(--white);
}

.event-date {
    font-weight: 700;
    color: var(--danger);
    margin-bottom: 0.5rem;
}

/* Service Info Cards */
.service-card {
    background-color: var(--white);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
    text-align: center;
}

/* Insider Tips */
.insider-tip {
    background-color: var(--light);
    border-left: 4px solid var(--danger);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: 0 8px 8px 0;
}

.insider-tip h4 {
    color: var(--danger);
    margin-bottom: 0.5rem;
}

/* CTA Buttons */
.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

.btn-secondary {
    background-color: var(--secondary);
    border-color: var(--secondary);
    color: var(--dark);
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.btn-secondary:hover {
    background-color: var(--secondary-dark);
    border-color: var(--secondary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

.btn-danger {
    background-color: var(--danger);
    border-color: var(--danger);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.btn-danger:hover {
    background-color: #bb2d3b;
    border-color: #bb2d3b;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

/* Benefit Cards */
.benefit-card {
    background-color: var(--white);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.benefit-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

/* Featured Cards */
.feature-card {
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    margin-bottom: 1.5rem;
    overflow: hidden;
    height: 100%;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

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

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

/* Images */
.img-feature {
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin: 1.5rem 0;
    max-width: 100%;
    height: auto;
}

/* Image Credits */
.img-credit {
    font-size: 0.75rem;
    color: var(--gray);
    display: block;
    margin-top: 0.25rem;
}

/* Accordion */
.accordion-item {
    background-color: var(--white);
    border: none;
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
}

.accordion-button {
    padding: 1.25rem;
    font-weight: 600;
    background-color: var(--white);
    box-shadow: none;
}

.accordion-button:not(.collapsed) {
    color: var(--primary);
    background-color: rgba(0,93,138,0.05);
}

.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(0,93,138,0.25);
}

.accordion-body {
    padding: 1.25rem;
    background-color: var(--white);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background-color: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    text-decoration: none;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 1000;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    border: none;
}

.back-to-top.show {
    opacity: 1;
}

.back-to-top:hover {
    transform: translateY(-5px);
    color: var(--white);
}

/* Footer */
.site-footer {
    background-color: var(--primary);
    color: var(--white);
    padding: 4rem 0 2rem;
    margin-top: 3rem;
}

.site-footer a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.2s ease;
}

.site-footer a:hover {
    color: var(--white);
    text-decoration: underline;
}

.footer-links h5 {
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    margin-top: 2rem;
    font-size: 0.9rem;
}

/* Sticky CTA */
.sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    padding: 1rem;
    box-shadow: 0 -5px 15px rgba(0,0,0,0.1);
    z-index: 999;
    display: flex;
    justify-content: center;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.sticky-cta.show {
    transform: translateY(0);
}

/* Accessibility Improvements */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

:focus {
    outline: 3px solid rgba(0,93,138,0.5);
    outline-offset: 2px;
}

/* High Contrast Focus States */
@media (forced-colors: active) {
    .btn:focus,
    .form-control:focus,
    a:focus {
        outline: 3px solid SelectedItem;
    }
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2rem;
    }

    .content-section {
        padding: 1.5rem;
    }

    .route-map {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 3rem 0;
    }

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

    .route-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .event-timeline {
        padding-left: 1.5rem;
    }

    .event-item::before {
        left: -1.9rem;
    }

    .route-map {
        height: 300px;
    }
}

@media (max-width: 576px) {
    .hero {
        padding: 2rem 0;
    }

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

    .content-section {
        padding: 1.25rem;
    }

    .btn-primary,
    .btn-secondary,
    .btn-outline,
    .btn-danger {
        width: 100%;
        margin-bottom: 0.5rem;
    }

    .back-to-top {
        bottom: 5rem;
        right: 1rem;
        width: 2.5rem;
        height: 2.5rem;
    }

    .price-highlight h3 {
        font-size: 1.5rem;
    }
}
