/* Contact页面特有样式 */

/* 主要内容区域覆盖 */
.main-content {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    margin-top: 70px; /* 增加上边距，避免被导航栏遮挡 */
}

/* 移动端适配 */
@media (max-width: 768px) {
    .main-content {
        margin-top: 90px; /* 在移动端增加更多上边距 */
        padding: 20px;
    }
}

.contact-section {
    text-align: center;
    max-width: 1000px;
    width: 100%;
}

.main-title {
    font-size: 48px;
    font-weight: 300;
    margin-bottom: 20px;
    color: #2c3e50;
    line-height: 1.2;
}

.subtitle {
    font-size: 16px;
    font-weight: 300;
    margin-bottom: 60px;
    color: rgba(44, 62, 80, 0.8);
    line-height: 1.6;
}

/* 联系方式卡片 */
.contact-methods {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.contact-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    padding: 40px 30px;
    width: 280px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.contact-card.recommended {
    border: 2px solid #1abc9c;
    background: rgba(255, 255, 255, 0.95);
}

.contact-title {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 20px;
    color: #2c3e50;
}

.contact-description {
    font-size: 14px;
    font-weight: 300;
    margin-bottom: 25px;
    color: rgba(44, 62, 80, 0.7);
    line-height: 1.5;
}

.contact-info {
    font-size: 14px;
    font-weight: 500;
    color: #3498db;
}

.recommended .contact-info {
    color: #1abc9c;
    font-weight: 600;
}

/* Contact页面特有的页脚样式覆盖 */

/* 响应式设计 */
@media (max-width: 768px) {
    .navbar {
        padding: 15px 0px;
        flex-direction: column;
        gap: 15px;
    }
    
    .nav-center {
        gap: 20px;
    }
    
    .main-content {
        padding: 20px;
    }
    
    .main-title {
        font-size: 36px;
    }
    
    .subtitle {
        font-size: 14px;
        margin-bottom: 40px;
    }
    
    .contact-methods {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .contact-card {
        width: 100%;
        max-width: 350px;
    }
    
    .footer {
        padding: 20px;
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .nav-center {
        flex-direction: column;
        gap: 10px;
    }
    
    .main-title {
        font-size: 28px;
    }
    
    .subtitle {
        font-size: 12px;
    }
    
    .contact-card {
        padding: 30px 20px;
    }
}