/* Luxury Dark Theme Custom Styles */

:root {
    --color-primary: #2563EB;
    --color-secondary: #7C3AED;
    --color-accent: #06B6D4;
    --color-bg: #0B1220;
    --color-card: rgba(255, 255, 255, 0.03);
    --color-border: rgba(255, 255, 255, 0.08);
}

/* Glassmorphism utility card */
.glass-card {
    background: var(--color-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--color-border);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

/* Glowing text effects */
.glow-text {
    text-shadow: 0 0 20px rgba(37, 99, 235, 0.2), 0 0 40px rgba(124, 58, 237, 0.15);
}

.drop-shadow-glow {
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.3));
}

/* Ambient Social Button Styles */
.social-btn {
    display: inline-flex;
    align-items: center;
    justify-center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.75rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #94A3B8;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    justify-content: center;
}

.social-btn:hover {
    color: #FFFFFF;
    background: rgba(37, 99, 235, 0.1);
    border-color: rgba(37, 99, 235, 0.4);
    box-shadow: 0 0 15px rgba(37, 99, 235, 0.25);
    transform: translateY(-3px);
}

/* Custom Animations */

/* Slow rotating blobs in background */
@keyframes blob-shift {
    0% {
        transform: translate(0px, 0px) scale(1) rotate(0deg);
    }
    33% {
        transform: translate(30px, -50px) scale(1.1) rotate(120deg);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9) rotate(240deg);
    }
    100% {
        transform: translate(0px, 0px) scale(1) rotate(360deg);
    }
}

.animate-blob-shift {
    animation: blob-shift 25s infinite alternate ease-in-out;
}

.animation-delay-2000 {
    animation-delay: 2s;
}

.animation-delay-4000 {
    animation-delay: 4s;
}

.animation-delay-500 {
    animation-delay: 0.5s;
}

.animation-delay-300 {
    animation-delay: 0.3s;
}

/* Simple float animation */
@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-12px);
    }
    100% {
        transform: translateY(0px);
    }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

/* Robot floating and hovering animation */
@keyframes robot-float {
    0% {
        transform: translate(350px, 160px) translateY(0px) rotate(0deg);
    }
    50% {
        transform: translate(350px, 160px) translateY(-10px) rotate(1deg);
    }
    100% {
        transform: translate(350px, 160px) translateY(0px) rotate(0deg);
    }
}

.animate-robot-float {
    animation: robot-float 5s ease-in-out infinite;
}

/* Wrench Waving/Working */
@keyframes wrench-wave {
    0% {
        transform: translate(-40px, 60px) rotate(0deg);
    }
    50% {
        transform: translate(-40px, 60px) rotate(25deg);
    }
    100% {
        transform: translate(-40px, 60px) rotate(0deg);
    }
}

.animate-wrench-wave {
    animation: wrench-wave 2.5s ease-in-out infinite;
}

/* Typing welder arm spark */
@keyframes welder-arm {
    0% {
        transform: translate(40px, 60px) translateY(0px) rotate(0deg);
    }
    20% {
        transform: translate(40px, 60px) translateY(2px) rotate(5deg);
    }
    40% {
        transform: translate(40px, 60px) translateY(0px) rotate(0deg);
    }
    60% {
        transform: translate(40px, 60px) translateY(-2px) rotate(-3deg);
    }
    80% {
        transform: translate(40px, 60px) translateY(1px) rotate(2deg);
    }
    100% {
        transform: translate(40px, 60px) translateY(0px) rotate(0deg);
    }
}

.animate-welder-arm {
    animation: welder-arm 3s ease-in-out infinite;
}

/* Sparkle emission from welding tool */
@keyframes sparkle {
    0%, 100% {
        opacity: 0;
        transform: scale(0.5);
    }
    45%, 55% {
        opacity: 1;
        transform: scale(1.2);
    }
    50% {
        opacity: 0.3;
        transform: scale(0.8);
    }
}

.animate-sparkle {
    animation: sparkle 0.8s ease-in-out infinite;
    transform-origin: 0px 50px;
}

/* Rotating gear animations */
@keyframes spin-slow {
    from {
        transform: translate(130px, 110px) rotate(0deg);
    }
    to {
        transform: translate(130px, 110px) rotate(360deg);
    }
}

.animate-spin-slow {
    animation: spin-slow 15s linear infinite;
    transform-origin: 0px 0px;
}

@keyframes spin-reverse {
    from {
        transform: translate(85px, 160px) rotate(360deg);
    }
    to {
        transform: translate(85px, 160px) rotate(0deg);
    }
}

.animate-spin-reverse {
    animation: spin-reverse 8s linear infinite;
    transform-origin: 0px 0px;
}

/* Custom spin for loading spinner on laptop */
@keyframes spin-custom {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.animate-spin-custom {
    animation: spin-custom 2s linear infinite;
    transform-origin: 260px 205px;
}

/* Robot digital eye blinking */
@keyframes blink {
    0%, 95%, 100% {
        transform: scaleY(1);
    }
    97.5% {
        transform: scaleY(0.1);
    }
}

.animate-blink {
    animation: blink 4s infinite;
    transform-origin: center;
}

/* Scroll reveal class setup */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-on-scroll.active {
    opacity: 1;
    transform: translateY(0);
}

/* Glow animation for primary button */
@keyframes btn-glow {
    0%, 100% {
        box-shadow: 0 4px 14px 0 rgba(37, 99, 235, 0.3), 0 0 0 0px rgba(37, 99, 235, 0.4);
    }
    50% {
        box-shadow: 0 4px 20px 0 rgba(37, 99, 235, 0.5), 0 0 0 6px rgba(37, 99, 235, 0);
    }
}

button[type="submit"] {
    animation: btn-glow 3s infinite;
}

/* Scrollbar Style */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0B1220;
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}
