/*
 * Review section styles for VC Massage Therapy website
 */

.reviews-carousel {
    overflow: hidden;
    position: relative;
    margin: 20px auto;
    box-shadow: 0 5px 25px rgba(0,0,0,0.05);
    border-radius: 12px;
    height: 350px;
    width: 100%;
}

.reviews-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: translateX(100%);
    transition: transform 0.5s ease, opacity 0.5s ease;
    pointer-events: none;
    display: flex;
    gap: 20px;
    padding: 0 30px;
    box-sizing: border-box;
}

.reviews-slide.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

.reviews-slide.prev {
    opacity: 0;
    transform: translateX(-100%);
}

@keyframes fadeEffect {
    from {opacity: 0.7; transform: translateX(50px);}
    to {opacity: 1; transform: translateX(0);}
}

.review-card {
    background-color: #fff;
    padding: 25px;
    display: flex;
    flex-direction: column;
    height: 100%;
    border-bottom: 3px solid #d4af37;
    flex: 1;
    min-width: calc(33.333% - 20px);
    max-width: calc(33.333% - 20px);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    position: relative;
    box-sizing: border-box;
    padding-bottom: 80px; /* Make room for the author section */
}

/* Remove blue corner badges */
.review-card:before, 
.review-card:after {
    display: none !important;
}

.verified-badge {
    display: inline-flex;
    align-items: center;
    color: #333;
    font-size: 10px;
    font-weight: 700;
    margin: 0 0 15px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.verified-badge i {
    color: #4CAF50;
    margin-right: 5px;
    font-size: 12px;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.review-stars {
    margin-bottom: 15px;
    color: #d4af37;
    font-size: 18px;
}

.review-text {
    flex-grow: 1;
    margin-bottom: 20px;
    min-height: 150px;
    display: flex;
    flex-direction: column;
}

.review-text p {
    font-style: italic;
    color: #555;
    line-height: 1.6;
}

.review-author {
    margin-top: auto;
    font-weight: 600;
    color: #333;
    border-top: 1px solid #eee;
    padding-top: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    position: absolute;
    bottom: 25px;
    left: 0;
    right: 0;
    padding-left: 25px;
    padding-right: 25px;
}

.review-link {
    color: #d4af37;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    transition: color 0.3s ease;
    text-align: right;
}

.review-link:hover {
    color: #a38829;
    text-decoration: underline;
}

.carousel-controls {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.carousel-control {
    background-color: #d4af37;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 3px 5px rgba(0,0,0,0.2);
}

.carousel-control:hover {
    background-color: #bd9c30;
    transform: translateY(-2px);
}

.carousel-dots {
    display: flex;
    justify-content: center;
    margin-top: 15px;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ccc;
    margin: 0 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.carousel-dot.active {
    background-color: #d4af37;
    transform: scale(1.2);
}

/* Media Queries */
@media (max-width: 992px) {
    .reviews-carousel {
        height: 400px;
    }
    
    .review-card {
        min-width: calc(50% - 20px);
        max-width: calc(50% - 20px);
    }
}

@media (max-width: 768px) {
    .reviews-carousel {
        height: 420px;
    }
    
    .review-card {
        min-width: 100%;
        max-width: 100%;
    }
    
    .reviews-slide {
        flex-wrap: wrap;
        overflow-y: auto;
        padding: 0 20px;
        box-sizing: border-box;
    }
}
