/* Special Customer Comment Slider - Takvim Yaprağı Efekti */
.scc-slider-wrapper {
    margin: 30px auto;
    position: relative;
    border-radius: 25px;
    padding: 6px;
}
span.basket-last-price {
    color: #d24300;
}
.price h4 {
    color: #181a1a;

}
.scc-reviews-slider-container {
    position: relative;
    overflow: hidden; /* Uçan kartları gizle */
}

.scc-review-content {
    display: flex;
    align-items: flex-start;
    min-height: 550px;
    background: #FDF8F1;
    border-radius: 16px;
}

/* Müşteri Puanı Section - Üst Kısım */
.scc-customer-score {
    position: absolute;
    top: 20px;
    left: 40px;
    z-index: 5;
}

.scc-score-title {
    font-size: 24px;
    font-weight: 400;
    color: #222222;
    margin-bottom: 8px;
}

.scc-score-rating {
    display: flex;
    align-items: center;
    gap: 10px;
}

.scc-score-number {
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
}

.scc-score-stars {
    display: flex;
    gap: 2px;
}

.scc-score-star {
    color: #a3d7c9;
    font-size: 16px;
}

.scc-score-star-empty {
    color: rgba(243, 156, 18, 0.3);
}

.scc-score-reviews {
    font-size: 14px;
    color: #6c757d;
    margin-left: 5px;
}

/* Sol taraf - Takvim Yaprağı Stack */
.scc-review-card-stack {
    flex: 0 0 50%;
    position: relative;
    margin-top: 10%;
    transform-style: preserve-3d;
    perspective: 1000px;
}

    /* Stack Background Cards - Arkadaki kartların silüetleri (Enhanced) */
    .scc-review-card-stack::before {
        content: "";
        position: absolute;
        top: 15px;
        left: 0;
        width: 43%;
        height: 285px;
        border-radius: 15px;
        z-index: 1;
        transform: rotate(-16deg);
        right: 0;
        margin: auto;
        background-color: var(--prev-card-color, #e9ecef);
        opacity: 0.8;
        /* Takvim yaprağı animasyon geçişleri */
        transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    }

    .scc-review-card-stack::after {
        content: "";
        position: absolute;
        top: 8px;
        left: -4px;
        width: 43%;
        height: 285px;
        border-radius: 15px;
        z-index: 2;
        transform: rotate(-7deg);
        right: 0;
        margin: auto;
        background-color: var(--next-card-color, #f8f9fa);
        opacity: 0.9;
        /* Takvim yaprağı animasyon geçişleri */
        transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
    }

    /* 4. Yaprak için ek element - Dinamik olarak eklenir */
    .scc-review-card-stack .scc-fourth-leaf {
        content: "";
        position: absolute;
        top: 22px;
        left: -8px;
        width: 43%;
        height: 285px;
        border-radius: 15px;
        z-index: 0;
        transform: rotate(-24deg);
        right: 0;
        margin: auto;
        background-color: var(--fourth-card-color, #f1f3f4);
        opacity: 0.7;
        /* Takvim yaprağı animasyon geçişleri */
        transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    }

/* Ana Yorum Kartı - Takvim Yaprağı Efekti */
.scc-review-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 43%;
    height: 285px;
    padding: 25px;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    z-index: 3;
    transform: rotate(0deg);
    right: 0;
    margin: auto;
    /* Takvim yaprağı uçma animasyonu için hazırlık */
    transform-origin: center center;
    backface-visibility: hidden;
    will-change: transform, opacity;
    /* Smooth transitions */
    transition: transform 0.3s ease-out, opacity 0.3s ease-out;
}

    /* Kartın uçma durumunda glow efekti */
    .scc-review-card.flying {
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2), 0 0 20px rgba(255, 255, 255, 0.3);
        filter: blur(1px);
    }

/* Quote mark enhanced */
.scc-quote-mark {
    font-size: 45px;
    color: rgba(255, 255, 255, 0.9);
    font-family: Georgia, serif;
    position: absolute;
    top: 15px;
    left: 25px;
    line-height: 1;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.scc-comment-text {
    font-size: 16px;
    line-height: 1.5;
    color: #2c3e50;
    margin: 35px 0 25px 0;
    font-weight: 500;
    position: relative;
    z-index: 1;
}

.scc-customer-info {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: auto;
    z-index: 1;
}

.scc-avatar {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2c3e50;
    font-size: 18px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    overflow: hidden;
    transition: transform 0.3s ease;
}

    .scc-avatar:hover {
        transform: scale(1.1);
    }

.scc-customer-details {
    flex: 1;
}

.scc-customer-name {
    font-weight: 600;
    font-size: 14px;
    color: #2c3e50;
    margin-bottom: 3px;
}

.scc-customer-rating {
    display: flex;
    gap: 1px;
}

.scc-star {
    color: #a3d7c9;
    font-size: 14px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
}

    .scc-star:hover {
        transform: scale(1.2);
    }

.scc-star-empty {
    color: rgba(243, 156, 18, 0.3);
}

/* Sağ taraf - Banner Smooth Transition */
.scc-product-showcase {
    flex: 1;
    overflow: hidden;
    border-radius: 0 16px 16px 0;
}

.scc-product-banner {
    height: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
}

    .scc-product-banner img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: opacity 0.3s ease-out, transform 0.3s ease-out;
    }



/* Custom Navigation Buttons - Enhanced */
.scc-custom-prev,
.scc-custom-next {
    position: absolute;
    top: 90%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid #e9ecef;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 10;
    backdrop-filter: blur(10px);
}

.scc-custom-prev {
    left: 22%;
}

.scc-custom-next {
    left: 26%;
}

    .scc-custom-prev:hover,
    .scc-custom-next:hover {
        background: #fff;
        border-color: #f39c12;
        box-shadow: 0 8px 25px rgba(243, 156, 18, 0.4);
        transform: translateY(-50%) scale(1.1);
    }

    .scc-custom-prev:active,
    .scc-custom-next:active {
        transform: translateY(-50%) scale(0.95);
    }

.scc-arrow-icon {
    font-size: 16px;
    color: #6c757d;
    font-weight: 300;
    transition: color 0.3s ease;
}

.scc-custom-prev:hover .scc-arrow-icon,
.scc-custom-next:hover .scc-arrow-icon {
    color: #f39c12;
}

/* Stack hover efektleri */
.scc-review-card-stack:hover::before {
    transform: rotate(-18deg) scale(1.02);
}

.scc-review-card-stack:hover::after {
    transform: rotate(-9deg) scale(1.02);
}

.scc-review-card-stack:hover .scc-fourth-leaf {
    transform: rotate(-26deg) scale(1.02);
}

.scc-review-card-stack:hover .scc-review-card {
    transform: rotate(1deg) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

/* Animation keyframes for special effects */
@keyframes cardFlyAway {
    0% {
        transform: rotate(0deg) scale(1);
        opacity: 1;
    }

    50% {
        transform: rotate(15deg) scale(0.9);
        opacity: 0.7;
    }

    100% {
        transform: rotate(45deg) scale(0.6) translateX(300px) translateY(-100px);
        opacity: 0;
    }
}

@keyframes cardSlideUp {
    0% {
        transform: translateY(60px) scale(0.8) rotate(-5deg);
        opacity: 0;
    }

    100% {
        transform: translateY(0) scale(1) rotate(0deg);
        opacity: 1;
    }
}

@keyframes stackShake {
    0%, 100% {
        transform: translateY(0);
    }

    25% {
        transform: translateY(-3px);
    }

    75% {
        transform: translateY(-1px);
    }
}


@media(max-width:950px) and (min-width:460px){
    .scc-custom-prev, .scc-custom-next {
        position: absolute;
        top: 85%;
     
    }
    .scc-custom-next {
        left: 34%;
    }
}
/* Responsive Design */
@media (max-width: 768px) {

    /* Banner'ı mobilde tamamen gizle */
    .scc-product-showcase {
        display: none !important;
    }

    .scc-slider-wrapper {
        padding: 0 15px 40px 15px;
        margin: 20px auto;

    }

    .scc-reviews-slider-container {
        padding: 20px 0;
        /* Touch desteği için */
        touch-action: pan-y pinch-zoom;
    }

    .scc-review-content {
        flex-direction: column;
        gap: 0;
        align-items: center;
        padding: 0 20px;
        /* Sadece kartlar gösterilecek */
        justify-content: center;
        min-height: 400px;
    }

    .scc-customer-score {
        position: absolute;
        top: 35px;
        left: 35px;
        margin-bottom: 10px;
        text-align: center;
    }
    .scc-score-title {
  
        text-align: left;
    }
    .scc-review-card-stack {
        flex: none;
        width: 100%;
        max-width: 320px;
        margin-top: 0;
        height: 280px;
        /* Mobilde merkeze al */
        margin-left: auto;
        margin-right: auto;
    }

        .scc-review-card-stack::before {
            top: 15px;
            left: -6px;
            width: 96%;
            height: 280px;
        }

        .scc-review-card-stack::after {
            top: 8px;
            left: -3px;
            width: 98%;
            height: 280px;
        }

        .scc-review-card-stack .scc-fourth-leaf {
            top: 22px;
            left: -6px;
            width: 100%;
            height: 280px;
        }

    .scc-review-card {
        height: 280px;
        padding: 20px;
        transform: rotate(-1deg);
        /* Mobilde daha yumuşak animasyonlar */
        transition: transform 0.4s ease-out, opacity 0.4s ease-out;
        width: 100%;
    }

    .scc-comment-text {
        font-size: 15px;
        margin: 25px 0 20px 0;
        line-height: 1.4;
    }

    .scc-quote-mark {
        font-size: 35px;
        top: 10px;
        left: 15px;
    }

    .scc-customer-name {
        font-size: 15px;
    }

    .scc-star {
        font-size: 15px;
    }
    .scc-review-content {
        min-height: 612px;
        padding: 0 15px;
        padding-bottom: 80px;
        padding-top: 70px;
    }
}

@media (max-width: 480px) {
    .scc-slider-wrapper {
        margin: 10px auto;
        padding: 0 5px 0px 5px;
        max-width: 100%;
    }
    .price h4 {
        color: #181a1a;
    }

    .scc-review-content {
        min-height: 612px;
        padding: 0 15px;
        padding-bottom: 80px;
        padding-top: 70px;
    }

    .scc-review-card-stack {
        max-width: 280px;
        height: 308px;
    }

    .scc-review-card {
        height: 266px;
        padding: 15px;
    }

    .scc-comment-text {
        font-size: 14px;
        line-height: 1.4;
        margin: 20px 0 15px 0;
    }

    .scc-quote-mark {
        font-size: 30px;
        top: 8px;
        left: 12px;
    }

    .scc-customer-name {
        font-size: 14px;
    }

    .scc-star {
        font-size: 14px;
    }
    .scc-custom-prev, .scc-custom-next {

        top: 86%;

    }
    .scc-custom-next {
        left: 55%;
    }
    .scc-custom-prev {
        left: 35%;
    }
}
