/* 华浙高复官方样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', 'PingFang SC', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

/* 头部样式 */
.header {
    background: linear-gradient(135deg, #1a5276, #2e86c1);
    color: white;
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.header .logo {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header h1 {
    font-size: 24px;
    font-weight: bold;
}

.header .contact-info {
    font-size: 14px;
}

/* 导航栏 */
.navbar {
    background: #2c3e50;
    padding: 10px 0;
}

.nav-links {
    display: flex;
    justify-content: center;
    list-style: none;
}

.nav-links li {
    margin: 0 15px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #3498db;
}

/* 轮播图 */
.carousel {
    position: relative;
    height: 400px;
    overflow: hidden;
    margin-bottom: 30px;
}

.carousel-inner {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-item {
    min-width: 100%;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    padding: 0 20px;
}

.carousel-item:nth-child(1) {
    background: linear-gradient(135deg, #1a5276, #2e86c1);
}

.carousel-item:nth-child(2) {
    background: linear-gradient(135deg, #148f77, #1abc9c);
}

.carousel-item:nth-child(3) {
    background: linear-gradient(135deg, #7d3c98, #a569bd);
}

.carousel-item:nth-child(4) {
    background: linear-gradient(135deg, #cb4335, #e74c3c);
}

.carousel-content h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.carousel-content p {
    font-size: 18px;
    margin-bottom: 20px;
}

.carousel-content .banner-contact {
    font-size: 16px;
    background: rgba(255,255,255,0.2);
    padding: 8px 16px;
    border-radius: 20px;
    display: inline-block;
}

/* 快捷导航 */
.quick-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
}

.quick-nav a {
    display: inline-block;
    padding: 12px 24px;
    background: #3498db;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
}

.quick-nav a:hover {
    background: #2980b9;
}

/* 内容区域 */
.content-section {
    background: white;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.section-title {
    color: #2c3e50;
    font-size: 28px;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 3px solid #3498db;
    display: inline-block;
}

/* 优势网格 */
.advantage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.advantage-card {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 25px;
    border-left: 4px solid #3498db;
}

.advantage-card h3 {
    color: #2c3e50;
    margin-bottom: 12px;
    font-size: 18px;
}

/* 案例卡片 */
.case-card {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
    border-left: 4px solid #27ae60;
}

.case-card h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 20px;
}

.case-card .school {
    color: #27ae60;
    font-weight: bold;
    margin-bottom: 10px;
}

/* 新闻列表 */
.news-list {
    list-style: none;
}

.news-item {
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.news-item:last-child {
    border-bottom: none;
}

.news-date {
    color: #7f8c8d;
    font-size: 14px;
    margin-bottom: 5px;
}

.news-title {
    color: #2c3e50;
    font-size: 16px;
    text-decoration: none;
}

.news-title:hover {
    color: #3498db;
}

/* FAQ样式 */
.faq-item {
    margin-bottom: 25px;
}

.faq-question {
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 18px;
}

.faq-answer {
    color: #555;
    line-height: 1.8;
}

/* 联系我们 */
.contact-info-box {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
}

.contact-info-box h3 {
    color: #2c3e50;
    margin-bottom: 15px;
}

.contact-detail {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.contact-detail strong {
    min-width: 80px;
    color: #7f8c8d;
}

/* 页脚 */
.footer {
    background: #2c3e50;
    color: white;
    padding: 30px 0;
    margin-top: 40px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-section h4 {
    margin-bottom: 15px;
    color: #ecf0f1;
}

.footer-section p, .footer-section a {
    color: #bdc3c7;
    text-decoration: none;
    line-height: 1.8;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #34495e;
    color: #95a5a6;
    font-size: 14px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .header .logo {
        flex-direction: column;
        text-align: center;
    }
    
    .nav-links {
        flex-direction: column;
        align-items: center;
    }
    
    .nav-links li {
        margin: 5px 0;
    }
    
    .carousel {
        height: 300px;
    }
    
    .carousel-item {
        height: 300px;
    }
    
    .carousel-content h2 {
        font-size: 24px;
    }
    
    .quick-nav {
        flex-direction: column;
        align-items: center;
    }
    
    .content-section {
        padding: 20px 15px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .advantage-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-section {
        margin-bottom: 20px;
    }
}

/* 面包屑导航样式 */
.breadcrumb {
    font-size: 14px;
    color: #7f8c8d;
    margin: 20px 0 10px;
}

.breadcrumb a {
    color: #3498db;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* 预约表单样式 */
.booking-form {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 25px;
    margin-top: 30px;
}

.booking-form h3 {
    color: #2c3e50;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #2c3e50;
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.form-group textarea {
    height: 100px;
    resize: vertical;
}

.btn-submit {
    background: #3498db;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

.btn-submit:hover {
    background: #2980b9;
}

/* 到校路线样式 */
.route-info {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 25px;
    margin-top: 20px;
}

.route-info h3 {
    color: #2c3e50;
    margin-bottom: 15px;
}

.route-item {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.route-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.route-item strong {
    color: #2c3e50;
    display: block;
    margin-bottom: 5px;
}