/* =========================================
   1. ADMIN PANELİ (WordPress Backend)
   ========================================= */
.fl-admin-grid {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    flex-wrap: wrap;
}

.fl-upload-box {
    background: #fff;
    border: 1px solid #ccd0d4;
    border-radius: 4px;
    padding: 15px;
    width: 30%;
    min-width: 200px;
    box-shadow: 0 1px 1px rgba(0,0,0,0.04);
    text-align: center;
}

.fl-upload-box h4 {
    margin: 0 0 10px 0;
    font-size: 13px;
    color: #23282d;
    font-weight: 700;
}

.fl-preview-area {
    background: #f0f0f1;
    border: 1px dashed #c3c4c7;
    border-radius: 4px;
    margin-bottom: 10px;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.fl-preview-area img {
    max-height: 150px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.fl-preview-area span { color: #a7aaad; font-size: 12px; }

/* =========================================
   2. FRONTEND (Elementor Widget)
   ========================================= */

/* Üst Başlık - Masaüstü ve Mobil Ayrımı */
.fl-main-heading-wrap {
    width: 100%;
    margin-bottom: 25px; 
}
.fl-main-heading {
    margin: 0;
    font-size: 32px;
    font-weight: 800;
    color: #111;
}

.fl-desktop-heading { display: block; }
.fl-mobile-heading { display: none; }

.fl-kit-container {
    position: relative;
    width: 100%;
    box-sizing: border-box;
    font-family: inherit;
}

.fl-kit-inner {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

/* --- SOL: SAHNE (STAGE) --- */
.fl-stage {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.fl-image-container {
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.fl-main-img {
    width: auto;
    display: block;
    filter: drop-shadow(0 15px 25px rgba(0,0,0,0.15));
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.4s ease;
    opacity: 1;
    transform: translateX(0);
}

/* Animasyon Efektleri */
.fl-anim-out { opacity: 0; transform: translateX(-40px); filter: blur(3px); }
.fl-anim-in { animation: flSlideIn 0.5s forwards; }

@keyframes flSlideIn {
    from { opacity: 0; transform: translateX(40px); filter: blur(3px); }
    to { opacity: 1; transform: translateX(0); filter: blur(0); }
}

/* Navigasyon Okları (SVG Uyumlu) */
.fl-nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.9);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.fl-nav-arrow svg {
    width: 24px;
    height: 24px;
    fill: #333; /* Varsayılan SVG rengi */
    transition: fill 0.3s ease;
}

.fl-nav-arrow:hover {
    transform: translateY(-50%) scale(1.05);
}

.fl-prev { left: 0; }
.fl-next { right: 0; }

/* --- SAĞ: BİLGİ PANELİ --- */
.fl-info-panel {
    flex: 1;
    max-width: 500px;
    display: flex;
    flex-direction: column;
}

/* Toggle (ÖN-YAN-ARKA) */
.fl-toggle-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f0f0f0;
    border-radius: 50px;
    padding: 5px;
    margin-bottom: 30px;
    width: fit-content;
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.05);
    z-index: 5;
}

.fl-toggle-glider {
    position: absolute;
    top: 5px;
    left: 5px;
    bottom: 5px;
    background: #d32f2f;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 1;
    width: 0; 
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.fl-toggle-item {
    position: relative;
    z-index: 2;
    padding: 10px 22px;
    cursor: pointer;
    font-weight: 700;
    font-size: 14px;
    color: #666;
    transition: color 0.3s ease;
    user-select: none;
}

/* YENİ: Profesyonel Glow (Parlama) Efekti */
.fl-toggle-item::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80%;
    height: 80%;
    transform: translate(-50%, -50%) scale(0.8);
    background-color: rgba(211, 47, 47, 0.15); /* Elementor'dan ezilebilir */
    border-radius: 30px;
    filter: blur(8px);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: -1;
}

.fl-toggle-item:hover::before {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.2);
}

.fl-toggle-item.active { color: #fff; }
.fl-toggle-item.active::before { display: none; } /* Seçiliyken parlamayı kapat */

/* Metinler */
.fl-title { margin: 0 0 10px 0; line-height: 1.2; font-weight: 800; transition: opacity 0.3s ease; }
.fl-season { margin: 0 0 25px 0; font-weight: 600; color: #777; transition: opacity 0.3s ease; }

/* YENİ: Paragraf Açıklama Alanı */
.fl-description-wrap {
    margin-top: 5px;
}
.fl-description {
    margin: 0;
    color: #555;
    font-size: 15px;
    line-height: 1.7; /* Okunabilirliği artıran satır aralığı */
    font-weight: 500;
    transition: opacity 0.3s ease, transform 0.3s ease;
    opacity: 1;
    transform: translateY(0);
}
/* Metin değişirken kullanılacak animasyon class'ı */
.fl-text-fade {
    opacity: 0;
    transform: translateY(5px);
}

/* Thumbnails */
.fl-thumbnails-track {
    display: flex;
    gap: 12px;
    margin-bottom: 25px;
    overflow-x: auto;
    padding: 5px 2px;
    scrollbar-width: none;
}
.fl-thumbnails-track::-webkit-scrollbar { display: none; }

.fl-thumb-item {
    border: 2px solid transparent;
    border-radius: 8px;
    padding: 5px;
    background: #f9f9f9;
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
    width: 65px; 
    height: 85px;
}
.fl-thumb-item:hover { transform: translateY(-3px); }
.fl-thumb-item.active {
    border-color: #333;
    background: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}
.fl-thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* =========================================
   3. MOBİL RESPONSIVE DÜZENLEMELER
   ========================================= */
@media (max-width: 900px) {
    .fl-kit-inner {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    /* Mobilde Desktop başlığını gizle, Mobil başlığı göster */
    .fl-desktop-heading { display: none; }
    .fl-mobile-heading { display: block; margin-bottom: 15px; }

    .fl-stage { width: 100%; min-height: 300px; }
    
    .fl-nav-arrow { width: 35px; height: 35px; background: rgba(255,255,255,0.7); }
    .fl-nav-arrow svg { width: 18px; height: 18px; }
    .fl-prev { left: 10px; }
    .fl-next { right: 10px; }

    .fl-info-panel { width: 100%; align-items: center; }
    .fl-toggle-wrapper { margin: 0 auto 20px auto; max-width: 100%; }
    .fl-thumbnails-track { justify-content: center; }
    .fl-description { text-align: center; } /* Mobilde yazıyı ortala */
}