@charset "utf-8";

/* 联系部分样式 (Contact Section Styles) */
.contact-section {
    position: relative;
    padding: 100px 0;
    background-color: #fff;
    overflow: hidden;
    z-index: 1;
}

/* Scoped Container 约束 */
.contact-section .auto-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 背景装饰 - 使用更现代的几何图形 */
.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 10% 10%, rgba(0, 35, 102, 0.03) 0%, transparent 40%),
        radial-gradient(circle at 90% 90%, rgba(0, 35, 102, 0.03) 0%, transparent 40%);
    z-index: -1;
}

/* 动态流光水波 Canvas */
.contact-section canvas#waveCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.4;
    pointer-events: none;
}

/* 文本列 (Text Column) - 重塑为更简洁的 CTA 区域 */
.contact-section .text-column {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-right: 40px;
    margin-bottom: 30px;
}

.contact-section .section-title {
    margin-bottom: 30px;
    position: relative;
}

.contact-section .section-title .subtitle {
    display: inline-block;
    color: var(--main-color);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    position: relative;
    padding-left: 45px;
}

/* 装饰线条 */
.contact-section .section-title .subtitle::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 35px;
    height: 2px;
    background-color: var(--main-color);
    transform: translateY(-50%);
}

.contact-section .section-title h2 {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 25px;
    color: var(--color-two);
    letter-spacing: -0.5px;
}

.contact-section .section-title .text {
    font-size: 17px;
    line-height: 1.7;
    color: var(--color-three);
    margin-bottom: 0;
    max-width: 90%;
}

/* 表单列 (Form Column) - 卡片化设计 */
.contact-section .form-column {
    position: relative;
}

.contact-section .contact-form-wrapper {
    background: #fff;
    padding: 50px;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 35, 102, 0.06);
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

.contact-section .contact-form-wrapper:hover {
    transform: translateY(-5px);
}

.contact-section .contact-form .form-group {
    position: relative;
    margin-bottom: 25px;
}

/* 输入框重塑 - 极简风格 */
.contact-section .contact-form input[type="text"],
.contact-section .contact-form input[type="email"],
.contact-section .contact-form input[type="tel"],
.contact-section .contact-form textarea {
    position: relative;
    display: block;
    width: 100%;
    height: 60px;
    padding: 15px 0;
    font-size: 16px;
    color: var(--color-two);
    background: transparent;
    border: none;
    border-bottom: 2px solid #eee;
    border-radius: 0;
    transition: all 0.3s ease;
    font-family: var(--font-body);
}

.contact-section .contact-form textarea {
    height: 120px;
    resize: none;
    padding-top: 20px;
}

/* 输入框聚焦效果 */
.contact-section .contact-form input:focus,
.contact-section .contact-form textarea:focus {
    background: transparent;
    border-color: var(--main-color);
    box-shadow: none;
    outline: none;
}

.contact-section .contact-form input::placeholder,
.contact-section .contact-form textarea::placeholder {
    color: #a0a0a0;
    font-weight: 400;
    transition: color 0.3s ease;
}

.contact-section .contact-form input:focus::placeholder,
.contact-section .contact-form textarea:focus::placeholder {
    color: rgba(0,0,0,0.2);
}

/* 按钮样式重塑 - BlueWhite */
.contact-section .theme-btn.btn-style-one {
    width: 100%;
    margin-top: 10px;
    height: 60px;
    line-height: 48px; /* 调整垂直居中 (60 - 2*6padding) */
    border-radius: 30px;
    background-color: var(--main-color);
    color: #fff;
    font-weight: 700;
    letter-spacing: 0.5px;
    box-shadow: 0 10px 30px rgba(0, 35, 102, 0.2);
    border: 2px solid var(--main-color);
    overflow: hidden;
}

.contact-section .theme-btn.btn-style-one:hover {
    background-color: #fff;
    color: var(--main-color);
    box-shadow: 0 15px 40px rgba(0, 35, 102, 0.3);
}

/* 覆盖默认按钮动画背景，使用纯色切换更显专业 */
.contact-section .theme-btn.btn-style-one::before {
    display: none;
}

.contact-section .theme-btn.btn-style-one .btn-wrap .text-one {
    color: #fff;
}

.contact-section .theme-btn.btn-style-one:hover .btn-wrap .text-one {
    color: var(--main-color);
    transform: translateY(0); /* 禁用位移，使用简单的颜色切换 */
}

/* 响应式适配 */
@media only screen and (max-width: 991px) {
    .contact-section {
        padding: 80px 0;
    }
    
    .contact-section .text-column {
        padding-right: 0;
        margin-bottom: 50px;
        text-align: center;
        align-items: center;
    }
    
    .contact-section .section-title .subtitle {
        padding-left: 0;
    }
    
    .contact-section .section-title .subtitle::before {
        display: none;
    }
    
    .contact-section .contact-form-wrapper {
        padding: 40px 30px;
    }
}

@media only screen and (max-width: 767px) {
    .contact-section .section-title h2 {
        font-size: 36px;
    }
    
    .contact-section .contact-form-wrapper {
        padding: 30px 20px;
    }
}
