/* CRYSTAL LIGHT GLASS MARQUEE - REVISION v3 */
/* Avatar: Pink BG, White Text. Info in Header. */

.reviews-section {
    position: relative;
    background: #fdfdfd;
    padding-top: 100px;
    padding-bottom: 0;
    overflow: hidden;
}

/* Atmosphere */
.reviews-section::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(183, 110, 121, 0.1) 0%, transparent 70%);
    filter: blur(80px);
    z-index: 0;
}

/* HEADER */
.reviews-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
    padding: 0 20px;
}

.reviews-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3rem;
    color: #333;
    font-weight: 500;
    margin-bottom: 20px;
}

.reviews-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.google-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: white;
    border: 1px solid rgba(183, 110, 121, 0.2);
    padding: 8px 20px;
    border-radius: 50px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
}

.big-star {
    font-size: 1.2rem;
    color: #b76e79;
    filter: drop-shadow(0 0 5px rgba(183, 110, 121, 0.4));
}

.rating-text {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: #444;
}

.see-all-link {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: #b76e79;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid rgba(183, 110, 121, 0.3);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.see-all-link:hover {
    border-bottom-color: #b76e79;
    color: #a65d68;
}

/* MARQUEE */
.marquee-container {
    position: relative;
    width: 100%;
    padding: 60px 0 100px 0;
    z-index: 5;
    min-height: 400px;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-track {
    display: flex;
    gap: 40px;
    width: max-content;
    animation: scrollReviews 80s linear infinite;
    padding-left: 50px;
    align-items: center;
}

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

@keyframes scrollReviews {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-50% - 20px));
    }
}

/* === CARD WRAPPER & GLASS CARD === */
.review-card-wrapper {
    width: 380px;
    height: 320px;
    position: relative;
    flex-shrink: 0;
    z-index: 1;
    transition: z-index 0s 0.1s;
}

.review-glass-card {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(20px) saturate(120%);
    -webkit-backdrop-filter: blur(20px) saturate(120%);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-bottom: 1px solid rgba(200, 200, 200, 0.3);
    padding: 35px 30px;
    box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.05), inset 0 0 30px rgba(255, 255, 255, 0.6);
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1),
        width 0.6s cubic-bezier(0.25, 1, 0.5, 1),
        height 0.6s cubic-bezier(0.25, 1, 0.5, 1),
        box-shadow 0.6s ease, background 0.6s ease,
        top 0.6s cubic-bezier(0.25, 1, 0.5, 1), left 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    cursor: default;
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
    transform-origin: center center;
}

/* HOVER STATE */
.review-card-wrapper:hover {
    z-index: 100;
    transition: z-index 0s;
}

.review-card-wrapper:hover .review-glass-card {
    width: 420px;
    height: auto;
    min-height: 380px;
    top: -30px;
    left: -20px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 40px 80px -20px rgba(183, 110, 121, 0.25), 0 10px 20px -5px rgba(0, 0, 0, 0.05);
    transform: scale(1.02);
}

/* CONTENT - REVISED HEADER */
.glass-header {
    display: flex;
    justify-content: space-between;
    /* Space between Profile and Stars */
    align-items: flex-start;
    margin-bottom: 20px;
    flex-shrink: 0;
}

.reviewer-profile {
    display: flex;
    align-items: center;
    gap: 15px;
}

.reviewer-avatar {
    width: 48px;
    height: 48px;
    background: #b76e79;
    /* Pink BG */
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    color: white;
    /* White Text */
    box-shadow: 0 4px 10px rgba(183, 110, 121, 0.3);
}

.reviewer-info {
    display: flex;
    flex-direction: column;
}

.reviewer-name {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: #444;
    /* Darker name */
    margin: 0;
}

.reviewer-loc {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    color: #888;
    margin-top: 2px;
}

/* Stars moved to top right */
.glass-stars {
    color: #b76e79;
    font-size: 0.85rem;
    letter-spacing: 2px;
    padding-top: 5px;
}

.glass-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-weight: 500;
    color: #222;
    margin-bottom: 12px;
    line-height: 1.2;
    flex-shrink: 0;
}

.glass-body-wrapper {
    position: relative;
    flex-grow: 1;
    overflow: hidden;
    mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
    transition: mask-image 0.4s ease;
}

.review-card-wrapper:hover .glass-body-wrapper {
    mask-image: linear-gradient(to bottom, black 100%, black 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 100%, black 100%);
}

.glass-body {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    line-height: 1.7;
    color: #555;
    font-weight: 400;
}

/* FOOTER LINE */
.rose-gold-separator {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #dfc2c7, #b76e79, #9c4e5a, #b76e79, #dfc2c7);
    overflow: hidden;
}

.silver-shimmer {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), #fff, rgba(255, 255, 255, 0.8), transparent);
    animation: shimmerLine 3s infinite ease-in-out;
}

@keyframes shimmerLine {
    0% {
        left: -100%;
    }

    100% {
        left: 200%;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .review-card-wrapper {
        width: 300px;
        height: 300px;
    }

    .review-card-wrapper:hover .review-glass-card {
        width: 320px;
        left: -10px;
    }

    .reviews-title {
        font-size: 2rem;
    }
}