/**
 * FAQ Page Stylesheet
 * Unique prefix: faqpage-
 */

/* ========================================
   Breadcrumb Navigation
   ======================================== */

.breadcrumb-section {
    background-color: #f8f9fa;
    padding: var(--spacing-md, 20px) 0;
}

.breadcrumb {
    font-size: 14px;
}

.breadcrumb-list {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
    align-items: center;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
}

.breadcrumb-item a {
    color: var(--primary-color, #ff7400);
    text-decoration: none;
    transition: all 0.3s ease;
}

.breadcrumb-item a:hover {
    color: #e66a00;
    text-decoration: underline;
}

.breadcrumb-item.active {
    color: var(--text-dark, #333);
    font-weight: 600;
}

.breadcrumb-item:not(:last-child)::after {
    content: "/";
    margin-left: 10px;
    margin-right: 10px;
    color: #ccc;
}

/* ========================================
   FAQ Hero Section
   ======================================== */

.faqpage-hero-section {
    position: relative;
    width: 100%;
    height: 450px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ff7400 0%, #ff8e53 50%, #ffa366 100%);
}

.faqpage-hero-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.faqpage-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    z-index: 1;
}

.faqpage-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--text-white);
    animation: faqpage-fadeInUp 0.8s ease-out;
}

.faqpage-hero-title {
    font-size: 64px;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--text-white);
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3);
    letter-spacing: -1px;
}

.faqpage-hero-subtitle {
    font-size: 26px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

@keyframes faqpage-fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   FAQ Content Section
   ======================================== */

.faqpage-content-section {
    background-color: #fafafa;
    padding: 90px 0;
}

.faqpage-wrapper {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 70px;
}

/* ========================================
   FAQ Sidebar Navigation
   ======================================== */

.faqpage-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.faqpage-nav {
    background: linear-gradient(135deg, #ffffff 0%, #f9f9f9 100%);
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 116, 0, 0.1);
}

.faqpage-nav-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-dark);
    margin: 0 0 25px 0;
    padding-bottom: 18px;
    border-bottom: 3px solid var(--primary-color);
    letter-spacing: -0.5px;
}

.faqpage-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.faqpage-nav-link {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: #666;
    text-decoration: none;
    padding: 14px 18px;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 4px solid transparent;
    position: relative;
}

.faqpage-nav-link:hover,
.faqpage-nav-link.active {
    color: var(--primary-color);
    background-color: rgba(255, 116, 0, 0.08);
    border-left-color: var(--primary-color);
    padding-left: 22px;
    transform: translateX(2px);
}

.faqpage-nav-link.active {
    font-weight: 700;
}

/* ========================================
   FAQ Contact Card
   ======================================== */

.faqpage-contact-card {
    background: linear-gradient(135deg, #ff7400 0%, #ff8e53 100%);
    border-radius: 20px;
    padding: 35px;
    text-align: center;
    color: var(--text-white);
    box-shadow: 0 8px 24px rgba(255, 116, 0, 0.25);
}

.faqpage-contact-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    backdrop-filter: blur(10px);
}

.faqpage-contact-icon svg {
    width: 36px;
    height: 36px;
    stroke-width: 2.5;
}

.faqpage-contact-title {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 12px 0;
    color: var(--text-white);
}

.faqpage-contact-text {
    font-size: 15px;
    line-height: 1.6;
    margin: 0 0 25px 0;
    color: rgba(255, 255, 255, 0.95);
}

.faqpage-contact-button {
    display: inline-block;
    background-color: var(--text-white);
    color: var(--primary-color);
    font-size: 16px;
    font-weight: 700;
    padding: 14px 32px;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.faqpage-contact-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    background-color: #fff;
}

/* ========================================
   FAQ Main Content
   ======================================== */

.faqpage-main-content {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.faqpage-section {
    scroll-margin-top: 120px;
    background-color: var(--text-white);
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.faqpage-section-title {
    font-size: 36px;
    font-weight: 800;
    color: var(--text-dark);
    margin: 0 0 40px 0;
    display: flex;
    align-items: center;
    gap: 15px;
    letter-spacing: -1px;
}

.faqpage-section-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #ff7400 0%, #ff8e53 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    flex-shrink: 0;
}

.faqpage-section-icon svg {
    width: 28px;
    height: 28px;
    stroke-width: 2.5;
}

/* ========================================
   FAQ Accordion
   ======================================== */

.faqpage-accordion {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faqpage-item {
    background-color: #fafafa;
    border: 2px solid #e8e8e8;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faqpage-item:hover {
    border-color: rgba(255, 116, 0, 0.3);
    box-shadow: 0 4px 16px rgba(255, 116, 0, 0.08);
}

.faqpage-item.active {
    border-color: var(--primary-color);
    box-shadow: 0 6px 20px rgba(255, 116, 0, 0.12);
}

.faqpage-question {
    width: 100%;
    background-color: transparent;
    border: none;
    padding: 24px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    cursor: pointer;
    text-align: left;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faqpage-question:hover {
    background-color: rgba(255, 116, 0, 0.04);
}

.faqpage-question-text {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.5;
}

.faqpage-icon {
    width: 32px;
    height: 32px;
    background-color: rgba(255, 116, 0, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    flex-shrink: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faqpage-icon svg {
    width: 20px;
    height: 20px;
    stroke-width: 2.5;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faqpage-item.active .faqpage-icon {
    background-color: var(--primary-color);
    color: var(--text-white);
}

.faqpage-item.active .faqpage-icon svg {
    transform: rotate(180deg);
}

.faqpage-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faqpage-item.active .faqpage-answer {
    max-height: 1000px;
}

.faqpage-answer > div {
    padding: 0 28px 28px 28px;
}

.faqpage-answer p {
    font-size: 16px;
    color: #555;
    line-height: 1.8;
    margin: 0 0 16px 0;
}

.faqpage-answer p:last-child {
    margin-bottom: 0;
}

.faqpage-answer ul {
    list-style: none;
    margin: 16px 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faqpage-answer li {
    font-size: 16px;
    color: #555;
    line-height: 1.7;
    padding-left: 32px;
    position: relative;
}

.faqpage-answer li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 18px;
}

.faqpage-answer strong {
    color: var(--text-dark);
    font-weight: 700;
}

.faqpage-note {
    background-color: #fff8f0;
    border-left: 4px solid var(--primary-color);
    padding: 16px 20px;
    border-radius: 8px;
    font-size: 15px;
    color: #666;
    margin-top: 16px;
}

/* ========================================
   Responsive - Tablet
   ======================================== */

@media (max-width: 1199px) {
    .faqpage-hero-title {
        font-size: 52px;
    }

    .faqpage-hero-subtitle {
        font-size: 22px;
    }

    .faqpage-wrapper {
        grid-template-columns: 280px 1fr;
        gap: 50px;
    }

    .faqpage-section {
        padding: 40px;
    }

    .faqpage-section-title {
        font-size: 32px;
        margin-bottom: 35px;
    }
}

/* ========================================
   Responsive - Mobile
   ======================================== */

@media (max-width: 767px) {
    .breadcrumb-section {
        padding: 15px 0;
    }

    .breadcrumb {
        font-size: 12px;
    }

    .breadcrumb-item:not(:last-child)::after {
        margin-left: 6px;
        margin-right: 6px;
    }

    .faqpage-hero-section {
        height: 320px;
    }

    .faqpage-hero-title {
        font-size: 36px;
        margin-bottom: 12px;
    }

    .faqpage-hero-subtitle {
        font-size: 18px;
    }

    .faqpage-content-section {
        padding: 50px 0;
    }

    .faqpage-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .faqpage-sidebar {
        position: static;
        top: auto;
    }

    .faqpage-nav {
        padding: 28px;
    }

    .faqpage-nav-title {
        font-size: 18px;
        margin-bottom: 20px;
    }

    .faqpage-nav-link {
        font-size: 14px;
        padding: 12px 16px;
    }

    .faqpage-nav-link:hover,
    .faqpage-nav-link.active {
        padding-left: 20px;
    }

    .faqpage-contact-card {
        padding: 30px;
    }

    .faqpage-contact-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 16px;
    }

    .faqpage-contact-icon svg {
        width: 30px;
        height: 30px;
    }

    .faqpage-contact-title {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .faqpage-contact-text {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .faqpage-contact-button {
        font-size: 15px;
        padding: 12px 28px;
    }

    .faqpage-section {
        padding: 30px 20px;
    }

    .faqpage-section-title {
        font-size: 26px;
        margin-bottom: 30px;
        gap: 12px;
    }

    .faqpage-section-icon {
        width: 40px;
        height: 40px;
    }

    .faqpage-section-icon svg {
        width: 24px;
        height: 24px;
    }

    .faqpage-accordion {
        gap: 14px;
    }

    .faqpage-question {
        padding: 20px;
        gap: 16px;
    }

    .faqpage-question-text {
        font-size: 16px;
    }

    .faqpage-icon {
        width: 28px;
        height: 28px;
    }

    .faqpage-icon svg {
        width: 18px;
        height: 18px;
    }

    .faqpage-answer > div {
        padding: 0 20px 20px 20px;
    }

    .faqpage-answer p {
        font-size: 15px;
        margin-bottom: 14px;
    }

    .faqpage-answer ul {
        margin: 14px 0;
        gap: 10px;
    }

    .faqpage-answer li {
        font-size: 15px;
        padding-left: 28px;
    }

    .faqpage-note {
        padding: 14px 18px;
        font-size: 14px;
        margin-top: 14px;
    }
}

/* ========================================
   Accessibility
   ======================================== */

@media (prefers-reduced-motion: reduce) {
    .faqpage-hero-content,
    .faqpage-nav-link,
    .faqpage-contact-button,
    .faqpage-item,
    .faqpage-question,
    .faqpage-icon svg,
    .faqpage-answer {
        animation: none !important;
        transition: none !important;
    }
}

/* ========================================
   Print Styles
   ======================================== */

@media print {
    .faqpage-sidebar,
    .breadcrumb-section {
        display: none;
    }

    .faqpage-wrapper {
        grid-template-columns: 1fr;
    }

    .faqpage-section {
        page-break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }

    .faqpage-item.active .faqpage-answer {
        max-height: none;
    }
}
