/**
 * Social Sharing and Guest Engagement Styles
 */

/* Social Sharing Button Group */
.social-share-group {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.social-share-group h6 {
    color: #495057;
    font-weight: 600;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.social-share-group h6 i {
    color: #007bff;
}

/* Social Media Buttons */
.social-share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.share-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Platform-specific colors */
.share-btn[data-platform="facebook"] {
    background-color: #1877f2;
    color: white;
}

.share-btn[data-platform="facebook"]:hover {
    background-color: #166fe5;
    color: white;
}

.share-btn[data-platform="twitter"] {
    background-color: #1da1f2;
    color: white;
}

.share-btn[data-platform="twitter"]:hover {
    background-color: #1a91da;
    color: white;
}

.share-btn[data-platform="instagram"] {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
}

.share-btn[data-platform="instagram"]:hover {
    opacity: 0.9;
    color: white;
}

.share-btn[data-platform="whatsapp"] {
    background-color: #25d366;
    color: white;
}

.share-btn[data-platform="whatsapp"]:hover {
    background-color: #22c55e;
    color: white;
}

.share-btn[data-platform="email"] {
    background-color: #6c757d;
    color: white;
}

.share-btn[data-platform="email"]:hover {
    background-color: #5a6268;
    color: white;
}

.share-btn[data-platform="sms"] {
    background-color: #28a745;
    color: white;
}

.share-btn[data-platform="sms"]:hover {
    background-color: #218838;
    color: white;
}

/* Google Reviews Section */
.google-reviews-section {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    border: 2px solid #ff9800;
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
    text-align: center;
}

.google-reviews-section h6 {
    color: #e65100;
    font-weight: 600;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.google-reviews-section p {
    color: #bf360c;
    margin-bottom: 15px;
    font-size: 14px;
}

.google-review-btn {
    background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(255, 152, 0, 0.3);
}

.google-review-btn:hover {
    background: linear-gradient(135deg, #f57c00 0%, #ef6c00 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(255, 152, 0, 0.4);
    color: white;
}

/* Referral Links Section */
.referral-section {
    background: linear-gradient(135deg, #e8f5e8 0%, #c8e6c9 100%);
    border: 2px solid #4caf50;
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
}

.referral-section h6 {
    color: #2e7d32;
    font-weight: 600;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.referral-section p {
    color: #388e3c;
    margin-bottom: 15px;
    font-size: 14px;
}

.referral-link-btn {
    background: linear-gradient(135deg, #4caf50 0%, #388e3c 100%);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 3px 6px rgba(76, 175, 80, 0.3);
}

.referral-link-btn:hover {
    background: linear-gradient(135deg, #388e3c 0%, #2e7d32 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(76, 175, 80, 0.4);
    color: white;
}

/* Engagement Timing Indicators */
.engagement-timing {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
    padding: 12px;
    background-color: rgba(0, 123, 255, 0.1);
    border-radius: 8px;
    border-left: 4px solid #007bff;
}

.engagement-timing.review-timing {
    background-color: rgba(255, 152, 0, 0.1);
    border-left-color: #ff9800;
}

.engagement-timing.share-timing {
    background-color: rgba(76, 175, 80, 0.1);
    border-left-color: #4caf50;
}

.engagement-timing small {
    color: #6c757d;
    font-style: italic;
}

/* Responsive Design */
@media (max-width: 768px) {
    .social-share-buttons {
        flex-direction: column;
    }
    
    .share-btn {
        justify-content: center;
        width: 100%;
    }
    
    .social-share-group,
    .google-reviews-section,
    .referral-section {
        padding: 15px;
        margin: 15px 0;
    }
}

@media (max-width: 576px) {
    .social-share-group h6,
    .google-reviews-section h6,
    .referral-section h6 {
        flex-direction: column;
        text-align: center;
        gap: 4px;
    }
    
    .engagement-timing {
        flex-direction: column;
        text-align: center;
        gap: 4px;
    }
}

/* Animation for notifications */
@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.alert.position-fixed {
    animation: slideInRight 0.3s ease-out;
}

/* Star rating display for Google Reviews */
.star-rating {
    color: #ff9800;
    margin: 0 5px;
}

.star-rating .fa-star {
    margin-right: 2px;
}

/* Booking status indicators for smart content */
.booking-status-current {
    color: #28a745;
    font-weight: 600;
}

.booking-status-upcoming {
    color: #007bff;
    font-weight: 600;
}

.booking-status-past {
    color: #6c757d;
    font-weight: 600;
}