/* Testimonials Section */

.testimonials-section {
    width: 100%;
    margin: 3rem 0;
    padding: 2rem 0;
}

/* Header */
.test-header {
    margin-bottom: 2.5rem;
}

.test-title {
    font-size: 24px;
    font-weight: 600;
    color: #C67353;
    margin: 0 0 0.5rem 0;
    line-height: 1.2;
}

.test-subtitle {
    font-size: 1rem;
    color: #000;
    margin: 0;
}

/* Testimonials Grid */
.testimonials-slider {
    position: relative;
    overflow: hidden;
}

.testimonials-track {
    display: flex;
    gap: 20px;
    transition: transform 0.5s ease;
    will-change: transform;
    align-items: stretch;
}

.testimonial-slide {
    flex: 0 0 auto;
    
}

.testimonials-slider[data-slider="true"] {
    padding: 0 3rem 3rem;
}

.testimonials-slider[data-slider="true"] .testimonial-card {
    height: 100%;
}

.testimonials-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #C67353;
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.testimonials-nav:disabled {
    opacity: 0.4;
    cursor: default;
    pointer-events: none;
}

.testimonials-nav.hidden {
    display: none;
}

.testimonials-prev {
    left: 1rem;
}

.testimonials-next {
    right: 1rem;
}

.testimonials-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.testimonials-dots button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: #ddd;
    cursor: pointer;
}

.testimonials-dots button.active {
    background: #C67353;
}

.testimonial-card {
    position: relative;
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Review Count (Top Right) */
.test-review-count {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 0.85rem;
    color: #000;
    font-weight: 500;
}

/* User Info Section */
.test-user-info {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.25rem;
    padding-top: 0.5rem;
}

.test-avatar {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    background: #f5f5f5;
}

.test-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.test-user-details {
    flex: 1;
    min-width: 0;
}

.test-user-name {
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0.25rem;
}

.test-dined-date {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.test-review-rating {
    margin-top: 0.25rem;
}

/* Stars */
.test-stars {
    display: flex;
    gap: 2px;
    align-items: center;
}

.test-star {
    font-size: 1rem;
    line-height: 1;
    color: #ddd;
}

.test-star-filled {
    color: #C67353;
}

.test-star-half {
    color: #C67353;
    opacity: 0.6;
}

.test-star-empty {
    color: #ddd;
}

/* Testimonial Content */
.test-content {
    flex: 1;
    margin-bottom: 1.25rem;
    color: #333;
    line-height: 1.6;
    font-size: 0.95rem;
}

.test-content p {
    margin: 0 0 0.75rem 0;
}

.test-content p:last-child {
    margin-bottom: 0;
}

/* More Info Link */
.test-more-info {
    margin-bottom: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid #e0e0e0;
}

.test-more-link {
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.test-more-link:hover {
    color: #C67353;
    text-decoration: underline;
}

/* Restaurant Bar */
.test-restaurant-bar {
    background: #C67353;
    border-radius: 15px;
    padding: 0.9rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.test-restaurant-link {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.test-restaurant-link:hover {
    color: #000;
}

.test-restaurant-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    color: #000;
}

.test-restaurant-meta .test-stars {
    margin: 0;
}

.test-restaurant-reviews {
    font-size: 0.9rem;
    font-weight: 500;
}

.test-restaurant-bar .test-star {
    color: rgba(255, 255, 255, 0.6);
}

.test-restaurant-bar .test-star-filled,
.test-restaurant-bar .test-star-half {
    color: #fff;
}

/* No Results */
.test-no-results {
    text-align: center;
    padding: 3rem;
    color: #999;
    font-size: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .test-title {
        font-size: 22px;
    }
    
    .testimonials-slider[data-slider="true"] {
        padding: 0 2rem 2.5rem;
    }
    .testimonial-slide {
        flex: 0 0 auto;
    }
    
    .testimonial-card {
        padding: 1.25rem;
    }
    
    .test-restaurant-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .test-restaurant-name {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .test-header {
        margin-bottom: 2rem;
    }
    
    .test-title {
        font-size: 1.25rem;
    }
    
    .test-subtitle {
        font-size: 0.9rem;
    }
    
    .test-user-info {
        gap: 0.75rem;
    }
    
    .test-avatar {
        width: 50px;
        height: 50px;
    }
    
    .test-review-count {
        top: 1.25rem;
        right: 1.25rem;
        font-size: 0.8rem;
    }
}

