/**
 * FAQ Section Styles
 * 
 * @package RiseCreatives_Theme
 * @since 1.0.0
 */

/* FAQ Container */
.rise-theme-faq-container {
    display: flex;
    gap: 60px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 100px 40px;
}

/* Left Section - Title Area */
.rise-theme-faq-left-section {
    flex: 0 0 380px;
    position: relative;
}

.rise-theme-faq-decoration {
    font-size: 120px;
    font-weight: 900;
    color: #f5f5f5;
    line-height: 1;
    margin-bottom: -40px;
    user-select: none;
    pointer-events: none;
}

.rise-theme-faq-title {
    font-size: 48px;
    font-weight: 700;
    color: #333;
    line-height: 1.3;
}

/* Right Section - FAQ List */
.rise-theme-faq-right-section {
    flex: 1;
    min-width: 0;
}

.rise-theme-faq-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* FAQ Item */
.rise-theme-faq-item {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e5e5e5;
    overflow: hidden;
    transition: all 0.3s ease;
}

.rise-theme-faq-item:hover {
    border-color: #FFC369;
    box-shadow: 0 4px 12px rgba(255, 195, 105, 0.1);
}

.rise-theme-faq-item.active {
    border-color: #FFC369;
    box-shadow: 0 4px 16px rgba(255, 195, 105, 0.15);
}

/* FAQ Question Button */
.rise-theme-faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px 28px;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: background-color 0.3s ease;
}

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

.rise-theme-faq-item.active .rise-theme-faq-question {
    background-color: #fff9f0;
}

/* Q Icon */
.rise-theme-faq-q-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FFC369;
    color: #fff;
    border-radius: 6px;
    font-weight: 700;
    font-size: 16px;
}

/* Question Text */
.rise-theme-faq-q-text {
    flex: 1;
    font-size: 18px;
    font-weight: 600;
    color: #333;
    line-height: 1.5;
}

/* Toggle Icon */
.rise-theme-faq-toggle {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    color: #666;
    transition: transform 0.3s ease, color 0.3s ease;
}

.rise-theme-faq-item.active .rise-theme-faq-toggle {
    transform: rotate(45deg);
    color: #FFC369;
}

.rise-theme-faq-icon-horizontal {
    transition: opacity 0.2s ease;
}

.rise-theme-faq-item.active .rise-theme-faq-icon-horizontal {
    opacity: 0;
}

/* FAQ Answer */
.rise-theme-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.rise-theme-faq-item.active .rise-theme-faq-answer {
    max-height: 1000px;
}

.rise-theme-faq-answer-content {
    padding: 0 28px 28px 76px;
    color: #555;
    line-height: 1.8;
}

.rise-theme-faq-answer-content p {
    margin-bottom: 16px;
}

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

.rise-theme-faq-answer-content ul {
    list-style: none;
    padding: 0;
    margin: 12px 0;
}

.rise-theme-faq-answer-content ul li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
}

.rise-theme-faq-answer-content ul li:before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    background: #FFC369;
    border-radius: 50%;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .rise-theme-faq-container {
        gap: 40px;
        padding: 80px 30px;
    }
    
    .rise-theme-faq-left-section {
        flex: 0 0 300px;
    }
    
    .rise-theme-faq-decoration {
        font-size: 100px;
    }
    
    .rise-theme-faq-title {
        font-size: 40px;
    }
}

@media (max-width: 768px) {
    .rise-theme-faq-container {
        flex-direction: column;
        gap: 40px;
        padding: 60px 20px;
    }
    
    .rise-theme-faq-left-section {
        flex: none;
        text-align: center;
    }
    
    .rise-theme-faq-decoration {
        font-size: 80px;
        margin-bottom: -20px;
    }
    
    .rise-theme-faq-title {
        font-size: 32px;
    }
    
    .rise-theme-faq-subtitle {
        font-size: 14px;
    }
    
    .rise-theme-faq-question {
        padding: 20px;
        gap: 12px;
    }
    
    .rise-theme-faq-q-icon {
        width: 28px;
        height: 28px;
        font-size: 14px;
    }
    
    .rise-theme-faq-q-text {
        font-size: 16px;
    }
    
    .rise-theme-faq-answer-content {
        padding: 0 20px 20px 20px;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .rise-theme-faq-decoration {
        font-size: 60px;
    }
    
    .rise-theme-faq-title {
        font-size: 28px;
    }
    
    .rise-theme-faq-q-text {
        font-size: 15px;
    }
    
    .rise-theme-faq-answer-content {
        font-size: 14px;
    }
}
