/* FAQ Section Styles */
.faq-section {
    padding: 5rem 0;
    background: #1a1a1a;
    position: relative;
    overflow: hidden;
}

.faq-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(255, 107, 53, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(245, 158, 11, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.faq-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    position: relative;
    z-index: 1;
}

.faq-accordion {
    max-width: 100%;
}

.faq-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 2rem;
    text-align: left;
}

.accordion {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.accordion-item {
    background: rgba(26, 26, 26, 0.8);
    border: 1px solid rgba(255, 107, 53, 0.3);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.accordion-item:hover {
    border-color: rgba(255, 107, 53, 0.5);
    box-shadow: 0 4px 20px rgba(255, 107, 53, 0.3);
}

.accordion-header {
    width: 100%;
    padding: 1.5rem;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
}

.accordion-header:hover {
    background: rgba(255, 107, 53, 0.15);
}

.accordion-header[aria-expanded="true"] {
    background: rgba(255, 107, 53, 0.2);
    border-bottom: 1px solid rgba(255, 107, 53, 0.3);
}

.accordion-title {
    flex: 1;
    margin-right: 1rem;
    line-height: 1.4;
}

.accordion-icon {
    font-size: 1.5rem;
    font-weight: 300;
    color: #f59e0b;
    transition: transform 0.3s ease;
    min-width: 24px;
    text-align: center;
}

.accordion-header[aria-expanded="true"] .accordion-icon {
    transform: rotate(45deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background: rgba(0, 0, 0, 0.2);
}

.accordion-content.active {
    max-height: 200px;
    padding: 0 1.5rem 1.5rem;
}

.accordion-content p {
    color: #e2e8f0;
    line-height: 1.6;
    margin: 0;
    font-size: 1rem;
}

/* FAQ Image */
.faq-image {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.faq-image-placeholder {
    width: 100%;
    height: 500px;
    background: url('../../images/Images/2020_Toyota_Sienna_after.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(255, 107, 53, 0.3);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.faq-image-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(255, 107, 53, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.faq-image-content {
    text-align: center;
    color: #ffffff;
    z-index: 1;
    position: relative;
}

.faq-image-content h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.faq-image-content p {
    font-size: 1.2rem;
    color: #cbd5e0;
    margin: 0;
    font-weight: 400;
}


/* Mobile Responsive */
@media (max-width: 1024px) {
    .faq-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .faq-title {
        font-size: 2rem;
        text-align: center;
        margin-bottom: 1.5rem;
    }
    
    .faq-image-placeholder {
        height: 300px;
    }
    
    .faq-image-content h3 {
        font-size: 1.5rem;
    }
    
    .faq-image-content p {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .faq-section {
        padding: 3rem 0;
    }
    
    .faq-content {
        gap: 2rem;
    }
    
    .faq-title {
        font-size: 1.8rem;
    }
    
    .accordion-header {
        padding: 1rem;
        font-size: 1rem;
    }
    
    .accordion-content.active {
        padding: 0 1rem 1rem;
    }
    
    .faq-image-placeholder {
        height: 250px;
        border-radius: 15px;
    }
    
    .faq-image-content h3 {
        font-size: 1.3rem;
    }
    
    .faq-image-content p {
        font-size: 0.9rem;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .accordion-item {
        border: 2px solid #ff6b35;
    }
    
    .accordion-header:hover {
        background: rgba(255, 107, 53, 0.3);
    }
    
    .faq-image-placeholder {
        border: 3px solid #ff6b35;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .accordion-content,
    .accordion-icon,
    .accordion-item,
    .accordion-header {
        transition: none;
    }
}
