/* 联系我们页面样式 */

.breadcrumb-section {
    margin-top: 20px;
}

.contact-hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/product-hero-bg.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
}

.contact-hero .title,
.contact-hero .subtitle {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.contact-card {
    height: 100%;
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.contact-info-icon {
    color: var(--primary-color);
    margin-right: 1rem;
    font-size: 1.5rem;
    width: 24px;
    text-align: center;
}

.contact-info-content {
    flex: 1;
}

.contact-info-title {
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: #333;
}

.contact-info-text {
    color: #666;
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #f5f5f5;
    color: #666;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.contact-company-info {
    padding: 2rem;
    background-color: #fff;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.contact-info-list {
    margin-bottom: 2rem;
}

.contact-map-container {
    width: 100%;
    height: 100%;
    min-height: 400px;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.contact-map-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.qrcode-container {
    display: flex;
    gap: 1.5rem;
}

.qrcode-item {
    text-align: center;
}

.qrcode-img {
    width: 80px;
    height: 80px;
    border: 1px solid #eee;
    padding: 5px;
    margin-bottom: 0.5rem;
}

.qrcode-text {
    font-size: 0.85rem;
    color: #666;
}

.map-container {
    width: 100%;
    height: 400px;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.map-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f5f5f5;
}

.faq-container {
    margin-top: 2rem;
}

.faq-item {
    margin-bottom: 1rem;
    border-radius: 4px;
    background: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    border: 1px solid #eee;
}

.faq-question {
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background-color: rgba(0, 0, 0, 0.02);
}

.faq-question h4 {
    margin: 0;
}

.faq-answer {
    padding: 0 1rem 1rem;
    display: none;
}

.faq-answer.is-active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* 响应式样式 */
@media screen and (max-width: 1023px) {
    .contact-hero {
        margin-top: 0;
    }
}

@media screen and (max-width: 768px) {
    .contact-info-section .column {
        margin-bottom: 1.5rem;
    }

    .contact-map-container {
        min-height: 300px;
    }

    .qrcode-container {
        justify-content: center;
    }

    .contact-form .columns {
        margin: 0;
    }

    .contact-form .column {
        padding: 0.5rem;
    }
}

@media screen and (max-width: 480px) {
    .contact-hero .title {
        font-size: 1.75rem;
    }

    .contact-hero .subtitle {
        font-size: 1.1rem;
    }

    .qrcode-container {
        flex-wrap: wrap;
    }

    .qrcode-item {
        flex: 0 0 50%;
        margin-bottom: 1rem;
    }
}
