﻿/* SLIDER STILLERİ - FLUID TYPOGRAPHY SİSTEMİ UYUMLU */
.slider-container {
    position: relative;
    width: 100%;
    height: var(--container-slider-height);
    overflow: hidden;
    box-shadow: 0 0.3125rem 0.9375rem rgba(0,0,0,0.1);
    max-width: var(--container-slider-witdh);
}

.slider-image-container {
    position: relative;
    width: 100%;
    height: var(--container-slider-height);
    overflow: hidden;
}

    .slider-image-container img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

/* CAPTION CONTAINER - FLUID */
.caption-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: var(--space-5xl-fluid) var(--space-10xl-fluid);
    text-align: center;
    z-index: 2;
}

/* ✅ YAZI BOYUTU CLASS'LARI - ÖZEL VE GÜÇLÜ */
.caption-item.text-xlarge {
    font-size: clamp(1.5rem, 4vw, 2.5rem) !important;
    line-height: 1.2 !important;
    font-weight: 600 !important;
}

.caption-item.text-xxlarge {
    font-size: clamp(1.75rem, 5vw, 3rem) !important;
    line-height: 1.1 !important;
    font-weight: 700 !important;
}

.caption-item.text-large {
    font-size: clamp(1.25rem, 3.5vw, 2rem) !important;
    line-height: 1.3 !important;
    font-weight: 600 !important;
}

.caption-item.text-medium {
    font-size: clamp(1.1rem, 3vw, 1.5rem) !important;
    line-height: 1.4 !important;
}

.caption-item.text-small {
    font-size: clamp(1rem, 2.5vw, 1.25rem) !important;
    line-height: 1.4 !important;
}

/* CAPTION ITEM - TEMEL */
.caption-item {
    max-width: 80%;
    padding: var(--space-sm-fluid) var(--space-md-fluid);
    border-radius: var(--radius-sm-fluid);
    margin: var(--space-xs-fluid) 0;
    color: white;
    position: relative;
    z-index: 3;
    /* ✅ VARSayılan font-size KALDIRILDI - Class'lar belirlesin */
    font-style: normal;
    transition: opacity 0.5s ease, transform 0.5s ease;
    opacity: 0;
    transform: translateY(20px);
    text-shadow: 1px 1px 3px rgba(0,0,0,0.7) !important;
}

    .caption-item.visible {
        opacity: 1;
        transform: translateY(0);
    }

/* POZİSYON SINIFLARI */
.position-top-left {
    align-self: flex-start;
    text-align: left;
}

.position-top-center {
    align-self: center;
    text-align: center;
}

.position-top-right {
    align-self: flex-end;
    text-align: right;
}

.position-middle-left {
    align-self: flex-start;
    margin-top: auto;
    margin-bottom: auto;
    text-align: left;
}

.position-middle-center {
    align-self: center;
    margin-top: auto;
    margin-bottom: auto;
    text-align: center;
}

.position-middle-right {
    align-self: flex-end;
    margin-top: auto;
    margin-bottom: auto;
    text-align: right;
}

.position-bottom-left {
    align-self: flex-start;
    margin-top: auto;
    text-align: left;
}

.position-bottom-center {
    align-self: center;
    margin-top: auto;
    text-align: center;
}

.position-bottom-right {
    align-self: flex-end;
    margin-top: auto;
    text-align: right;
}

/* TEXT SHADOW CLASS'LARI */
.text-shadow-bold {
    text-shadow: 2px 2px 8px rgba(0,0,0,0.9), 1px 1px 4px rgba(0,0,0,0.8), 0 0 20px rgba(0,0,0,0.6) !important;
    font-weight: 700 !important;
}

.text-shadow-large {
    text-shadow: 3px 3px 12px rgba(0,0,0,0.9), 2px 2px 8px rgba(0,0,0,0.8), 0 0 30px rgba(0,0,0,0.7) !important;
    font-weight: 800 !important;
}

.text-shadow-glow {
    text-shadow: 0 0 10px currentColor, 0 0 20px currentColor, 2px 2px 8px rgba(0,0,0,0.9) !important;
}

/* ANIMASYON KEYFRAMES - TEK SEFER */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.animate-slide-down {
    animation: slideDown 0.8s ease-out !important;
}

.animate-slide-left {
    animation: slideInLeft 0.8s ease-out !important;
}

.animate-slide-right {
    animation: slideInRight 0.8s ease-out !important;
}

.animate-zoom {
    animation: zoomIn 0.8s ease-out !important;
}

/* NAVIGATION */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: clamp(2rem, 4vw, 2.5rem);
    height: clamp(2rem, 4vw, 2.5rem);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 4;
    transition: var(--transition);
}

    .slider-nav:hover {
        background: var(--accent-color);
    }

.prev {
    left: var(--space-md-fluid);
}

.next {
    right: var(--space-md-fluid);
}

/* SLIDER DOTS */
.slider-dots {
    position: absolute;
    bottom: var(--space-md-fluid);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: var(--space-xs-fluid);
    z-index: 4;
}

.dot {
    width: clamp(0.5rem, 1.5vw, 0.75rem);
    height: clamp(0.5rem, 1.5vw, 0.75rem);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

    .dot.active {
        background: var(--accent-color);
        transform: scale(1.2);
    }

/* OVERLAY & WATERMARK */
.slider-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.slider-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: clamp(2rem, 6vw, 4rem);
    font-weight: 900;
    color: rgba(255, 255, 255, 0.08);
    text-align: center;
    z-index: 1;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.5rem;
    pointer-events: none;
    user-select: none;
}

/* RESPONSIVE */
@media (max-width: 48rem) {
    .caption-item {
        max-width: 90%;
    }

    .slider-watermark {
        font-size: clamp(1.5rem, 4vw, 2.5rem);
        letter-spacing: 0.3rem;
    }
}

@media (max-width: 36rem) {
    .caption-item {
        max-width: 95%;
    }

    .slider-watermark {
        font-size: clamp(1rem, 3vw, 1.8rem);
        letter-spacing: 0.2rem;
    }
}

/* === FADE OUT ANIMATION KEYFRAMES === */
@keyframes fadeOut {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

@keyframes fadeOutUp {
    from {
        opacity: 1;
        transform: translateY(0);
    }

    to {
        opacity: 0;
        transform: translateY(-30px);
    }
}

@keyframes fadeOutDown {
    from {
        opacity: 1;
        transform: translateY(0);
    }

    to {
        opacity: 0;
        transform: translateY(30px);
    }
}

@keyframes fadeOutLeft {
    from {
        opacity: 1;
        transform: translateX(0);
    }

    to {
        opacity: 0;
        transform: translateX(-30px);
    }
}

@keyframes fadeOutRight {
    from {
        opacity: 1;
        transform: translateX(0);
    }

    to {
        opacity: 0;
        transform: translateX(30px);
    }
}

@keyframes zoomOut {
    from {
        opacity: 1;
        transform: scale(1);
    }

    to {
        opacity: 0;
        transform: scale(0.8);
    }
}

/* === FADE OUT ANIMATION CLASSES === */
.animate-fade-out {
    animation: fadeOut 0.8s ease-in forwards !important;
}

.animate-fade-out-up {
    animation: fadeOutUp 0.8s ease-in forwards !important;
}

.animate-fade-out-down {
    animation: fadeOutDown 0.8s ease-in forwards !important;
}

.animate-fade-out-left {
    animation: fadeOutLeft 0.8s ease-in forwards !important;
}

.animate-fade-out-right {
    animation: fadeOutRight 0.8s ease-in forwards !important;
}

.animate-zoom-out {
    animation: zoomOut 0.8s ease-in forwards !important;
}