/* =================================================================
   VAMPIRES INDUSTRY - FAQ PAGE STYLES
   Comprehensive FAQ page with categories, search, and accordion
   ================================================================= */

/* CSS Variables - Consistent with other pages */
:root {
    --primary: #374151 !important;           /* Dark neutral gray */
    --secondary: #6b7280 !important;         /* Medium neutral gray */
    --accent: #9ca3af !important;            /* Light neutral gray */
    --bg-primary: #ffffff !important;        /* Pure white */
    --bg-secondary: #f9fafb !important;      /* Very light gray */
    --light: #f3f4f6 !important;            /* Light gray */
    --text-dark: #374151 !important;        /* Dark text */
    --text-light: #ffffff !important;       /* White text */
    --text-muted: #9ca3af !important;       /* Muted text */
    --border-color: #e5e7eb !important;     /* Light border */
    --shadow-light: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-heavy: 0 10px 25px rgba(0, 0, 0, 0.15);
    --border-radius: 8px;
    --transition: all 0.3s ease;
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Base Styles */
.faq-page {
    font-family: var(--font-primary);
    color: var(--text-dark);
    background: var(--bg-primary);
    min-height: 100vh;
    overflow-x: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
}

/* Force WordPress containers to full width */
.site,
.site-content,
.content-area,
.site-main,
article,
.entry-content,
.inside-article,
.container,
.grid-container {
    max-width: none !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
}

.faq-container {
    width: 100%;
    margin: 0;
    padding: 0;
    position: relative;
    z-index: 1;
}

/* Page Header */
.faq-header {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--light) 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
    text-align: center;
    width: 100%;
    margin: 0;
}

.faq-header-content {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 1;
}

.faq-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--text-dark);
}

.faq-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.faq-subtitle p {
    margin: 0;
}

.faq-subtitle a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.faq-subtitle a:hover {
    color: var(--secondary);
}

/* FAQ Content Section */
.faq-content-section {
    padding: 80px 0;
    background: var(--bg-primary);
    width: 100%;
    margin: 0;
}

.faq-content-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 40px;
}

/* FAQ Categories Filter */
.faq-categories-section {
    margin-bottom: 3rem;
    text-align: center;
}

.faq-categories-container h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.faq-category-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

.faq-category-btn {
    background: var(--bg-secondary);
    color: var(--text-dark);
    border: 1px solid var(--border-color);
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    text-transform: capitalize;
}

.faq-category-btn:hover {
    background: var(--primary);
    color: var(--text-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.faq-category-btn.active {
    background: var(--primary);
    color: var(--text-light);
    border-color: var(--primary);
}

/* FAQ Search */
.faq-search-section {
    margin-bottom: 4rem;
}

.faq-search-container {
    max-width: 600px;
    margin: 0 auto;
}

.faq-search-box {
    position: relative;
    display: flex;
}

#faq-search {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    background: var(--bg-primary);
    transition: var(--transition);
}

#faq-search:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(55, 65, 81, 0.1);
}

.faq-search-btn {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary);
    color: var(--text-light);
    border: none;
    padding: 0.5rem;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
}

.faq-search-btn:hover {
    background: var(--secondary);
}

/* FAQ List */
.faq-list-section {
    margin-bottom: 4rem;
}

.faq-category-section {
    margin-bottom: 3rem;
    background: var(--bg-secondary);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-light);
}

.faq-category-header {
    background: var(--primary);
    color: var(--text-light);
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-category-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
}

.faq-category-count {
    font-size: 0.875rem;
    opacity: 0.8;
    margin: 0;
}

/* FAQ Accordion */
.faq-accordion {
    background: var(--bg-primary);
}

.faq-accordion-item {
    border-bottom: 1px solid var(--border-color);
}

.faq-accordion-item:last-child {
    border-bottom: none;
}

.faq-accordion-header {
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
}

.faq-accordion-header:hover {
    background: var(--bg-secondary);
}

.faq-question {
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0;
    color: var(--text-dark);
    flex: 1;
    text-align: left;
}

.faq-toggle {
    background: none;
    border: none;
    color: var(--primary);
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    margin-left: 1rem;
    padding: 0.5rem;
    border-radius: 50%;
}

.faq-toggle:hover {
    background: var(--bg-secondary);
}

.faq-accordion-item.active .faq-toggle {
    transform: rotate(180deg);
}

.faq-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer {
    padding: 0 2rem 2rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.faq-answer p {
    margin-bottom: 1rem;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

/* FAQ Stats */
.faq-stats-section {
    background: var(--bg-secondary);
    padding: 4rem 0;
    border-radius: var(--border-radius);
    margin-bottom: 4rem;
}

.faq-stats-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.faq-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.faq-stat-item {
    text-align: center;
    background: var(--bg-primary);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
}

.faq-stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.faq-stat-label {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* FAQ Contact Section */
.faq-contact-section {
    background: var(--primary);
    color: var(--text-light);
    padding: 4rem 0;
    border-radius: var(--border-radius);
    text-align: center;
}

.faq-contact-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.faq-contact-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.faq-contact-section p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.faq-contact-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.faq-contact-btn {
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.faq-contact-btn.primary {
    background: var(--text-light);
    color: var(--primary);
    border: 2px solid var(--text-light);
}

.faq-contact-btn.primary:hover {
    background: transparent;
    color: var(--text-light);
}

.faq-contact-btn.secondary {
    background: transparent;
    color: var(--text-light);
    border: 2px solid var(--text-light);
}

.faq-contact-btn.secondary:hover {
    background: var(--text-light);
    color: var(--primary);
}

/* FAQ No Results */
.faq-no-results {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--bg-secondary);
    border-radius: var(--border-radius);
}

.faq-no-results h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.faq-no-results p {
    color: var(--text-muted);
    margin: 0;
}

.faq-no-results a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.faq-no-results a:hover {
    color: var(--secondary);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .faq-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .faq-contact-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 768px) {
    .faq-header {
        padding: 60px 0;
    }
    
    .faq-header-content,
    .faq-content-container {
        padding: 0 20px;
    }
    
    .faq-title {
        font-size: 2.5rem;
    }
    
    .faq-subtitle {
        font-size: 1rem;
    }
    
    .faq-content-section {
        padding: 60px 0;
    }
    
    .faq-category-filters {
        flex-direction: column;
        align-items: stretch;
    }
    
    .faq-category-btn {
        text-align: center;
    }
    
    .faq-category-header {
        padding: 1rem;
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .faq-accordion-header {
        padding: 1rem;
    }
    
    .faq-question {
        font-size: 1rem;
    }
    
    .faq-answer {
        padding: 0 1rem 1.5rem;
    }
    
    .faq-stats-grid {
        grid-template-columns: 1fr;
    }
    
    .faq-contact-section h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .faq-title {
        font-size: 2rem;
    }
    
    .faq-categories-container h2 {
        font-size: 1.5rem;
    }
    
    .faq-search-container {
        padding: 0 1rem;
    }
    
    .faq-contact-btn {
        width: 100%;
        max-width: 250px;
    }
    
    .faq-stat-number {
        font-size: 2.5rem;
    }
}