/* 基础样式继承自 style.css，此处仅写联系我们页专属样式 */

/* 导航激活状态 - 严格匹配原图 
.nav-link.active,
.nav-mobile-link.active {
    color: #000;
    font-weight: 600;
    position: relative;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #D4AF37;   * 原图金色下划线 *
}
*/





/* REQUEST A QUOTE 按钮（原图右上角） 
.quote-btn {
    border: 1px solid #000;
    color: #000 !important;
    padding: 6px 15px;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-left: 15px;
}

.quote-btn:hover {
    background-color: #000;
    color: #fff !important;
}

.search-btn {
    margin-left: 10px;
}

*/











/* 联系我们头部Banner - 1:1匹配原图 */
.contact-hero {

    background-image: url("../images/banner.jpg");
    background-repeat: no-repeat;    /* 不重复 */
    background-size: cover;          /* 铺满整个容器 */
    background-position: center;     /* 图片居中 */



    
    position: relative;
    height: 500px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fff;
    padding: 0 20px;
    background-color: rgba(0, 0, 0, 0.2); /* 轻微遮罩匹配原图效果 */
}

.hero-title {
    font-size: 64px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 20px;
    line-height: 1.1;
    letter-spacing: 1px;
}

.hero-desc {
    font-size: 18px;
    max-width: 600px;
    line-height: 1.6;
    color: #f8f8f8;
}

/* 联系信息栏 - 1:1匹配原图布局和样式 */
.contact-info-bar {
    padding: 60px 0;
    background-color: #fff;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.info-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.info-icon {
    font-size: 24px;
    color: #D4AF37; /* 原图金色图标 */
    margin-bottom: 15px;
}

.info-label {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    color: #000;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.info-content {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 5px;
}

.social-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #f0f0f0;
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: #D4AF37;
    color: #000;
}

/* 主内容区 - 表单+地图 2列布局 */
.contact-main {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.contact-grid {
    display: grid;
    grid-template-columns: 50% 50%;
    gap: 40px;
}

/* 左侧表单区 */
.contact-form-section {
    padding-right: 20px;
}

.section-title {
    font-size: 28px;
    font-weight: 700;
    color: #000;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 10px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: #D4AF37; /* 原图金色下划线 */
}

.section-desc {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
}

.contact-form {
    width: 100%;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    flex: 1;
}

.form-group.full-width {
    flex: 100%;
}

.form-control {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid #ddd;
    font-size: 14px;
    color: #333;
    outline: none;
    transition: all 0.3s ease;
    background-color: #fff;
}

.form-control:focus {
    border-color: #D4AF37;
    box-shadow: 0 0 5px rgba(212, 175, 55, 0.2);
}

.textarea-control {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    background-color: #D4AF37; /* 原图金色按钮 */
    color: #000;
    border: none;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

.submit-btn:hover {
    background-color: #000;
    color: #fff;
}

/* 右侧地图区 */
.contact-map-section {
    padding-left: 20px;
}

.map-container {
    position: relative;
    width: 100%;
    height: 350px;
    margin-bottom: 20px;
    overflow: hidden;
    border: 1px solid #ddd;
}

.map-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.map-pin {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #000;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    z-index: 2;
}

.map-info {
    background-color: #fff;
    padding: 25px;
    border: 1px solid #ddd;
}

.map-title {
    font-size: 18px;
    font-weight: 700;
    color: #000;
    margin-bottom: 10px;
}

.map-address {
    font-size: 16px;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.5;
}

.directions-link {
    font-size: 14px;
    font-weight: 600;
    color: #D4AF37;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.directions-link:hover {
    color: #000;
}

/* 页脚样式 - 严格匹配原图 */
.footer {
    background-color: #1a1a1a; /* 原图深黑色背景 */
    color: #fff;
    padding: 60px 0 30px;
}

.footer-container {
    display: grid;
    grid-template-columns: 25% 15% 18% 15% 12% 15%;
    gap: 20px;
    margin-bottom: 40px;
}

.brand-col {
    padding-right: 20px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    margin-bottom: 20px;
}

.footer-logo-img {
    width: 80px;
}

.footer-logo-text {
    font-size: 12px;
    text-transform: uppercase;
    color: #ccc;
}

.brand-desc {
    font-size: 14px;
    color: #999;
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-social-links {
    display: flex;
    gap: 10px;
}

.footer-social-link {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #333;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.footer-social-link:hover {
    background-color: #D4AF37;
    color: #000;
}

.footer-title {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #999;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #D4AF37;
}

.contact-info-links li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #999;
    font-size: 14px;
    line-height: 1.6;
}

.contact-info-links i {
    color: #D4AF37;
    font-size: 14px;
    margin-top: 3px;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 30px;
}

.footer-bottom-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright {
    font-size: 14px;
    color: #999;
}

.legal-links {
    font-size: 14px;
}

.legal-links a {
    color: #999;
    text-decoration: none;
    transition: color 0.3s ease;
}

.legal-links a:hover {
    color: #D4AF37;
}

/* 响应式适配 - 严格匹配不同屏幕尺寸的布局变化 */
@media (max-width: 1200px) {
    .info-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
    
    .contact-grid {
        gap: 30px;
    }
    
    .footer-container {
        grid-template-columns: 30% 20% 20% 30%;
    }
    
    .footer-col:nth-child(5),
    .footer-col:nth-child(6) {
        grid-column: span 2;
        margin-top: 20px;
    }
}

@media (max-width: 992px) {
    .hero-title {
        font-size: 48px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form-section,
    .contact-map-section {
        padding: 0;
    }
    
    .map-container {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        height: 400px;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-desc {
        font-size: 16px;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .info-item {
        align-items: center;
        text-align: center;
    }
    
    .form-row {
        flex-direction: column;
        gap: 15px;
    }
    
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
    
    .brand-col {
        grid-column: span 2;
        padding-right: 0;
        margin-bottom: 20px;
    }
    
    .footer-bottom-container {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .contact-hero {
        height: 300px;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .contact-info-bar {
        padding: 40px 0;
    }
    
    .contact-main {
        padding: 40px 0;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .submit-btn {
        width: 100%;
        justify-content: center;
    }
    
    .map-container {
        height: 250px;
    }
    
    .footer {
        padding: 40px 0 20px;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
    }
    
    .footer-col {
        grid-column: span 1 !important;
        margin-bottom: 20px;
    }
}