/* FAQ页面样式 */
.faq-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* 图片区域样式 */
.faq-image {
    position: relative;
    height: 400px;
    margin-bottom: 50px;
    border-radius: 8px;
    overflow: hidden;
}

.main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.faq-image:hover .main-image {
    transform: scale(1.03);
}

.image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
}

.image-caption h1 {
    color: white;
    font-size: 2.2rem;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* FAQ内容区域 */
.faq-content {
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    padding: 40px;
}

/* 文本组样式 */
.text-group {
    max-width: 800px;
}

.text-group p {
    line-height: 1.8;
    margin-bottom: 25px;
    color: #555;
}

/* 动画效果 */
.animated {
    animation-duration: 1s;
    animation-fill-mode: both;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.fadeInScale {
    animation-name: fadeInScale;
}

@keyframes revealUp {
    from {
        opacity: 0;
        transform: translateY(30px);
        clip-path: inset(50% 0 0 0);
    }
    to {
        opacity: 1;
        transform: translateY(0);
        clip-path: inset(0 0 0 0);
    }
}

.revealUp {
    animation-name: revealUp;
    animation-timing-function: cubic-bezier(0.645, 0.045, 0.355, 1);
}

/* 响应式适配 */
@media (max-width: 768px) {
    .faq-image {
        height: 250px;
    }
    .image-caption h1 {
        font-size: 1.6rem;
        padding: 20px;
    }
    .faq-content {
        padding: 20px;
    }
}

/* FAQ问题解答样式 */
.faq-accordion {
    margin-top: 30px;
}

.accordion-item {
    border-bottom: 1px solid #eee;
}

.accordion-header {
    padding: 15px 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
    transition: color 0.3s ease;
}

.accordion-header:hover {
    color: #2c6ecb;
}

.accordion-header:after {
    content: "+";
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.accordion-header.active:after {
    transform: rotate(45deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 15px;
}

.accordion-content.active {
    max-height: 500px;
    padding: 15px 15px 25px;
}
