/* ================================
   DOWNLOADS SECTION STYLES
   ================================ */

.download-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    padding: 25px;
    margin: 25px 0;
    border: 1px solid #dee2e6;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.download-section h3 {
    color: #2c3e50;
    font-size: 20px;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 600;
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.download-card {
    background: white;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.download-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
    border-color: #e74c3c;
}

.download-card i {
    font-size: 32px;
    color: #e74c3c;
    margin-bottom: 15px;
    display: block;
}

.download-card h4 {
    color: #2c3e50;
    font-size: 16px;
    margin-bottom: 10px;
    font-weight: 600;
}

.download-card p {
    color: #6c757d;
    font-size: 13px;
    line-height: 1.4;
    margin-bottom: 15px;
}

.download-button {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
}

.download-button:hover {
    background: linear-gradient(135deg, #c0392b 0%, #a93226 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(231, 76, 60, 0.3);
}

/* ================================
   INFO SECTIONS & COLLAPSIBLE
   ================================ */

.info-section {
    margin: 30px 0;
}

.collapsible-section {
    background: white;
    border-radius: 10px;
    margin-bottom: 15px;
    border: 1px solid #e9ecef;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.collapsible-header {
    background: linear-gradient(135deg, #34495e 0%, #2c3e50 100%);
    color: white;
    padding: 18px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 16px;
}

.collapsible-header:hover {
    background: linear-gradient(135deg, #2c3e50 0%, #1a252f 100%);
}

.collapsible-header i {
    font-size: 14px;
    transition: transform 0.3s ease;
}

.collapsible-header.active i {
    transform: rotate(180deg);
}

.collapsible-content {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.collapsible-content.active {
    max-height: 1000px;
    padding: 25px;
}

.collapsible-content h4 {
    color: #e74c3c;
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: 600;
}

.collapsible-content p {
    color: #495057;
    line-height: 1.6;
    margin-bottom: 15px;
    font-size: 14px;
}

.collapsible-content ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

.collapsible-content li {
    color: #495057;
    margin-bottom: 8px;
    font-size: 14px;
    line-height: 1.5;
}

.collapsible-content strong {
    color: #2c3e50;
    font-weight: 600;
}

/* History Timeline Styles */
.history-timeline {
    position: relative;
    padding-left: 30px;
}

.history-timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #e74c3c, #27ae60);
}

.timeline-item {
    position: relative;
    margin-bottom: 25px;
    padding-left: 25px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 5px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #e74c3c;
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.timeline-year {
    color: #e74c3c;
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 5px;
}

.timeline-content {
    color: #495057;
    font-size: 14px;
    line-height: 1.5;
}

/* Route Info Grid */
.route-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.route-info-card {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    border-left: 4px solid #e74c3c;
}

.route-info-card h5 {
    color: #2c3e50;
    font-size: 15px;
    margin-bottom: 10px;
    font-weight: 600;
}

.route-info-card .route-stats {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 13px;
}

.route-info-card .route-stats span {
    color: #6c757d;
}

.route-info-card .route-stats strong {
    color: #2c3e50;
}

/* Responsive Design */
@media (max-width: 768px) {
    .download-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .download-card {
        padding: 15px;
    }
    
    .collapsible-header {
        padding: 15px 20px;
        font-size: 15px;
    }
    
    .collapsible-content.active {
        padding: 20px;
    }
    
    .route-info-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .history-timeline {
        padding-left: 25px;
    }
    
    .timeline-item {
        padding-left: 20px;
    }
}

/* Featured Downloads Banner */
.featured-downloads {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    border-radius: 12px;
    padding: 25px;
    margin: 25px 0;
    text-align: center;
    box-shadow: 0 6px 12px rgba(231, 76, 60, 0.3);
}

.featured-downloads h3 {
    color: white;
    margin-bottom: 15px;
    font-size: 20px;
}

.featured-downloads p {
    margin-bottom: 20px;
    opacity: 0.9;
    font-size: 14px;
}

.featured-downloads-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.featured-download-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 12px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.featured-download-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}