/* =====================================================
   ROUTES PAGE - INDIGENOUS-INSPIRED LIGHT THEME (IMPROVED)
===================================================== */

:root {
    /* Earth Tones - Inspired by Natural Landscapes */
    --primary-earth: #1f1410;
    --secondary-earth: #2d1e16;
    --accent-earth: #3d2618;
    
    /* Indigenous Orange Palette - Warm & Natural */
    --primary-orange: #e86b2e;
    --secondary-orange: #f39450;
    --light-orange: #ffa872;
    --dark-orange: #c75520;
    --pale-orange: #ffd4b3;
    
    /* Complementary Natural Colors */
    --clay-red: #b84d32;
    --sage-green: #7a9168;
    --stone-gray: #8a7568;
    --warm-cream: #fff8f0;
    --sand: #f5e5d0;
    
    /* Neutral Colors */
    --white: #ffffff;
    --light-gray: #faf7f2;
    --medium-gray: #8a7d70;
    --dark-gray: #3d2f25;
    
    /* Natural Gradients */
    --gradient-primary: linear-gradient(135deg, #e86b2e 0%, #f39450 100%);
    --gradient-earth: linear-gradient(135deg, #1f1410 0%, #2d1e16 100%);
    --gradient-subtle: linear-gradient(135deg, #fff8f0 0%, #f5e5d0 100%);
    
    /* Subtle Effects */
    --shadow-sm: 0 2px 8px rgba(31, 20, 16, 0.2);
    --shadow-md: 0 4px 20px rgba(31, 20, 16, 0.25);
    --shadow-lg: 0 10px 40px rgba(31, 20, 16, 0.3);
    --shadow-xl: 0 20px 60px rgba(31, 20, 16, 0.35);
    --shadow-orange: 0 8px 32px rgba(232, 107, 46, 0.3);
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
    background: var(--warm-cream);
    overflow-x: hidden;
}

.container {
    max-width: 1380px;
    margin: 0 auto;
    padding: 0 24px;
}

/* =====================================================
   HERO SECTION
===================================================== */
.route-hero {
    padding: 80px 0 60px;
    background: var(--gradient-subtle);
    position: relative;
    overflow: hidden;
}

.route-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 30%, rgba(232, 107, 46, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.route-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(90deg, transparent, transparent 40px, rgba(232, 107, 46, 0.03) 40px, rgba(232, 107, 46, 0.03) 42px),
        repeating-linear-gradient(0deg, transparent, transparent 40px, rgba(232, 107, 46, 0.03) 40px, rgba(232, 107, 46, 0.03) 42px);
    pointer-events: none;
    opacity: 0.3;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 32px;
    font-size: 14px;
    color: var(--medium-gray);
    position: relative;
    z-index: 1;
}

.breadcrumb a {
    color: var(--primary-orange);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.breadcrumb a:hover {
    color: var(--dark-orange);
}

.hero-content-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 60px;
    align-items: start;
    position: relative;
    z-index: 1;
}

.route-title {
    font-size: 56px;
    font-weight: 800;
    color: var(--primary-earth);
    margin-bottom: 20px;
    line-height: 1.1;
}

.route-subtitle {
    font-size: 20px;
    color: var(--dark-gray);
    line-height: 1.7;
    margin-bottom: 32px;
}

.hero-quick-info {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.quick-info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: var(--sand);
    border-radius: 8px;
    border: 2px solid rgba(232, 107, 46, 0.15);
    font-size: 15px;
    font-weight: 600;
    color: var(--primary-earth);
}

.quick-info-item i {
    color: var(--primary-orange);
    font-size: 18px;
}

.hero-cta-card {
    background: var(--white);
    border-radius: 16px;
    padding: 40px;
    border: 3px solid var(--primary-orange);
    box-shadow: var(--shadow-orange);
    position: sticky;
    top: 120px;
}

.price-display {
    text-align: center;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 2px solid var(--sand);
}

.price-label {
    display: block;
    font-size: 14px;
    color: var(--medium-gray);
    margin-bottom: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.price-amount {
    display: block;
    font-size: 56px;
    font-weight: 800;
    color: var(--primary-orange);
    line-height: 1;
    margin-bottom: 8px;
}

.price-note {
    display: block;
    font-size: 13px;
    color: var(--medium-gray);
}

.btn-book-now {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 18px 32px;
    background: var(--gradient-primary);
    color: var(--white);
    font-size: 18px;
    font-weight: 700;
    border-radius: 10px;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    margin-bottom: 16px;
}

.btn-book-now:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.booking-note {
    text-align: center;
    font-size: 13px;
    color: var(--medium-gray);
}

/* =====================================================
   ROUTE SELECTION
===================================================== */
.route-selection {
    padding: 60px 0;
    background: var(--sand);
    position: relative;
}

.route-selection::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(232, 107, 46, 0.3), transparent);
}

.selection-title {
    text-align: center;
    font-size: 32px;
    font-weight: 800;
    color: var(--primary-earth);
    margin-bottom: 32px;
}

.route-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.route-card {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 24px;
    padding: 32px;
    background: var(--warm-cream);
    border: 2px solid rgba(232, 107, 46, 0.15);
    border-radius: 12px;
    text-decoration: none;
    transition: var(--transition-slow);
    position: relative;
    overflow: hidden;
}

.route-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-slow);
}

.route-card:hover {
    border-color: var(--primary-orange);
    transform: translateY(-5px);
    box-shadow: var(--shadow-orange);
}

.route-card:hover::before {
    transform: scaleX(1);
}

.route-card.active {
    border-color: var(--primary-orange);
    background: var(--gradient-subtle);
}

.route-card.active::before {
    transform: scaleX(1);
}

.route-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--white);
    flex-shrink: 0;
}

.route-info h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-earth);
    margin-bottom: 4px;
}

.route-info p {
    font-size: 14px;
    color: var(--medium-gray);
}

.active-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 6px 16px;
    background: var(--primary-orange);
    color: var(--white);
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    z-index: 10;
}

/* =====================================================
   SCHEDULE OVERVIEW
===================================================== */
.schedule-overview {
    padding: 60px 0;
    background: var(--warm-cream);
}

.section-title {
    font-size: 36px;
    font-weight: 800;
    color: var(--primary-earth);
    margin-bottom: 40px;
    text-align: center;
}

.overview-card {
    display: grid;
    grid-template-columns: repeat(3, 1fr) auto repeat(3, 1fr);
    gap: 20px;
    background: var(--sand);
    border-radius: 16px;
    padding: 48px;
    border: 2px solid rgba(232, 107, 46, 0.15);
    align-items: center;
}

.overview-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
}

.overview-item.full-width {
    grid-column: 1 / -1;
    padding-top: 32px;
    margin-top: 32px;
    border-top: 2px solid rgba(232, 107, 46, 0.15);
}

.overview-arrow {
    font-size: 24px;
    color: var(--primary-orange);
    display: flex;
    align-items: center;
    justify-content: center;
}

.overview-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--white);
}

.overview-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.overview-label {
    font-size: 13px;
    color: var(--medium-gray);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.overview-value {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary-earth);
    line-height: 1.2;
}

.overview-time {
    font-size: 16px;
    color: var(--primary-orange);
    font-weight: 600;
}

/* =====================================================
   AMENITIES SECTION
===================================================== */
.amenities-section {
    padding: 60px 0;
    background: var(--sand);
}

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.amenity-card {
    background: var(--warm-cream);
    border-radius: 12px;
    padding: 32px;
    text-align: center;
    border: 2px solid rgba(232, 107, 46, 0.15);
    transition: var(--transition);
}

.amenity-card:hover {
    border-color: var(--primary-orange);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.amenity-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--white);
}

.amenity-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-earth);
    margin-bottom: 8px;
}

.amenity-card p {
    font-size: 14px;
    color: var(--dark-gray);
    line-height: 1.6;
}

/* =====================================================
   DETAILED SCHEDULE
===================================================== */
.detailed-schedule {
    padding: 60px 0;
    background: var(--warm-cream);
}

.schedule-subtitle {
    text-align: center;
    font-size: 16px;
    color: var(--medium-gray);
    margin-bottom: 40px;
}

.schedule-table-wrapper {
    background: var(--sand);
    border-radius: 16px;
    padding: 40px;
    border: 2px solid rgba(232, 107, 46, 0.15);
    overflow-x: auto;
    margin-bottom: 40px;
}

.schedule-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid rgba(232, 107, 46, 0.15);
}

.schedule-table thead {
    background: var(--gradient-primary);
}

.schedule-table th {
    padding: 20px 24px;
    text-align: left;
    font-size: 14px;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.schedule-table td {
    padding: 20px 24px;
    color: var(--dark-gray);
    border-bottom: 1px solid rgba(232, 107, 46, 0.1);
    font-size: 16px;
    vertical-align: top;
}

.schedule-table tbody tr {
    transition: var(--transition);
    background: var(--warm-cream);
}

.schedule-table tbody tr:hover {
    background: rgba(232, 107, 46, 0.05);
}

.schedule-table tbody tr:last-child td {
    border-bottom: none;
}

.schedule-table td strong {
    color: var(--primary-earth);
    font-weight: 700;
}

.location-type {
    display: block;
    font-size: 12px;
    color: var(--medium-gray);
    margin-top: 4px;
}

.start-point,
.end-point {
    background: rgba(232, 107, 46, 0.08) !important;
}

.major-stop {
    background: rgba(232, 107, 46, 0.04) !important;
}

.badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-start {
    background: rgba(122, 145, 104, 0.2);
    color: var(--sage-green);
    border: 2px solid var(--sage-green);
}

.badge-end {
    background: rgba(184, 77, 50, 0.2);
    color: var(--clay-red);
    border: 2px solid var(--clay-red);
}

.badge-layover {
    background: rgba(232, 107, 46, 0.2);
    color: var(--dark-orange);
    border: 2px solid var(--primary-orange);
}

.schedule-notes {
    background: var(--sand);
    border-radius: 12px;
    padding: 32px;
    border: 2px solid rgba(232, 107, 46, 0.15);
}

.schedule-notes h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-earth);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.schedule-notes h3 i {
    color: var(--primary-orange);
}

.schedule-notes ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.schedule-notes li {
    padding-left: 24px;
    position: relative;
    font-size: 15px;
    line-height: 1.6;
}

.schedule-notes li::before {
    content: '•';
    position: absolute;
    left: 8px;
    color: var(--primary-orange);
    font-size: 20px;
}

.schedule-notes strong {
    color: var(--primary-earth);
}

/* =====================================================
   CTA SECTION
===================================================== */
.route-cta {
    padding: 80px 0;
    background: var(--sand);
}

.cta-card {
    background: var(--gradient-primary);
    border-radius: 16px;
    padding: 60px;
    position: relative;
    overflow: hidden;
    border: 3px solid var(--dark-orange);
}

.cta-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-card h2 {
    font-size: 42px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 16px;
}

.cta-card p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 40px;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 40px;
    font-size: 17px;
    font-weight: 700;
    border-radius: 10px;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--white);
    color: var(--primary-orange);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-earth);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-orange);
}

/* =====================================================
   RESPONSIVE DESIGN
===================================================== */

@media (max-width: 1200px) {
    .route-title {
        font-size: 48px;
    }
    
    .hero-content-grid {
        grid-template-columns: 1fr 350px;
        gap: 40px;
    }
    
    .overview-card {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .overview-arrow {
        display: none;
    }
    
    .schedule-notes ul {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 992px) {
    .route-hero {
        padding: 60px 0 50px;
    }
    
    .route-title {
        font-size: 42px;
    }
    
    .route-subtitle {
        font-size: 18px;
    }
    
    .hero-content-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-cta-card {
        position: static;
    }
    
    .route-cards {
        grid-template-columns: 1fr;
    }
    
    .amenities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .schedule-table-wrapper {
        padding: 30px;
    }
    
    .cta-card {
        padding: 50px 40px;
    }
    
    .cta-card h2 {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .route-hero {
        padding: 50px 0 40px;
    }
    
    .route-title {
        font-size: 36px;
    }
    
    .route-subtitle {
        font-size: 16px;
    }
    
    .hero-quick-info {
        flex-direction: column;
        gap: 12px;
    }
    
    .quick-info-item {
        width: 100%;
        justify-content: center;
    }
    
    .price-amount {
        font-size: 48px;
    }
    
    .route-card {
        grid-template-columns: auto 1fr;
        grid-template-rows: auto auto;
        padding: 24px;
        gap: 16px;
    }
    .route-info {
        grid-column: 2;
        grid-row: 1;
    }
    .active-badge {
        position: relative;
        top: auto;
        right: auto;
        grid-column: 1 / -1;
        grid-row: 2;
        justify-self: start;
        margin-top: 8px;
    }

    
    .route-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    
    .route-info h3 {
        font-size: 20px;
    }
    
    .amenities-grid {
        grid-template-columns: 1fr;
    }
    
    .schedule-table-wrapper {
        background: transparent;
        padding: 0;
        border: none;
    }
    
    .schedule-table th,
    .schedule-table td {
        padding: 16px 12px;
        font-size: 14px;
    }
    
    .schedule-notes {
        padding: 24px;
    }
    
    .cta-card {
        padding: 40px 30px;
    }
    
    .cta-card h2 {
        font-size: 32px;
    }
    
    .cta-card p {
        font-size: 16px;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .route-title {
        font-size: 28px;
    }
    
    .route-subtitle {
        font-size: 15px;
    }
    
    .breadcrumb {
        font-size: 13px;
    }
    
    .price-amount {
        font-size: 42px;
    }
    
    .hero-cta-card {
        padding: 32px 24px;
    }
    
    .section-title {
        font-size: 26px;
    }
    
    .schedule-table th,
    .schedule-table td {
        padding: 12px 8px;
        font-size: 13px;
    }
    
    .badge {
        padding: 4px 10px;
        font-size: 11px;
    }
    
    .cta-card {
        padding: 32px 24px;
    }
    
    .cta-card h2 {
        font-size: 26px;
    }
}

/* =====================================================
   SCROLLBAR
===================================================== */
::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

::-webkit-scrollbar-track {
    background: var(--sand);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--dark-orange);
}

/* =====================================================
   SELECTION COLOR
===================================================== */
::selection {
    background: var(--primary-orange);
    color: var(--white);
}

::-moz-selection {
    background: var(--primary-orange);
    color: var(--white);
}