/* 联系我们页面样式 */
.contact-page {
    min-height: 100vh;
    padding: 100px 0 40px;
    background: linear-gradient(180deg, var(--china-dark) 0%, var(--china-light) 50%, var(--china-dark) 100%);
}

.page-title {
    font-size: 2.2rem;
    font-weight: 900;
    text-align: center;
    color: var(--china-gold);
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 0 0 30px rgba(212, 175, 55, 0.5);
}

.page-subtitle {
    font-size: 1.1rem;
    text-align: center;
    color: var(--china-gray);
    margin-bottom: 2.5rem;
    font-weight: 700;
    letter-spacing: 1.5px;
}

/* 联系方式网格 */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.contact-card {
    background: linear-gradient(135deg, rgba(42, 42, 42, 0.9) 0%, rgba(13, 13, 13, 0.95) 100%);
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 15px;
    padding: 1.2rem;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
}

.contact-card:has(.qrcode-large) {
    grid-row: span 2;
}

.contact-card:hover {
    border-color: var(--china-gold);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid rgba(200, 16, 46, 0.3);
}

.card-icon {
    font-size: 2rem;
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.5));
}

.card-header h3 {
    font-size: 1.2rem;
    font-weight: 900;
    color: var(--china-gold);
    letter-spacing: 1px;
}

.card-content {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    flex: 1;
}

.contact-link {
    font-size: 1.15rem;
    font-weight: 900;
    color: var(--china-white);
    text-decoration: none;
    text-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
    transition: var(--transition);
    display: inline-block;
    padding: 0.3rem 0;
}

.contact-link:hover {
    color: var(--china-gold);
    transform: scale(1.05);
}

.contact-desc {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.8rem;
    line-height: 1.4;
    margin-top: 0.2rem;
}

.qrcode-large {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    margin: 0.5rem 0;
}

.qrcode-large img {
    width: 150px;
    height: 150px;
    border-radius: 10px;
    border: 3px solid var(--china-gold);
    box-shadow: var(--shadow-lg);
    display: block;
}

.qrcode-large p {
    color: var(--china-gold);
    font-size: 0.9rem;
    font-weight: 700;
    margin: 0;
}

/* 公司地址 */
.address-section {
    margin-bottom: 3rem;
}

.address-title {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--china-gold);
    text-align: center;
    margin-bottom: 2rem;
    letter-spacing: 2px;
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
}

.address-card {
    background: linear-gradient(135deg, rgba(42, 42, 42, 0.9) 0%, rgba(13, 13, 13, 0.95) 100%);
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    max-width: 800px;
    margin: 0 auto;
}

.address-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.address-item {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 1.2rem;
    background: linear-gradient(135deg, rgba(200, 16, 46, 0.15) 0%, rgba(13, 13, 13, 0.95) 100%);
    border-radius: 10px;
    border: 2px solid rgba(255, 215, 0, 0.2);
}

.address-icon {
    font-size: 2rem;
    flex-shrink: 0;
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.5));
}

.address-text h4 {
    font-size: 1.1rem;
    font-weight: 900;
    color: var(--china-gold);
    margin-bottom: 0.4rem;
}

.address-text p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

/* 咨询时间板块 */
.consultation-section {
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.consultation-btn-large {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, rgba(200, 16, 46, 0.3) 0%, rgba(13, 13, 13, 0.95) 100%);
    border: 3px solid rgba(255, 215, 0, 0.5);
    border-radius: 15px;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
}

.consultation-btn-large:hover {
    border-color: var(--china-gold);
    background: linear-gradient(135deg, rgba(200, 16, 46, 0.5) 0%, rgba(13, 13, 13, 0.95) 100%);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.btn-large-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
    filter: drop-shadow(0 0 12px rgba(212, 175, 55, 0.6));
}

.btn-large-content {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.btn-large-title {
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--china-gold);
    text-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
}

.btn-large-subtitle {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

/* 地址操作按钮 */
.address-actions {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 1.5rem;
    background: linear-gradient(135deg, rgba(200, 16, 46, 0.15) 0%, rgba(13, 13, 13, 0.95) 100%);
    border: 2px solid rgba(255, 215, 0, 0.2);
    border-radius: 10px;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    width: 100%;
}

.action-btn:hover {
    border-color: var(--china-gold);
    background: linear-gradient(135deg, rgba(200, 16, 46, 0.3) 0%, rgba(13, 13, 13, 0.95) 100%);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-icon {
    font-size: 2rem;
    flex-shrink: 0;
    filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.5));
}

.btn-content {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.btn-title {
    font-size: 1.1rem;
    font-weight: 900;
    color: var(--china-gold);
}

.btn-subtitle {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

/* 导航栏激活状态 */
.nav-menu a.active {
    color: var(--china-gold);
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.nav-menu a.active::after {
    width: 100%;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .page-title {
        font-size: 2rem;
    }

    .contact-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .contact-page {
        padding: 100px 0 40px;
    }

    .page-title {
        font-size: 1.8rem;
    }

    .page-subtitle {
        font-size: 1rem;
    }

    .contact-card {
        padding: 1.2rem;
    }

    .card-icon {
        font-size: 2rem;
    }

    .address-info {
        gap: 1rem;
    }

    .address-item {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
    }

    .address-icon {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 1.5rem;
        letter-spacing: 2px;
    }

    .contact-card,
    .address-card {
        padding: 1rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .qrcode-large img {
        width: 120px;
        height: 120px;
    }
}
