/* 联系页面样式 */
.main-content .container{padding: 0;max-width:none!important;}
.contact-page {
    padding: 0 0 80px;
    background: #f8f9fa;
}

/* Banner背景 */
.contact-banner {
    position: relative;
    width: 100%;
    height: 150px;
    background-image: url('../images/banner01.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
}

.contact-banner .banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.contact-banner .banner-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    padding: 0 20px;
}

.contact-banner .banner-title {
    font-size: 48px;
    font-weight: 700;
    margin: 0 0 15px 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.contact-banner .banner-subtitle {
    font-size: 20px;
    margin: 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    opacity: 0.95;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

/* 表单区域 */
.contact-form-section {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.form-wrapper {
    padding: 40px;
}

.form-title {
    font-size: 28px;
    font-weight: 600;
    color: #333;
    margin: 0 0 30px 0;
}

.contact-form {
    width: 100%;
}

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

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.required {
    color: #e74c3c;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 15px;
    color: #999;
    font-size: 16px;
    z-index: 1;
}

.input-wrapper input {
    width: 100%;
    padding: 12px 15px 12px 45px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.3s;
    background: #fff;
    padding-left: 25px!important;
}

.input-wrapper input:focus {
    outline: none;
    border-color: #ff6b35;
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.textarea-wrapper {
    position: relative;
}

.textarea-wrapper textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    font-family: inherit;
    resize: vertical;
    min-height: 120px;
    transition: all 0.3s;
    background: #fff;
}

.textarea-wrapper textarea:focus {
    outline: none;
    border-color: #ff6b35;
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.submit-btn {
    width: 100%;
    padding: 14px 24px;
    background: #ff6b35;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.submit-btn:hover {
    background: #ff5722;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.form-message {
    margin-top: 20px;
    padding: 12px 15px;
    border-radius: 6px;
    font-size: 14px;
    display: none;
}

.form-message.success {
    display: block;
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    display: block;
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.form-message i {
    margin-right: 8px;
}

/* 联系信息区域 */
.contact-info-section {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.info-wrapper {
    padding: 40px;
}

.info-title {
    font-size: 28px;
    font-weight: 600;
    color: #333;
    margin: 0 0 15px 0;
}

.info-description {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
    margin: 0 0 40px 0;
}

.contact-info-list {
    margin-bottom: 40px;
}

.info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #f0f0f0;
}

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

.info-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: #ff6b35;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff!important;
    font-size: 20px;
}

.info-content h3 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0 0 10px 0;
}

.info-content p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 5px 0;
}

.info-content a {
    color: #ff6b35;
    text-decoration: none;
    transition: color 0.3s;
}

.info-content a:hover {
    color: #ff5722;
    text-decoration: underline;
}

/* 社交媒体链接 */
.social-links {
    padding-top: 30px;
    border-top: 1px solid #f0f0f0;
}

.social-links h3 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0 0 15px 0;
}

.social-icons {
    display: flex;
    gap: 12px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 16px;
}

.social-icon:hover {
    background: #ff6b35;
    color: #fff;
    transform: translateY(-2px);
}

/* 响应式设计 */
@media (max-width: 968px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .form-wrapper,
    .info-wrapper {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .contact-page {
        padding: 0 0 60px;
    }
    
    .contact-banner {
        height: 150px;
    }
    
    .contact-banner .banner-title {
        font-size: 36px;
    }
    
    .contact-banner .banner-subtitle {
        font-size: 16px;
    }
    
    .form-title,
    .info-title {
        font-size: 24px;
    }
    
    .form-wrapper,
    .info-wrapper {
        padding: 25px;
    }
    
    .info-item {
        flex-direction: row;
        gap: 15px;
        align-items: flex-start;
    }
    
    .info-icon {
        width: 45px;
        height: 45px;
        font-size: 18px;
        flex-shrink: 0;
    }
    
    .info-content {
        flex: 1;
    }
}

@media (max-width: 480px) {
    .contact-page {
        padding: 0 0 50px;
    }
    
    .contact-banner {
        height: 120px;
        margin-bottom: 30px;
    }
    
    .contact-banner .banner-title {
        font-size: 28px;
        margin-bottom: 10px;
    }
    
    .contact-banner .banner-subtitle {
        font-size: 14px;
    }
    
    .form-wrapper,
    .info-wrapper {
        padding: 20px;
    }
    
    .form-group {
        margin-bottom: 20px;
    }
}

