/* Portfolio Detail FAQ Styles */
.portfolio-faq {
    margin: 4rem 0;
    padding: 3rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 16px;
}

.portfolio-faq__container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.portfolio-faq__header {
    text-align: center;
    margin-bottom: 3rem;
}

.portfolio-faq__title {
    font-size: 2.25rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.portfolio-faq__subtitle {
    font-size: 1.125rem;
    color: #64748b;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.portfolio-faq__stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.portfolio-faq__stat {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    min-width: 120px;
}

.portfolio-faq__stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #1d88b1;
    margin-bottom: 0.5rem;
}

.portfolio-faq__stat-label {
    font-size: 0.875rem;
    color: #64748b;
    font-weight: 500;
}

.portfolio-faq__list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.portfolio-faq__item {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.portfolio-faq__item:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.portfolio-faq__question {
    width: 100%;
    padding: 1.5rem;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 1.125rem;
    font-weight: 600;
    color: #1e293b;
    transition: all 0.3s ease;
    position: relative;
}

.portfolio-faq__question:hover {
    background: #f8fafc;
    color: #1d88b1;
}

.portfolio-faq__question:focus {
    outline: none;
    background: #f1f5f9;
}

.portfolio-faq__question-text {
    flex: 1;
    line-height: 1.5;
}

.portfolio-faq__icon {
    width: 24px;
    height: 24px;
    margin-left: 1rem;
    transition: transform 0.3s ease;
    color: #64748b;
    flex-shrink: 0;
}

.portfolio-faq__item[aria-expanded="true"] .portfolio-faq__icon {
    transform: rotate(180deg);
    color: #1d88b1;
}

.portfolio-faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background: #f8fafc;
}

.portfolio-faq__item[aria-expanded="true"] .portfolio-faq__answer {
    max-height: 500px;
    padding: 0 1.5rem 1.5rem;
}

.portfolio-faq__answer-content {
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
}

.portfolio-faq__answer-content p {
    margin-bottom: 1rem;
    line-height: 1.7;
    color: #475569;
    font-size: 1rem;
}

.portfolio-faq__answer-content p:last-child {
    margin-bottom: 0;
}

.portfolio-faq__answer-content strong {
    color: #1e293b;
    font-weight: 600;
}

/* FAQ 강조 요소 */
.portfolio-faq__highlight {
    color: #1d88b1;
    font-weight: 700;
    text-decoration: none;
}

.portfolio-faq__price {
    color: #dc2626;
    font-weight: 700;
    text-decoration: none;
}

.portfolio-faq__time {
    color: #059669;
    font-weight: 700;
    text-decoration: none;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .portfolio-faq {
        margin: 2rem 0;
        padding: 2rem 0;
        border-radius: 12px;
    }
    
    .portfolio-faq__container {
        padding: 0 1rem;
    }
    
    .portfolio-faq__title {
        font-size: 1.875rem;
    }
    
    .portfolio-faq__subtitle {
        font-size: 1rem;
    }
    
    .portfolio-faq__stats {
        gap: 1.5rem;
    }
    
    .portfolio-faq__stat {
        padding: 1rem;
        min-width: 100px;
    }
    
    .portfolio-faq__stat-number {
        font-size: 1.5rem;
    }
    
    .portfolio-faq__question {
        padding: 1.25rem;
        font-size: 1rem;
    }
    
    .portfolio-faq__item[aria-expanded="true"] .portfolio-faq__answer {
        padding: 0 1.25rem 1.25rem;
    }
}

@media (max-width: 480px) {
    .portfolio-faq__stats {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .portfolio-faq__stat {
        width: 100%;
        max-width: 200px;
    }
    
    .portfolio-faq__question-text {
        font-size: 0.95rem;
    }
}

/* 애니메이션 효과 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.portfolio-faq__item {
    animation: fadeInUp 0.6s ease forwards;
}

.portfolio-faq__item:nth-child(1) { animation-delay: 0.1s; }
.portfolio-faq__item:nth-child(2) { animation-delay: 0.2s; }
.portfolio-faq__item:nth-child(3) { animation-delay: 0.3s; }
.portfolio-faq__item:nth-child(4) { animation-delay: 0.4s; }
.portfolio-faq__item:nth-child(5) { animation-delay: 0.5s; }
.portfolio-faq__item:nth-child(6) { animation-delay: 0.6s; }
.portfolio-faq__item:nth-child(7) { animation-delay: 0.7s; }
.portfolio-faq__item:nth-child(8) { animation-delay: 0.8s; }

/* 접근성 개선 */
.portfolio-faq__question:focus-visible {
    outline: 2px solid #1d88b1;
    outline-offset: 2px;
}

.portfolio-faq__item[aria-expanded="true"] {
    border-color: #1d88b1;
}




