/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(15, 15, 35, 0.7);
    backdrop-filter: blur(15px);
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition);
    border-bottom: 1px solid rgba(139, 92, 246, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-logo-img {
    height: 40px;
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.nav-logo h2 {
    color: var(--text-color);
    font-weight: 700;
    font-size: 1.5rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-color);
    margin: 3px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(15, 15, 35, 0.7), rgba(15, 15, 35, 0.7)), url('../assets/images/hunsrueck.jpg');
    background-size: cover;
    background-position: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 800px;
    padding: 0 20px;
    z-index: 2;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
    text-shadow: -4px -4px 0px rgba(139, 92, 246, 0.9), 4px 4px 0px rgba(236, 72, 153, 0.9);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--light-text);
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--light-text);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Intro Section */
.intro-section {
    padding: 5rem 0;
    background: var(--light-bg);
}

.intro-card {
    background: rgba(139, 92, 246, 0.05);
    border: 1px solid rgba(139, 92, 246, 0.1);
    border-radius: var(--border-radius);
    padding: 3rem;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
}

.intro-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    text-align: center;
}

.intro-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--light-text);
    margin-bottom: 2rem;
    text-align: center;
}

.intro-highlights {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--light-text);
    font-weight: 500;
}

.highlight-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.highlight-item span {
    font-size: 1rem;
}

.intro-cta {
    text-align: center;
}

/* Route Cards */
.route-card {
    background: var(--light-bg);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}

.route-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.route-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.route-card:hover .route-img {
    transform: scale(1.05);
}

.route-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(168, 85, 247, 0.1));
    opacity: 0;
    transition: var(--transition);
    z-index: 1;
}

.route-card:hover::before {
    opacity: 1;
}

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

.route-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 1.5rem 0;
    position: relative;
    z-index: 2;
}

.route-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    font-size: 1.2rem;
}

.route-header h3 {
    color: var(--text-color);
    font-size: 1.3rem;
    font-weight: 600;
}

.route-stats {
    display: flex;
    gap: 2rem;
    padding: 1rem 1.5rem;
    position: relative;
    z-index: 2;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--light-text);
    font-weight: 500;
}

.stat-item i {
    color: var(--primary-color);
    font-size: 1rem;
}

.stat-item span {
    font-size: 0.9rem;
}

.route-description {
    padding: 0 1.5rem 1rem;
    color: var(--light-text);
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

.route-highlights {
    padding: 0 1.5rem 1rem;
    position: relative;
    z-index: 2;
}

.route-highlights h4 {
    color: var(--text-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.route-highlights ul {
    list-style: none;
    padding: 0;
}

.route-highlights li {
    color: var(--light-text);
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.5;
}

.route-highlights li::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-size: 0.8rem;
}

.route-summary {
    padding: 0 1.5rem 1.5rem;
    color: var(--light-text);
    font-style: italic;
    position: relative;
    z-index: 2;
}

.route-actions {
    padding: 0 1.5rem 1.5rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.route-actions .btn {
    flex: 1;
    min-width: 150px;
    justify-content: center;
}

/* Finisher Cards */
.finisher-card {
    background: var(--background-color);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(139, 92, 246, 0.1);
}

.finisher-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.finisher-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 215, 0, 0.05));
    opacity: 0;
    transition: var(--transition);
}

.finisher-card:hover::before {
    opacity: 1;
}

.finisher-card.gold::before {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 215, 0, 0.05));
}

.finisher-card.silver::before {
    background: linear-gradient(135deg, rgba(192, 192, 192, 0.1), rgba(192, 192, 192, 0.05));
}

.finisher-card.bronze::before {
    background: linear-gradient(135deg, rgba(205, 127, 50, 0.1), rgba(205, 127, 50, 0.05));
}

.medal-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--text-color);
    position: relative;
    z-index: 2;
}

.medal-icon i {
    font-weight: 900;
}

.medal-icon.gold {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    box-shadow: 0 4px 20px rgba(255, 215, 0, 0.3);
}

.medal-icon.silver {
    background: linear-gradient(135deg, #c0c0c0, #e5e5e5);
    box-shadow: 0 4px 20px rgba(192, 192, 192, 0.3);
}

.medal-icon.bronze {
    background: linear-gradient(135deg, #cd7f32, #daa520);
    box-shadow: 0 4px 20px rgba(205, 127, 50, 0.3);
}

.finisher-card h4 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    position: relative;
    z-index: 2;
}

.finisher-card p {
    color: var(--light-text);
    position: relative;
    z-index: 2;
}

.finisher-card.gold {
    border-color: rgba(255, 215, 0, 0.3);
}

.finisher-card.silver {
    border-color: rgba(192, 192, 192, 0.3);
}

.finisher-card.bronze {
    border-color: rgba(205, 127, 50, 0.3);
}

.finisher-card.gold:hover {
    border-color: rgba(255, 215, 0, 0.5);
    box-shadow: 0 8px 30px rgba(255, 215, 0, 0.2);
}

.finisher-card.silver:hover {
    border-color: rgba(192, 192, 192, 0.5);
    box-shadow: 0 8px 30px rgba(192, 192, 192, 0.2);
}

.finisher-card.bronze:hover {
    border-color: rgba(205, 127, 50, 0.5);
    box-shadow: 0 8px 30px rgba(205, 127, 50, 0.2);
}

/* Contact Cards */
.contact-card {
    background: var(--light-bg);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: left;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(139, 92, 246, 0.1);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.contact-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
    text-align: center;
}

.contact-card p {
    color: var(--light-text);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.contact-card-actions {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    margin-top: 1.5rem;
}

.contact-card-actions .btn {
    width: 100%;
    justify-content: center;
}

/* Responsive Design for Components */
@media (max-width: 768px) {
    .nav-logo-img {
        height: 35px;
    }

    .nav-logo h2 {
        font-size: 1.3rem;
    }

    .navbar .nav-links {
        position: fixed;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(15, 15, 35, 0.95);
        backdrop-filter: blur(15px);
        flex-direction: column;
        padding: 2rem;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
        border-top: 1px solid rgba(139, 92, 246, 0.1);
    }

    .navbar .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .navbar .nav-links a {
        padding: 1rem 0;
        border-bottom: 1px solid rgba(139, 92, 246, 0.1);
        width: 100%;
        text-align: center;
    }

    .navbar .nav-links a:hover {
        background: rgba(139, 92, 246, 0.1);
        border-radius: var(--border-radius);
    }

    .navbar .nav-links a:last-child {
        border-bottom: none;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .hero {
        padding-top: 100px;
    }

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

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .intro-highlights {
        flex-direction: column;
        align-items: center;
    }

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

    .route-actions {
        flex-direction: column;
    }

    .route-actions .btn {
        width: 100%;
    }

    .contact-links {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .route-card,
    .finisher-card,
    .contact-card {
        padding: 1.5rem;
    }

    .intro-card {
        padding: 2rem;
    }
} 