/**
 * SADEWA TOUR - Global Rating Stylesheet (Google Maps Style & Marquee)
 */

/* Star Rating Colors */
.text-gold {
    color: #FBBF24; /* Tailwind yellow-400 */
}

/* Interactive Rating stars in modal */
.star-rating-btn {
    transition: transform 0.15s ease, color 0.15s ease;
}
.star-rating-btn:hover {
    transform: scale(1.2);
}

/* Infinite Marquee Left to Right (LTR) */
.marquee-container {
    overflow: hidden;
    position: relative;
    width: 100%;
    mask-image: linear-gradient(to right, transparent, white 10%, white 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, white 10%, white 90%, transparent);
    padding: 1rem 0;
}

.marquee-wrapper {
    display: flex;
    width: max-content;
    animation: marquee-ltr 40s linear infinite;
}

.marquee-wrapper:hover {
    animation-play-state: paused;
}

/* Double the content length visually to make it loop seamlessly */
@keyframes marquee-ltr {
    0% {
        transform: translateX(-50%);
    }
    100% {
        transform: translateX(0%);
    }
}

/* Review Card Styling inside Ticker */
.review-card {
    flex-shrink: 0;
    width: 320px;
    margin: 0 12px;
    background: #ffffff;
    border: 1px solid #f3f4f6;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    border-radius: 1rem;
    padding: 1.25rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.review-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Google Maps Review Details & Distribution Bars */
.gmaps-rating-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-radius: 1.5rem;
    border: 1px solid #f3f4f6;
    padding: 2rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.gmaps-dist-bar {
    height: 8px;
    background-color: #e5e7eb;
    border-radius: 9999px;
    overflow: hidden;
}

.gmaps-dist-fill {
    height: 100%;
    background-color: #f59e0b; /* yellow-500 / gold */
    border-radius: 9999px;
    transition: width 0.8s ease-out;
}
