/* ============================================================================
   GOOGLE REVIEWS BUTTON - PREMIUM CLICKABLE DESIGN
   ============================================================================ */

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

@keyframes pulseGlow {
    0%, 100% {
        box-shadow:
            0 8px 20px rgba(66, 133, 244, 0.25),
            0 4px 10px rgba(66, 133, 244, 0.15);
    }
    50% {
        box-shadow:
            0 12px 32px rgba(66, 133, 244, 0.4),
            0 6px 16px rgba(66, 133, 244, 0.25);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-6px);
    }
}

@keyframes heartBeat {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
}

/* Horizontal divider */
.reviews-divider {
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(66, 133, 244, 0.2), transparent);
    margin: 28px 0;
    border: none;
}

.google-reviews-container {
    margin: 0 24px 28px 24px;
    animation: slideInUp 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s both;
    display: flex;
    justify-content: center;
    padding: 28px 0;
}

/* PREMIUM GOOGLE REVIEWS BUTTON */
.google-reviews-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 24px;
    background: linear-gradient(135deg, #4285F4 0%, #357AE8 100%);
    border: 2px solid rgba(66, 133, 244, 0.3);
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow:
        0 8px 20px rgba(66, 133, 244, 0.25),
        0 4px 10px rgba(66, 133, 244, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
    letter-spacing: -0.3px;
    white-space: nowrap;
    animation: float 3s ease-in-out infinite;
}

/* Shimmer effect overlay */
.google-reviews-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    pointer-events: none;
}

.google-reviews-button:hover::before {
    left: 100%;
}

/* Hover effect */
.google-reviews-button:hover {
    border-color: rgba(66, 133, 244, 0.6);
    background: linear-gradient(135deg, #357AE8 0%, #2A67E1 100%);
    box-shadow:
        0 12px 32px rgba(66, 133, 244, 0.4),
        0 6px 16px rgba(66, 133, 244, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    transform: translateY(-4px);
}

/* Active/Click effect */
.google-reviews-button:active {
    transform: translateY(-2px);
    box-shadow:
        0 8px 20px rgba(66, 133, 244, 0.25),
        0 4px 10px rgba(66, 133, 244, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* Google Icon with pulse */
.google-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
}

.google-reviews-button:hover .google-icon {
    transform: scale(1.25) rotate(-8deg);
}

.google-reviews-button:active .google-icon {
    transform: scale(0.95);
}

/* Text styling */
.google-reviews-button span {
    display: inline;
    color: #ffffff;
    font-weight: 700;
    letter-spacing: -0.3px;
    transition: all 0.3s ease;
}

.google-reviews-button:hover span {
    letter-spacing: 0.5px;
}

/* Footer Section */
.reviews-footer {
    text-align: center;
    padding: 28px 0;
    margin: 0 24px;
    border-top: 2px solid rgba(66, 133, 244, 0.1);
    animation: slideInUp 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.4s both;
}

.reviews-footer-text {
    font-size: 13px;
    color: #666666;
    margin: 0;
    letter-spacing: 0.2px;
    font-weight: 500;
    line-height: 1.6;
}

.reviews-footer-text strong {
    color: #4285F4;
    font-weight: 700;
}

.reviews-footer-text .heart {
    color: #EA4335;
    animation: heartBeat 1.2s ease-in-out infinite;
    display: inline-block;
    margin: 0 3px;
}

/* ============================================================================
   RESPONSIVE DESIGN - TABLET (768px - 1024px)
   ============================================================================ */

@media (min-width: 768px) and (max-width: 1023px) {
    .reviews-divider {
        margin: 24px 0;
    }

    .google-reviews-container {
        margin: 0 20px 24px 20px;
        padding: 24px 0;
    }

    .google-reviews-button {
        padding: 12px 20px;
        font-size: 14px;
        gap: 8px;
    }

    .google-icon {
        width: 22px;
        height: 22px;
    }

    .reviews-footer {
        margin: 0 20px;
        padding: 24px 0;
    }

    .reviews-footer-text {
        font-size: 12px;
    }
}

/* ============================================================================
   RESPONSIVE DESIGN - MOBILE MEDIUM (481px - 767px)
   ============================================================================ */

@media (min-width: 481px) and (max-width: 767px) {
    .reviews-divider {
        margin: 20px 0;
    }

    .google-reviews-container {
        margin: 0 16px 20px 16px;
        padding: 20px 0;
    }

    .google-reviews-button {
        padding: 12px 18px;
        font-size: 13px;
        gap: 8px;
    }

    .google-icon {
        width: 20px;
        height: 20px;
    }

    .google-reviews-button span {
        display: inline;
    }

    .reviews-footer {
        margin: 0 16px;
        padding: 20px 0;
    }

    .reviews-footer-text {
        font-size: 11px;
    }
}

/* ============================================================================
   RESPONSIVE DESIGN - MOBILE SMALL (320px - 480px)
   ============================================================================ */

@media (max-width: 480px) {
    .reviews-divider {
        margin: 16px 0;
        height: 1px;
    }

    .google-reviews-container {
        margin: 0 12px 16px 12px;
        padding: 16px 0;
    }

    .google-reviews-button {
        padding: 11px 16px;
        font-size: 0;
        gap: 0;
        width: auto;
        border-radius: 10px;
        background: linear-gradient(135deg, #4285F4 0%, #357AE8 100%);
        box-shadow:
            0 6px 16px rgba(66, 133, 244, 0.3),
            0 3px 8px rgba(66, 133, 244, 0.2),
            inset 0 1px 0 rgba(255, 255, 255, 0.3);
    }

    .google-reviews-button:hover {
        box-shadow:
            0 8px 24px rgba(66, 133, 244, 0.4),
            0 4px 12px rgba(66, 133, 244, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.4);
    }

    .google-icon {
        width: 20px;
        height: 20px;
    }

    .google-reviews-button span {
        display: none;
        font-size: 0;
    }

    .reviews-footer {
        margin: 0 12px;
        padding: 16px 0;
    }

    .reviews-footer-text {
        font-size: 10px;
        line-height: 1.4;
    }
}

/* ============================================================================
   DARK MODE SUPPORT
   ============================================================================ */

@media (prefers-color-scheme: dark) {
    .reviews-divider {
        background: linear-gradient(90deg, transparent, rgba(66, 133, 244, 0.3), transparent);
    }

    .google-reviews-button {
        background: linear-gradient(135deg, #5B9AF5 0%, #4A7FD7 100%);
        border-color: rgba(66, 133, 244, 0.4);
        color: #ffffff;
        box-shadow:
            0 8px 20px rgba(66, 133, 244, 0.3),
            0 4px 10px rgba(66, 133, 244, 0.2),
            inset 0 1px 0 rgba(255, 255, 255, 0.2);
    }

    .google-reviews-button:hover {
        background: linear-gradient(135deg, #4A7FD7 0%, #3969C9 100%);
        border-color: rgba(66, 133, 244, 0.5);
        box-shadow:
            0 12px 32px rgba(66, 133, 244, 0.4),
            0 6px 16px rgba(66, 133, 244, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.3);
    }

    .reviews-footer {
        border-top: 2px solid rgba(66, 133, 244, 0.15);
    }

    .reviews-footer-text {
        color: #BBBBBB;
    }

    .reviews-footer-text strong {
        color: #5B9AF5;
    }

    .reviews-footer-text .heart {
        color: #FF7B7B;
    }
}

/* ============================================================================
   EXTRA LARGE DESKTOPS (1440px+)
   ============================================================================ */

@media (min-width: 1440px) {
    .google-reviews-button {
        padding: 15px 28px;
        font-size: 16px;
        gap: 12px;
    }

    .google-icon {
        width: 26px;
        height: 26px;
    }
}
