/* ============================================================
   ROYAL HERITAGE THEME - FAQ STYLES
   ============================================================ */

.faq-body {
    background:
        linear-gradient(90deg, rgba(8, 2, 2, 0.93), rgba(17, 6, 5, 0.72) 48%, rgba(8, 2, 2, 0.88)),
        url("../images/bg-faq-concierge-lounge.webp") center/cover fixed;
    color: var(--text-dark);
}

/* ========================================= */
/* AMBIENT BACKGROUND                        */
/* ========================================= */

.ambient-bg {
    display: none;
}

.ambient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    animation: floatOrb 20s infinite ease-in-out alternate;
}

.ambient-orb.orb-1 {
    top: -10%; left: -10%;
    width: 50vw; height: 50vw;
    background: var(--ruby);
}

.ambient-orb.orb-2 {
    bottom: -10%; right: -10%;
    width: 60vw; height: 60vw;
    background: var(--primary);
    animation-delay: -10s;
}

@keyframes floatOrb {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(10%, 10%) scale(1.2); }
}

/* ========================================= */
/* FAQ WRAPPER                               */
/* ========================================= */

.faq-wrapper {
    padding: 120px 20px;
    max-width: 1120px;
    margin: 0;
    min-height: 100vh;
}

.faq-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 40px;
    max-width: 720px;
}

/* ========================================= */
/* FAQ ITEMS                                 */
/* ========================================= */

.faq-item {
    background:
        linear-gradient(135deg, rgba(255, 247, 232, 0.06), rgba(255, 247, 232, 0.016)),
        rgba(18, 5, 5, 0.88);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    box-shadow: 0 18px 44px rgba(0,0,0,0.34);
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.faq-item:hover {
    border-color: rgba(212,175,55,0.5);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.faq-item.active {
    border-color: var(--primary);
    background:
        radial-gradient(circle at 18% 0%, rgba(212, 175, 55, 0.13), transparent 13rem),
        rgba(26, 8, 8, 0.95);
    box-shadow: 0 24px 70px rgba(0,0,0,0.52), 0 0 30px rgba(212,175,55,0.08);
}

.faq-q {
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    color: var(--primary);
}

.faq-icon {
    color: var(--gold-accent);
    transition: transform 0.3s ease;
    font-size: 0.9rem;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-a {
    padding: 0 30px;
    height: 0;
    opacity: 0;
    overflow: hidden;
    color: var(--text-light);
    line-height: 1.6;
    transition: all 0.3s ease;
}

.faq-item.active .faq-a {
    padding: 0 30px 25px;
    height: auto;
    opacity: 1;
}

.faq-author {
    display: block;
    margin-top: 10px;
    font-style: italic;
    color: rgba(211,196,163,0.5);
    font-size: 0.9rem;
}

/* ========================================= */
/* FLOATING ASK BUTTON                       */
/* ========================================= */

.floating-ask-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--primary);
    color: #000;
    padding: 15px 25px;
    border-radius: 50px;
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 10px 25px rgba(212,175,55,0.3);
    cursor: pointer;
    border: none;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.floating-ask-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(212,175,55,0.5);
}

/* ========================================= */
/* MODALS                                    */
/* ========================================= */

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background:
        linear-gradient(145deg, rgba(255, 247, 232, 0.08), rgba(255, 247, 232, 0.02)),
        rgba(18, 5, 5, 0.96);
    border: 1px solid var(--primary);
    padding: 40px;
    border-radius: var(--radius);
    width: 90%;
    max-width: 500px;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.close-modal,
.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: var(--ruby);
}

.modal-close:hover {
    color: var(--ruby);
}

.modal-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 25px;
    text-align: center;
}

.input-styled, .textarea-styled {
    width: 100%;
    background: #1A0808;
    border: 1px solid rgba(212,175,55,0.3);
    color: var(--text-dark);
    padding: 15px 20px;
    border-radius: var(--radius);
    font-family: 'Lato', sans-serif;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.input-styled:focus, .textarea-styled:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(212,175,55,0.15);
    background: #2A0808;
}

.textarea-styled {
    resize: vertical;
    min-height: 120px;
}

/* ========================================= */
/* RESPONSIVE                                */
/* ========================================= */

@media (max-width: 768px) {
    .faq-wrapper { padding: 100px 20px 80px; }
    .faq-q { font-size: 1.1rem; padding: 20px; }
    .faq-item.active .faq-a { padding: 0 20px 20px; }
    
    .floating-ask-btn {
        bottom: 20px;
        right: 20px;
        padding: 15px;
        border-radius: 50%;
    }
    
    .floating-ask-btn span {
        display: none;
    }
}
