/* FAQs Page Styles - Aligned with Glow Power Design System */

/* Font Imports */

/* Font Family Classes */
.font-jcb-bold-condensed {
    font-family: 'JCBEuro BoldCondensed Regular', sans-serif;
}
.font-jcb-bold {
    font-family: 'JCBEuro Bold Regular', sans-serif;
}
.font-jcb-roman {
    font-family: 'JCBEuro Roman Regular', sans-serif;
}

/* Breadcrumb Nav */
.breadcrumb-nav {
    background: #f5f5f5;
    padding: 15px 0;
    border-bottom: 1px solid #e0e0e0;
}

/* Hero Section - Matching site hero patterns */
.faq-hero {
    background: linear-gradient(to right, #000000 0%, #1a1a1a 100%);
    position: relative;
    overflow: hidden;
    padding: 80px 0;
}

.faq-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(250, 167, 71, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(250, 167, 71, 0.1) 0%, transparent 50%);
}

/* Category Tabs - Matching index.html style */
.category-tabs {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

/* Expand/Collapse All Buttons */
.expand-collapse-btn {
    background: transparent;
    border: 2px solid #e0e0e0;
    padding: 10px 20px;
    color: #000;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    cursor: pointer;
    font-family: 'JCBEuro Bold Regular', sans-serif;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}

.expand-collapse-btn:hover {
    border-color: #FAA747;
    color: #FAA747;
    background: rgba(250, 167, 71, 0.05);
}

.expand-collapse-btn:active {
    background: #FAA747;
    color: #000;
    border-color: #FAA747;
}

.expand-collapse-btn i {
    transition: transform 0.3s ease;
}

/* FAQ Content Section Padding */
.faq-content-section {
    padding-top: 1rem !important;
    padding-bottom: 5rem !important;
}

@media (min-width: 768px) {
    .faq-content-section {
        padding-top: 3rem !important;
    }
}

/* Section Controls Responsive */
@media (min-width: 768px) {
    .section-controls-desktop {
        display: flex !important;
    }
    .section-controls-mobile {
        display: none !important;
    }
}

@media (max-width: 767px) {
    .section-controls-desktop {
        display: none !important;
    }
    .section-controls-mobile {
        display: block !important;
    }
}

.category-tab {
    font-family: 'JCBEuro Bold Regular', sans-serif;
    background: transparent;
    border: 2px solid #e0e0e0;
    padding: 10px 20px;
    color: #000;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    cursor: pointer;
    white-space: nowrap;
}

.category-tab:hover {
    border-color: #FAA747;
    color: #FAA747;
}

.category-tab.active {
    background: #000;
    color: #FAA747;
    border-color: #000;
}

/* FAQ Sections */
.faq-section {
    margin-bottom: 3rem;
}

.faq-section[data-category] {
    display: block;
}

/* Section Titles - Matching site pattern */
.faq-section-title {
    font-size: 32px;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 16px;
    font-family: 'JCBEuro BoldCondensed Regular', sans-serif;
}

.faq-section-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: #FAA747;
}

/* FAQ Cards - No rounded corners */
.faq-card {
    background: white;
    border: 1px solid #e5e7eb;
    margin-bottom: 16px;
    transition: all 0.3s ease;
    overflow: hidden;
    border-radius: 0; /* No rounded corners */
}

.faq-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
    border-color: #FAA747;
}

.faq-card.active {
    border-color: #FAA747;
}

.faq-question {
    padding: 24px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: #f7f7f7;
}

.faq-card.active .faq-question {
    background: #FAA747;
    color: #000;
}

.faq-question h3 {
    font-size: 16px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
    font-family: 'JCBEuro Bold Regular', sans-serif;
}

.faq-question i {
    font-size: 16px;
    transition: transform 0.3s ease;
    color: #666;
}

.faq-card.active .faq-question i {
    transform: rotate(180deg);
    color: #000;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: #f8f8f8;
}

.faq-card.active .faq-answer {
    max-height: 500px;
    transition: max-height 0.5s ease-in;
}

.faq-answer-content {
    padding: 24px;
    border-top: 1px solid #e5e7eb;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    font-family: 'JCBEuro Roman Regular', sans-serif;
}

/* CTA Section - Black background like site pattern */
.faq-cta-section {
    background: #000;
    color: white;
    padding: 60px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.faq-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 50%, rgba(250, 167, 71, 0.2) 0%, transparent 50%);
}

/* Search Box (Optional Enhancement) */
.faq-search {
    max-width: 600px;
    margin: 0 auto 2rem;
}

.faq-search input {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 2px solid #e5e7eb;
    border-radius: 9999px;
    font-family: 'JCB Roman', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.faq-search input:focus {
    outline: none;
    border-color: #FAA747;
    box-shadow: 0 0 0 3px rgba(250, 167, 71, 0.1);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .faq-categories {
        position: relative;
        top: 0;
        margin-bottom: 2rem;
        padding: 1rem;
    }
    
    .category-btn {
        padding: 0.5rem 1rem;
        font-size: 0.75rem;
        margin: 0.25rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .faq-question {
        font-size: 1rem;
        padding: 1.25rem;
    }
    
    .faq-answer p {
        padding: 1.25rem;
        font-size: 0.9375rem;
    }
    
    .cta-section {
        padding: 2rem 1.5rem;
    }
}

/* Button styles - No rounded corners */
a.bg-glow-yellow,
button.bg-glow-yellow {
    background-color: #FAA747;
    color: #000;
    padding: 16px 32px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: bold;
    transition: all 0.3s ease;
    border-radius: 0; /* No rounded corners */
}

a.bg-glow-yellow:hover,
button.bg-glow-yellow:hover {
    background-color: white;
    color: #000;
}

/* Transparent button with border */
a.border-glow-yellow {
    background: transparent;
    color: #FAA747;
    border: 2px solid #FAA747;
    padding: 16px 32px;
    transition: all 0.3s ease;
    border-radius: 0; /* No rounded corners */
}

a.border-glow-yellow:hover {
    background: #FAA747;
    color: #000;
}

/* Print Styles */
@media print {
    .faq-categories,
    .cta-section,
    #header-placeholder,
    #footer-placeholder,
    #contact-buttons-placeholder,
    #feedback-placeholder {
        display: none;
    }
    
    .faq-item {
        page-break-inside: avoid;
    }
    
    .faq-item.active .faq-answer {
        max-height: none;
    }
}