/* ===========================================
   FAQ PAGE STYLES - Glow Séoul
   =========================================== */

/* FAQ HERO SECTION */
.faq-hero {
    background: linear-gradient(135deg, #A6A195 0%, #8B8578 50%, #6B5D4F 100%);
    padding: 80px 20px 60px;
    text-align: center;
    color: white;
    position: relative;
}

.faq-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.05)"/></svg>');
    opacity: 0.3;
}

.faq-hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.faq-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: white;
    margin-bottom: 20px;
    font-weight: 700;
}

.faq-hero p {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.95);
    margin-bottom: 40px;
    line-height: 1.6;
}

/* BARRE DE RECHERCHE FAQ */
.faq-search-bar {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.faq-search-bar i {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #A6A195;
    font-size: 1.2rem;
}

.faq-search-bar input {
    width: 100%;
    padding: 18px 20px 18px 55px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    background: white;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}

.faq-search-bar input:focus {
    outline: none;
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
    transform: translateY(-2px);
}

.faq-search-bar input::placeholder {
    color: #999;
}

/* FAQ SECTION */
.faq-section {
    background: white;
    padding: 60px 20px;
}

/* FAQ Container */
.faq-container {
    max-width: 1000px;
    margin: 80px auto 60px;
    padding: 0 20px;
}

.faq-header {
    text-align: center;
    margin-bottom: 60px;
}

.faq-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: #333;
    margin-bottom: 15px;
}

.faq-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

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

.faq-category-btn,
.faq-cat-btn {
    padding: 12px 30px;
    background: white;
    border: 2px solid #A6A195;
    border-radius: 30px;
    color: #6B5D4F;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.faq-category-btn:hover,
.faq-cat-btn:hover,
.faq-category-btn.active,
.faq-cat-btn.active {
    background: #A6A195;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(166, 161, 149, 0.3);
}

/* FAQ Section */
.faq-section {
    margin-bottom: 50px;
}

.faq-section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: #8B7D6B;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0d9d7;
    display: flex;
    align-items: center;
    gap: 15px;
}

.faq-section-title i {
    font-size: 1.8rem;
}

/* FAQ Item (Accordion) */
.faq-item {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    border-color: #8B7D6B;
}

/* FAQ Question */
.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background: white;
    transition: all 0.3s ease;
    user-select: none;
}

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

.faq-question span {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin: 0;
    padding-right: 20px;
    flex: 1;
}

.faq-toggle {
    font-size: 1.5rem;
    color: #8B7D6B;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

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

/* FAQ Answer */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    background: white;
    padding: 0 25px;
    color: #333;
    font-size: 1rem;
    line-height: 1.8;
}

.faq-item.active .faq-answer {
    max-height: 2000px; /* Augmenté pour être sûr */
    padding: 20px 25px 25px 25px;
}

.faq-answer p,
.faq-answer ul,
.faq-answer ol {
    color: #333 !important;
    margin-bottom: 15px;
}

.faq-answer-content p {
    margin-bottom: 15px;
}

.faq-answer-content ul,
.faq-answer-content ol {
    margin: 15px 0;
    padding-left: 25px;
}

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

.faq-answer-content strong {
    color: #333;
    font-weight: 600;
}

.faq-answer-content a {
    color: #8B7D6B;
    text-decoration: underline;
}

.faq-answer-content a:hover {
    color: #6a5d4f;
}

/* Search Box (optionnel) */
.faq-search {
    max-width: 600px;
    margin: 0 auto 40px;
    position: relative;
}

.faq-search input {
    width: 100%;
    padding: 15px 50px 15px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 30px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.faq-search input:focus {
    outline: none;
    border-color: #8B7D6B;
    box-shadow: 0 0 0 3px rgba(139, 125, 107, 0.1);
}

.faq-search i {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #8B7D6B;
    font-size: 1.2rem;
}

/* Contact CTA */
.faq-cta {
    background: linear-gradient(135deg, #f0d9d7 0%, #ffd4d8 100%);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    margin-top: 60px;
}

.faq-cta h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: #333;
    margin-bottom: 15px;
}

.faq-cta p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 25px;
}

.faq-cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.faq-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background: white;
    color: #8B7D6B;
    border: 2px solid #8B7D6B;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.faq-cta-btn i {
    font-size: 1.2rem;
}

.faq-cta-btn:hover {
    background: #8B7D6B;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(139, 125, 107, 0.3);
}

.faq-cta-btn.whatsapp {
    background: #25D366;
    border-color: #25D366;
    color: white;
}

.faq-cta-btn.whatsapp:hover {
    background: #20ba5a;
    border-color: #20ba5a;
}

/* FAQ CONTACT BOX */
.faq-contact-box {
    background: linear-gradient(135deg, #A6A195 0%, #8B8578 100%);
    border-radius: 20px;
    padding: 50px 40px;
    text-align: center;
    margin-top: 60px;
    color: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.faq-contact-box h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: white;
    margin-bottom: 20px;
    font-weight: 700;
}

.faq-contact-box h3 i {
    color: var(--neon-yellow);
    margin-right: 10px;
}

.faq-contact-box p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.95);
    margin-bottom: 30px;
}

.btn-faq-contact {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 40px;
    background: #25D366;
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.3);
}

.btn-faq-contact:hover {
    background: #20ba5a;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4);
}

.btn-faq-contact i {
    font-size: 1.3rem;
}

/* Badges & Icons */
.faq-badge {
    display: inline-block;
    padding: 5px 12px;
    background: #FFD700;
    color: #333;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-left: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .faq-hero {
        padding: 60px 20px 40px;
    }
    
    .faq-hero h1 {
        font-size: 2rem;
    }
    
    .faq-hero p {
        font-size: 1rem;
    }
    
    .faq-search-bar input {
        padding: 15px 20px 15px 50px;
        font-size: 0.95rem;
    }
    
    .faq-header h1 {
        font-size: 2rem;
    }
    
    .faq-header p {
        font-size: 1rem;
    }
    
    .faq-section-title {
        font-size: 1.5rem;
    }
    
    .faq-question h3 {
        font-size: 1rem;
    }
    
    .faq-question,
    .faq-answer-content {
        padding: 15px 20px;
    }
    
    .faq-cta {
        padding: 30px 20px;
    }
    
    .faq-cta h2 {
        font-size: 1.5rem;
    }
    
    .faq-cta-buttons {
        flex-direction: column;
    }
    
    .faq-cta-btn {
        width: 100%;
        justify-content: center;
    }
    
    .faq-categories {
        gap: 10px;
    }
    
    .faq-category-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .faq-container {
        margin-top: 60px;
    }
    
    .faq-header h1 {
        font-size: 1.75rem;
    }
    
    .faq-section-title {
        font-size: 1.3rem;
    }
}

/* Animation on load */
.faq-item {
    animation: fadeInUp 0.5s ease forwards;
    opacity: 0;
}

.faq-item:nth-child(1) { animation-delay: 0.1s; }
.faq-item:nth-child(2) { animation-delay: 0.2s; }
.faq-item:nth-child(3) { animation-delay: 0.3s; }
.faq-item:nth-child(4) { animation-delay: 0.4s; }
.faq-item:nth-child(5) { animation-delay: 0.5s; }
.faq-item:nth-child(n+6) { animation-delay: 0.6s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Print styles */
@media print {
    .faq-cta,
    .faq-categories,
    .faq-search {
        display: none;
    }
    
    .faq-item {
        page-break-inside: avoid;
    }
    
    .faq-answer {
        max-height: none !important;
    }
}
