/**
 * Modern FAQ Page Styles
 * Modern UI/UX tasarımlı SSS sayfası stilleri
 */

/* Hero Section */
.faq-hero-section {
    position: relative;
    padding: 190px 0 80px;
    background: linear-gradient(135deg, #006233 0%, #004d26 100%);
    overflow: hidden;
}

.faq-hero-bg {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    overflow: hidden;
}

.faq-hero-bg::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
}

.faq-hero-title {
    font-size: 48px;
    font-weight: 700;
    color: #ffffff !important;
    margin-bottom: 20px;
}

.faq-hero-subtitle {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
}

/* Search Box */
.faq-search-box {
    max-width: 600px;
    margin: 0 auto;
}

.faq-search-form {
    position: relative;
    background: #fff;
    border-radius: 60px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.faq-search-input {
    width: 100%;
    padding: 20px 60px 20px 30px;
    font-size: 16px;
    border: none;
    outline: none;
    background: transparent;
}

.faq-search-btn {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: #d21034;
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-search-btn:hover {
    background: #b00d2b;
    transform: translateY(-50%) scale(1.05);
}

/* Categories Section */
.faq-categories-section {
    padding: 60px 0;
    background: #f8f9fa;
    margin-top: -40px;
    position: relative;
    z-index: 10;
}

.faq-categories-wrapper {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.faq-category-card {
    background: #fff;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    min-width: 150px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
}

.faq-category-card:hover,
.faq-category-card.active {
    border-color: #006233;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 98, 51, 0.1);
}

.faq-category-icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 98, 51, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    transition: all 0.3s ease;
}

.faq-category-card:hover .faq-category-icon,
.faq-category-card.active .faq-category-icon {
    background: #006233;
}

.faq-category-icon i {
    font-size: 24px;
    color: #006233;
    transition: all 0.3s ease;
}

.faq-category-card:hover .faq-category-icon i,
.faq-category-card.active .faq-category-icon i {
    color: #fff;
}

.faq-category-card h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #2d3748;
}

.faq-category-count {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #d21034;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 20px;
}

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

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #fff;
    border-radius: 15px;
    margin-bottom: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.faq-question {
    padding: 25px 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(0, 98, 51, 0.05);
}

.faq-question-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question h3 {
    font-size: 18px;
    font-weight: 600;
    color: #2d3748;
    margin: 0;
    padding-right: 20px;
}

.faq-icon {
    width: 40px;
    height: 40px;
    background: rgba(0, 98, 51, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.faq-icon i {
    font-size: 16px;
    color: #006233;
    transition: transform 0.3s ease;
}

.faq-question[aria-expanded="true"] .faq-icon {
    background: #006233;
}

.faq-question[aria-expanded="true"] .faq-icon i {
    color: #fff;
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 30px 25px;
    color: #4a5568;
    line-height: 1.8;
}

.faq-answer ul {
    margin: 15px 0;
    padding-left: 20px;
}

.faq-answer ul li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
}

.faq-answer ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 3px;
    color: #4a9d6f;
    font-size: 14px;
}

/* Contact CTA Section */
.faq-contact-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #006233 0%, #004d26 100%);
}

.faq-contact-wrapper {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 60px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.faq-contact-content h2 {
    font-size: 36px;
    font-weight: 700;
    color: #ffffff !important;
    margin-bottom: 20px;
}

.faq-contact-content p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
}

.faq-contact-buttons {
    display: flex;
    gap: 20px;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.faq-contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background: #fff;
    color: #006233;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.faq-contact-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.faq-contact-btn.whatsapp {
    background: #25d366;
    color: #fff;
}

.faq-contact-btn.email {
    background: #d21034;
    color: #fff;
}

.faq-contact-btn i {
    font-size: 20px;
}

/* No Results Message */
.faq-no-results {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 60px;
}

/* Responsive */
@media (max-width: 991px) {
    .faq-hero-title {
        font-size: 36px;
    }
    
    .faq-hero-subtitle {
        font-size: 18px;
    }
    
    .faq-hero-bg {
        width: 250px;
        height: 250px;
        right: -50px;
    }
    
    .faq-hero-bg::before {
        width: 150px;
        height: 150px;
    }
    
    .faq-contact-wrapper {
        padding: 40px;
    }
    
    .faq-contact-content h2 {
        font-size: 28px;
    }
    
    .faq-contact-buttons {
        justify-content: center;
        margin-top: 30px;
    }
}

@media (max-width: 768px) {
    .faq-hero-section {
        padding: 140px 0 60px;
    }
    
    .faq-hero-title {
        font-size: 28px;
    }
    
    .faq-hero-subtitle {
        font-size: 16px;
    }
    
    .faq-hero-bg {
        width: 200px;
        height: 200px;
        right: -80px;
    }
    
    .faq-hero-bg::before {
        width: 120px;
        height: 120px;
    }
    
    .faq-categories-wrapper {
        gap: 10px;
    }
    
    .faq-category-card {
        min-width: calc(50% - 10px);
        padding: 20px;
    }
    
    .faq-question {
        padding: 20px;
    }
    
    .faq-answer {
        padding: 0 20px 20px;
    }
    
    .faq-contact-wrapper {
        padding: 30px 20px;
    }
    
    .faq-contact-content h2 {
        font-size: 24px;
        margin-bottom: 15px;
    }
    
    .faq-contact-content p {
        font-size: 16px;
    }
    
    .faq-contact-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .faq-category-card {
        min-width: 100%;
    }
    
    .faq-search-input {
        padding: 15px 50px 15px 20px;
        font-size: 14px;
    }
    
    .faq-search-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .faq-hero-bg {
        width: 150px;
        height: 150px;
        right: -60px;
        opacity: 0.5;
    }
    
    .faq-hero-bg::before {
        width: 80px;
        height: 80px;
    }
}