/**
 * SEO Content Styles - Modern & Theme-aware
 * Fixes contrast issues in light/dark themes
 */

/* About Section */
.about-section {
    margin: 4rem 0;
    padding: 0 1rem;
}

.about-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
}

/* FAQ Styles */
.faq-section {
    margin: 4rem 0;
    padding: 0 1rem;
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
    color: var(--text-primary);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
    background: var(--bg-primary);
}

.faq-item:hover {
    border-color: var(--primary-color);
    transform: translateY(-1px);
}

.faq-question {
    width: 100%;
    padding: 1.25rem;
    background: transparent;
    border: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question:hover {
    background: var(--bg-secondary);
}

.faq-question.active {
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
}

.faq-icon {
    font-size: 1.2rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-question.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    display: none;
    padding: 1.25rem;
    background: var(--bg-primary);
    border-top: 1px solid var(--border-color);
}

.faq-answer.active {
    display: block;
}

.faq-answer p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Fix light theme contrast issues */
.theme-light .faq-section h2,
.theme-light .about-section h2 {
    color: var(--text-primary) !important;
}

.theme-light .faq-question {
    color: var(--text-primary) !important;
}

.theme-light .faq-answer p {
    color: var(--text-secondary) !important;
}

/* Ensure proper text colors in light mode */
.theme-light {
    --text-primary: #1a1a1a !important;
    --text-secondary: #4a4a4a !important;
    --text-tertiary: #6b7280 !important;
}

/* Dark mode text colors */
.theme-dark {
    --text-primary: #f8fafc !important;
    --text-secondary: #cbd5e1 !important;
    --text-tertiary: #94a3b8 !important;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .about-section h2,
    .faq-section h2 {
        font-size: 1.8rem;
    }
    
    .faq-question {
        padding: 1rem;
        font-size: 1rem;
    }
    
    .faq-answer {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .about-section,
    .faq-section {
        margin: 3rem 0;
        padding: 0 0.75rem;
    }
    
    .about-section h2,
    .faq-section h2 {
        font-size: 1.5rem;
    }
}
