/* Departure Routes Modern CSS */

.departure-routes-modern {
    padding-bottom:40px;
    min-height: 400px;
}

.routes-modern-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.route-modern-card {
    background: white;
    border-radius: 20px;
    padding: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(227, 10, 23, 0.1);
}

.route-modern-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #e30a17, #ff6b6b);
    transition: height 0.3s ease;
}

.route-modern-card:hover::before {
    height: 8px;
}

.route-modern-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(227, 10, 23, 0.15);
}

/* Renk Sınıfları */
.route-modern-card.orange::before { background: linear-gradient(90deg, #ff8c00, #ffa500); }
.route-modern-card.blue::before { background: linear-gradient(90deg, #007bff, #4dabf7); }
.route-modern-card.red::before { background: linear-gradient(90deg, #dc3545, #fd7e14); }
.route-modern-card.teal::before { background: linear-gradient(90deg, #20c997, #12b886); }
.route-modern-card.green::before { background: linear-gradient(90deg, #28a745, #40c057); }
.route-modern-card.cyan::before { background: linear-gradient(90deg, #17a2b8, #3bc9db); }
.route-modern-card.purple::before { background: linear-gradient(90deg, #6f42c1, #9775fa); }
.route-modern-card.pink::before { background: linear-gradient(90deg, #e83e8c, #f783ac); }
.route-modern-card.brown::before { background: linear-gradient(90deg, #8d4925, #a0724e); }
.route-modern-card.indigo::before { background: linear-gradient(90deg, #6610f2, #845ef7); }

.route-modern-header {
    padding: 25px 25px 15px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.route-modern-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #e30a17, #ff6b6b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 5px 15px rgba(227, 10, 23, 0.3);
}

.route-modern-icon::before {
    content: '';
    position: absolute;
    width: 80px;
    height: 80px;
    border: 2px solid rgba(227, 10, 23, 0.2);
    border-radius: 50%;
    animation: iconPulse 3s infinite;
}

@keyframes iconPulse {
    0%, 100% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.1); opacity: 0.3; }
}

.route-modern-icon i {
    font-size: 1.8rem;
    color: white;
    z-index: 1;
}

.route-modern-badge {
    background: rgba(227, 10, 23, 0.1);
    border: 1px solid rgba(227, 10, 23, 0.2);
    border-radius: 20px;
    padding: 8px 15px;
}

.tour-count {
    color: #e30a17;
    font-weight: 600;
    font-size: 0.9rem;
}

.route-modern-content {
    padding: 0 25px 20px;
}

.route-modern-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #333;
    margin: 15px 0;
    line-height: 1.3;
}

.route-modern-desc {
    color: #666;
    line-height: 1.6;
    margin: 15px 0;
    font-size: 0.95rem;
}

.route-modern-stats {
    margin: 20px 0;
}

.stat-item {
    display: flex;
    align-items: center;
    margin: 8px 0;
    color: #777;
    font-size: 0.9rem;
}

.stat-item i {
    color: #e30a17;
    margin-right: 10px;
    width: 16px;
    text-align: center;
}

.route-modern-footer {
    padding: 0 25px 25px;
}

.route-modern-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: linear-gradient(135deg, #e30a17, #ff6b6b);
    color: white;
    padding: 15px 20px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.route-modern-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.route-modern-button:hover::before {
    left: 100%;
}

.route-modern-button:hover {
    background: linear-gradient(135deg, #b8060f, #e30a17);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(227, 10, 23, 0.3);
}

.route-modern-button i {
    transition: transform 0.3s ease;
}

.route-modern-button:hover i {
    transform: translateX(5px);
}

/* Rotalar Bulunamadı */
.no-routes-found {
    text-align: center;
    padding: 80px 20px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin: 40px 0;
}

.no-routes-icon i {
    font-size: 5rem;
    color: #e30a17;
    opacity: 0.7;
    margin-bottom: 30px;
}

.no-routes-found h3 {
    color: #333;
    margin-bottom: 15px;
    font-size: 1.8rem;
    font-weight: 700;
}

.no-routes-found p {
    color: #777;
    margin-bottom: 30px;
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* Ek Bilgi Bölümü */
.route-info-section {
    padding: 60px 0;
    background: white;
}

.info-card {
    text-align: center;
    padding: 30px 20px;
    border-radius: 15px;
    background: #f8f9fa;
    transition: all 0.3s ease;
    height: 100%;
}

.info-card:hover {
    background: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.info-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #e30a17, #ff6b6b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

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

.info-card h4 {
    color: #333;
    margin-bottom: 15px;
    font-weight: 600;
    font-size: 1.1rem;
}

.info-card p {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
    margin: 0;
}

/* Responsive Tasarım */
@media (max-width: 1200px) {
    .routes-modern-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .departure-routes-modern {
        padding: 40px 0;
    }
    
    .routes-modern-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
    }
    
    .route-modern-card {
        border-radius: 15px;
    }
    
    .route-modern-header {
        padding: 20px 20px 10px;
    }
    
    .route-modern-icon {
        width: 60px;
        height: 60px;
    }
    
    .route-modern-icon::before {
        width: 70px;
        height: 70px;
    }
    
    .route-modern-icon i {
        font-size: 1.5rem;
    }
    
    .route-modern-content {
        padding: 0 20px 15px;
    }
    
    .route-modern-title {
        font-size: 1.2rem;
    }
    
    .route-modern-footer {
        padding: 0 20px 20px;
    }
    
    .route-modern-button {
        padding: 12px 16px;
        font-size: 0.9rem;
    }
    
    .no-routes-found {
        padding: 60px 15px;
    }
    
    .no-routes-icon i {
        font-size: 4rem;
        margin-bottom: 20px;
    }
    
    .no-routes-found h3 {
        font-size: 1.5rem;
    }
    
    .no-routes-found p {
        font-size: 1rem;
    }
    
    .route-info-section {
        padding: 40px 0;
    }
    
    .info-card {
        padding: 25px 15px;
        margin-bottom: 20px;
    }
}

@media (max-width: 576px) {
    .route-modern-title {
        font-size: 1.1rem;
    }
    
    .route-modern-desc {
        font-size: 0.9rem;
    }
    
    .stat-item {
        font-size: 0.85rem;
    }
    
    .route-modern-button {
        padding: 10px 14px;
        font-size: 0.85rem;
    }
}
