/*SLIDER.CSS*/
/* --- 1. SLIDER GENEL ALAN VE MERKEZLEME --- */
.modern-slider-area {
    padding: 50px 0 20px 0;
    background-color: transparent;
    margin-top: 20px;
    width: 100%;
    display: flex;
    justify-content: center;
}

.slider-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.masonry-blog {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    justify-content: center !important;
    align-items: center;
    width: 100%;
}

/* --- 2. DÖKÜLME (REVEAL) EFEKTİ --- */
.slider-reveal {
    opacity: 0 !important;
    transform: translateY(40px) !important;
    transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
    visibility: hidden;
}

.slider-reveal.active {
    opacity: 1 !important;
    transform: translateY(0) !important;
    visibility: visible;
}

/* --- 3. SLIDER KART ZIRHI (SENKRON ZIPLAMA) --- */
.slider-item {
    flex: 0 1 calc(33.333% - 25px);
    min-width: 300px;
    max-width: 370px;
    position: relative;
    height: 380px !important;
    border-radius: 25px !important;
    background-color: #ffffff !important;
    overflow: hidden !important;
    display: block !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);

    border: 1px solid transparent !important;

    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275),
        box-shadow 0.4s ease,
        background-color 0.3s ease !important;
}

.slider-item:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

body.dark-mode .slider-item {
    background-color: #27272a !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

/* --- 3. KAPSAYICI (Ovalliği Koruyan Kalıp) --- */
.slider-item {
    position: relative !important;
    /* BURASI ÇOK KRİTİK: Resim kutunun sınırlarından çıkamaz, ovallik korunur */
    overflow: hidden !important;
    /* Bazı tarayıcılarda zoom anında ovalliğin bozulmaması için maske: */
    -webkit-mask-image: -webkit-radial-gradient(white, black);
    /* Dosyanda olan border-radius değerini buraya sabitleyelim */
    border-radius: 15px !important;
}

/* --- 4. RESİM ZOOM & SÜPER YUMUŞAK BLUR --- */
.slider-item img {
    width: 100% !important;
    height: 100% !important;
    object-fit: fill !important;
    /* Orijinal yayılma şeklin */
    display: block !important;

    /* Transition süresini 1.5s yaptık; tam istediğin 'yavaş yavaş' kıvamı.
       Cubic-bezier(0.25, 1, 0.5, 1) ile ipek gibi yumuşak bir geçiş sağlar. */
    transition: transform 1.5s cubic-bezier(0.25, 1, 0.5, 1) !important,
        filter 1.5s cubic-bezier(0.25, 1, 0.5, 1) !important;

    filter: blur(0px) brightness(1) !important;
    will-change: transform, filter;
}

.slider-item:hover img {
    /* Kutunun içinde hafif büyüme */
    transform: scale(1.10) !important;
    /* Yavaşça çöken sinematik bulanıklık */
    filter: blur(6px) brightness(0.7) !important;
}

/* --- 5. GÖZ BUTONU --- */
.slider-center-eye {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.5);
    width: 60px;
    height: 60px;
    background: #ffffff !important;
    border: 2px solid #ffffff !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4361ee !important;
    font-size: 22px;
    z-index: 20;
    opacity: 0;
    cursor: pointer;
    text-decoration: none !important;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.slider-item:hover .slider-center-eye {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    background: rgba(255, 255, 255, 1) !important;
    color: #4361ee !important;
    z-index: 100 !important;


    animation: eyePulseSlider 1.5s infinite !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}


.slider-center-eye:hover {
    transform: translate(-50%, -50%) scale(1.15) !important;
    background: #4361ee !important;
    color: #fff !important;
    box-shadow: 0 0 20px rgba(67, 97, 238, 0.5) !important;
    animation: none !important;
}


@keyframes eyePulseSlider {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.8);
    }

    70% {
        box-shadow: 0 0 0 18px rgba(255, 255, 255, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

/* --- 6. YAZI SİSTEMİ (TEK SATIR & BEYAZ) --- */
.slider-title {
    margin: 12px 0 8px 0;
    height: 30px;
    display: block !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: clip !important;
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: -0.8px;
    width: 100%;
}

.slider-title a {
    color: #ffffff !important;
    text-decoration: none !important;
    line-height: 1.3;
}

.slider-item:hover .slider-title {
    transform: scale(1.02);
    transition: 0.3s ease;
}

/* --- 7. OVERLAY VE METALAR --- */
.slider-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    padding: 30px 25px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.45) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    z-index: 10;
    transition: background 0.4s ease !important;
}

.slider-item:hover .slider-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.98) 0%, rgba(0, 0, 0, 0.55) 50%, transparent 100%) !important;
}

.slider-category {
    margin-bottom: auto;
    align-self: flex-start;
    background: linear-gradient(135deg, #7209b7, #4361ee) !important;
    color: #fff !important;
    margin-top: 200px;
    padding: 6px 15px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    box-shadow: 0 5px 15px rgba(114, 9, 183, 0.4);
    z-index: 11;
    position: relative;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none !important;
}

.slider-category:hover {
    transform: translateY(-3px) scale(1.05);
    filter: brightness(1.2);
}

.slider-meta {
    font-size: 12px;
    font-weight: 600;
    display: flex;
    gap: 15px;
    margin-top: 10px;
    color: #ffffff !important;
}

.slider-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #ffffff !important;
}

.slider-meta span:first-child i {
    color: #ff5555;
    animation: fireGlow 1.5s ease-in-out infinite alternate;
}

.slider-meta span:last-child i {
    color: #ff79c6 !important;
    filter: drop-shadow(0 0 5px rgba(255, 121, 198, 0.6));
}

@keyframes fireGlow {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.15);
    }
}

@media (max-width: 991px) {
    .slider-item {
        flex: 1 1 calc(50% - 25px);
        max-width: none;
    }
}

@media (max-width: 768px) {
    .slider-item {
        flex: 1 1 100%;
        max-width: none;
    }
}

/*SLIDER.CSS BITIS*/