/* 
   Penkey Délicaf & Gifts - FAQ Section Styles
*/

.faq-section {
    background-color: white;
    padding: 4rem 0;
}

.faq-section h2 {
    text-align: center;
    color: var(--penkey-navy);
    margin-bottom: 2rem;
    font-weight: 700;
}

.faq-section .tagline {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
    color: var(--penkey-navy);
    font-size: 1.1rem;
    opacity: 0.9;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background-color: white;
    border-radius: 12px;
    margin-bottom: 1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.faq-question {
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--penkey-navy);
    font-size: 1.1rem;
}

/* Subtle visible focus (keyboard only) */
.faq-question:focus-visible {
    outline: none;
    border-radius: 8px;
    background: rgba(231, 143, 36, 0.08); /* soft penkey orange tint */
    box-shadow: inset 0 0 0 2px rgba(231, 143, 36, 0.25);
}

.faq-question i {
    color: var(--penkey-orange);
    transition: transform 0.3s ease;
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    border-top: 0px solid rgba(0, 0, 0, 0.1);
}

.faq-answer-content {
    padding-bottom: 1.5rem;
    color: var(--penkey-navy);
    opacity: 0.9;
    line-height: 1.6;
}

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

.faq-item.active .faq-answer {
    max-height: 1000px;
    padding: 0 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.faq-answer ul {
    padding-left: 1.5rem;
    margin: 0.75rem 0;
}

.faq-answer ul li {
    margin-bottom: 0.5rem;
}

.faq-answer a {
    color: var(--penkey-orange);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
}

.faq-answer a:hover {
    text-decoration: underline;
}

/* Responsive styles */
@media (max-width: 768px) {
    .faq-section {
        padding: 3rem 1rem;
    }
    
    .faq-question {
        padding: 1rem 1.25rem;
        font-size: 1rem;
    }
    
    .faq-answer {
        padding: 0 1.25rem;
    }
    
    .faq-answer-content {
        padding-bottom: 1.25rem;
    }
}
