/* Main CSS */
:root {
    /* Colors */
    --color-bg: #0a0a0a;
    --color-bg-alt: #111111;
    --color-text: #e0e0e0;
    --color-text-dim: #8a8a8a;
    --color-primary: #00ff00;
    --color-secondary: #00cfff;
    --color-accent: #ff3000;
    --color-terminal-bg: #0a0e14;
    --color-terminal-header: #1a1a1a;
    
    /* Typography */
    --font-mono: 'IBM Plex Mono', monospace;
    --font-sans: 'Space Grotesk', sans-serif;
    
    /* Sizing */
    --header-height: 60px;
}

/* Font faces - CORRECCIÓN */
@font-face {
    font-family: 'IBM Plex Mono';
    src: url('../fonts/IBMPlexMono/IBMPlexMono-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IBM Plex Mono';
    src: url('../fonts/IBMPlexMono/IBMPlexMono-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IBM Plex Mono';
    src: url('../fonts/IBMPlexMono/IBMPlexMono-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Space Grotesk';
    src: url('../fonts/SpaceGrotesk/SpaceGrotesk-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Space Grotesk';
    src: url('../fonts/SpaceGrotesk/SpaceGrotesk-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Space Grotesk';
    src: url('../fonts/SpaceGrotesk/SpaceGrotesk-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-mono);
    font-weight: 700;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2rem;
    letter-spacing: -0.01em;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--color-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-primary);
}

/* Layout */
.fullscreen {
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.fullscreen-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-bg);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 6rem 2rem;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    color: var(--color-primary);
}

.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -10px;
    width: 50px;
    height: 3px;
    background-color: var(--color-secondary);
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    z-index: 100;
    border-bottom: 1px solid rgba(0, 255, 0, 0.1);
}

.logo {
    display: flex;
    align-items: center;
}

.logo-text {
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--color-primary);
    letter-spacing: 1px;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background-color: var(--color-primary);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

nav ul li a:hover::after {
    width: 100%;
}

/* Language Selector */
.language-selector {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1001;
    display: flex;
    align-items: center;
    background-color: rgba(10, 10, 10, 0.7);
    padding: 5px 10px;
    border-radius: 5px;
    backdrop-filter: blur(5px);
}

.language-selector button {
    background: none;
    border: none;
    color: var(--color-text-dim);
    font-family: var(--font-mono);
    font-size: 0.8rem;
    cursor: pointer;
    padding: 2px 5px;
    transition: color 0.3s ease;
}

.language-selector button.active {
    color: var(--color-primary);
    font-weight: 700;
}

.language-selector span {
    color: var(--color-text-dim);
    margin: 0 5px;
}

/* Hero Section */
#hero {
    padding-top: var(--header-height);
    text-align: center;
    overflow: hidden;
}

#particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-content {
    z-index: 1;
    padding: 0 2rem;
}

.typing-container {
    height: 30px;
    margin-bottom: 2rem;
}

.typing-text {
    font-family: var(--font-mono);
    color: var(--color-secondary);
    font-size: 1.2rem;
}

.hero-tagline {
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.8;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    opacity: 0.6;
    animation: fadeInOut 2s infinite;
}

.scroll-arrow {
    font-size: 1.5rem;
    animation: bounce 2s infinite;
}

@keyframes fadeInOut {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.8; }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* Hidden class */
.hidden {
    display: none;
}

/* Footer */
footer {
    padding: 2rem;
    background-color: var(--color-bg-alt);
    border-top: 1px solid rgba(0, 255, 0, 0.1);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    font-family: var(--font-mono);
    font-weight: 700;
    color: var(--color-primary);
    font-size: 1rem;
}

.footer-copyright {
    font-size: 0.8rem;
    color: var(--color-text-dim);
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    color: var(--color-primary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    background-color: var(--color-bg-alt);
    border: 1px solid rgba(0, 255, 0, 0.3);
    color: var(--color-text);
    font-family: var(--font-mono);
    font-size: 0.9rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-secondary);
}

.btn-submit {
    background-color: transparent;
    color: var(--color-primary);
    border: 1px solid var(--color-primary);
    padding: 0.8rem 1.5rem;
    font-family
    .btn-submit {
        background-color: transparent;
        color: var(--color-primary);
        border: 1px solid var(--color-primary);
        padding: 0.8rem 1.5rem;
        font-family: var(--font-mono);
        font-size: 0.9rem;
        cursor: pointer;
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
    }
    
    .btn-submit::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: rgba(0, 255, 0, 0.1);
        transition: all 0.3s ease;
        z-index: -1;
    }
    
    .btn-submit:hover {
        color: var(--color-text);
    }
    
    .btn-submit:hover::before {
        left: 0;
    }
    
    /* SVG Icons */
    svg {
        width: 24px;
        height: 24px;
        stroke: var(--color-primary);
        stroke-width: 1.5;
        fill: none;
        stroke-linecap: round;
        stroke-linejoin: round;
    }
    
    /* Expertise Section */
    .expertise-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 2rem;
        margin-top: 2rem;
    }
    
    .expertise-item {
        background-color: rgba(0, 255, 0, 0.03);
        border: 1px solid rgba(0, 255, 0, 0.1);
        padding: 1.5rem;
        border-radius: 5px;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    
    .expertise-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0, 255, 0, 0.05);
        border-color: rgba(0, 255, 0, 0.3);
    }
    
    .expertise-icon {
        margin-bottom: 1rem;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 50px;
        height: 50px;
        background-color: rgba(0, 255, 0, 0.1);
        border-radius: 50%;
    }
    
    .expertise-item h3 {
        font-size: 1.2rem;
        margin-bottom: 0.5rem;
        color: var(--color-secondary);
    }
    
    .expertise-item p {
        font-size: 0.9rem;
        color: var(--color-text-dim);
    }
    
    /* Technologies Container */
    .technologies-container {
        margin-top: 4rem;
    }
    
    .technologies-container h3,
    .certifications-container h3 {
        text-align: center;
        margin-bottom: 2rem;
        color: var(--color-secondary);
        font-family: var(--font-mono);
    }
    
    .tech-categories {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.5rem;
    }
    
    .tech-category h4 {
        color: var(--color-primary);
        font-family: var(--font-mono);
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    .tech-list {
        list-style: none;
    }
    
    .tech-list li {
        font-family: var(--font-mono);
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
        color: var(--color-text);
        position: relative;
        padding-left: 15px;
    }
    
    .tech-list li::before {
        content: '>';
        position: absolute;
        left: 0;
        color: var(--color-secondary);
    }
    
    /* Certifications Container */
    .certifications-container {
        margin-top: 4rem;
    }
    
    .cert-list {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
    
    .cert-item {
        display: flex;
        align-items: center;
        background-color: rgba(0, 255, 0, 0.03);
        border: 1px solid rgba(0, 255, 0, 0.1);
        padding: 1rem;
        border-radius: 5px;
    }
    
    .cert-badge {
        font-family: var(--font-mono);
        font-weight: 700;
        color: var(--color-bg);
        background-color: var(--color-primary);
        padding: 0.3rem 0.7rem;
        border-radius: 3px;
        margin-right: 1rem;
        font-size: 0.8rem;
    }
    
    .cert-description {
        font-size: 0.85rem;
        color: var(--color-text-dim);
    }
    
    /* Approach Section */
    .approach-content {
        padding: 1rem;
    }
    
    .approach-section {
        margin-bottom: 2rem;
    }
    
    .approach-section h3 {
        color: var(--color-primary);
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }
    
    .approach-section p {
        font-size: 0.95rem;
        line-height: 1.7;
    }
    
    /* Contact Section */
    .contact-intro {
        text-align: center;
        margin-bottom: 2rem;
        font-style: italic;
        color: var(--color-text-dim);
    }
    
    /* Custom highlight color */
    ::selection {
        background-color: rgba(0, 255, 0, 0.3);
        color: #fff;
    }
    
    /* Animations for page elements */
    @keyframes fadeIn {
        from { opacity: 0; transform: translateY(20px); }
        to { opacity: 1; transform: translateY(0); }
    }
    
    .fade-in {
        animation: fadeIn 0.6s ease forwards;
    }
    
    /* Delay utility classes */
    .delay-1 { animation-delay: 0.1s; }
    .delay-2 { animation-delay: 0.2s; }
    .delay-3 { animation-delay: 0.3s; }
    .delay-4 { animation-delay: 0.4s; }
    .delay-5 { animation-delay: 0.5s; }
}