/* 联系我们页面样式 */
.contact-hero {
    margin-top: 80px;
    padding: 8rem 0;
    background: linear-gradient(135deg, rgba(12, 20, 39, 0.9) 0%, rgba(26, 36, 61, 0.8) 100%), url('/template/jia/images/27.jpg');
    background-size: cover;
    background-position: center;
    text-align: center;
    position: relative;
}

.contact-hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.contact-hero h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textGlow 3s infinite alternate;
}

@keyframes textGlow {
    0% {
        text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    }
    100% {
        text-shadow: 2px 2px 20px rgba(201, 169, 110, 0.5);
    }
}

.contact-hero p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.contact-content {
    background-color: var(--secondary);
    border-radius: 12px;
    padding: 4rem;
    box-shadow: var(--shadow);
    margin-top: -100px;
    position: relative;
    z-index: 3;
    border: 1px solid rgba(201, 169, 110, 0.2);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

.contact-card {
    text-align: center;
    padding: 2.5rem 2rem;
    background: rgba(12, 20, 39, 0.5);
    border-radius: 12px;
    transition: var(--transition);
    border: 1px solid rgba(201, 169, 110, 0.1);
}

.contact-card:hover {
    transform: translateY(-10px);
    border-color: rgba(201, 169, 110, 0.3);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.contact-icon {
    width: 90px;
    height: 90px;
    background: rgba(201, 169, 110, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    color: var(--accent);
    font-size: 2.2rem;
    transition: var(--transition);
}

.contact-card:hover .contact-icon {
    background: var(--gold-gradient);
    color: var(--primary);
    transform: scale(1.1);
}

.contact-card h3 {
    margin-bottom: 1.2rem;
    color: var(--light);
    font-size: 1.4rem;
}

.contact-card p {
    margin-bottom: 1.5rem;
    color: var(--text);
}

.contact-phone {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 1rem;
}

.qrcode-section {
    text-align: center;
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 12px;
    margin-top: 3rem;
    position: relative;
    overflow: hidden;
}

.qrcode-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 L100,0 L100,100 Z" fill="rgba(201, 169, 110, 0.03)"/></svg>');
    background-size: cover;
}

.qrcode-container {
    position: relative;
    z-index: 2;
}

.qrcode-large {
    max-width: 250px;
    margin: 0 auto 2rem;
    border: 1px solid rgba(201, 169, 110, 0.3);
    border-radius: 12px;
    padding: 15px;
    background: white;
    box-shadow: var(--shadow);
}

.qrcode-section h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--light);
}

.qrcode-section p {
    max-width: 600px;
    margin: 0 auto 2rem;
    color: var(--text);
}

@media (max-width: 768px) {
    .contact-hero h1 {
        font-size: 2.5rem;
    }
    
    .contact-hero p {
        font-size: 1.1rem;
    }
    
    .contact-content {
        padding: 2rem;
        margin-top: -50px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .qrcode-section h3 {
        font-size: 1.6rem;
    }
}

@media (max-width: 576px) {
    .contact-hero h1 {
        font-size: 2rem;
    }
    
    .qrcode-large {
        max-width: 200px;
    }
}