
/* Image & Video containers */
.image-container, .video-container {
    border-radius: 12px;
    overflow: hidden;
}
.image-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 80.3278%;
}
.before-image, .after-image {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    user-select: none;
    transition: opacity 0.3s ease-in-out;
}
.after-image { opacity: 0; }
@media (hover: hover) {
    .image-container:hover .after-image { opacity: 1; }
}
.image-container.active .after-image { opacity: 1; }

.video-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
}
.video-container video {
    width: 100%; height: 100%;
    position: absolute; inset: 0;
    object-fit: cover;
}
.play-button {
    position: absolute;

    bottom: 4px; 
    left: 50%;
    transform: translateX(-50%);
    width: 56px; 
    height: 56px; 
    border-radius: 50%; 
    background-color: rgba(17, 24, 39, 0.6); 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    transition: all 0.2s ease-in-out; 
    z-index: 10;
}

/* Style for the SVG inside the button */
.play-button svg {
    width: 24px; 
    height: 24px; 
    fill: currentColor;
    color: white; 
}

/* Hover effect */
.play-button:hover {
    background-color: rgba(17, 24, 39, 0.8); 
}

/* For a larger button/icon on medium screens (md:w-12, md:h-12, md:bottom-8) */
@media (min-width: 768px) {
    .play-button {
        bottom: 4px; 
    }
    
    .play-button svg {
        width: 48px; 
        height: 48px; 
    }
}


/* Reviews */
.review-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    transform: scale(1);
}
.review-card:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}
.review-avatar {
    width: 40px; height: 40px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: bold; color: #fff;
}
.review-avatar.red { background-color: #ef4444; }  /* red */
.review-avatar.green { background-color: #22c55e; } /* green */
.review-avatar.blue { background-color: #3b82f6; }  /* blue */

