@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;800;900&display=swap');

:root {
    /* Dark Mode (Default) */
    --bg-primary: #0c0d12;
    --bg-secondary: #1a1b21;
    --accent-cyan: #06b6d4;
    --text-primary: #f3f4f6;
    --text-secondary: #9ca3af;
    --grid-color: rgba(34, 197, 94, 0.05);
}

.light-mode {
    /* Light Mode (Metallic Gray - Slate Palette) */
    --bg-primary: #f1f5f9;
    /* Slate 100 */
    --bg-secondary: #e2e8f0;
    /* Slate 200 */
    --accent-cyan: #0891b2;
    /* Cyan 600 - Darker for contrast */
    --text-primary: #1e293b;
    /* Slate 800 */
    --text-secondary: #475569;
    /* Slate 600 */
    --grid-color: rgba(0, 0, 0, 0.05);
}

/* Smooth Transition for all relevant properties */
body,
header,
section,
div,
h1,
h2,
h3,
p,
span,
a,
button,
svg,
.tech-card {
    transition: background-color 0.5s ease, color 0.5s ease, border-color 0.5s ease, fill 0.5s ease, stroke 0.5s ease, box-shadow 0.5s ease, transform 0.3s ease;
}

/* Efecto de malla/grid para el fondo conceptual del Hero */
.hero-pattern {
    background-color: var(--bg-primary);
    background-image: radial-gradient(var(--grid-color) 1px, transparent 1px);
    background-size: 30px 30px;
}

/* Estilo para tarjetas con brillo sutil al pasar el mouse */
.tech-card {
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.tech-card:hover {
    box-shadow: 0 10px 15px rgba(6, 182, 212, 0.2), 0 4px 6px rgba(6, 182, 212, 0.1);
    transform: translateY(-5px);
}

/* Animation for the fluid wave effect */
@keyframes morph {
    0% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }

    50% {
        border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
    }

    100% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }
}

@keyframes morph-reverse {
    0% {
        border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
    }

    50% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }

    100% {
        border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
    }
}
