/**
 * eBSSL - Enterprise Software & IT Solutions
 * Global Frontend Stylesheet & Motion Transitions
 * Path: public/assets/css/frontend.css
 */

/* ==========================================================================
   1. Base Typography & Global Styles
   ========================================================================== */
body {
    font-family: 'Plus Jakarta Sans', Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ==========================================================================
   2. Laser Beam Shimmer (Footer Top Border)
   ========================================================================== */
@keyframes ebsslLaser {
    0% {
        transform: translateX(-150%);
    }
    50%, 100% {
        transform: translateX(650%);
    }
}

.ebssl-laser-beam {
    animation: ebsslLaser 4s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

/* ==========================================================================
   3. Continuous Wave Floating Motion
   ========================================================================== */
@keyframes waveMoveBack {
    0%, 100% {
        transform: translateY(0) scaleY(1);
    }
    50% {
        transform: translateY(-4px) scaleY(1.08);
    }
}

.ebssl-wave-back {
    animation: waveMoveBack 6s ease-in-out infinite;
}

/* ==========================================================================
   4. Ambient Pulsing Glow Orbs
   ========================================================================== */
@keyframes ambientPulse {
    0%, 100% {
        transform: scale(1) translate(0, 0);
        opacity: 0.15;
    }
    50% {
        transform: scale(1.15) translate(15px, -10px);
        opacity: 0.28;
    }
}

.ebssl-ambient-pulse {
    animation: ambientPulse 8s ease-in-out infinite;
}

@keyframes ambientFloat {
    0%, 100% {
        transform: translateY(0) scale(1);
        opacity: 0.10;
    }
    50% {
        transform: translateY(-25px) scale(1.2);
        opacity: 0.22;
    }
}

.ebssl-ambient-float {
    animation: ambientFloat 10s ease-in-out infinite;
}

/* ==========================================================================
   5. Floating Micro Particles
   ========================================================================== */
.ebssl-particle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 132, 255, 0.8) 0%, rgba(0, 132, 255, 0) 70%);
    pointer-events: none;
    z-index: 15;
}

.ebssl-p-1 {
    width: 6px;
    height: 6px;
    top: 25%;
    left: 15%;
    animation: floatParticle 7s infinite ease-in-out;
}

.ebssl-p-2 {
    width: 8px;
    height: 8px;
    top: 60%;
    left: 8%;
    animation: floatParticle 9s infinite ease-in-out 1.5s;
}

.ebssl-p-3 {
    width: 5px;
    height: 5px;
    top: 40%;
    right: 18%;
    animation: floatParticle 8s infinite ease-in-out 2.5s;
}

.ebssl-p-4 {
    width: 7px;
    height: 7px;
    top: 75%;
    right: 28%;
    animation: floatParticle 11s infinite ease-in-out 0.8s;
}

.ebssl-p-5 {
    width: 4px;
    height: 4px;
    top: 15%;
    right: 40%;
    animation: floatParticle 6s infinite ease-in-out 3s;
}

@keyframes floatParticle {
    0%, 100% {
        transform: translateY(0) translateX(0);
        opacity: 0.2;
    }
    50% {
        transform: translateY(-30px) translateX(15px);
        opacity: 0.8;
    }
}

/* ==========================================================================
   6. Logo Card Breathing Aura & 3D Lift
   ========================================================================== */
@keyframes logoAura {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(0, 132, 255, 0.2);
        transform: translateY(0);
    }
    50% {
        box-shadow: 0 8px 30px rgba(0, 132, 255, 0.45);
        transform: translateY(-3px);
    }
}

.ebssl-logo-card {
    animation: logoAura 4s ease-in-out infinite;
}

/* ==========================================================================
   7. Social Buttons Floating Dock (Bobbing & Neon Glow)
   ========================================================================== */
@keyframes socialBob {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-4px);
    }
}

.ebssl-social-fb {
    animation: socialBob 3.2s ease-in-out infinite;
}

.ebssl-social-x {
    animation: socialBob 3.2s ease-in-out infinite 0.4s;
}

.ebssl-social-li {
    animation: socialBob 3.2s ease-in-out infinite 0.8s;
}

.ebssl-social-pi {
    animation: socialBob 3.2s ease-in-out infinite 1.2s;
}

.ebssl-social-btn:hover {
    animation-play-state: paused;
    transform: translateY(-6px) scale(1.12);
}

.ebssl-social-fb:hover {
    box-shadow: 0 8px 24px rgba(24, 119, 242, 0.5);
}

.ebssl-social-x:hover {
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.25);
}

.ebssl-social-li:hover {
    box-shadow: 0 8px 24px rgba(10, 102, 194, 0.5);
}

.ebssl-social-pi:hover {
    box-shadow: 0 8px 24px rgba(230, 0, 35, 0.5);
}

/* ==========================================================================
   8. Hotline Phone Ring Vibration Animation
   ========================================================================== */
@keyframes phoneRing {
    0%, 100% {
        transform: rotate(0deg);
    }
    10%, 30% {
        transform: rotate(-15deg);
    }
    20%, 40% {
        transform: rotate(15deg);
    }
    50% {
        transform: rotate(0deg);
    }
}

.ebssl-phone-ring {
    animation: phoneRing 3s ease-in-out infinite;
    transform-origin: center;
}

/* ==========================================================================
   9. Clock Subtle Ticking Animation
   ========================================================================== */
@keyframes clockTick {
    0%, 100% {
        transform: rotate(0deg);
    }
    50% {
        transform: rotate(12deg);
    }
}

.ebssl-clock-tick {
    animation: clockTick 4s ease-in-out infinite;
    transform-origin: center;
}

/* ==========================================================================
   10. Glassmorphism Contact Cards Hover Lift
   ========================================================================== */
.ebssl-contact-card {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.ebssl-contact-card:hover {
    transform: translateY(-3px) scale(1.01);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35);
}

/* ==========================================================================
   11. Back to Top Button Arrow Bounce
   ========================================================================== */
@keyframes arrowBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-3px);
    }
}

.ebssl-arrow-bounce {
    animation: arrowBounce 1.8s ease-in-out infinite;
}

/* ==========================================================================
   12. Banner Shimmer Shine
   ========================================================================== */
@keyframes shine {
    100% {
        top: 200%;
        left: 200%;
    }
}

.animate-shine {
    animation: shine 1.5s ease-in-out infinite;
}
