/**
 * Sıkça Sorulan Sorular (FAQ) CSS Dosyası
 * Bu dosya, Sıkça Sorulan Sorular sayfası için stil tanımlarını içerir.
 */

/* FAQ Sayfası Genel Stiller */
.faq-section {
    padding: 0rem;
    max-width: 1200px;
    margin: 0 auto;
}

.faq-container {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

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

.faq-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.faq-subtitle {
    font-size: 1rem;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-light);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* FAQ Öğeleri - Yan Yana Görünüm */
.faq-items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    padding: 0 1rem;
}

.faq-item {
    border-radius: 15px;
    border: 1px solid var(--border-color);
    background-color: var(--card-bg);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    height: fit-content;
    max-width: 450px;
    margin: 0 auto;
    width: 100%;
    position: relative;
}

.faq-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    border-color: var(--border-hover);
}

.faq-question {
    padding: 0.8rem;
    cursor: pointer;
    position: relative;
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
    transition: all 0.3s ease;
}

.faq-question.active {
    color: var(--primary-color);
}

.faq-question::after {
    content: '';
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 15l-6-6-6 6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform: rotate(180deg);
    flex-shrink: 0;
    margin-left: 12px;
    filter: var(--icon-filter);
    opacity: 0.7;
}

.faq-question.active::after {
    transform: rotate(0deg);
    opacity: 1;
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    line-height: 1.7;
    color: var(--text-muted);
    font-size: 1rem;
}

.faq-answer.active {
    padding: 0 1.5rem 1.5rem;
    max-height: 1000px;
}

.faq-answer p {
    margin-bottom: 1rem;
}

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

.faq-answer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
    position: relative;
    display: inline-block;
}

.faq-answer a:hover {
    color: var(--primary-hover);
}

.faq-answer a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--primary-hover);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.faq-answer a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Boş Durum */
.faq-empty {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--text-muted);
    grid-column: span 2;
}

.faq-empty-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.faq-empty-message {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.faq-empty-description {
    font-size: 1rem;
}

/* Medya Sorguları */
@media (max-width: 992px) {
    .faq-container {
        max-width: 840px;
    }
    
    .faq-items {
        gap: 1.5rem;
    }
    
    .faq-item {
        max-width: 400px;
    }
}

@media (max-width: 768px) {
    .faq-section {
        padding: 3rem 1.5rem;
    }
    
    .faq-title {
        font-size: 2rem;
    }
    
    .faq-subtitle {
        font-size: 1rem;
    }
    
    .faq-items {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        padding: 0;
    }
    
    .faq-item {
        max-width: 100%;
    }
    
    .faq-question {
        padding: 1.25rem;
        font-size: 1rem;
    }
    
    .faq-answer.active {
        padding: 0 1.25rem 1.25rem;
    }
    
    .faq-empty {
        grid-column: span 1;
    }
}

@media (max-width: 480px) {
    .faq-section {
        padding: 2rem 1rem;
    }
    
    .faq-title {
        font-size: 1.8rem;
    }
    
    .faq-items {
        gap: 1rem;
    }
}

/* Karanlık Mod Uyumluluğu */
:root {
    --border-color: rgba(226, 232, 240, 0.8);
    --border-hover: rgba(203, 213, 225, 1);
    --card-bg: #ffffff;
    --text-color: #1a202c;
    --text-muted: #4a5568;
    --text-light: #64748b;
    --primary-color: #7c3aed;
    --primary-hover: #6d28d9;
    --icon-filter: none;
}

body.dark-mode {
    --border-color: rgba(45, 55, 72, 0.8);
    --border-hover: rgba(74, 85, 104, 1);
    --card-bg: #1e2330;
    --text-color: #f7fafc;
    --text-muted: #cbd5e0;
    --text-light: #94a3b8;
    --primary-color: #9f7aea;
    --primary-hover: #b794f4;
    --icon-filter: invert(1);
}

/* İletişim Bölümü Stilleri */
.faq-contact-section {
    margin-top: 4rem;
    padding: 2rem;
    background-color: var(--card-bg);
    border-radius: 20px;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.faq-contact-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 1.5rem;
}

.faq-contact-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.faq-contact-description {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.2;
}

.faq-contact-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.faq-contact-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-decoration: none;
    min-width: 180px;
}

.faq-contact-button.primary {
    background-color: var(--primary-color);
    color: white;
}

.faq-contact-button.primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px rgba(124, 58, 237, 0.2);
}

.faq-contact-button.secondary {
    background-color: transparent;
    color: var(--text-color);
    border: 2px solid var(--border-color);
}

.faq-contact-button.secondary:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* Mobil Uyumluluk */
@media (max-width: 768px) {
    .faq-contact-section {
        margin-top: 3rem;
        padding: 1.5rem 1rem;
    }
    
    .faq-contact-title {
        font-size: 1.5rem;
    }
    
    .faq-contact-description {
        font-size: 1rem;
    }
    
    .faq-contact-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .faq-contact-button {
        width: 100%;
    }
} 