/**
 * Sweets Website
 * =============================================================
 * File: help.css
 * Description: Styling for the Help & FAQ page
 * =============================================================
 */

.h-page {
    background-color: #fdfaf7;
    background-image: url("../../images/banners/contack-bg.png");
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    min-height: 100vh;
}

.h-title {
    font-family: var(--ff-heading, 'Quando', serif);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: #7b1d1d;
    margin-bottom: 2rem;
}

/* ── CATEGORY CARDS ── */
.h-cat-card {
    background: #fff;
    border: 1px solid #d67a1811;
    border-radius: 16px;
    padding: 2.5rem 1.5rem;
    height: 100%;
    text-align: left;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.h-cat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(123, 29, 29, 0.1);
}

.h-cat-icon {
    width: 48px;
    height: 48px;
    background: #fdfaf5;
    border: 1.5px solid #eee;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d67a18;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.h-cat-title {
    font-weight: 800;
    font-size: 1.4rem;
    color: #7b1d1d;
    margin-bottom: 0.75rem;
}

.h-cat-desc {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
    margin: 0;
}

/* ── FAQ SECTION ── */
.h-faq-image-wrap {
    position: relative;
    padding-bottom: 40px;
}

.h-faq-img {
    border: 1.5px solid #7b1d1d22;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.h-faq-quote-box {
    position: absolute;
    bottom: 0;
    right: -20px;
    width: 85%;
    background: #7b1d1d;
    color: #fff;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(123, 29, 29, 0.3);
}

.h-faq-quote-text {
    font-size: 0.95rem;
    font-style: italic;
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.h-faq-quote-author {
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}

.h-faq-title {
    font-family: var(--ff-heading, 'Quando', serif);
    font-size: 2.2rem;
    font-weight: 800;
    color: #7b1d1d;
}

.h-faq-subtitle {
    font-size: 1.1rem;
    color: #888;
}

/* ── ACCORDION ── */
.h-accordion {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.h-accordion-item {
    background: transparent;
    border: 1.5px solid #d67a1822;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.h-accordion-item.is-active {
    background: #fff;
    border-color: #7b1d1d44;
    box-shadow: 0 4px 20px rgba(123, 29, 29, 0.05);
}

.h-accordion-toggle {
    width: 100%;
    padding: 1.25rem 2rem;
    background: transparent;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 800;
    font-size: 1.15rem;
    color: #4a1b14;
    text-align: left;
    cursor: pointer;
}

.h-accordion-toggle i {
    color: #d67a18;
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.h-accordion-collapse {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.h-accordion-item.is-active .h-accordion-collapse {
    max-height: 500px;
}

.h-accordion-body {
    padding: 0 2rem 1.5rem;
    color: #666;
    line-height: 1.6;
}

/* ── INFO BAR ── */
.h-info-bar {
    border-top: 1px solid #d67a1811;
    border-bottom: 1px solid #d67a1811;
}

.h-info-item {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    justify-content: center;
}

.h-info-icon {
    width: 44px;
    height: 44px;
    background: #f6eada;
    border: 1px solid #eee;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d67a18;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.h-info-text p {
    font-weight: 700;
    color: #333;
}

/* ── FOOTER CTA ── */
.h-footer-title {
    font-family: var(--ff-heading, 'Quando', serif);
    font-size: 2.5rem;
    font-weight: 800;
    color: #4a1b14;
}

.h-btn-contact {
    background: #7b1d1d;
    color: #fff;
    font-weight: 800;
    font-size: 1.25rem;
    border-radius: 12px;
    border: none;
    box-shadow: 0 6px 20px rgba(123, 29, 29, 0.2);
    transition: all 0.3s ease;
}

.h-btn-contact:hover {
    background: #601414;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 18px rgba(123, 29, 29, 0.3);
}

/* ── RESPONSIVE ── */
@media (max-width: 991px) {
    .h-faq-quote-box {
        position: static;
        width: 100%;
        margin-top: 1rem;
    }
}

@media (max-width: 585px) {
    .h-title {
        font-size: 2rem;
    }
    .h-footer-title {
        font-size: 1.8rem;
    }
    .h-accordion-toggle {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
    .h-info-item {
        justify-content: flex-start;
        padding-left: 1rem;
    }
}
