/* assets/css/frontend.css */

@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.0/css/all.min.css');

.bebest-testimonial-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    direction: rtl;
    font-family: 'Vazir', Tahoma, sans-serif;
}

.bebest-testimonial-container {
    position: relative;
    width: 90%;
    max-width: 650px;
    perspective: 1200px;
    min-height: 380px;
}

.bebest-testimonial {
    position: absolute;
    inset: 0;
    background: #fff;
    border-radius: 24px;
    padding: 35px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    opacity: 0;
    transform: translateX(100px) scale(0.92) rotateY(-8deg);
    transition: all 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
    text-align: right;
    display: flex;
    flex-direction: column;
    backface-visibility: hidden;
}

.bebest-testimonial.bebest-active {
    opacity: 1;
    transform: translateX(0) scale(1) rotateY(0);
    z-index: 10;
}

.bebest-testimonial.bebest-next {
    opacity: 0.7;
    transform: translateX(-50px) scale(0.96) rotateY(8deg);
    z-index: 8;
}

.bebest-testimonial.bebest-behind {
    opacity: 0.4;
    transform: translateX(-100px) scale(0.92) rotateY(12deg);
    z-index: 6;
}

.bebest-author {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.bebest-author img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    margin-left: 15px;
    object-fit: cover;
    border: 4px solid #FFAA00;
}

.bebest-author-info h4 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #333;
}

.bebest-author-info p {
    margin: 5px 0 8px;
    color: #777;
    font-size: 14px;
}

.bebest-stars {
    color: #FFD700;
    font-size: 20px;
    letter-spacing: 2px;
}

.bebest-testimonial p {
    flex: 1;
    line-height: 2;
    color: #444;
    font-size: 16px;
    margin-bottom: 20px;
}

.bebest-reactions {
    margin-top: auto;
    display: flex;
    gap: 20px;
    justify-content: flex-start;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.bebest-like, .bebest-react {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 8px 14px;
    border-radius: 30px;
    background: #f8f9fa;
    transition: all 0.3s;
    font-weight: bold;
}

.bebest-like:hover, .bebest-react:hover {
    background: #e9ecef;
    transform: translateY(-2px);
}

.bebest-like.active i { color: #4CAF50; }
.bebest-react[data-type="fire"].active i { color: #FF5722; }
.bebest-react[data-type="heart"].active i { color: #e91e63; }

.bebest-nav-buttons {
    position: absolute;
    bottom: 140px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 500px;
    z-index: 15;
}

.bebest-nav-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #FFAA00;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(255,170,0,0.4);
    transition: all 0.3s;
}

.bebest-nav-btn:hover {
    background: #fff;
    color: #FFAA00;
    transform: scale(1.1);
}

/* استایل‌های دیگر (ساده و مینیمال) */
.bebest-simple-slider, .bebest-minimal-slider { text-align: center; padding: 40px; }
.bebest-simple-card { background: white; padding: 30px; border-radius: 16px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); margin: 20px; display: inline-block; width: 300px; }

/* ریسپانسیو */
@media (max-width: 768px) {
    .bebest-nav-buttons { gap: 300px; bottom: 120px; }
    .bebest-nav-btn { width: 44px; height: 44px; }
    .bebest-testimonial { padding: 25px; }
}