/* =========================================================
   CRICKET STATION — FAQ PAGE STYLES
   Prefix: fq- (FAQ) to avoid conflicts
========================================================= */

/* ---------- GLOBAL ---------- */
.fq-label {
    font-family: 'Cinzel', serif;
    color: #C9A15A;
    letter-spacing: 0.4em;
    font-size: 0.75rem;
    margin-bottom: 1rem;
}

/* ---------- SECTION 1: HERO ---------- */
.fq-hero {
    position: relative;
    height: 80vh;
    min-height: 550px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.fq-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}
.fq-hero-bg img {
    width: 100%; height: 100%;
    object-fit: cover;
    transform: scale(1.1);
}
.fq-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(13,27,23,0.65) 0%, rgba(13,27,23,0.92) 100%);
    z-index: 2;
}
.fq-hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 850px;
    padding: 0 1.5rem;
}
.fq-breadcrumb {
    font-family: 'Cinzel', serif;
    font-size: 0.75rem;
    letter-spacing: 0.3em;
    color: #D1D5DB;
    margin-bottom: 2rem;
}
.fq-breadcrumb a { color: #D1D5DB; transition: color 0.3s; }
.fq-breadcrumb a:hover { color: #C9A15A; }
.fq-breadcrumb span { color: #C9A15A; }
.fq-hero-title {
    font-family: 'Cinzel', serif;
    color: #F5F1E8;
    font-size: clamp(3rem, 8vw, 6rem);
    line-height: 1.05;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
}
.fq-hero-title span { color: #C9A15A; font-style: italic; }
.fq-hero-desc {
    color: #D1D5DB;
    font-size: 1.1rem;
    line-height: 1.7;
    max-width: 650px;
    margin: 0 auto;
}

/* ---------- SECTION 2: SEARCH ---------- */
.fq-search-section {
    padding: 5rem 0 2rem;
}
.fq-search {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
}
.fq-search i {
    position: absolute;
    left: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    color: #C9A15A;
    font-size: 1rem;
}
.fq-search input {
    width: 100%;
    background: #1A2B24;
    border: 1px solid rgba(143,106,53,0.3);
    border-radius: 4px;
    padding: 1.25rem 3.5rem 1.25rem 3.5rem;
    color: #F5F1E8;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s;
    font-family: 'Inter', sans-serif;
}
.fq-search input:focus {
    border-color: #C9A15A;
    box-shadow: 0 0 0 3px rgba(201,161,90,0.15);
}
.fq-search input::placeholder { color: rgba(209,213,219,0.5); }
.fq-search-clear {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 36px; height: 36px;
    background: transparent;
    border: 1px solid rgba(201,161,90,0.3);
    border-radius: 50%;
    color: #C9A15A;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}
.fq-search-clear.visible {
    opacity: 1;
    visibility: visible;
}
.fq-search-clear:hover {
    background: #C9A15A;
    color: #0D1B17;
}
.fq-search-count {
    text-align: center;
    margin-top: 1.25rem;
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    color: #D1D5DB;
}
.fq-search-count span {
    color: #C9A15A;
    font-weight: 600;
    font-family: 'Cinzel', serif;
}

/* ---------- SECTION 3: TABS + FAQ LIST ---------- */
.fq-main { padding: 3rem 0 6rem; }

.fq-tabs-wrap {
    margin-bottom: 3rem;
    display: flex;
    justify-content: center;
}
.fq-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0.5rem;
    background: #1A2B24;
    border: 1px solid rgba(143,106,53,0.2);
    border-radius: 4px;
    justify-content: center;
}
.fq-tab {
    padding: 0.85rem 1.25rem;
    background: transparent;
    border: none;
    color: #D1D5DB;
    font-family: 'Cinzel', serif;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    cursor: pointer;
    transition: all 0.4s;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    border-radius: 2px;
}
.fq-tab:hover { color: #F5F1E8; }
.fq-tab.active {
    background: linear-gradient(135deg, #C9A15A, #8F6A35);
    color: #0D1B17;
}
.fq-tab-count {
    font-family: 'Inter', sans-serif;
    font-size: 0.65rem;
    padding: 0.15rem 0.5rem;
    background: rgba(13,27,23,0.2);
    border-radius: 10px;
    letter-spacing: 0;
}
.fq-tab.active .fq-tab-count {
    background: rgba(13,27,23,0.3);
}

/* Category Headers */
.fq-category-header {
    margin: 3rem 0 1.5rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(201,161,90,0.08), transparent);
    border-left: 2px solid #C9A15A;
    border-radius: 0 4px 4px 0;
    position: relative;
}
.fq-category-header.hidden { display: none; }
.fq-category-num {
    position: absolute;
    top: 1rem; right: 1.5rem;
    font-family: 'Cinzel', serif;
    font-size: 3rem;
    font-weight: 700;
    color: rgba(201,161,90,0.1);
    line-height: 1;
}
.fq-category-header h2 {
    font-family: 'Cinzel', serif;
    color: #F5F1E8;
    font-size: 1.5rem;
    letter-spacing: 0.08em;
    margin-bottom: 0.3rem;
}
.fq-category-header p {
    color: #D1D5DB;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
}

/* FAQ Items */
.fq-item {
    background: #1A2B24;
    border: 1px solid rgba(143,106,53,0.2);
    border-radius: 4px;
    margin-bottom: 0.75rem;
    overflow: hidden;
    transition: all 0.4s;
}
.fq-item.hidden { display: none; }
.fq-item:hover {
    border-color: rgba(201,161,90,0.4);
}
.fq-item.active {
    border-color: #C9A15A;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.fq-question {
    width: 100%;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    background: transparent;
    border: none;
    color: #F5F1E8;
    font-family: 'Cinzel', serif;
    font-size: 1.05rem;
    letter-spacing: 0.03em;
    text-align: left;
    cursor: pointer;
    transition: color 0.3s;
    line-height: 1.4;
}
.fq-question:hover { color: #C9A15A; }
.fq-item.active .fq-question { color: #C9A15A; }

.fq-question i {
    color: #C9A15A;
    transition: transform 0.4s ease;
    flex-shrink: 0;
    font-size: 0.85rem;
}
.fq-item.active .fq-question i {
    transform: rotate(45deg);
}

.fq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
}
.fq-answer p {
    padding: 0 2rem 1.75rem;
    color: #D1D5DB;
    line-height: 1.8;
    font-size: 0.95rem;
}
.fq-answer p strong {
    color: #F5F1E8;
}

/* Empty State */
.fq-empty {
    text-align: center;
    padding: 5rem 2rem;
}
.fq-empty.hidden { display: none; }
.fq-empty-icon {
    font-size: 3.5rem;
    color: #C9A15A;
    opacity: 0.4;
    margin-bottom: 1.5rem;
}
.fq-empty h3 {
    font-family: 'Cinzel', serif;
    color: #F5F1E8;
    font-size: 1.75rem;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}
.fq-empty p {
    color: #D1D5DB;
    margin-bottom: 2rem;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}
.fq-reset-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.9rem 1.75rem;
    background: transparent;
    border: 1px solid rgba(201,161,90,0.4);
    color: #F5F1E8;
    font-family: 'Cinzel', serif;
    font-size: 0.75rem;
    letter-spacing: 0.25em;
    cursor: pointer;
    transition: all 0.4s;
    border-radius: 2px;
}
.fq-reset-btn:hover {
    background: #C9A15A;
    color: #0D1B17;
    border-color: #C9A15A;
}

/* ---------- SECTION 4: CTA ---------- */
.fq-cta {
    position: relative;
    padding: 8rem 0;
    background: linear-gradient(135deg, rgba(13,27,23,0.95), rgba(22,38,31,0.95)), url('https://images.unsplash.com/photo-1540747913346-19e32dc3e97e?auto=format&fit=crop&w=1920&q=80') center/cover;
}
.fq-cta-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(201,161,90,0.08) 0%, transparent 60%);
}
.fq-cta-title {
    font-family: 'Cinzel', serif;
    color: #F5F1E8;
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1.1;
    letter-spacing: 0.05em;
}
.fq-cta-title span { color: #C9A15A; font-style: italic; }

.fq-cta-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.fq-cta-card {
    background: rgba(26,43,36,0.8);
    border: 1px solid rgba(143,106,53,0.2);
    border-radius: 4px;
    padding: 2.5rem 2rem;
    text-align: center;
    text-decoration: none;
    transition: all 0.5s ease;
    position: relative;
    overflow: hidden;
}
.fq-cta-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(201,161,90,0.08), transparent);
    opacity: 0;
    transition: opacity 0.5s;
}
.fq-cta-card:hover {
    transform: translateY(-10px);
    border-color: #C9A15A;
    box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}
.fq-cta-card:hover::before { opacity: 1; }
.fq-cta-icon {
    width: 60px; height: 60px;
    margin: 0 auto 1.25rem;
    border: 1px solid #C9A15A;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #C9A15A;
    font-size: 1.3rem;
    transition: all 0.4s;
    position: relative;
    z-index: 1;
}
.fq-cta-card:hover .fq-cta-icon {
    background: #C9A15A;
    color: #0D1B17;
    transform: rotate(360deg);
}
.fq-cta-card h4 {
    font-family: 'Cinzel', serif;
    color: #F5F1E8;
    font-size: 1.15rem;
    letter-spacing: 0.08em;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}
.fq-cta-card p {
    color: #C9A15A;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}
.fq-cta-card span {
    font-size: 0.75rem;
    color: #D1D5DB;
    letter-spacing: 0.15em;
    position: relative;
    z-index: 1;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 768px) {
    .fq-hero { height: 70vh; min-height: 450px; }
    .fq-search-section { padding: 3rem 0 1rem; }
    .fq-main { padding: 2rem 0 4rem; }
    .fq-tabs {
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        scrollbar-width: none;
    }
    .fq-tabs::-webkit-scrollbar { display: none; }
    .fq-tab {
        padding: 0.7rem 1rem;
        font-size: 0.7rem;
        white-space: nowrap;
    }
    .fq-question {
        padding: 1.25rem 1.25rem;
        font-size: 0.95rem;
    }
    .fq-answer p { padding: 0 1.25rem 1.5rem; font-size: 0.9rem; }
    .fq-category-header { padding: 1.5rem; }
    .fq-category-header h2 { font-size: 1.25rem; }
    .fq-cta { padding: 5rem 0; }
    .fq-cta-cards {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}
@media (max-width: 480px) {
    .fq-hero-title { font-size: 2.5rem !important; }
    .fq-search input { padding: 1rem 3rem 1rem 3rem; font-size: 0.9rem; }
    .fq-question { font-size: 0.9rem; }
}