/* === ÖZEL S.S.S. MODAL STİLLERİ BAŞLANGIÇ === */

/* Modal Arka Planı */
#custom-faq-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;

    /* Başlangıçta gizli olacak */
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Modal Görünür Olduğunda */
#custom-faq-overlay.is-visible {
    visibility: visible;
    opacity: 1;
}

/* Modal İçerik Kutusu */
.custom-faq-modal-box {
    background: #ffffff;
    padding: 25px 30px;
    border-radius: 10px;
    width: 90%;
    max-width: 650px;
    position: relative;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

#custom-faq-overlay.is-visible .custom-faq-modal-box {
    transform: translateY(0);
}


/* Modal Başlığı */
.custom-faq-modal-box .modal-header h3 {
    margin: 0;
    margin-bottom: 20px;
    font-size: 24px;
    color: #333;
}

/* Kapatma Butonu */
#close-custom-faq-modal-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
    color: #888;
}
#close-custom-faq-modal-btn:hover {
    color: #000;
}


/* Akordiyon Stilleri */
.custom-faq-accordion {
    max-height: 60vh;
    overflow-y: auto;
    padding-right: 10px; /* Kaydırma çubuğu için boşluk */
}

.custom-faq-item {
    border-bottom: 1px solid #e0e0e0;
}

.custom-faq-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    cursor: pointer;
    font-weight: 600;
    color: #444;
}

.custom-faq-header i {
    transition: transform 0.3s ease;
}

.custom-faq-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    color: #555;
    font-size: 15px;
}
.custom-faq-body p {
    margin: 0;
    padding-bottom: 15px;
}


/* Akordiyon Açıkken */
.custom-faq-item.is-open .custom-faq-header i {
    transform: rotate(180deg);
}

.custom-faq-item.is-open .custom-faq-header {
    color: #f689ad; /* Açıkken başlık rengi */
}

/* === ÖZEL S.S.S. MODAL STİLLERİ BİTİŞ === */
/* === HAREKETLİ S.S.S. BUTONU STİLİ === */

.faq-fab {
    position: fixed; /* Sayfada sabit durmasını sağlar */
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #f689ad; /* Renk kodunu dilediğiniz gibi değiştirebilirsiniz */
    color: #ffffff;
    border-radius: 50%; /* Yuvarlak yapar */
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 28px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    z-index: 999; /* Diğer elementlerin üstünde kalması için */
    text-decoration: none;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.faq-fab:hover {
    background-color: #0b5ed7; /* Üzerine gelinceki renk */
    transform: scale(1.1); /* Üzerine gelince hafifçe büyür */
}