/* Custom Styles & Animations for Proyectos Ortiz */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

body {
    background-color: #0a0a0a;
    color: #ffffff;
    font-family: 'Outfit', sans-serif;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

/* Scrollbar customization */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0a0a0a;
}

::-webkit-scrollbar-thumb {
    background: #2dd4bf;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #14b8a6;
}

/* Glassmorphism Classes */
.glass-card {
    background: rgba(23, 23, 23, 0.4);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

/* Gradient Text */
.text-gradient {
    background: linear-gradient(135deg, #2dd4bf 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Base states for reveal animations (controlled by JS) */
.reveal {
    opacity: 0;
    transform: translateY(60px);
    transition: all 1s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: all 1s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(60px);
    transition: all 1s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* Delay utilities */
.delay-100 {
    transition-delay: 100ms;
}

.delay-200 {
    transition-delay: 200ms;
}

.delay-300 {
    transition-delay: 300ms;
}

.delay-400 {
    transition-delay: 400ms;
}

/* Animated Background Blob */
.blob {
    position: absolute;
    filter: blur(90px);
    z-index: -1;
    opacity: 0.4;
    animation: float 12s infinite ease-in-out alternate;
}

@keyframes float {
    0% {
        transform: translateY(0px) scale(1) rotate(0deg);
    }

    50% {
        transform: translateY(-30px) scale(1.05) rotate(5deg);
    }

    100% {
        transform: translateY(-60px) scale(1.1) rotate(-5deg);
    }
}