/* 联系我们页面样式 */

/* 英雄区域 */
.hero {
    position: relative;
    width: 100%;
    height: 488px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 96px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(3.43, 21.60, 35.79, 0.80) 0%, rgba(3, 22, 36, 0.24) 66%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
}

.hero-content h1 {
    background: white;
    color: transparent;
    background-clip: text;
    -webkit-background-clip: text;
    font-size: 48px;
    font-family: 'Source Han Sans CN', sans-serif;
    font-weight: 700;
    margin: 0;
}

/* 主要内容 */
.main-content {
    background: white;
    padding: 0;
}

.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 120px;
}

/* 联系区域 */
.contact-section {
    padding: 85px 0 100px 0;
}

.section-title {
    background: #333333;
    color: transparent;
    background-clip: text;
    -webkit-background-clip: text;
    font-size: 30px;
    font-family: 'Source Han Sans CN', sans-serif;
    font-weight: 700;
    text-align: center;
    margin: 0 0 85px 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 649px 521px;
    gap: 30px;
    align-items: start;
}

/* 联系信息 */
.contact-info {
    width: 100%;
}

.company-name {
    background: #333333;
    color: transparent;
    background-clip: text;
    -webkit-background-clip: text;
    font-size: 24px;
    font-family: 'Source Han Sans CN', sans-serif;
    font-weight: 700;
    margin: 0 0 54px 0;
}

.contact-details {
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 10px;
    min-height: 24px;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-icon {
    display: flex;
    align-items: center;
    width: 94px;
    flex-shrink: 0;
    margin-right: 20px;
}

.contact-icon img {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    flex-shrink: 0;
}

.contact-label {
    background: #666666;
    color: transparent;
    background-clip: text;
    -webkit-background-clip: text;
    font-size: 16px;
    font-family: 'Source Han Sans CN', sans-serif;
    font-weight: 400;
    white-space: nowrap;
}

.contact-value {
    background: #666666;
    color: transparent;
    background-clip: text;
    -webkit-background-clip: text;
    font-size: 16px;
    font-family: 'Source Han Sans CN', sans-serif;
    font-weight: 400;
    line-height: 1.5;
    flex: 1;
}

.visit-note {
    background: #333333;
    color: transparent;
    background-clip: text;
    -webkit-background-clip: text;
    font-size: 16px;
    font-family: 'Source Han Sans CN', sans-serif;
    font-weight: 400;
    margin: 30px 0 0 0;
    line-height: 1.5;
}

/* 公司图片 */
.company-image {
    width: 521px;
    height: 200px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.company-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.company-image:hover img {
    transform: scale(1.05);
}

/* 响应式设计 */
@media (max-width: 1440px) {
    .container {
        padding: 0 60px;
    }
}

@media (max-width: 1024px) {
    .container {
        padding: 0 40px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .company-image {
        width: 100%;
        max-width: 521px;
        margin: 0 auto;
    }
    
    .hero-content h1 {
        font-size: 36px;
    }
    
    .section-title {
        font-size: 24px;
        margin-bottom: 60px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    .hero {
        height: 300px;
    }
    
    .hero-content h1 {
        font-size: 28px;
    }
    
    .contact-section {
        padding: 60px 0 80px 0;
    }
    
    .section-title {
        font-size: 20px;
        margin-bottom: 40px;
    }
    
    .company-name {
        font-size: 20px;
        margin-bottom: 30px;
    }
    
    .contact-item {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 20px;
    }
    
    .contact-icon {
        width: auto;
        margin-right: 0;
        margin-bottom: 5px;
    }
    
    .contact-value {
        margin-left: 0;
    }
    
    .company-image {
        height: 150px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 24px;
    }
    
    .section-title {
        font-size: 18px;
    }
    
    .company-name {
        font-size: 18px;
    }
    
    .contact-label,
    .contact-value,
    .visit-note {
        font-size: 14px;
    }
    
    .contact-section {
        padding: 40px 0 60px 0;
    }
}

/* 动画效果 */
.contact-item {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

.contact-item:nth-child(1) { animation-delay: 0.1s; }
.contact-item:nth-child(2) { animation-delay: 0.2s; }
.contact-item:nth-child(3) { animation-delay: 0.3s; }

.company-image {
    opacity: 0;
    transform: translateX(30px);
    animation: fadeInRight 0.8s ease forwards;
    animation-delay: 0.4s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* 联系信息悬停效果 */
.contact-item {
    padding: 10px;
    border-radius: 8px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    cursor: pointer;
}

.contact-item:hover {
    background-color: #f8f9fa;
    transform: translateX(5px);
}

/* 可点击的联系方式 */
.contact-value a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-value a:hover {
    color: #007bff;
    text-decoration: underline;
}