/* FAQ Page Styles */
:root {
    --primary-color: #2A9D8F;
    --secondary-color: #E9C46A;
    --accent-color: #F4A261;
    --dark-color: #264653;
    --light-color: #F8F9FA;
    --text-color: #333;
    --border-color: #E0E0E0;
    --success-color: #4CAF50;
    --error-color: #F44336;
    --border-radius: 8px;
    --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.faq-content {
    padding: 60px 0;
}

.faq-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
}

.faq-intro h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.faq-intro p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: var(--text-color);
}

/* Search */
.faq-search {
    position: relative;
    max-width: 600px;
    margin: 0 auto 30px;
}

.faq-search input {
    width: 100%;
    padding: 15px 60px 15px 20px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.faq-search input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(42, 157, 143, 0.2);
}

.faq-search button {
    position: absolute;
    right: 5px;
    top: 5px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    width: 45px;
    height: 45px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-search button:hover {
    background: var(--dark-color);
}

/* Categories */
.faq-categories {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
}

.category-btn {
    padding: 10px 20px;
    background: var(--light-color);
    border: 1px solid var(--border-color);
    border-radius: 30px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.category-btn:hover {
    background: var(--secondary-color);
    color: var(--dark-color);
}

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

/* FAQ Items */
.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: var(--box-shadow);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: var(--light-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-item.active .faq-question {
    background: var(--primary-color);
    color: white;
}

.faq-question h3 {
    font-size: 1.1rem;
    font-weight: 500;
    margin: 0;
    padding-right: 40px;
}

.faq-toggle {
    background: transparent;
    border: none;
    color: inherit;
    font-size: 1.2rem;
    cursor: pointer;
    transition: transform 0.3s ease;
}

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

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

.faq-answer p, .faq-answer ul, .faq-answer ol {
    margin-top: 15px;
    margin-bottom: 15px;
}

.faq-answer ul, .faq-answer ol {
    padding-left: 20px;
}

.faq-answer li {
    margin-bottom: 8px;
}

/* Not Found Message */
.faq-not-found {
    text-align: center;
    padding: 30px;
    background: #f8f8f8;
    border-radius: var(--border-radius);
    margin-bottom: 40px;
}

/* Contact Section */
.faq-contact {
    text-align: center;
    background: var(--light-color);
    padding: 40px;
    border-radius: var(--border-radius);
    margin-top: 60px;
}

.faq-contact h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.faq-contact-options {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 25px;
}

.faq-contact-options .btn {
    min-width: 150px;
}

/* Dark Mode */
.dark-mode .faq-intro h2,
.dark-mode .faq-contact h3 {
    color: var(--light-color);
}

.dark-mode .faq-intro p,
.dark-mode .faq-contact p {
    color: #e0e0e0;
}

.dark-mode .faq-question {
    background: #2d2d2d;
    color: var(--light-color);
}

.dark-mode .faq-item.active .faq-question {
    background: var(--primary-color);
}

.dark-mode .faq-item {
    border-color: #444;
}

.dark-mode .faq-search input {
    background: #2d2d2d;
    border-color: #444;
    color: var(--light-color);
}

.dark-mode .category-btn {
    background: #2d2d2d;
    border-color: #444;
    color: var(--light-color);
}

.dark-mode .category-btn:hover {
    background: var(--secondary-color);
    color: var(--dark-color);
}

.dark-mode .faq-not-found {
    background: #2d2d2d;
    color: var(--light-color);
}

.dark-mode .faq-contact {
    background: #2d2d2d;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .faq-intro h2 {
        font-size: 2rem;
    }
    
    .faq-categories {
        flex-direction: column;
        align-items: center;
    }
    
    .category-btn {
        width: 100%;
        max-width: 300px;
    }
    
    .faq-question h3 {
        font-size: 1rem;
    }
    
    .faq-contact-options {
        flex-direction: column;
        align-items: center;
    }
    
    .faq-contact-options .btn {
        width: 100%;
    }
}

/* Print Styles */
@media print {
    .faq-search,
    .faq-categories,
    .faq-contact,
    header,
    footer,
    .page-header {
        display: none;
    }
    
    .faq-item {
        break-inside: avoid;
        border: none;
        margin-bottom: 20px;
    }
    
    .faq-question {
        background: none;
        padding: 0;
        color: black;
        cursor: default;
    }
    
    .faq-toggle {
        display: none;
    }
    
    .faq-answer {
        max-height: none;
        padding: 0;
        margin-top: 10px;
    }
    
    .faq-content {
        padding: 0;
    }
}
