/* Paleta de colores desierto 8-bit */
:root {
    --sand: #e6d7a3;
    --dark-sand: #d4c49a;
    --cactus-green: #27ae60;
    --sky-blue: #87ceeb;
    --dark-blue: #6fa8dc;
    --sunset-orange: #e67e22;
    --text-dark: #2c3e50;
    --text-light: #ecf0f1;
}

.experience-list b {
    color: var(--cactus-green);
    text-shadow: 1px 1px 0px var(--text-dark);
}

a {
    color: var(--sunset-orange);
    text-decoration: underline;
    text-shadow: 1px 1px 0px var(--text-dark);
}

a:hover {
    color: #d35400;
}

.experience-list li {
    margin-bottom: 2.2rem;
}

body {
    margin: 0;
    padding: 0;
    background: 
        linear-gradient(180deg, 
            var(--sky-blue) 0%, 
            var(--sky-blue) 20%, 
            var(--dark-blue) 20%, 
            var(--dark-blue) 35%, 
            #9bb5d6 35%, 
            #9bb5d6  45%, 
            #b8c9d9 45%, 
            #b8c9d9  55%, 
            var(--sand) 55%, 
            var(--sand) 75%, 
            var(--dark-sand) 75%, 
            var(--dark-sand) 100%
        );
    background-attachment: fixed;
    color: var(--text-dark);
    font-family: 'Press Start 2P', cursive;
    line-height: 2.1;
    min-height: 100vh;
    position: relative;
}

/* Elementos decorativos del desierto */
body::before {
    content: '';
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: 
        /* Cactus grande 1 */
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 60 80"><rect x="26" y="20" width="8" height="50" fill="%2327ae60"/><rect x="18" y="30" width="8" height="25" fill="%2327ae60"/><rect x="34" y="35" width="8" height="20" fill="%2327ae60"/><rect x="10" y="40" width="8" height="15" fill="%2327ae60"/><rect x="42" y="25" width="8" height="30" fill="%2327ae60"/><rect x="26" y="18" width="8" height="4" fill="%2320924c"/><rect x="18" y="28" width="8" height="4" fill="%2320924c"/><rect x="34" y="33" width="8" height="4" fill="%2320924c"/><circle cx="30" cy="22" r="1.5" fill="%23f39c12"/><circle cx="22" cy="32" r="1" fill="%23f39c12"/><circle cx="38" cy="37" r="1" fill="%23f39c12"/></svg>') no-repeat 8% bottom/60px 80px,
        /* Cactus mediano 1 */
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 40 60"><rect x="16" y="15" width="8" height="40" fill="%2327ae60"/><rect x="8" y="25" width="8" height="20" fill="%2327ae60"/><rect x="24" y="30" width="8" height="15" fill="%2327ae60"/><rect x="16" y="13" width="8" height="4" fill="%2320924c"/><rect x="8" y="23" width="8" height="4" fill="%2320924c"/><circle cx="20" cy="17" r="1.5" fill="%23f39c12"/><circle cx="12" cy="27" r="1" fill="%23f39c12"/></svg>') no-repeat 25% bottom/40px 60px,
        /* Cactus pequeño 1 */
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 30 40"><rect x="11" y="10" width="8" height="25" fill="%2327ae60"/><rect x="3" y="20" width="8" height="10" fill="%2327ae60"/><rect x="19" y="18" width="8" height="12" fill="%2327ae60"/><rect x="11" y="8" width="8" height="4" fill="%2320924c"/><circle cx="15" cy="12" r="1" fill="%23f39c12"/></svg>') no-repeat 45% bottom/30px 40px,
        /* Cactus mediano 2 */
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 35 55"><rect x="13" y="12" width="8" height="38" fill="%2327ae60"/><rect x="21" y="22" width="8" height="18" fill="%2327ae60"/><rect x="5" y="28" width="8" height="12" fill="%2327ae60"/><rect x="13" y="10" width="8" height="4" fill="%2320924c"/><circle cx="17" cy="14" r="1.5" fill="%23f39c12"/><circle cx="25" cy="24" r="1" fill="%23f39c12"/></svg>') no-repeat 65% bottom/35px 55px,
        /* Cactus grande 2 */
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 55 75"><rect x="23" y="15" width="8" height="55" fill="%2327ae60"/><rect x="15" y="25" width="8" height="30" fill="%2327ae60"/><rect x="31" y="30" width="8" height="25" fill="%2327ae60"/><rect x="39" y="20" width="8" height="35" fill="%2327ae60"/><rect x="23" y="13" width="8" height="4" fill="%2320924c"/><rect x="15" y="23" width="8" height="4" fill="%2320924c"/><circle cx="27" cy="17" r="1.5" fill="%23f39c12"/><circle cx="19" cy="27" r="1" fill="%23f39c12"/><circle cx="35" cy="32" r="1" fill="%23f39c12"/></svg>') no-repeat 82% bottom/55px 75px,
        /* Cactus pequeño 2 */
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 35"><rect x="8" y="8" width="8" height="22" fill="%2327ae60"/><rect x="16" y="15" width="8" height="10" fill="%2327ae60"/><rect x="8" y="6" width="8" height="4" fill="%2320924c"/><circle cx="12" cy="10" r="1" fill="%23f39c12"/></svg>') no-repeat 92% bottom/25px 35px;
    z-index: -1;
    pointer-events: none;
}

header {
    background: linear-gradient(180deg, var(--sky-blue) 0%, var(--dark-blue) 100%);
    border-bottom: 4px solid var(--sand);
    text-align: center;
    padding: 2rem 0 1rem 0;
    position: relative;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Nubes en el header */
header::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 15%;
    width: 60px;
    height: 20px;
    background: var(--text-light);
    border-radius: 10px;
    opacity: 0.8;
    box-shadow: 
        20px 0 0 -5px var(--text-light),
        40px 0 0 -10px var(--text-light);
}

header::after {
    content: '';
    position: absolute;
    top: 40px;
    right: 20%;
    width: 40px;
    height: 15px;
    background: var(--text-light);
    border-radius: 8px;
    opacity: 0.6;
    box-shadow: 
        15px 0 0 -3px var(--text-light),
        30px 0 0 -8px var(--text-light);
}

.header-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.profile-pic {
    width: 96px;
    height: 96px;
    border: 4px solid var(--sand);
    border-radius: 8px;
    background: var(--text-light);
    margin-bottom: 1rem;
    image-rendering: pixelated;
    box-shadow: 0 0 12px rgba(230, 215, 163, 0.6);
}

.contact-info h1 {
    margin: 0 0 0.5rem 0;
    font-size: 1.2rem;
    color: var(--text-light);
    text-shadow: 2px 2px 0px var(--text-dark);
}

.contact-info p {
    margin: 0.2rem 0;
    font-size: 0.8rem;
    color: var(--text-light);
    text-shadow: 1px 1px 0px var(--text-dark);
}

main {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 60vh;
    background: transparent;
    position: relative;
    z-index: 1;
}

.columns {
    display: flex;
    width: 98vw;
    max-width: 1400px;
    margin: 2rem auto;
    border: 4px solid var(--cactus-green);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 16px rgba(39, 174, 96, 0.4);
    gap: 2.5rem;
    background: rgba(236, 240, 241, 0.95);
    backdrop-filter: blur(2px);
    position: relative;
}

.column {
    flex: 1;
    padding: 2.5rem 2.5rem;
    background: transparent;
    min-height: 400px;
    line-height: 2.1;
    font-size: 0.85rem;
}

h2 {
    color: var(--sunset-orange);
    font-size: 1rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    letter-spacing: 0.12em;
    text-shadow: 1px 1px 0px var(--text-dark);
    position: relative;
}

/* Animación sutil para el sol */
@keyframes sun-glow {
    0%, 100% { box-shadow: 0 0 12px rgba(230, 215, 163, 0.6); }
    50% { box-shadow: 0 0 20px rgba(230, 215, 163, 0.8); }
}

.profile-pic {
    animation: sun-glow 3s ease-in-out infinite;
}

/* Efecto de arena en movimiento */
@keyframes sand-drift {
    0% { transform: translateX(0); }
    100% { transform: translateX(10px); }
}

/* Partículas de arena */
.columns::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(1px 1px at 20% 30%, var(--dark-sand), transparent),
        radial-gradient(1px 1px at 40% 70%, var(--sand), transparent),
        radial-gradient(1px 1px at 60% 20%, var(--dark-sand), transparent),
        radial-gradient(1px 1px at 80% 80%, var(--sand), transparent);
    opacity: 0.1;
    pointer-events: none;
    animation: sand-drift 20s linear infinite alternate;
}

ul {
    padding-left: 1.2rem;
    font-size: 0.85rem;
    line-height: 2.1;
}

footer {
    background: linear-gradient(180deg, var(--dark-sand) 0%, var(--sand) 100%);
    color: var(--text-dark);
    text-align: center;
    padding: 1rem 0;
    font-size: 0.8rem;
    border-top: 4px solid var(--cactus-green);
    margin-top: 2rem;
    box-shadow: 0 -4px 8px rgba(0,0,0,0.1);
    text-shadow: 1px 1px 0px rgba(255,255,255,0.5);
}

@media (max-width: 700px) {
    .columns {
        flex-direction: column;
        background: rgba(236, 240, 241, 0.98);
    }
    
    /* Ajustar cactus en móvil */
    body::before {
        height: 150px;
        background: 
            /* Solo algunos cactus más pequeños en móvil */
            url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 30 40"><rect x="11" y="10" width="8" height="25" fill="%2327ae60"/><rect x="3" y="20" width="8" height="10" fill="%2327ae60"/><rect x="19" y="18" width="8" height="12" fill="%2327ae60"/><rect x="11" y="8" width="8" height="4" fill="%2320924c"/><circle cx="15" cy="12" r="1" fill="%23f39c12"/></svg>') no-repeat 15% bottom/25px 35px,
            url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 35 55"><rect x="13" y="12" width="8" height="38" fill="%2327ae60"/><rect x="21" y="22" width="8" height="18" fill="%2327ae60"/><rect x="5" y="28" width="8" height="12" fill="%2327ae60"/><rect x="13" y="10" width="8" height="4" fill="%2320924c"/><circle cx="17" cy="14" r="1.5" fill="%23f39c12"/><circle cx="25" cy="24" r="1" fill="%23f39c12"/></svg>') no-repeat 70% bottom/30px 45px,
            url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 35"><rect x="8" y="8" width="8" height="22" fill="%2327ae60"/><rect x="16" y="15" width="8" height="10" fill="%2327ae60"/><rect x="8" y="6" width="8" height="4" fill="%2320924c"/><circle cx="12" cy="10" r="1" fill="%23f39c12"/></svg>') no-repeat 90% bottom/20px 30px;
    }
    
    header::before,
    header::after {
        display: none;
    }
}
