/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

/* 顶部导航样式 */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: transform 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    height: 70px;
}

.logo-img {
    height: 40px;
    width: auto;
}

.navigation {
    display: flex;
    gap: 40px;
}

.nav-link {
    color: white;
    text-decoration: none;
    margin: 0 20px;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #ff6b35;
}

.nav-link.active {
    color: #ff6b35;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 3px;
    background: #ff6b35;
    border-radius: 2px;
}

.nav-buttons {
    display: flex;
    gap: 20px;
    align-items: center;
}

/* 联系我们区域 */
.contact-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 70px 0 0 0;
    margin: 0;
}

/* 页面标题样式 */
.page-title-container {
    position: absolute;
    top: calc(10% - 30px);
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.page-title {
    font-size: 48px;
    font-weight: 700;
    color: #333;
    margin: 0;
    text-align: center;
}

.contact-background {
    position: relative;
    width: 100%;
    height: calc(100vh - 70px);
}

.contact-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: top center;
    z-index: 1;
}
.contact-card {
    position: absolute;
    z-index: 2;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 0;
    padding: 50px 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    border: none;
    width: 70vw;
    height: 50vw;
    max-width: 70vw;
    max-height: 50vw;
    top: 13%;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-title {
    font-size: 28px;
    font-weight: 700;
    color: #e74c3c;
    margin-bottom: 40px;
    text-align: center;
    border-bottom: 3px solid #e74c3c;
    padding-bottom: 15px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
    padding: 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    transition: none;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-item:hover {
    transform: none;
    box-shadow: none;
}

.contact-icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-details {
    flex: 1;
}

.contact-label {
    font-size: 18px;
    color: #333;
    font-weight: 500;
}

.contact-value {
    font-size: 18px;
    color: #000;
    font-weight: 500;
}

.contact-address {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-address-text {
    font-size: 18px;
    color: #333;
    line-height: 1.6;
    font-weight: 500;
}

/* 页脚样式 */
.footer {
    background: #2c3e50;
    color: #fff;
    padding: 40px 0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-logo-img {
    height: 40px;
    width: auto;
}

.footer-domain {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-contact .contact-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.footer-contact .contact-label {
    font-size: 14px;
    color: #bdc3c7;
    min-width: 80px;
}

.footer-contact .contact-value {
    font-size: 14px;
    color: #fff;
}

.footer-bottom {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #34495e;
    text-align: center;
}

.footer-bottom p {
    font-size: 12px;
    color: #95a5a6;
    margin: 0;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        height: auto;
        padding: 15px 20px;
    }
    
    .navigation {
        gap: 20px;
        margin: 15px 0;
    }
    
    .nav-buttons {
        gap: 10px;
    }
    
    .contact-card {
        padding: 30px 25px;
        margin: 0 15px;
    }
    
    .contact-title {
        font-size: 24px;
        margin-bottom: 30px;
    }
    
    .contact-icon {
        width: 24px;
        height: 24px;
    }
    
    .contact-label,
    .contact-value,
    .contact-address-text {
        font-size: 16px;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .navigation {
        flex-direction: column;
        gap: 10px;
    }
    
    .nav-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .contact-card {
        padding: 25px 20px;
        margin: 0 10px;
    }
    
    .contact-title {
        font-size: 22px;
    }
    
    .contact-item {
        margin-bottom: 25px;
    }
    
    .contact-label,
    .contact-value,
    .contact-address-text {
        font-size: 15px;
    }
}