@import url('https://fonts.googleapis.com/css2?family=Parisienne&display=swap');

/* Premium Slider Stilleri */
.premium-slider {
    position: relative;
    width: 100%;
    height: 85vh; /* Masaüstü geniş görkemli boyut */
    min-height: 600px;
    overflow: hidden;
    background-color: #000;
}

.slider-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s;
}

.slide.active {
    opacity: 1;
    visibility: visible;
}

.slide-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
    transition: transform 7s ease;
}

.slide.active .slide-bg {
    transform: scale(1);
}

/* ---------------------------------------------------------
   Karartma Katmanı (Overlay) — metnin her görselde okunur
   kalmasını garanti eder, premium/sinematik derinlik katar
   --------------------------------------------------------- */
.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
    background:
        linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.05) 30%, rgba(0,0,0,0.55) 100%),
        linear-gradient(90deg, rgba(2,10,25,0.75) 0%, rgba(2,10,25,0.35) 42%, rgba(2,10,25,0) 68%);
    pointer-events: none;
}

.glass-panel {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%) translateY(20px);
    background: linear-gradient(160deg, rgba(10, 25, 50, 0.45) 0%, rgba(5, 15, 35, 0.35) 100%);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    padding: 50px 45px;
    border-radius: 24px;
    box-shadow: 0 30px 70px rgba(0,0,0,0.45), inset 0 1px 0 rgba(255,255,255,0.15);
    max-width: 560px;
    z-index: 10;
    opacity: 0;
    transition: opacity 1s ease 0.3s, transform 1s cubic-bezier(0.2, 0.8, 0.2, 1) 0.3s;
}

.slide.active .glass-panel {
    opacity: 1;
    transform: translateY(-50%) translateY(0);
}

.badge {
    display: inline-block;
    background: linear-gradient(135deg, #1a5fb4 0%, #00478F 100%);
    color: #fff;
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(0, 71, 143, 0.5);
}

.slide-title {
    font-size: 2.5rem;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.slide-title span {
    display: inline-block;
    font-family: 'Parisienne', cursive;
    font-style: normal;
    font-weight: 400;
    font-size: 1.05em;
    color: #cfe3ff;
    line-height: 1.3;
    letter-spacing: 0.5px;
    text-shadow: 0 4px 18px rgba(0,0,0,0.55);
}

.slide-text {
    font-size: 1.15rem;
    color: #f4f6f8;
    margin-bottom: 35px;
    line-height: 1.7;
    font-weight: 300;
    text-shadow: 0 2px 10px rgba(0,0,0,0.4);
}

.slider-controls {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 30px;
    z-index: 20;
    background: rgba(0, 0, 0, 0.3);
    padding: 12px 25px;
    border-radius: 50px;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.15);
}

.slider-arrow {
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.slider-arrow:hover {
    background: rgba(255,255,255,0.2);
    transform: scale(1.1);
}

.slider-dots {
    display: flex;
    gap: 12px;
}

.dot {
    width: 10px;
    height: 10px;
    background: rgba(255,255,255,0.3);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.dot.active {
    background: #fff;
    width: 30px;
    border-radius: 10px;
}

/* ---------------------------------------------------------
   Mobil Uyumluluk: 1080x1350 (4:5 Dikey) formatı
   --------------------------------------------------------- */
@media (max-width: 768px) {
    .premium-slider {
        height: auto;
        aspect-ratio: 1080 / 1350; /* Instagram tarzı dikey görsel oranı */
        min-height: auto;
    }

    .slide-overlay {
        background:
            linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.15) 45%, rgba(0,0,0,0.75) 100%);
    }

    .glass-panel {
        left: 50%;
        top: auto;
        bottom: 9%;
        transform: translateX(-50%) translateY(20px);
        width: 88%;
        max-width: 420px;
        padding: 22px 20px;
        border-radius: 18px;
        text-align: center;
    }

    .slide.active .glass-panel {
        transform: translateX(-50%) translateY(0);
    }

    .badge {
        padding: 5px 14px;
        font-size: 0.7rem;
        margin-bottom: 12px;
        letter-spacing: 1px;
    }

    .slide-title {
        font-size: 1.5rem;
        line-height: 1.25;
        margin-bottom: 10px;
    }

    .slide-text {
        font-size: 0.88rem;
        margin-bottom: 18px;
        line-height: 1.5;
    }

    .slide-title span {
        font-size: 1.05em;
    }

    .slider-controls {
        bottom: 4%;
        padding: 6px 14px;
        gap: 12px;
    }

    .slider-arrow {
        width: 30px;
        height: 30px;
    }

    .slider-arrow svg {
        width: 18px;
        height: 18px;
    }

    .dot {
        width: 7px;
        height: 7px;
    }

    .dot.active {
        width: 22px;
    }
}

/* Çok küçük ekranlar için ek ince ayar */
@media (max-width: 380px) {
    .slide-title {
        font-size: 1.3rem;
    }

    .glass-panel {
        padding: 18px 16px;
    }
}