/* ===== ATHLETIC CYCLING TOURS STYLES - ORANGE THEME ===== */

/* Dashboard Section */
.section-title-sport {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: #2c3e50;
    text-align: center;
    margin: 3rem 0 2rem;
    letter-spacing: -0.5px;
    text-transform: uppercase;
}

.dashboard-section {
    padding: 3rem 0 4rem;
}

/* Stats Grid - Athletic Style */
.stats-grid-sport {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.stat-card-sport {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 4px solid var(--orange);
}

.stat-card-sport:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(253, 98, 0, 0.25);
}

.stat-accent {
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--orange), transparent);
    opacity: 0.1;
    border-radius: 0 16px 0 100%;
}

.stat-accent-gold {
    background: linear-gradient(135deg, #ffd700, transparent);
}

.stat-icon-sport {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--orange), #e05500);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 12px rgba(253, 98, 0, 0.35);
}

.stat-icon-sport i {
    font-size: 1.8rem;
    color: white;
}

.stat-card-progress .stat-icon-sport {
    background: linear-gradient(135deg, #ffd700, #ffa500);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
}

.stat-content-sport {
    position: relative;
    z-index: 1;
}

.stat-value-sport {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    color: #2c3e50;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label-sport {
    font-family: 'Nunito', sans-serif;
    font-size: 0.95rem;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

/* Progress Bar - Athletic */
.progress-bar-sport {
    width: 100%;
    height: 32px;
    background: #e9ecef;
    border-radius: 20px;
    overflow: hidden;
    margin-top: 1.5rem;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.progress-fill-sport {
    height: 100%;
    background: linear-gradient(90deg, var(--orange), #e05500);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(253, 98, 0, 0.4);
}

.progress-text {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Latest Tour Card */
.tour-link-sport {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--orange);
    text-decoration: none;
    display: block;
    margin-bottom: 0.75rem;
    transition: color 0.3s ease;
}

.tour-link-sport:hover {
    color: #e05500;
}

.stat-meta-sport {
    font-family: 'Nunito', sans-serif;
    font-size: 0.9rem;
    color: #495057;
    margin-bottom: 0.5rem;
}

/* Tours Grid - Athletic */
.tours-grid-sport {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.tour-card-sport {
    background: white;
    border-radius: 16px;
    padding: 1.75rem;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    border-left: 4px solid var(--orange);
}

.tour-card-accent {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--orange), transparent);
    opacity: 0.1;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.tour-card-sport:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(253, 98, 0, 0.25);
}

.tour-card-sport:hover .tour-card-accent {
    transform: scale(1.2);
    opacity: 0.15;
}

.tour-header-sport {
    margin-bottom: 1.5rem;
}

.tour-title-sport {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.tour-date-sport {
    font-family: 'Nunito', sans-serif;
    font-size: 0.85rem;
    color: #6c757d;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
}

.tour-date-sport i {
    color: var(--orange);
}

/* Strava Badge - Athletic */
.strava-badge-sport {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: #FC4C02;
    color: white;
    padding: 0.4rem 0.9rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    font-family: 'Nunito', sans-serif;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    box-shadow: 0 3px 10px rgba(252, 76, 2, 0.3);
    z-index: 2;
}

/* Tour Stats - Athletic Grid */
.tour-stats-sport {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1rem;
}

.tour-stat-sport {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1rem 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
}

.tour-card-sport:hover .tour-stat-sport {
    background: #e9ecef;
}

.stat-icon-small {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--orange), #e05500);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-icon-small i {
    font-size: 1rem;
    color: white;
}

.stat-info {
    flex: 1;
}

.stat-number {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 1.3rem;
    font-weight: 800;
    color: #2c3e50;
    line-height: 1;
}

.stat-unit {
    font-family: 'Nunito', sans-serif;
    font-size: 0.75rem;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    margin-top: 0.2rem;
}

/* Tour Card Hover Effect */
.tour-card-hover {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
    padding: 0.75rem;
    background: var(--orange);
    color: white;
    border-radius: 12px;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.tour-card-hover i {
    font-size: 1.2rem;
}

.tour-card-sport:hover .tour-card-hover {
    opacity: 1;
    transform: translateY(0);
}

/* ===== TOUR DETAIL PAGE - ORANGE THEME ===== */

/* Tour Hero Sport */
.tour-hero-sport {
    background: linear-gradient(135deg, var(--orange) 0%, #e05500 100%);
    position: relative;
    overflow: hidden;
    padding: 3rem 0 4rem;
}

.hero-pattern-sport {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(30deg, rgba(255,255,255,0.05) 12%, transparent 12.5%, transparent 87%, rgba(255,255,255,0.05) 87.5%, rgba(255,255,255,0.05)),
        linear-gradient(150deg, rgba(255,255,255,0.05) 12%, transparent 12.5%, transparent 87%, rgba(255,255,255,0.05) 87.5%, rgba(255,255,255,0.05)),
        linear-gradient(30deg, rgba(255,255,255,0.05) 12%, transparent 12.5%, transparent 87%, rgba(255,255,255,0.05) 87.5%, rgba(255,255,255,0.05)),
        linear-gradient(150deg, rgba(255,255,255,0.05) 12%, transparent 12.5%, transparent 87%, rgba(255,255,255,0.05) 87.5%, rgba(255,255,255,0.05));
    background-size: 80px 140px;
    background-position: 0 0, 0 0, 40px 70px, 40px 70px;
    opacity: 0.5;
}

/* Back Button - Fixed Position */
.hero-navigation {
    position: relative;
    z-index: 10;
    margin-bottom: 2rem;
}

.back-button-sport {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.back-button-sport i {
    font-size: 1.3rem;
}

.back-button-sport:hover {
    background: white;
    color: var(--orange);
    transform: translateX(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Hero Content */
.hero-content-sport {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
}

.tour-badge-sport {
    width: 70px;
    height: 70px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.tour-badge-sport i {
    font-size: 2rem;
    color: var(--orange);
}

.tour-hero-title {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
    line-height: 1.2;
}

.tour-meta-hero {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    font-family: 'Nunito', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.meta-item i {
    font-size: 1.2rem;
}

.meta-divider {
    opacity: 0.5;
}

/* Content Grid */
.content-grid-sport {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 2.5rem;
    margin-top: 3rem;
}

/* Main Column */
.main-column-sport {
    min-width: 0;
}

/* Section Headers */
.section-header-sport {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.section-icon-sport {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--orange), #e05500);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(253, 98, 0, 0.3);
}

.section-icon-sport i {
    font-size: 1.5rem;
    color: white;
}

.section-title-detail {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0;
}

/* Map Section */
.map-section-sport {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border-left: 4px solid var(--orange);
}

.map-container-sport {
    height: 450px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.map-placeholder-sport {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    color: #6c757d;
}

.map-placeholder-sport i {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: var(--orange);
}

/* Description Section */
.description-section-sport {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border-left: 4px solid var(--orange);
}

.description-text-sport {
    font-family: 'Nunito', sans-serif;
    font-size: 1.05rem;
    line-height: 1.7;
    color: #495057;
}

/* Related Tours */
.related-tours-sport {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border-left: 4px solid var(--orange);
}

.related-grid-sport {
    display: grid;
    gap: 1rem;
}

.related-tour-card-sport {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1.25rem;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 1rem;
    border: 2px solid transparent;
}

.related-tour-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--orange), #e05500);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.related-tour-icon i {
    font-size: 1.3rem;
    color: white;
}

.related-tour-card-sport:hover {
    background: white;
    border-color: var(--orange);
    transform: translateX(8px);
    box-shadow: 0 4px 12px rgba(253, 98, 0, 0.15);
}

.related-tour-title-sport {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 0.5rem 0;
}

.related-tour-stats-sport {
    display: flex;
    gap: 1rem;
    font-family: 'Nunito', sans-serif;
    font-size: 0.85rem;
    color: #6c757d;
    font-weight: 600;
}

.related-tour-stats-sport span {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.related-tour-stats-sport i {
    color: var(--orange);
}

/* Sidebar */
.sidebar-sport {
    position: sticky;
    top: 2rem;
    align-self: start;
}

/* Stats Card Detail */
.stats-card-detail {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border-left: 4px solid var(--orange);
}

.stats-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f8f9fa;
}

.stats-icon-large {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--orange), #e05500);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(253, 98, 0, 0.3);
}

.stats-icon-large i {
    font-size: 1.5rem;
    color: white;
}

.stats-title-detail {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0;
}

.stats-grid-detail {
    display: grid;
    gap: 1.25rem;
}

.stat-item-detail {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    background: #f8f9fa;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.stat-item-detail:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.stat-icon-detail {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--orange), #e05500);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-icon-detail i {
    font-size: 1.1rem;
    color: white;
}

.stat-content-detail {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.stat-label-detail {
    font-family: 'Nunito', sans-serif;
    font-size: 0.8rem;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.stat-value-detail {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #2c3e50;
}

/* Strava Card Detail */
.strava-card-detail {
    background: #FC4C02;
    border-radius: 16px;
    padding: 2rem;
    color: white;
    text-align: center;
    box-shadow: 0 4px 20px rgba(252, 76, 2, 0.3);
}

.strava-icon-detail {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
}

.strava-title {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0 0 0.75rem 0;
}

.strava-text {
    font-family: 'Nunito', sans-serif;
    font-size: 0.95rem;
    opacity: 0.9;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.strava-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: white;
    color: #FC4C02;
    padding: 0.9rem 1.75rem;
    border-radius: 50px;
    text-decoration: none;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.strava-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    color: #FC4C02;
}

/* Responsive */
@media (max-width: 1024px) {
    .content-grid-sport {
        grid-template-columns: 1fr;
    }

    .sidebar-sport {
        position: static;
    }
}

@media (max-width: 768px) {
    .stats-grid-sport {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .tours-grid-sport {
        grid-template-columns: 1fr;
    }

    .tour-stats-sport {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .section-title-sport {
        font-size: 2rem;
    }

    .stat-value-sport {
        font-size: 2.5rem;
    }

    .tour-hero-title {
        font-size: 2.5rem;
    }

    .tour-meta-hero {
        font-size: 0.95rem;
    }

    .section-title-detail {
        font-size: 1.4rem;
    }

    .map-container-sport {
        height: 350px;
    }

    .related-tour-card-sport {
        flex-direction: column;
        text-align: center;
    }
}
