/* FAQ Page Specific Styles */

.faq-hero {
    padding: 120px 0 60px;
    background: linear-gradient(135deg, #3B4C6B 0%, #2A2E35 100%);
    color: white;
    text-align: center;
}

.faq-header h1 {
    font-size: 36px;
    margin-bottom: 15px;
    color: white;
}

.faq-header p {
    font-size: 18px;
    opacity: 0.9;
}

/* Search Section */
.faq-search {
    padding: 40px 0;
    background: linear-gradient(135deg, #F9F8F6 0%, #F3DCE2 100%);
}

.search-container {
    max-width: 600px;
    margin: 0 auto;
}

.search-box {
    position: relative;
    display: flex;
    align-items: center;
}

.search-box i {
    position: absolute;
    left: 20px;
    color: #3B4C6B;
    font-size: 18px;
    z-index: 2;
}

.search-box input {
    width: 100%;
    padding: 18px 20px 18px 55px;
    border: 2px solid rgba(59, 76, 107, 0.2);
    border-radius: 50px;
    font-size: 16px;
    background: white;
    color: #2A2E35;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.search-box input:focus {
    outline: none;
    border-color: #3B4C6B;
    box-shadow: 0 8px 30px rgba(59, 76, 107, 0.2);
}

.search-box input::placeholder {
    color: rgba(42, 46, 53, 0.6);
}

/* Category Filters */
.faq-categories {
    padding: 40px 0 20px;
    background: white;
    border-bottom: 1px solid rgba(175, 196, 216, 0.3);
}

.category-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.category-btn {
    padding: 12px 24px;
    border: 2px solid rgba(59, 76, 107, 0.2);
    background: transparent;
    color: #3B4C6B;
    border-radius: 25px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.category-btn:hover {
    border-color: #3B4C6B;
    background: rgba(59, 76, 107, 0.05);
}

.category-btn.active {
    background: linear-gradient(135deg, #3B4C6B 0%, #AFC4D8 100%);
    color: white;
    border-color: transparent;
}

/* FAQ Content */
.faq-content {
    padding: 60px 0;
    background: white;
}

.faq-grid {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item {
    background: linear-gradient(135deg, #F9F8F6 0%, rgba(175, 196, 216, 0.05) 100%);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(175, 196, 216, 0.2);
}

.faq-item:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.faq-item.hidden {
    display: none;
}

.faq-question {
    padding: 25px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    position: relative;
}

.faq-question:hover {
    background: rgba(59, 76, 107, 0.03);
}

.faq-question h3 {
    font-size: 18px;
    color: #3B4C6B;
    margin: 0;
    font-weight: 600;
    line-height: 1.4;
    flex: 1;
    padding-right: 20px;
}

.faq-question i {
    color: #3B4C6B;
    font-size: 18px;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    color: #2A2E35;
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    padding: 0 30px 30px;
    max-height: 1000px;
}

.faq-answer p {
    margin-bottom: 15px;
    font-size: 16px;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

.faq-answer ul,
.faq-answer ol {
    margin: 15px 0;
    padding-left: 20px;
}

.faq-answer li {
    margin-bottom: 8px;
    font-size: 15px;
}

.faq-answer strong {
    color: #3B4C6B;
    font-weight: 600;
}

/* Highlight search results */
.highlight {
    background: linear-gradient(135deg, #F4C842 0%, #F39C12 100%);
    color: #2A2E35;
    padding: 2px 4px;
    border-radius: 3px;
    font-weight: 600;
}

/* No results message */
.no-results {
    text-align: center;
    padding: 60px 20px;
    color: #2A2E35;
    opacity: 0.7;
    display: none;
}

.no-results.show {
    display: block;
}

.no-results i {
    font-size: 48px;
    color: #AFC4D8;
    margin-bottom: 20px;
    display: block;
}

.no-results h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #3B4C6B;
}

.no-results p {
    font-size: 16px;
    margin-bottom: 20px;
}

/* Support Section */
.faq-support {
    padding: 80px 0;
    background: linear-gradient(135deg, #F3DCE2 0%, #C7AFC3 100%);
}

.support-card {
    background: rgba(255, 255, 255, 0.9);
    padding: 60px 50px;
    border-radius: 30px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.support-card h2 {
    font-size: 32px;
    margin-bottom: 15px;
    color: #3B4C6B;
}

.support-card > p {
    font-size: 18px;
    margin-bottom: 50px;
    color: #2A2E35;
    opacity: 0.8;
}

.support-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.support-option {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.support-option:hover {
    transform: translateY(-5px);
}

.support-option i {
    font-size: 48px;
    color: #3B4C6B;
    margin-bottom: 20px;
}

.support-option h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #3B4C6B;
}

.support-option p {
    margin-bottom: 25px;
    color: #2A2E35;
    opacity: 0.8;
    font-size: 15px;
}

/* FAQ Categories with icons */
.category-btn::before {
    margin-right: 8px;
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
}

.category-btn[data-category="all"]::before {
    content: "\f0c9";
}

.category-btn[data-category="general"]::before {
    content: "\f059";
}

.category-btn[data-category="process"]::before {
    content: "\f0e8";
}

.category-btn[data-category="photos"]::before {
    content: "\f030";
}

.category-btn[data-category="guide"]::before {
    content: "\f15c";
}

.category-btn[data-category="technical"]::before {
    content: "\f085";
}

/* Loading Animation */
.faq-loading {
    text-align: center;
    padding: 40px;
    display: none;
}

.faq-loading.show {
    display: block;
}

.faq-loading i {
    font-size: 32px;
    color: #AFC4D8;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .faq-hero {
        padding: 100px 0 50px;
    }
    
    .faq-header h1 {
        font-size: 28px;
    }
    
    .search-box input {
        padding: 16px 18px 16px 50px;
        font-size: 15px;
    }
    
    .search-box i {
        left: 18px;
        font-size: 16px;
    }
    
    .category-filters {
        gap: 10px;
    }
    
    .category-btn {
        padding: 10px 18px;
        font-size: 13px;
    }
    
    .faq-question {
        padding: 20px 25px;
    }
    
    .faq-question h3 {
        font-size: 16px;
    }
    
    .faq-answer {
        padding: 0 25px;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 25px 25px;
    }
    
    .support-card {
        padding: 40px 30px;
        margin: 0 20px;
    }
    
    .support-card h2 {
        font-size: 24px;
    }
    
    .support-options {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .faq-search {
        padding: 30px 0;
    }
    
    .faq-content {
        padding: 40px 0;
    }
    
    .faq-grid {
        margin: 0 15px;
    }
    
    .faq-question {
        padding: 18px 20px;
    }
    
    .faq-question h3 {
        font-size: 15px;
        line-height: 1.3;
    }
    
    .faq-answer {
        padding: 0 20px;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 20px 20px;
    }
    
    .category-filters {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 10px;
    }
    
    .category-btn {
        flex-shrink: 0;
        white-space: nowrap;
    }
    
    .support-card {
        padding: 30px 20px;
    }
    
    .support-option {
        padding: 30px 20px;
    }
    
    .support-option i {
        font-size: 36px;
    }
}

/* FAQ Item Animation */
.faq-item {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Search Result Counter */
.search-results-counter {
    text-align: center;
    padding: 20px 0;
    color: #3B4C6B;
    font-weight: 500;
    font-size: 15px;
    display: none;
}

.search-results-counter.show {
    display: block;
}

/* Special styles for featured questions */
.faq-item.featured {
    border-left: 4px solid #3B4C6B;
    background: linear-gradient(135deg, rgba(59, 76, 107, 0.05) 0%, rgba(175, 196, 216, 0.1) 100%);
}

.faq-item.featured .faq-question::before {
    content: "⭐";
    margin-right: 10px;
    font-size: 16px;
}

/* Smooth scroll behavior for anchor links */
html {
    scroll-behavior: smooth;
}

/* Print styles */
@media print {
    .faq-search,
    .faq-categories,
    .faq-support,
    .navbar,
    .footer {
        display: none !important;
    }
    
    .faq-item {
        page-break-inside: avoid;
        margin-bottom: 20px;
        border: 1px solid #ccc;
    }
    
    .faq-answer {
        max-height: none !important;
        padding: 15px !important;
    }
    
    .faq-question i {
        display: none;
    }
} 