.slider-track.force-transition {
    transition: transform 0.5s ease !important;
}

.slide-image {
    background-repeat: no-repeat;
}

.card-inner {
    background-size: cover;
    background-position: center;
    ;
    color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    background: #f4f4f4;
    font-family: sans-serif;
}

html {
    scroll-behavior: smooth;
}

.slider-container {
    position: relative;
    width: 90%;
    margin: 50px auto;
    overflow: hidden;
}

.slider-track {
    display: flex;
    transition: transform 0.5s ease;
}

.card {
    min-width: calc(100% / 5);
    padding: 10px;
    transition: transform 0.3s ease;
}

.card-inner {
    background: white;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    padding: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    ;
    background-size: 100% 100%; /* Stretch etkisi */
    background-position: center;
}

.card-title {
    font-size: 1.2em;
    margin-bottom: 10px;
    color: #363f85;
}

.card-text {
    font-size: 0.95em;
    color: #555;
    margin-bottom: 15px;
}

.card-button {
    align-self: flex-start;
    padding: 8px 12px;
    background: #363f85;
    color: white;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.9em;
}

.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2em;
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 10;
}

    .arrow.left {
        left: 0;
    }

    .arrow.right {
        right: 0;
    }

.card.center {
    transform: scale(1.5);
    z-index: 1;
}

.card.edge {
    transform: scale(0.8);
    opacity: 0.5; /* İsteğe bağlı: biraz soluklaştırma */
    z-index: 0;
}

.card.shift-left {
    transform: translateX(-40px); /* sola kaydır */
    opacity: 0.8; /* İsteğe bağlı: biraz soluklaştırma */
    transform: scale(0.9);
    margin-right: 40px;
    margin-left: -40px;
}

.card.shift-right {
    transform: translateX(40px); /* sağa kaydır */
    opacity: 0.8; /* İsteğe bağlı: biraz soluklaştırma */
    transform: scale(0.9);
    margin-right: -40px;
    margin-left: 40px;
}
