/* 联系区域主样式 */
.contact-main-section *,
.contact-main-section *::before,
.contact-main-section *::after {
  box-sizing: border-box;
}
.contact-main-section {
    padding: 80px 0;
    background-color: var(--color-bg-default);
}

.contact-wrapper {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

/* 左侧联系信息样式 */
.contact-main-info {
    flex: 1;
    padding: 40px;
    background-color: var(--color-bg-alt);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-main-info h2 {
    font-size: 28px;
    color: var(--color-primary);
    margin-bottom: 15px;
    font-weight: 600;
}

.contact-description {
    color: var(--color-text-dark);
    margin-bottom: 30px;
    line-height: 1.6;
}

.contact-details {
    margin-bottom: 40px;
}

.contact-main-item {
    display: flex;
    margin-bottom: 25px;
}

.contact-main-icon {
    width: 44px;
    height: 44px;
    background-color: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.contact-main-icon svg {
    color: white;
}

.contact-text h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--color-text-dark);
}

.contact-text p {
    color: var(--gray-500);
    margin-bottom: 5px;
}

.contact-text small {
    color: var(--gray-500);
    font-size: 12px;
}

/* 二维码区域样式 */
.qrcode-section h3 {
    font-size: 20px;
    color: var(--color-text-dark);
    margin-bottom: 20px;
    font-weight: 600;
}

.qrcode-container {
    display: flex;
    gap: 30px;
}

.qrcode-item {
    text-align: center;
}

.qrcode-item img {
    max-width: 100%; /* 图片最大宽度为容器宽度，防止溢出 */
    height: auto; /* 高度自动保持比例 */
    border: 1px solid var(--color-border);
    border-radius: 8px;
    margin-bottom: 10px;
}

.qrcode-item p {
    font-size: 14px;
    color: var(--gray-500);
}

/* 右侧联系表单样式 */
.contact-form {
    flex: 1;
    padding: 40px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-form h2 {
    font-size: 28px;
    color: var(--color-primary);
    margin-bottom: 30px;
    font-weight: 600;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--color-text-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
}

.submit-button {
    background-color: var(--color-primary);
    color: white;
    border: none;
    padding: 14px 30px;
    font-size: 16px;
    font-weight: 500;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.submit-button:hover {
    background-color: var(--blue-700);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26, 95, 180, 0.3);
}

/* 响应式设计 */
@media (max-width: 992px) {
    .contact-wrapper {
        flex-direction: column;
        gap: 40px;
    }
    
    .contact-main-info,
    .contact-form {
        padding: 30px;
    }
    
    .qrcode-container {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .contact-main-section {
        padding: 40px 0;
    }
    
    .contact-main-info,
    .contact-form {
        padding: 20px 15px;
		width: 100%;
    }
    
    .contact-main-info h2,
    .contact-form h2 {
        font-size: 24px;
    }
    
    .contact-main-item {
        flex-direction: column;
        text-align: center;
		align-items: center;
    }
    
    .contact-main-icon {
        margin-right: 0;
        margin-bottom: 10px;
		display: flex;
        justify-content: center; /* 水平居中 */
        align-items: center; /* 垂直居中 */
    }
    
    .qrcode-container {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
}

        /* Google Maps区域样式 */
        .google-maps-section {
            padding: 80px 0;
            background-color: var(--color-bg-alt);
        }
        
        .google-maps-section .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 15px;
        }
        
        .section-header {
            text-align: center;
            margin-bottom: 48px;
        }
        
        .section-header h2 {
            font-size: 36px;
            font-weight: 600;
            color: var(--color-text-dark);
            margin-bottom: 16px;
        }
        
        .section-header p {
            font-size: 18px;
            color: var(--gray-500);
            max-width: 700px;
            margin: 0 auto;
            line-height: 1.6;
        }
        
        .map-container {
            position: relative;
            height: 500px;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        }
        
        .map-container iframe {
            width: 100%;
            height: 100%;
            border: none;
        }
        
        .map-overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
            padding: 30px;
            color: white;
            display: flex;
            justify-content: space-between;
            align-items: flex-end;
        }
        
        .address-info {
            max-width: 60%;
        }
        
        .address-info h3 {
            font-size: 22px;
            margin-bottom: 10px;
            font-weight: 600;
        }
        
        .address-info p {
            margin-bottom: 5px;
            font-size: 16px;
        }
        
        .directions-button {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-width: 180px;
            height: 48px;
            background-color: var(--color-primary);
            border: none;
            font-size: 16px;
            font-weight: 500;
            color: var(--color-text-light);
            text-align: center;
            line-height: 1;
            border-radius: 4px;
            transition: all 0.3s ease;
            cursor: pointer;
            text-decoration: none;
        }
        
        .directions-button:hover {
            background-color: var(--blue-700);
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(26, 95, 180, 0.3);
        }
        
        .directions-button svg {
            margin-right: 8px;
        }
        
        /* 响应式设计 */
        @media (max-width: 992px) {
            .google-maps-section {
                padding: 60px 0;
            }
            
            .map-container {
                height: 400px;
            }
            
            .map-overlay {
                flex-direction: column;
                align-items: flex-start;
                gap: 20px;
            }
            
            .address-info {
                max-width: 100%;
            }
        }
        
        @media (max-width: 768px) {
            .google-maps-section {
                padding: 40px 0;
            }
            
            .section-header h2 {
                font-size: 28px;
            }
            
            .section-header p {
                font-size: 16px;
            }
            
            .map-container {
                height: 350px;
            }
            
            .map-overlay {
                padding: 20px;
            }
            
            .address-info h3 {
                font-size: 18px;
            }
            
            .address-info p {
                font-size: 14px;
            }
            
            .directions-button {
                min-width: 160px;
                height: 44px;
                font-size: 14px;
            }
        }
        
        @media (max-width: 576px) {
            .map-container {
                height: 300px;
            }
            
            .map-overlay {
                padding: 15px;
            }
        }