/* 
 * Contact Page Styles
 * 自适应联系页面样式
 */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    width: 100%;
    max-width: 1550px;
    margin: 0 auto;
    padding: 0 40px;
}


/* 顶部导航栏 */
.header-top {
    background-color: #fff;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

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

.contact-info {
    display: flex;
    align-items: center;
}

.contact-info span {
    margin-right: 20px;
    font-size: 14px;
    display: flex;
    align-items: center;
}

.contact-info span i {
    margin-right: 5px;
}

.user-actions {
    display: flex;
    align-items: center;
}

.user-actions a {
    margin-left: 15px;
    text-decoration: none;
    color: #333;
    font-size: 14px;
}

.social-icons {
    display: flex;
    align-items: center;
    margin-left: 20px;
}

.social-icons a {
    margin-left: 10px;
    color: #666;
}

/* 主导航 */
.main-nav {
    padding: 15px 0;
    background-color: #fff;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* .logo img {
    height: 50px;
} */

.nav-menu {
    display: flex;
    list-style: none;
}


.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 14px;
}

.nav-menu a:hover {
    color: #4a90e2;
}

.search-lang {
    display: flex;
    align-items: center;
}

.search-lang a {
    margin-left: 15px;
}

/* Banner */
.banner {
    height: 300px;

    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 80px;
}

.banner:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
}

.banner-content {
    position: relative;
    z-index: 1;
    color: #fff;
}

.banner-content h1 {
    font-size: 40px;
    margin-bottom: 10px;
}

/* 主要内容区域 */
.content-section {
    display: flex;
    padding: 50px 0;
}

/* 联系信息部分 */
.contact-details {
    flex: 1;
    background-color: #f9f9f9;
    padding: 75px 120px 120px 120px;
}

.contact-details h2 {
    font-size: 33px;
    margin-bottom: 60px;
    color: #333;
    font-weight: bold;
}

.company-name {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 20px;
}

.detail-row {
    margin-bottom: 15px;
    font-size: 22px;
}

.detail-row strong {
    display: inline-block;
    width: 100px;
    font-weight: bold;
    font-size: 22px;
    margin-right: 20px;
}

.qr-code {
    margin-top: 30px;
    width: 150px;
    height: 150px;
    background-color: #fff;
}

/* 联系表单部分 */
.contact-form {
    flex: 1;
    background-color: #5d99d2;
    padding: 75px 75px 200px 75px;
    color: #fff;
}

.contact-form h2 {
    font-size: 32px;
    margin-bottom: 60px;
    font-weight: bold;
}

.form-control {
    margin-bottom: 20px;
}

.form-control input,
.form-control textarea {
    width: 100%;
    padding: 15px;
    font-size: 16px !important;
    outline: none;
    background-color: #5d99d2;
    border: 2px solid #fff;
    color: #fff !important;
}

.form-control textarea {
    height: 120px;
    resize: none;
}

.send-btn {
    background-color: #fff;
    color: #333;
    border: none;
    padding: 24px 80px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

.send-btn:hover {
    background-color: #f0f0f0;
}

input::placeholder {

    color: #fff ;

}
textarea::placeholder {

    color: #fff;
    font-weight: 500;

}



/* 响应式样式 */
@media (max-width: 992px) {
    .content-section {
        flex-direction: column;
    }
    
    .contact-form {
        margin-left: 0;
        margin-top: 30px;
    }
    
    .header-container,
    .nav-container {
        flex-direction: column;
    }
    
    .contact-info,
    .user-actions,
    .nav-menu {
        margin-top: 15px;
    }
    
    .nav-menu li {
        margin-left: 15px;
        margin-right: 15px;
    }
}

@media (max-width: 768px) {
    .banner {
        height: 200px;
        padding-left: 20px;
    }
    
    .banner-content h1 {
        font-size: 30px;
    }
    
    .contact-details,
    .contact-form {
        padding: 30px;
    }
    
    .footer-section {
        flex: 100%;
    }
    
    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .contact-info {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .contact-info span {
        margin-bottom: 10px;
    }
    
    .banner {
        height: 150px;
    }
    
    .banner-content h1 {
        font-size: 24px;
    }
    
    .contact-details,
    .contact-form {
        padding: 20px;
    }
    
    .detail-row strong {
        width: auto;
        margin-right: 10px;
        font-size: 14px;
    }
}