/* 
 * FAQ Page Specific Styles 
 * Velvet Noir Theme
 */

/* 1. Hero Section (Faded Split Layout) */
.faq-hero-container {
    display: flex;
    min-height: 450px;
    width: 100%;
    background-color: #0a0a0a; /* Match the dark aesthetic */
}

.faq-hero-image {
    flex: 1;
    background-size: cover;
    background-position: center;
    position: relative;
}

/* Magic gradient fade to blend the image into the black background */
.faq-hero-image::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 40%; /* Fade over the right 40% of the image */
    background: linear-gradient(to right, rgba(10, 10, 10, 0) 0%, rgba(10, 10, 10, 1) 100%);
}

.faq-hero-text {
    flex: 1;
    background-color: #0a0a0a;
    color: var(--vn-cream);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 60px 8%;
    text-align: center;
}

.faq-hero-text .subtitle {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #c4a77d; /* Champagne gold */
    margin-bottom: 15px;
    font-weight: 600;
}

.faq-hero-text h1 {
    font-family: var(--font-heading);
    font-size: 4.5rem;
    margin-bottom: 25px;
    line-height: 1;
    font-weight: 400;
}

.faq-hero-text p {
    font-size: 1.05rem;
    color: #a8a8a8;
    line-height: 1.8;
    max-width: 450px;
    margin: 0 auto;
}

/* 2. Search & Contact Bar */
.faq-search-bar-wrap {
    background-color: #121212;
    padding: 20px 0;
    border-bottom: 1px solid #222;
}

.faq-search-bar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-search-input-wrapper {
    position: relative;
    flex: 1;
    max-width: 600px;
}

.faq-search-input-wrapper i {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #888;
}

.faq-search-input-wrapper input#faq-search-input {
    width: 100%;
    background-color: #1a1a1a;
    border: 1px solid #333;
    color: var(--vn-cream);
    padding: 15px 20px 15px 50px !important;
    border-radius: 4px;
    font-family: var(--font-body);
}

.faq-search-input-wrapper input#faq-search-input:focus {
    outline: none;
    border-color: #555;
}

.faq-contact-link {
    color: #a8a8a8;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.faq-contact-link:hover {
    color: #c4a77d;
}

.faq-contact-link span {
    color: var(--vn-burgundy);
    margin-left: 5px;
}

/* 3. Category Navigation */
.faq-topics-nav {
    background-color: var(--vn-black);
    padding: 15px 0;
    border-bottom: 1px solid #222;
    overflow-x: auto;
}

.faq-topics-list {
    display: flex;
    gap: 15px;
    list-style: none;
    margin: 0;
    padding: 0;
    white-space: nowrap;
}

.faq-topics-list li {
    display: inline-block;
}

.faq-topics-list a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #888;
    text-decoration: none;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 10px 15px;
    border-radius: 4px;
    transition: all 0.3s;
}

.faq-topics-list a:hover {
    color: var(--vn-cream);
    background-color: #1a1a1a;
}

.faq-topics-list a.active {
    color: var(--vn-cream);
    background-color: #2a1118; /* Subtle burgundy tint */
    border: 1px solid var(--vn-burgundy-dark);
}

.faq-topics-list a i {
    font-size: 1rem;
}

/* 4. Main Layout (Grid) */
.faq-main-content {
    padding: 60px 0;
    background-color: var(--vn-black);
    min-height: 600px;
}

.faq-layout-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    align-items: start;
}

/* Accordion (Left) */
.faq-accordion-list {
    display: flex;
    flex-direction: column;
}

.faq-accordion-item {
    border-bottom: 1px solid #333;
    background-color: transparent;
}

.faq-accordion-item:first-child {
    border-top: 1px solid #333;
}

.faq-accordion-header {
    width: 100%;
    background: none;
    border: none;
    padding: 25px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--vn-cream);
    font-family: var(--font-body);
    font-size: 1rem;
    cursor: pointer;
    text-align: left;
    transition: color 0.3s;
}

.faq-accordion-header:hover {
    color: #c4a77d;
}

.faq-accordion-header .icon {
    font-size: 1.2rem;
    font-weight: 300;
    color: #888;
    transition: transform 0.3s, color 0.3s;
}

.faq-accordion-header:hover .icon {
    color: #c4a77d;
}

.faq-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease;
    padding: 0;
    color: #a8a8a8;
    font-size: 0.95rem;
    line-height: 1.6;
}

.faq-accordion-item.active .faq-accordion-content {
    padding: 0 0 30px 0;
    max-height: 800px;
}

/* Sidebar (Right) */
.faq-sidebar {
    position: sticky;
    top: 40px; /* Adjust based on header height */
}

.faq-help-box {
    background-color: #1a1a1a;
    border: 1px solid #333;
    padding: 30px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.faq-help-box h3 {
    color: var(--vn-cream);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    text-align: center;
}

.faq-help-box > p {
    color: #888;
    font-size: 0.85rem;
    text-align: center;
    margin-bottom: 25px;
}

.help-method-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.help-method-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #333;
}

.help-method-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.help-method-item i {
    font-size: 1.5rem;
    color: #c4a77d;
    margin-top: 5px;
}

.help-method-text h4 {
    color: var(--vn-cream);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 5px 0;
}

.help-method-text p {
    color: #888;
    font-size: 0.85rem;
    margin: 0;
    line-height: 1.4;
}

.btn-contact-us {
    display: block;
    width: 100%;
    text-align: center;
    background-color: var(--vn-burgundy);
    color: white;
    padding: 15px 0;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    border-radius: 4px;
    margin-top: 25px;
    transition: background-color 0.3s;
}

.btn-contact-us:hover {
    background-color: var(--vn-burgundy-dark);
}

.faq-sidebar-image {
    width: 100%;
    height: 150px;
    background-size: cover;
    background-position: center;
    border-radius: 4px;
}

/* 5. Bottom Grid */
.faq-bottom-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
    padding: 40px 0;
    background-color: var(--vn-black);
    border-top: 1px solid #222;
}

.faq-grid-card {
    background-color: #121212;
    padding-bottom: 20px;
    text-decoration: none;
    border: 1px solid #222;
    transition: transform 0.3s, border-color 0.3s;
}

.faq-grid-card:hover {
    transform: translateY(-5px);
    border-color: #444;
}

.faq-grid-card .img-container {
    width: 100%;
    height: 120px;
    background-size: cover;
    background-position: center;
    margin-bottom: 15px;
}

.faq-grid-card .card-content {
    padding: 0 15px;
}

.faq-grid-card h4 {
    color: #c4a77d;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.faq-grid-card p {
    color: #888;
    font-size: 0.75rem;
    line-height: 1.4;
    margin-bottom: 10px;
}

.faq-grid-card .learn-more {
    color: var(--vn-cream);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 1024px) {
    .faq-layout-grid {
        grid-template-columns: 1fr;
    }
    .faq-sidebar {
        position: static;
    }
    .faq-bottom-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .faq-hero-container {
        flex-direction: column;
    }
    .faq-hero-image, .faq-hero-text {
        width: 100%;
    }
    .faq-hero-image {
        min-height: 300px;
    }
    .faq-search-bar-container {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }
    .faq-bottom-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .faq-bottom-grid {
        grid-template-columns: 1fr;
    }
}
