/* ========================================
   POPULAR ROUTES SECTION
   ======================================== */

.popular-routes-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.section-header-modern {
    text-align: center;
    margin-bottom: 48px;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 16px;
}

.section-badge i {
    font-size: 0.7rem;
}

.section-title-modern {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    color: #1a1a2e;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #64748b;
    max-width: 500px;
    margin: 0 auto;
}

/* Routes Grid */
.routes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

@media (max-width: 1024px) {
    .routes-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .routes-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* Route Card */
.route-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-decoration: none;
    color: inherit;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
}

.route-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.route-card:hover .route-image img {
    transform: scale(1.1);
}

.route-card:hover .route-overlay {
    opacity: 0.4;
}

/* Route Image */
.route-image {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.route-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.route-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, 
        rgba(0, 0, 0, 0) 0%, 
        rgba(0, 0, 0, 0.3) 100%
    );
    opacity: 0.6;
    transition: opacity 0.4s ease;
}

/* Route Badge */
.route-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.route-badge.popular {
    background: rgba(255, 107, 53, 0.9);
    color: white;
}

.route-badge.eco {
    background: rgba(16, 185, 129, 0.9);
    color: white;
}

.route-badge.fast {
    background: rgba(59, 130, 246, 0.9);
    color: white;
}

/* Route Content */
.route-content {
    padding: 20px;
}

.route-cities {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.route-city-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a2e;
}

.route-arrow {
    color: #3b82f6;
    font-size: 1rem;
    animation: pulseArrow 2s infinite;
}

@keyframes pulseArrow {
    0%, 100% { transform: translateX(0); opacity: 1; }
    50% { transform: translateX(4px); opacity: 0.7; }
}

.route-meta {
    display: flex;
    gap: 16px;
}

.route-info {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: #64748b;
}

.route-info i {
    color: #3b82f6;
    font-size: 0.75rem;
}

/* CTA Button */
.routes-cta {
    text-align: center;
}

.btn-explore-routes {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
    transition: all 0.3s ease;
}

.btn-explore-routes:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.5);
    color: white;
}

.btn-explore-routes i {
    transition: transform 0.3s ease;
}

.btn-explore-routes:hover i {
    transform: translateX(4px);
}

/* Auto-set today's date in route links */
.route-card[data-route] {
    cursor: pointer;
}
