/* FAQ page styles - using global font variables */
body {
    font-family: var(--font-sans);
    background: var(--bg-body);
    color: var(--text-body);
    margin: 0;
    padding: 0;
}

h1,
h2,
h3 {
    font-family: var(--font-serif);
    color: var(--text-body);
}

h2 {
    text-align: center;
    margin-bottom: 20px;
    color: var(--text-body);
}

/* Center alignment for desktop */
.faq-search,
.faq-section,
.faq-contact {
    text-align: center;
}

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

/* ===== PAGE HEADER ===== */
.page-header {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 8rem;
    overflow: hidden;
}

.header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(212, 175, 55, 0.05) 100%);
    z-index: 0;
}

.header-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.header-content h1 {
    font-family: var(--font-serif);
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--gold);
}

.header-content p {
    font-family: var(--font-sans);
    font-size: 1.2rem;
    color: var(--gray);
}


/* ===== FAQ SEARCH ===== */
.faq-search {
    padding: 2rem;
    background: linear-gradient(135deg, #e6e6e6 0%, #ececec 100%);
    text-align: center;
}

.search-container {
    position: relative;
    max-width: 500px;
    margin: 0 auto;
}

#faqSearch {
    width: 100%;
    padding: 1rem;
    padding-right: 2.5rem;
    background: #ffffff;
    border: 2px solid #d4af37;
    color: var(--text-body);
    border-radius: 5px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

#faqSearch:focus {
    outline: none;
    background: #ffffff;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
}

#faqSearch::placeholder {
    color: #888;
}

.search-container i {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #d4af37;
    pointer-events: none;
}

/* ===== ACCORDION ===== */
.faq-section {
    padding: 3rem 2rem;
    background: #e6e6e6;
}

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

.faq-container h2 {
    font-family: var(--font-serif);
    text-align: center;
    margin-bottom: 2rem;
    color: var(--gold);
    font-size: 2.5rem;
}

.accordion {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.accordion-item {
    background: #e6e6e6;
    border: 2px solid #d4af37;
    border-radius: 5px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.accordion-item.active {
    background: #fffbef;
    /* Very light yellow/gold tint */
}

.accordion-header {
    width: 100%;
    padding: 1.5rem;
    background: transparent;
    color: var(--gold);
    border: none;
    text-align: center;
    font-family: var(--font-sans);
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.accordion-header:hover {
    background: rgba(212, 175, 55, 0.1);
    padding-left: 2rem;
}

.accordion-header i {
    transition: transform 0.3s ease;
}

.accordion-item.active .accordion-header i {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 1.5rem;
}

.accordion-item.active .accordion-content {
    max-height: 500px;
    padding: 0 1.5rem 1.5rem;
}

.accordion-content p {
    font-family: var(--font-sans);
    color: var(--gray);
    line-height: 1.8;
    font-size: 1rem;
}

/* ===== FAQ CONTACT ===== */
.faq-contact {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, rgba(245, 176, 65, 0.1) 0%, rgba(245, 176, 65, 0.05) 100%);
    text-align: center;
}

.faq-contact h2 {
    font-family: var(--font-serif);
    margin-bottom: 1rem;
    color: var(--gold);
    font-size: 2.5rem;
}

.faq-contact p {
    font-family: var(--font-sans);
    color: var(--gray);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.contact-options {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
}

.contact-btn {
    font-family: var(--font-ui);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 2rem;
    border: 2px solid var(--gold);
    border-radius: 5px;
    color: var(--text-body);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.contact-btn:hover {
    background: #d4af37;
    color: #ffffff;
    transform: translateY(-3px);
}


/* WhatsApp Floating Button */
.whatsapp {
    position: fixed;
    /* Stays in place when scrolling */
    width: 60px;
    height: 60px;
    bottom: 20px;
    /* Distance from bottom */
    right: 20px;
    /* Distance from right */
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    z-index: 1000;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s;
}

.whatsapp:hover {
    transform: scale(1.1);
}

.whatsapp i {
    line-height: 60px;
    /* Centers the WhatsApp icon */
}

.email-btn {
    border-color: #d4af37;
}

.booking-btn {
    border-color: #d4af37;
}

@media (max-width: 768px) {
    .page-header {
        margin-top: 6rem;
        height: 300px;
    }

    .header-content h1 {
        font-size: 2rem;
    }

    .faq-container h2,
    .faq-contact h2 {
        font-size: 2rem;
        text-align: center;
    }

    /* Center align on mobile */
    .faq-search,
    .faq-section,
    .faq-contact {
        text-align: center;
    }

    .search-container {
        max-width: 90%;
    }

    .contact-options {
        flex-direction: column;
    }

    .contact-btn {
        width: 100%;
        justify-content: center;
    }

    .accordion-header {
        padding: 1rem;
        font-size: 1rem;
    }

    .accordion-header:hover {
        padding-left: 1rem;
    }

    .accordion-item {
        text-align: center;
    }

    .accordion {
        grid-template-columns: 1fr;
    }
}