/* ============================================
   Social Share Buttons
   Rose Gold Theme
   ============================================ */

/* Full Share Section */
.social-share {
    background: white;
    border-radius: 16px;
    padding: 20px;
    margin: 24px 0;
    border: 1px solid #f0e4e8;
    box-shadow: 0 4px 15px rgba(190, 52, 85, 0.08);
}

.social-share-label {
    font-family: 'Noto Sans Tamil', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: #2d1b24;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.social-share-label i {
    color: #be3455;
}

.social-share-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 10px;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    border-radius: 12px;
    border: none;
    font-family: 'Noto Sans Tamil', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.share-btn i {
    font-size: 1.1rem;
}

.share-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s ease;
}

.share-btn:hover::after {
    left: 100%;
}

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* WhatsApp */
.share-whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
}
.share-whatsapp:hover {
    color: white;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
}

/* Facebook */
.share-facebook {
    background: linear-gradient(135deg, #1877F2 0%, #0C63D4 100%);
    color: white;
}
.share-facebook:hover {
    color: white;
    box-shadow: 0 8px 20px rgba(24, 119, 242, 0.4);
}

/* Twitter/X */
.share-twitter {
    background: linear-gradient(135deg, #000000 0%, #333333 100%);
    color: white;
}
.share-twitter:hover {
    color: white;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* Telegram */
.share-telegram {
    background: linear-gradient(135deg, #0088cc 0%, #006699 100%);
    color: white;
}
.share-telegram:hover {
    color: white;
    box-shadow: 0 8px 20px rgba(0, 136, 204, 0.4);
}

/* LinkedIn */
.share-linkedin {
    background: linear-gradient(135deg, #0A66C2 0%, #004182 100%);
    color: white;
}
.share-linkedin:hover {
    color: white;
    box-shadow: 0 8px 20px rgba(10, 102, 194, 0.4);
}

/* Email */
.share-email {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: white;
}
.share-email:hover {
    color: white;
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.4);
}

/* Copy Link */
.share-copy {
    background: linear-gradient(135deg, #be3455 0%, #9a2945 100%);
    color: white;
}
.share-copy:hover {
    color: white;
    box-shadow: 0 8px 20px rgba(190, 52, 85, 0.4);
}
.share-copy.copied {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

/* Compact Share Icons (for cards) */
.share-icons-compact {
    display: flex;
    gap: 6px;
    align-items: center;
}

.share-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
    font-size: 0.9rem;
    text-decoration: none;
}

.share-icon:hover {
    transform: translateY(-3px) scale(1.1);
    color: white;
}

.share-icon.share-whatsapp { background: #25D366; }
.share-icon.share-whatsapp:hover { box-shadow: 0 4px 12px rgba(37, 211, 102, 0.5); }

.share-icon.share-facebook { background: #1877F2; }
.share-icon.share-facebook:hover { box-shadow: 0 4px 12px rgba(24, 119, 242, 0.5); }

.share-icon.share-twitter { background: #000000; }
.share-icon.share-twitter:hover { box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5); }

.share-icon.share-copy { background: #be3455; }
.share-icon.share-copy:hover { box-shadow: 0 4px 12px rgba(190, 52, 85, 0.5); }
.share-icon.share-copy.copied { background: #10b981; }

/* Floating Share Button (bottom right) */
.floating-share {
    position: fixed;
    bottom: 100px;
    right: 20px;
    z-index: 1000;
}

.floating-share-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #be3455 0%, #9a2945 100%);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    box-shadow: 0 8px 25px rgba(190, 52, 85, 0.4);
    transition: all 0.3s ease;
}

.floating-share-btn:hover {
    transform: scale(1.1) rotate(15deg);
    box-shadow: 0 12px 35px rgba(190, 52, 85, 0.6);
}

.floating-share-menu {
    position: absolute;
    bottom: 70px;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    transform: translateY(10px);
}

.floating-share.open .floating-share-menu {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.floating-share-menu .share-icon {
    width: 48px;
    height: 48px;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* Mobile */
@media (max-width: 768px) {
    .social-share-buttons {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .share-btn {
        padding: 10px 12px;
        font-size: 0.8rem;
    }
    
    .share-btn span {
        display: none;
    }
    
    .share-btn i {
        font-size: 1.3rem;
    }
    
    .floating-share {
        bottom: 90px;
        right: 15px;
    }
    
    .floating-share-btn {
        width: 48px;
        height: 48px;
        font-size: 1.2rem;
    }
}

/* Toast Notification */
.share-toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 14px 28px;
    border-radius: 50px;
    font-family: 'Noto Sans Tamil', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
    z-index: 10000;
    opacity: 0;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.share-toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}
</style>