/* ===================================
   FAQ PAGE STYLES - HOTOP
   =================================== */

/* FAQ Section */
.faq-section {
    padding: 30px 0 80px;
    background-color: #fff;
}

.faq-section .container {
    padding-left: 150px;
    padding-right: 150px;
}

/* Breadcrumbs */
.breadcrumbs {
    margin-bottom: 30px;
    font-size: 14px;
    color: #666;
}

.breadcrumb-link {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-link:hover {
    color: #FF1493;
}

.breadcrumb-separator {
    margin: 0 8px;
    color: #999;
}

.breadcrumb-current {
    color: #333;
    font-weight: 600;
}

/* Page Title */
.page-title {
    font-size: 42px;
    font-weight: 700;
    color: #333;
    margin-bottom: 40px;
    line-height: 1.4;
}

/* FAQ Layout */
.faq-layout {
    display: flex;
    gap: 40px;
}

/* Sidebar */
.faq-sidebar {
    width: 450px;
    flex-shrink: 0;
}

.sidebar-title {
    font-size: 36px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 20px;
    line-height: 1.4;
}

.sidebar-divider {
    height: 3px;
    background: #033490;
    margin-bottom: 40px;
}

.faq-categories {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.category-title {
    font-size: 20px;
    font-weight: 700;
    color: #000000;
    margin: 30px 0 15px;
    line-height: 1.4;
}

.category-title:first-child {
    margin-top: 0;
}

.category-link {
    padding: 0;
    font-size: 20px;
    color: #000000;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    font-weight: 400;
    line-height: 1.5;
}

.category-link:hover {
    color: #033490;
    padding-left: 0;
}

.category-link.active {
    background: transparent;
    color: #000000;
    font-weight: 700;
}

.category-link.active::before {
    display: none;
}

/* FAQ Content */
.faq-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 70px;
}

/* FAQ Card */
.faq-card {
    position: relative;
    width: 100%;
    height: 320px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    animation: fadeInUp 0.5s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.faq-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.faq-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.faq-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.faq-overlay {
    position: absolute;
    top: 30px;
    left: 30px;
    color: white;
    z-index: 2;
}

/* FAQ Title */
.faq-title {
    font-size: 32px;
    font-weight: 700;
    color: white;
    line-height: 1.3;
    margin: 0 0 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* FAQ Subtitle */
.faq-subtitle {
    font-size: 24px;
    color: white;
    line-height: 1.4;
    margin: 0;
    font-weight: 400;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* Top Nav Active */
.top-menu-link.active {
    color: #FFD700;
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .faq-layout {
        gap: 30px;
    }

    .faq-sidebar {
        width: 240px;
    }

    .faq-title {
        font-size: 28px;
    }

    .faq-subtitle {
        font-size: 20px;
    }
}

@media (max-width: 992px) {
    .faq-layout {
        flex-direction: column;
    }

    .faq-sidebar {
        width: 100%;
    }

    .faq-categories {
        position: static;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px;
    }

    .category-title {
        width: 100%;
        margin: 15px 0 10px;
        font-size: 18px;
    }

    .category-link {
        flex: 0 0 auto;
        padding: 10px 20px;
        border: 2px solid #e0e0e0;
    }

    .category-link.active {
        border-color: transparent;
    }

    .category-link:hover {
        padding-left: 20px;
    }
}

@media (max-width: 768px) {
    .faq-section {
        padding: 20px 0 60px;
    }

    .page-title {
        font-size: 32px;
        margin-bottom: 30px;
    }

    .faq-card {
        height: 250px;
    }

    .faq-overlay {
        top: 20px;
        left: 20px;
    }

    .faq-title {
        font-size: 24px;
    }

    .faq-subtitle {
        font-size: 18px;
    }
}

@media (max-width: 576px) {
    .page-title {
        font-size: 28px;
    }

    .breadcrumbs {
        font-size: 12px;
    }

    .category-title {
        font-size: 16px;
    }

    .category-link {
        padding: 8px 15px;
        font-size: 14px;
    }

    .faq-card {
        height: 200px;
    }

    .faq-overlay {
        top: 15px;
        left: 15px;
    }

    .faq-title {
        font-size: 18px;
    }

    .faq-subtitle {
        font-size: 16px;
    }
}

/* Search Highlight */
.faq-card.highlight {
    animation: highlightPulse 1s ease;
}

@keyframes highlightPulse {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    }
    50% {
        box-shadow: 0 0 30px rgba(255, 20, 147, 0.6);
    }
}

/* Loading Skeleton */
.faq-card.skeleton {
    pointer-events: none;
}

.faq-card.skeleton .faq-title,
.faq-card.skeleton .faq-subtitle {
    background: linear-gradient(90deg, rgba(255,255,255,0.3) 25%, rgba(255,255,255,0.5) 50%, rgba(255,255,255,0.3) 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    color: transparent;
    text-shadow: none;
    border-radius: 4px;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}
