/* === TRABAJOS HERO SECTION STYLES === */
/* Debug: Trabajos Hero styles loaded */

.trabajos-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* === TRABAJOS HERO BACKGROUND === */
.trabajos-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.trabajos-hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 3s ease-in-out;
}

.trabajos-hero-slide.active {
    opacity: 1;
}

.trabajos-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.85) 0%, rgba(26, 26, 26, 0.75) 100%);
    z-index: 2;
}

.trabajos-hero-content {
    position: relative;
    z-index: 3;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
    display: flex;
    align-items: center;
    min-height: 100vh;
}

.trabajos-hero-text {
    max-width: 800px;
}

/* === TRABAJOS HERO TITLE === */
.trabajos-hero-title {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.trabajos-title-main {
    display: block;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.trabajos-title-accent {
    display: block;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(0, 212, 255, 0.5);
    animation: titleGlow 3s ease-in-out infinite;
}

@keyframes titleGlow {
    0%, 100% {
        text-shadow: 0 0 30px rgba(0, 212, 255, 0.5);
    }
    50% {
        text-shadow: 0 0 40px rgba(0, 212, 255, 0.8);
    }
}

.trabajos-hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    font-weight: 400;
    line-height: 1.6;
}

/* === TRABAJOS HERO STATS === */
.trabajos-hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    max-width: 600px;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--glass-effect);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.1), transparent);
    transition: left 0.8s ease;
}

.stat-item:hover::before {
    left: 100%;
}

.stat-item:hover {
    transform: translateY(-5px);
    border-color: var(--accent-cyan);
    box-shadow: 0 15px 40px rgba(0, 212, 255, 0.2);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    animation: countUp 2s ease-out forwards;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* === SCROLL INDICATOR === */
.trabajos-hero::after {
    content: '';
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 1px;
    animation: scrollIndicator 2s ease-in-out infinite;
    z-index: 3;
}

@keyframes scrollIndicator {
    0%, 100% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    50% {
        opacity: 0.5;
        transform: translateX(-50%) translateY(10px);
    }
}

/* === RESPONSIVE TRABAJOS HERO === */
@media (max-width: 1024px) {
    .trabajos-hero-content {
        padding: 0 1.5rem;
    }
    
    .trabajos-hero-title {
        font-size: 3.5rem;
    }
    
    .trabajos-hero-subtitle {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .trabajos-hero-content {
        padding: 0 1rem;
        text-align: center;
    }
    
    .trabajos-hero-title {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .trabajos-title-main,
    .trabajos-title-accent {
        display: inline;
    }
    
    .trabajos-title-main::after {
        content: ' ';
    }
    
    .trabajos-hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .trabajos-hero-stats {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 1rem;
    }
    
    .stat-item {
        padding: 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .trabajos-hero-title {
        font-size: 2rem;
    }
    
    .trabajos-hero-subtitle {
        font-size: 1rem;
    }
    
    .trabajos-hero-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .stat-item {
        padding: 0.8rem;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
}

@media (max-width: 360px) {
    .trabajos-hero-content {
        padding: 0 0.5rem;
    }
    
    .trabajos-hero-title {
        font-size: 1.8rem;
    }
}