/* --- FAQ Page Styles for TasarMiPiso --- */

/* FAQ Hero Section */
.faq-hero {
    padding: 100px 0 80px;
        background: radial-gradient(circle at 20% 20%, rgba(5, 150, 105, 0.1) 0%, transparent 50%), radial-gradient(circle at 80% 80%, rgba(5, 150, 105, 0.05) 0%, transparent 50%), radial-gradient(circle at 40% 60%, rgba(5, 150, 105, 0.08) 0%, transparent 50%);
    text-align: center;
}

.faq-hero h1 {
    font-size: 48px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 20px;
    line-height: 1.2;
}

.faq-hero p {
    font-size: 20px;
    color: #64748b;
    margin: 0 auto;
    line-height: 1.6;
}

/* FAQ Main Section */
.faq-main {
    padding: 80px 0;
    background: white;
}

.faq-content {
    margin: 0 auto;
}

/* FAQ Category Headers */
.faq-category {
    margin-bottom: 48px;
}

.faq-category:not(:first-child) {
    margin-top: 64px;
    padding-top: 48px;
    border-top: 2px solid #f1f5f9;
}

.faq-category-title {
    font-size: 28px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 32px;
    text-align: center;
    position: relative;
}

.faq-category-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #059669;
    margin: 16px auto 0;
    border-radius: 2px;
}

/* FAQ Items */
.faq-item {
    background: white;
    border-radius: 16px;
    margin-bottom: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.faq-item:hover {
    box-shadow: 0 8px 32px rgba(5, 150, 105, 0.1);
    border-color: #059669;
}

.faq-item-open {
    border-color: #059669;
    box-shadow: 0 8px 32px rgba(5, 150, 105, 0.15);
}

.faq-question {
    padding: 24px 28px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
    transition: all 0.2s ease;
}

.faq-question:hover {
    background: #f8fafc;
}

.faq-item-open .faq-question {
    border-bottom: 1px solid #e2e8f0;
    background: #f8fafc;
}

.faq-question h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
    line-height: 1.4;
    flex: 1;
    padding-right: 20px;
}

.faq-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: #e2e8f0;
    border-radius: 50%;
    color: #64748b;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}

.faq-item-open .faq-icon {
    background: #059669;
    color: white;
}

.faq-answer {
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: none;
}

.faq-content {
    padding: 0 28px 28px 28px;
    animation: slideInFade 0.4s ease-out;
}

.faq-content p {
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 16px;
    font-size: 16px;
}

.faq-content p:last-child {
    margin-bottom: 0;
}

.faq-content a {
    color: #059669;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid transparent;
    transition: all 0.2s ease;
}

.faq-content a:hover {
    border-bottom-color: #059669;
}

@keyframes slideInFade {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Search Box */
.faq-search {
    margin-bottom: 48px;
    text-align: center;
}

.faq-search-input {
    width: 100%;
    max-width: 500px;
    padding: 16px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 16px;
    font-family: inherit;
    transition: all 0.3s ease;
    background: white;
}

.faq-search-input:focus {
    outline: none;
    border-color: #059669;
    box-shadow: 0 0 0 4px rgba(5, 150, 105, 0.1);
}

.faq-search-input::placeholder {
    color: #94a3b8;
}

/* FAQ Stats */
.faq-stats {
    padding: 60px 0;
    background: #f8fafc;
    text-align: center;
}

.faq-stats h2 {
    font-size: 32px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 32px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
    margin: 0 auto;
}

.stat-item {
    background: white;
    padding: 32px 24px;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    color: #059669;
    margin-bottom: 8px;
    line-height: 1;
}

.stat-label {
    font-size: 14px;
    color: #64748b;
    font-weight: 500;
}

/* Contact CTA */
.faq-contact {
    padding: 80px 0;
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    color: white;
    text-align: center;
}

.faq-contact h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
}

.faq-contact p {
    font-size: 18px;
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

.faq-contact .btn-primary-large {
    background: white;
    color: #059669;
}

.faq-contact .btn-primary-large:hover {
    background: #f8fafc;
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(255, 255, 255, 0.2);
}

/* Quick Links */
.quick-links {
    background: #f8fafc;
    padding: 48px 32px;
    border-radius: 16px;
    margin-bottom: 48px;
}

.quick-links h3 {
    font-size: 20px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 24px;
    text-align: center;
}

.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.quick-link {
    display: block;
    padding: 12px 16px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    text-decoration: none;
    color: #475569;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    text-align: center;
}

.quick-link:hover {
    background: #059669;
    color: white;
    border-color: #059669;
    transform: translateY(-2px);
}

/* Responsive Design for FAQ */
@media (max-width: 768px) {
    .faq-hero {
        padding: 80px 0 60px;
    }
    
    .faq-hero h1 {
        font-size: 36px;
    }
    
    .faq-hero p {
        font-size: 18px;
        padding: 0 20px;
    }
    
    .faq-main {
        padding: 60px 0;
    }
    
    .faq-category-title {
        font-size: 24px;
    }
    
    .faq-question {
        padding: 20px 24px;
    }
    
    .faq-question h3 {
        font-size: 16px;
        padding-right: 16px;
    }
    
    .faq-content {
        padding: 0 24px 24px 24px;
    }
    
    .faq-content p {
        font-size: 15px;
    }
    
    .faq-search-input {
        margin: 0 20px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 20px;
    }
    
    .stat-number {
        font-size: 28px;
    }
    
    .faq-contact h2 {
        font-size: 28px;
    }
    
    .faq-contact p {
        font-size: 16px;
        padding: 0 20px;
    }
    
    .quick-links {
        padding: 32px 24px;
        margin: 0 20px 32px;
    }
    
    .quick-links-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .faq-hero {
        padding: 60px 0 40px;
    }
    
    .faq-hero h1 {
        font-size: 32px;
    }
    
    .faq-hero p {
        font-size: 16px;
    }
    
    .faq-main {
        padding: 40px 0;
    }
    
    .faq-category-title {
        font-size: 22px;
    }
    
    .faq-question {
        padding: 18px 20px;
    }
    
    .faq-question h3 {
        font-size: 15px;
        padding-right: 12px;
    }
    
    .faq-content {
        padding: 0 20px 20px 20px;
    }
    
    .faq-content p {
        font-size: 14px;
    }
    
    .faq-icon {
        width: 28px;
        height: 28px;
    }
    
    .faq-stats {
        padding: 40px 0;
    }
    
    .faq-stats h2 {
        font-size: 24px;
    }
    
    .stat-item {
        padding: 24px 20px;
    }
    
    .faq-contact {
        padding: 60px 0;
    }
    
    .faq-contact h2 {
        font-size: 24px;
    }
    
    .quick-links {
        padding: 24px 20px;
        margin: 0 10px 24px;
    }
}
