/* Amberdore FAQs Styles */

.amberdore-faq-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* Header */
.amberdore-faq-header {
    text-align: center;
    margin-bottom: 60px;
}

.amberdore-faq-title {
    font-size: 32px;
    font-weight: 700;
    color: #1f1f1f;
    margin: 0 0 16px 0;
    line-height: 1.2;
}

.amberdore-faq-subtitle {
    font-size: 16px;
    color: #666;
    margin: 0;
    max-width: 600px;
    margin: 0 auto;
}

/* Content Layout */
.amberdore-faq-content {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 60px;
    align-items: start;
}

/* Sidebar */
.amberdore-faq-sidebar {
    position: sticky;
    top: 100px;
    background: #f8f9fa;
    border-radius: 0;
    padding: 30px 20px;
}

.amberdore-faq-sidebar-title {
    font-size: 22px;
    font-weight: 700;
    color: #1f1f1f;
    margin: 0 0 20px 0;
}

.amberdore-faq-categories {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.amberdore-faq-category-link {
    padding: 12px 16px;
    color: #666;
    text-decoration: none;
    border-radius: 0;
    transition: all 0.2s ease;
    font-size: 16px;
    font-weight: 400;
    border-left: 3px solid transparent;
}

.amberdore-faq-category-link:hover {
    background: #fff;
    color: #1f1f1f;
}

.amberdore-faq-category-link.active {
    background: #fff;
    color: #1f1f1f;
    border-left-color: #1f1f1f;
    font-size: 16px;
    font-weight: 500;
}

/* Main Content */
.amberdore-faq-main {
    min-height: 100vh;
}

.amberdore-faq-section {
    margin-bottom: 60px;
    scroll-margin-top: 100px;
}

.amberdore-faq-section-title {
    font-size: 24px;
    font-weight: 700;
    color: #1f1f1f;
    margin: 0 0 30px 0;
}

.amberdore-faq-questions {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* FAQ Item */
.amberdore-faq-item {
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.amberdore-faq-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.amberdore-faq-item.active {
    background: #fff;
    border-color: #1f1f1f;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.amberdore-faq-question {
    width: 100%;
    padding: 20px 24px;
    background: transparent;
    border: none;
    text-align: left;
    font-size: 18px;
    font-weight: 400;
    color: #1f1f1f;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.2s ease;
}

.amberdore-faq-question:hover {
    color: #1f1f1f;
}

.amberdore-faq-icon {
    flex-shrink: 0;
    transition: opacity 0.2s ease;
    color: #1f1f1f;
}

.amberdore-faq-item.active .amberdore-faq-icon-plus {
    display: none;
}

.amberdore-faq-item.active .amberdore-faq-icon-minus {
    display: block !important;
}

.amberdore-faq-item:not(.active) .amberdore-faq-icon-minus {
    display: none;
}

.amberdore-faq-item:not(.active) .amberdore-faq-icon-plus {
    display: block;
}

.amberdore-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 24px;
}

.amberdore-faq-item.active .amberdore-faq-answer {
    max-height: 500px;
    padding: 0 24px 20px 24px;
}

.amberdore-faq-answer p {
    margin: 0;
    color: #1f1f1f;
    font-size: 16px;
    line-height: 1.6;
}

/* Contact Section */
.amberdore-faq-contact {
    background: #f8f9fa;
    border-radius: 0;
    padding: 40px;
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 60px;
}

.amberdore-faq-contact-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: #fff;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1f1f1f;
}

.amberdore-faq-contact-content {
    flex: 1;
}

.amberdore-faq-contact-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1f1f1f;
    margin: 0 0 8px 0;
}

.amberdore-faq-contact-content p {
    font-size: 14px;
    color: #666;
    margin: 0;
}

.amberdore-faq-contact-btn {
    padding: 12px 28px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 0;
    font-size: 15px;
    font-weight: 600;
    color: #1f1f1f;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.amberdore-faq-contact-btn:hover {
    background: #1f1f1f;
    color: #fff;
    border-color: #1f1f1f;
}

/* Responsive Design */
@media (max-width: 968px) {
    .amberdore-faq-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .amberdore-faq-sidebar {
        position: relative;
        top: 0;
    }
    
    .amberdore-faq-categories {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 12px;
    }
    
    .amberdore-faq-category-link {
        border-left: none;
        border-bottom: 3px solid transparent;
    }
    
    .amberdore-faq-category-link.active {
        border-left: none;
        border-bottom-color: #1976d2;
    }
}

@media (max-width: 640px) {
    .amberdore-faq-title {
        font-size: 32px;
    }
    
    .amberdore-faq-section-title {
        font-size: 24px;
    }
    
    .amberdore-faq-contact {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }
    
    .amberdore-faq-contact-btn {
        width: 100%;
    }
}

