/* ===================================
   交通区域
   =================================== */

.transport-section {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.transport-section .section-title {
    text-align: center;
    margin-bottom: 20px;
}

.transport-section .section-subtitle {
    text-align: center;
    margin-bottom: 60px;
    color: var(--text-secondary);
}

.transport-content {
    background: var(--bg-primary);
    border-radius: 15px;
    box-shadow: var(--shadow);
    margin-bottom: 40px;
    overflow: hidden;
    transition: var(--transition);
}

.transport-content:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.transport-header {
    display: flex;
    align-items: center;
    padding: 25px 30px;
    background: linear-gradient(135deg, #00B8D4 0%, #00796B 100%);
    color: white;
    border-radius: 15px 15px 0 0;
}

.transport-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    font-size: 1.5rem;
}

.transport-header h3 {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 600;
}

.transport-detail {
    padding: 30px;
    display: flex;
    flex-direction: column;
}

.transport-image {
    margin-bottom: 20px;
    text-align: center;
    width: 100%;
}

.transport-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    transition: var(--transition);
    display: inline-block;
}

.transport-content:hover .transport-image img:not(.no-hover-animation) {
    transform: scale(1.05);
}

.no-hover-animation {
    transition: none !important;
}

.smaller-image {
    max-width: 500px;
    max-height: 300px;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* 水平排列的交通方式容器 */
.transport-row {
    display: flex;
    gap: 20px;
    margin-top: 20px;
    flex-wrap: wrap;
}

/* 占一半宽度的交通方式 */
.transport-half {
    flex: 1;
    min-width: 300px;
}

/* 在小屏幕上自动堆叠 */
@media (max-width: 768px) {
    .transport-row {
        flex-direction: column;
    }
    
    .transport-half {
        width: 100%;
    }
}

.transport-text {
    width: 100%;
    max-width: 800px;
    text-align: left;
    margin: 0;
}

.transport-text p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: var(--text-primary);
}

.transport-text h4 {
    margin-bottom: 15px;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.transport-text ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.transport-text li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
    color: var(--text-secondary);
}

.transport-text li i {
    position: absolute;
    left: 0;
    top: 5px;
    color: var(--success-color);
    font-size: 0.9rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .transport-detail {
        flex-direction: column;
        padding: 20px;
    }
    
    .transport-image {
        flex: 0 0 100%;
        margin-right: 0;
        margin-bottom: 20px;
    }
    
    .transport-header {
        padding: 20px;
    }
    
    .transport-header h3 {
        font-size: 1.5rem;
    }
    
    .transport-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
        margin-right: 15px;
    }
}
