﻿.credit-card-container {
    position: relative;
    width: 450px;
    height: 280px; 
    margin: auto;
}

.credit-card {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    background-color: #DBE2E9;
    box-shadow: -6px 6px 0 0 #DBE2E9, -5px 5px 20px rgba(0, 0, 0, 0.4);
    transition: transform 1.5s, opacity 0.5s;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.credit-card img {
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

.credit-card:nth-child(1) {
    z-index: 4;
    transform: translate(0, 0) rotate3d(1.4, 0.8, 1, -65deg);
    filter: none;
}

.credit-card:nth-child(2) {
    z-index: 3;
    transform: translate(0, 80px) rotate3d(1.4, 0.8, 1, -65deg);
    filter: blur(0.2px);
}

.credit-card:nth-child(3) {
    z-index: 2;
    transform: translate(0, 150px) rotate3d(1.4, 0.8, 1, -65deg);
    filter: blur(0.4px);
}

.credit-card:nth-child(4) {
    z-index: 1;
    transform: translate(0, 220px) rotate3d(1.4, 0.8, 1, -65deg);
    filter: blur(0.6px);
}

.move-right {
    transform: translate(50%, 0) scale(1) rotate3d(1.4, 0.8, 1, -65deg) !important;
    opacity: 0 !important;
}

.card-animation-home{
    min-height: 530px;
}

/* Responsive ayarları (istenirse genişletilebilir) */
@media screen and (max-width: 992px) {
    .credit-card-container {
        width: 250px;
        height: 156px;
    }

    .credit-card:nth-child(2) {
        transform: translate(0, 60px) rotate3d(1.4, 0.8, 1, -65deg);
    }

    .credit-card:nth-child(3) {
        transform: translate(0, 110px) rotate3d(1.4, 0.8, 1, -65deg);
    }

    .credit-card:nth-child(4) {
        transform: translate(0, 160px) rotate3d(1.4, 0.8, 1, -65deg);
    }
    .card-animation-home{
        min-height: 400px;
    }
}
