/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

/* Top相关样式已移至top.css，此处不再重复定义 */

/* 页面标题区域 */
.page-header {
   
    background-size: cover;
    padding: 120px 8% 80px;
    color: white;
    text-align: center;
    margin: 0;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-header p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* 内容区域 */
.content-section {
    padding: 0;
    margin: 0;
    transition: all 0.3s ease;
}

.content-section:hover {
    background-color: rgba(245, 245, 245, 0.5);
}

/* 联系表单新布局样式 */
.contact-section {
    padding: 0;
    margin: 0;
    background: #f8f9fa;
}

.contact-container {
    display: flex;
    gap: 50px;
    background-color: white;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

.contact-info {
    flex: 1;
    background: linear-gradient(135deg, rgba(0,156,235), #2c7fda);
    color: white;
    padding: 25px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-info h3 {
    font-size: 1.6rem;
    margin-bottom: 20px;
    text-align: center;
    position: relative;
    padding-bottom: 12px;
}

.contact-info h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background-color: white;
}

.contact-info-content {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    justify-content: space-between;
}

.contact-details-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    margin-bottom: 18px;
    gap: 12px;
}

.contact-detail i {
    font-size: 1.2rem;
    margin-top: 5px;
    color: rgba(255, 255, 255, 0.9);
}

.contact-detail h4 {
    margin-bottom: 4px;
    font-size: 1rem;
}

.contact-detail p {
    margin: 0;
    line-height: 1.5;
    opacity: 0.9;
}

/* 微信二维码样式 */
.wechat-qr {
    flex-shrink: 0;
    text-align: center;
    padding-left: 20px;
    border-left: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.qr-code-img {
    width: 140px;
    height: 140px;
    max-width: 140px;
    max-height: 140px;
    border-radius: 8px;
    background: white;
    padding: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
    margin: 0 auto 10px;
    display: block;
    object-fit: contain;
}

.qr-code-text {
    margin: 0;
    font-size: 0.85rem;
    opacity: 0.95;
    font-weight: 500;
    line-height: 1.3;
    color: white;
}

.contact-form {
    flex: 1;
    padding: 25px 30px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.contact-form .form-group.full-width {
    grid-column: 1 / -1;
}


.contact-section h2 {
    color: rgba(0,156,235);
    font-size: 2.2rem;
    margin-bottom: 40px;
    text-align: center;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: #333;
    margin-bottom: 6px;
    font-weight: bold;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 10px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 0.95rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: rgba(0,156,235);
}

.form-group textarea {
    resize: vertical;
    min-height: 90px;
}

.submit-button {
    grid-column: 1 / -1;
    background-color: rgba(0,156,235);
    color: white;
    padding: 12px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 5px;
}

.submit-button:hover {
    background-color: #164a8d;
}

/* 底部区域 */
.footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 30px 8%;
    margin-top: 0;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: rgba(0,156,235);
}

.icp {
    color: #999;
    font-size: 0.9rem;
    border-top: 1px solid #555;
    padding-top: 20px;
    margin-top: 20px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .top-nav {
        display: none;
    }
    
    /* Top相关响应式样式已移至top.css */

    .page-header h1 {
        font-size: 2rem;
    }
    
    .page-header p {
        font-size: 1rem;
    }

    .contact-container {
        flex-direction: column;
        padding: 0;
    }
    
    .contact-info {
        padding: 20px 15px;
    }
    
    .contact-info-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .wechat-qr {
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.3);
        padding-left: 0;
        padding-top: 20px;
        margin-top: 0;
    }
    
    .qr-code-img {
        width: 140px;
        height: 140px;
        max-width: 140px;
        max-height: 140px;
    }
    
    .qr-code-text {
        font-size: 0.85rem;
    }
    
    .contact-form {
        padding: 20px 15px;
        grid-template-columns: 1fr;
    }
    
    .footer {
        padding: 30px 5%;
    }
}

@media (max-width: 480px) {
    .page-header {
        padding: 100px 5% 60px;
    }
    
    .content-section {
        padding: 0;
    }
    
    .contact-section {
        padding: 0;
    }
    
    .contact-container {
        padding: 0;
    }
    
    .contact-info-content {
        flex-direction: column;
        gap: 15px;
    }
    
    .wechat-qr {
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.3);
        padding-left: 0;
        padding-top: 15px;
        margin-top: 0;
    }
    
    .qr-code-img {
        width: 120px;
        height: 120px;
        max-width: 120px;
        max-height: 120px;
    }
    
    .qr-code-text {
        font-size: 0.8rem;
    }
    }
    
    .footer {
        padding: 30px 5%;
    }
}