/**
 * Reviews Layout Styles
 * Google Business Reviews display with video background
 */

/* ============================================
   VIDEO BACKGROUND
   ============================================ */
.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

/* Black transparent overlay */
.video-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: -1;
}

/* ============================================
   BODY & LAYOUT
   ============================================ */
body {
    margin: 0;
    padding: 0;
    font-family: 'Google Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: #fff;
    overflow: hidden;
}

/* ============================================
   BUSINESS LOGO (TOP CENTER)
   ============================================ */
.top-business-logo-container {
    position: fixed;
    top: 2vh;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    background: #ffffff;
    padding: 0.5vw;
    border-radius: 0.5vw;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.08);
}

.top-business-logo {
    display: block;
    width: 18vw;
    min-width: 200px;
    max-width: 350px;
    height: auto;
}

/* ============================================
   BUSINESS FOOTER (BOTTOM LEFT CORNER)
   ============================================ */
.business-footer {
    position: fixed;
    bottom: 2vh;
    left: 2vw;
    z-index: 10;
    color: #fff;
    font-size: clamp(1rem, 1.2vw, 1.5rem);
    line-height: 1.6;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    gap: 3vw;
}

.footer-address,
.footer-phone {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}

.footer-icon {
    width: clamp(20px, 1.5vw, 32px);
    height: clamp(20px, 1.5vw, 32px);
    margin-right: 0.5vw;
    flex-shrink: 0;
}

/* ============================================
   BUSINESS WEBSITE (BOTTOM RIGHT CORNER)
   ============================================ */
.business-website {
    position: fixed;
    bottom: 2vh;
    right: 2vw;
    z-index: 10;
    color: #fff;
    font-size: clamp(1rem, 1.2vw, 1.5rem);
    line-height: 1.6;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
}

/* ============================================
   GOOGLE MY BUSINESS LOGO (BOTTOM LEFT CORNER)
   ============================================ */
.gmb-logo-container {
    position: fixed;
    bottom: 1rem;
    left: 1rem;
    z-index: 10;
}

.gmb-logo {
    width: 140px;
    height: auto;
    object-fit: contain;
}

/* ============================================
   REVIEW CONTAINER (CENTER)
   ============================================ */
.item-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.review-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 80%;
    width: 80%;
    padding: 2vw;
    text-align: center;
    margin-top: 5vh;
}

/* ============================================
   PROFILE PICTURE
   ============================================ */
.reviewer-profile {
    margin-bottom: 2rem;
}

.profile-picture {
    width: clamp(100px, 10vw, 150px);
    height: clamp(100px, 10vw, 150px);
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.profile-picture-placeholder {
    width: clamp(100px, 10vw, 150px);
    height: clamp(100px, 10vw, 150px);
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(2.5rem, 4vw, 4rem);
    font-weight: bold;
    color: #fff;
    border: 4px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

/* ============================================
   REVIEW MESSAGE
   ============================================ */
.review-message {
    font-size: clamp(1.5rem, 3vw, 3.5rem);
    line-height: 1.6;
    color: #fff;
    margin-bottom: 2vh;
    max-width: 100%;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

/* ============================================
   STARS AND REVIEWER (WITH GOOGLE ICON)
   ============================================ */
.stars-and-reviewer {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-top: 2rem;
}

.google-icon {
    flex-shrink: 0;
}

.gmb-logo-inline {
    width: clamp(80px, 8vw, 120px);
    height: auto;
    object-fit: contain;
}

.stars-and-name {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

/* ============================================
   STAR RATING
   ============================================ */
.star-rating {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.star {
    font-size: clamp(2rem, 3vw, 3.5rem);
    line-height: 1;
}

.star.filled {
    color: #fbbf24;
    text-shadow: 0 2px 8px rgba(251, 191, 36, 0.5);
}

.star.empty {
    color: rgba(255, 255, 255, 0.2);
}

/* ============================================
   REVIEWER NAME
   ============================================ */
.reviewer-name {
    font-size: clamp(1.2rem, 1.8vw, 2rem);
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 768px) {
    .top-business-logo-container {
        top: 1rem;
        padding: 1rem 1.5rem;
    }
    
    .top-business-logo {
        width: 44px;
        height: 32px;
    }
    
    .gmb-logo-container {
        bottom: 1rem;
        left: 1rem;
    }
    
    .gmb-logo {
        width: 120px;
    }
    
    .review-content {
        padding: 2rem 1.5rem;
    }
    
    .profile-picture,
    .profile-picture-placeholder {
        width: 100px;
        height: 100px;
    }
    
    .profile-picture-placeholder {
        font-size: 2.5rem;
    }
    
    .review-message {
        font-size: 1.3rem;
    }
    
    .star {
        font-size: 2rem;
    }
    
    .reviewer-name {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .top-business-logo-container {
        top: 0.5rem;
        padding: 0.75rem 1.25rem;
    }
    
    .top-business-logo {
        width: 38px;
        height: 28px;
    }
    
    .gmb-logo-container {
        bottom: 0.5rem;
        left: 0.5rem;
    }
    
    .gmb-logo {
        width: 100px;
    }
    
    .review-content {
        padding: 1.5rem 1rem;
    }
    
    .profile-picture,
    .profile-picture-placeholder {
        width: 80px;
        height: 80px;
    }
    
    .profile-picture-placeholder {
        font-size: 2rem;
    }
    
    .review-message {
        font-size: 1.1rem;
    }
    
    .star {
        font-size: 1.8rem;
    }
}
