﻿.reviews-section {
    padding: 80px 20px;
    background: linear-gradient(180deg, rgba(10, 10, 10, 0.95) 0%, rgba(20, 20, 30, 0.98) 100%);
    position: relative;
    overflow: hidden;
}

.reviews-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(102, 126, 234, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 50%, rgba(118, 75, 162, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.section-header-reviews {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.section-header-reviews h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #00d9a3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
}

.section-header-reviews h2 i {
    color: #ffd700;
    -webkit-text-fill-color: #ffd700;
    margin-right: 12px;
}

.section-header-reviews p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
}

.reviews-carousel {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 0;
    overflow: visible;
}

.reviews-track {
    display: flex;
    transition: transform 0.8s ease-in-out;
    gap: 40px;
    width: 100%;
}

.review-card {
    min-width: 900px;
    max-width: 900px;
    flex-shrink: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px 50px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(8px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3),
                0 0 80px rgba(102, 126, 234, 0.1);
    transform-origin: center;
    transition: all 0.4s ease;
    box-sizing: border-box;
}

.review-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, 
                transparent 30%, 
                rgba(102, 126, 234, 0.1) 50%, 
                transparent 70%);
    transform: rotate(45deg);
    transition: transform 0.6s ease;
}

.review-card:hover::before {
    transform: rotate(45deg) translate(50%, 50%);
}

.review-card:hover {
    transform: translateY(-5px);
    border-color: rgba(102, 126, 234, 0.4);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4),
                0 0 100px rgba(102, 126, 234, 0.2);
}

.review-quote {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 80px;
    color: rgba(102, 126, 234, 0.15);
    line-height: 1;
    font-family: Georgia, serif;
}

.review-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
    position: relative;
    z-index: 2;
}

.review-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    color: white;
    border: 3px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.4);
    flex-shrink: 0;
}

.review-user-info {
    flex: 1;
}

.review-user-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 5px 0;
}

.review-user-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 12px;
    background: linear-gradient(135deg, rgba(0, 217, 163, 0.2) 0%, rgba(0, 217, 163, 0.1) 100%);
    border: 1px solid rgba(0, 217, 163, 0.3);
    border-radius: 12px;
    font-size: 0.85rem;
    color: #00d9a3;
    font-weight: 600;
}

.review-user-badge .iconify {
    width: 16px;
    height: 16px;
    vertical-align: middle;
}

.review-rating {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
    padding: 2px 0;
    position: relative;
    z-index: 2;
    overflow: visible;
}

.review-star {
    display: inline-block;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: #ffd700;
    vertical-align: middle;
    filter: drop-shadow(0 2px 4px rgba(255, 215, 0, 0.3));
    animation: starGlow 2s ease-in-out infinite;
}

.review-star:nth-child(1) { animation-delay: 0s; }
.review-star:nth-child(2) { animation-delay: 0.1s; }
.review-star:nth-child(3) { animation-delay: 0.2s; }
.review-star:nth-child(4) { animation-delay: 0.3s; }
.review-star:nth-child(5) { animation-delay: 0.4s; }

@keyframes starGlow {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.9; }
}

.review-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 25px;
    position: relative;
    z-index: 2;
    font-style: italic;
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
    display: block;
    max-width: 100%;
}

.review-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 2;
}

.review-date {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    gap: 8px;
}

.review-date i {
    color: rgba(102, 126, 234, 0.6);
}

.review-product {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    background: rgba(102, 126, 234, 0.1);
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid rgba(102, 126, 234, 0.2);
}
.carousel-btn {
    display: none;
}

.carousel-btn:hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 1) 0%, rgba(118, 75, 162, 1) 100%);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 25px rgba(102, 126, 234, 0.6);
}

.carousel-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.prev-btn {
    left: -70px;
}

.next-btn {
    right: -70px;
}next-btn {
    right: 0;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 40px;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.carousel-dot:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: scale(1.2);
}

.carousel-dot.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    width: 30px;
    border-radius: 10px;
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 15px rgba(102, 126, 234, 0.6);
}

@media (max-width: 968px) {
    .reviews-carousel {
        max-width: 90%;
        padding: 40px 60px;
    }

    .review-card {
        min-width: 100%;
        max-width: 100%;
        padding: 35px 30px;
    }

    .prev-btn {
        left: 0;
    }

    .next-btn {
        right: 0;
    }
}

@media (max-width: 768px) {
    .reviews-carousel {
        padding: 20px 50px;
        max-width: 95%;
    }

    .review-card {
        min-width: 100%;
        max-width: 100%;
        padding: 30px 20px;
    }

    .review-quote {
        font-size: 50px;
        top: 15px;
        right: 15px;
    }

    .review-header {
        flex-direction: column;
        text-align: center;
    }

    .review-avatar {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }

    .review-user-name {
        font-size: 1.2rem;
    }

    .review-text {
        font-size: 1rem;
        line-height: 1.7;
    }

    .review-footer {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}