/* Category SEO & FAQ Sections CSS */

/* SEO Content Section */
.seo-content-section {
    margin: 3rem 0;
    padding: 2rem 0;
    background: linear-gradient(135deg, rgba(13, 17, 23, 0.8) 0%, rgba(22, 27, 34, 0.9) 100%);
    border-radius: 16px;
    border: 1px solid rgba(48, 54, 61, 0.3);
    backdrop-filter: blur(10px);
}

.seo-content-container {
    max-width: 100%;
    padding: 0 1.5rem;
}

.seo-content-header {
    margin-bottom: 1.5rem;
    text-align: center;
}

.seo-content-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.seo-icon {
    font-size: 1.5rem;
    opacity: 0.8;
}

.seo-content-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    text-align: justify;
    max-width: none;
    margin: 0 auto;
    max-height: 180px;
    overflow: hidden;
    position: relative;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    /* SEO: İçerik botlar için erişilebilir, sadece görsel olarak kısıtlı */
}

.seo-content-text.expanded {
    max-height: none;
}

.seo-content-text::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: linear-gradient(transparent, rgba(13, 17, 23, 0.9));
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.seo-content-text.expanded::after {
    opacity: 0;
}

.seo-expand-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, var(--accent-color) 0%, #4a9eff 100%);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.seo-expand-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(88, 166, 255, 0.3);
}

.seo-expand-btn .expand-icon {
    transition: transform 0.3s ease;
}

.seo-expand-btn.expanded .expand-icon {
    transform: rotate(180deg);
}

.seo-content-text.no-fade::after {
    display: none;
}

.seo-content-text p {
    margin-bottom: 1rem;
}

/* FAQ Section */
.faq-section {
    margin: 3rem 0;
    padding: 2rem 0;
}

.faq-container {
    max-width: 100%;
}

.faq-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.faq-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.75rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.faq-icon {
    font-size: 1.75rem;
    opacity: 0.8;
}

.faq-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin: 0;
    opacity: 0.9;
}

/* FAQ List */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.faq-item {
    background: linear-gradient(135deg, rgba(13, 17, 23, 0.6) 0%, rgba(22, 27, 34, 0.8) 100%);
    border: 1px solid rgba(48, 54, 61, 0.3);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
}

.faq-item:hover {
    border-color: rgba(88, 166, 255, 0.3);
    box-shadow: 0 4px 20px rgba(88, 166, 255, 0.1);
    transform: translateY(-2px);
}

.faq-item.open {
    border-color: rgba(88, 166, 255, 0.5);
    box-shadow: 0 8px 32px rgba(88, 166, 255, 0.15);
}

.faq-question {
    width: 100%;
    padding: 1.25rem 1.5rem;
    background: transparent;
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    transition: all 0.3s ease;
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
}

.faq-question:hover {
    background: rgba(88, 166, 255, 0.05);
}

.faq-question-text {
    flex: 1;
    line-height: 1.5;
}

.faq-toggle-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    color: var(--accent-color);
    transition: transform 0.3s ease;
}

.faq-toggle-icon svg {
    width: 20px;
    height: 20px;
    stroke-width: 2.5;
}

.faq-item .faq-icon-minus {
    display: none;
}

.faq-item.open .faq-icon-plus {
    display: none;
}

.faq-item.open .faq-icon-minus {
    display: block;
}

.faq-item.open .faq-toggle-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-answer-content {
    padding: 0 1.5rem 1.5rem 1.5rem;
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
    border-top: 1px solid rgba(48, 54, 61, 0.2);
    margin-top: 0.5rem;
    padding-top: 1rem;
}

/* FAQ CTA */
.faq-cta {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(88, 166, 255, 0.1) 0%, rgba(88, 166, 255, 0.05) 100%);
    border-radius: 12px;
    border: 1px solid rgba(88, 166, 255, 0.2);
}

.faq-cta-text {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin: 0 0 1rem 0;
}

.faq-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, var(--accent-color) 0%, #4a9eff 100%);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.faq-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(88, 166, 255, 0.3);
    text-decoration: none;
    color: white;
}

.faq-cta-icon {
    font-size: 1.1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .seo-content-section,
    .faq-section {
        margin: 2rem 0;
        padding: 1.5rem 0;
    }
    
    .seo-content-container,
    .faq-container {
        padding: 0 1rem;
    }
    
    .seo-content-title,
    .faq-title {
        font-size: 1.5rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .seo-content-text {
        font-size: 1rem;
        text-align: left;
    }
    
    .faq-question {
        padding: 1rem;
        font-size: 1rem;
    }
    
    .faq-answer-content {
        padding: 0 1rem 1rem 1rem;
        font-size: 0.95rem;
    }
    
    .faq-cta {
        padding: 1.5rem 1rem;
    }
    
    .faq-cta-text {
        font-size: 1rem;
    }
    
    .faq-cta-button {
        padding: 0.65rem 1.25rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .seo-content-title,
    .faq-title {
        font-size: 1.25rem;
    }
    
    .seo-content-text {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    .faq-question {
        padding: 0.875rem;
        font-size: 0.95rem;
    }
    
    .faq-answer-content {
        padding: 0 0.875rem 0.875rem 0.875rem;
        font-size: 0.9rem;
    }
}

/* Dark Mode Enhancements */
@media (prefers-color-scheme: dark) {
    .seo-content-section {
        background: linear-gradient(135deg, rgba(13, 17, 23, 0.9) 0%, rgba(22, 27, 34, 0.95) 100%);
        border-color: rgba(48, 54, 61, 0.4);
    }
    
    .faq-item {
        background: linear-gradient(135deg, rgba(13, 17, 23, 0.8) 0%, rgba(22, 27, 34, 0.9) 100%);
        border-color: rgba(48, 54, 61, 0.4);
    }
    
    .faq-cta {
        background: linear-gradient(135deg, rgba(88, 166, 255, 0.15) 0%, rgba(88, 166, 255, 0.08) 100%);
        border-color: rgba(88, 166, 255, 0.3);
    }
}

/* Animation Enhancements */
.faq-item {
    animation: fadeInUp 0.6s ease-out;
}

.faq-item:nth-child(2) { animation-delay: 0.1s; }
.faq-item:nth-child(3) { animation-delay: 0.2s; }
.faq-item:nth-child(4) { animation-delay: 0.3s; }
.faq-item:nth-child(5) { animation-delay: 0.4s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.seo-content-section {
    animation: fadeIn 0.8s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
