/* Reset y configuración base */
* {
    margin: 0px auto;
    padding: 0;
    box-sizing: border-box;
}


html, body {
    
    margin: 0px auto;
  padding: 0;
  background: linear-gradient(to right, #000000, #121212, #1a1a1a);
  color: #e0e0e0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(to bottom, #000000, #121212, #1a1a1a);
    color: #f0f0f0;
    line-height: 1.6;
    margin: 0px auto;
    
}

/* Contenedor principal - PANTALLA COMPLETA */
.porta {
    width: 100%;
    min-height: 100vh;
    padding-top: 20px;
    padding-bottom: 60px;
    margin: 0;
    background: linear-gradient(to right, #000000, #121212, #1a1a1a);
   
}


.porta h1 {
    color: #66ccff;
    margin-top: 0px;
}

.porta center {
    color: #a3cbe8;
    margin-top: 0px;
}

/* Header mejorado */
.porta center {
    text-align: center;
    padding: 60px 20px 40px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin: 20px auto 40px auto;
    max-width: 800px;
    position: relative;
    overflow: hidden;
}

.porta center::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #66ccff, #99ddff, #66ccff);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { left: -100%; }
    50% { left: 100%; }
}

.porta center h1, .porta h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: #66ccff;
    text-shadow: 0 0 20px rgba(102, 204, 255, 0.5);
    margin: 0 0 15px 0;
    font-weight: 300;
    letter-spacing: 2px;
    animation: fadeInUp 0.8s ease forwards;
}

.porta center h3 {
    font-size: clamp(1rem, 3vw, 1.3rem);
    color: #a3cbe8;
    font-weight: 400;
    opacity: 0.9;
    margin: 0;
    animation: fadeInUp 0.8s ease 0.2s forwards;
    animation-fill-mode: both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Contenedor de tarjetas mejorado */
.tarjetas {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 25px;
    padding: 40px;
    justify-content: center;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

/* Estilo mejorado de cada tarjeta */
.card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 20px;
    width: 270px;
    max-width: 270px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(8px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    animation: cardFadeIn 0.6s ease forwards;
    opacity: 0;
    transform: translateY(30px);
    margin: 0 auto;
}

.card:nth-child(1) { animation-delay: 0.1s; }
.card:nth-child(2) { animation-delay: 0.2s; }
.card:nth-child(3) { animation-delay: 0.3s; }
.card:nth-child(4) { animation-delay: 0.4s; }
.card:nth-child(5) { animation-delay: 0.5s; }
.card:nth-child(6) { animation-delay: 0.6s; }
.card:nth-child(n+7) { animation-delay: 0.7s; }

@keyframes cardFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #66ccff, #99ddff, #66ccff);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.card:hover::before {
    transform: translateX(0);
}

.card:hover {
    box-shadow: 0 15px 40px rgba(102, 204, 255, 0.2);
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(102, 204, 255, 0.3);
}

/* Imágenes mejoradas */
.card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.card:hover img {
    transform: scale(1.05);
}

/* Título del proyecto - TUS COLORES ORIGINALES */
.card h2, .card h3 {
    margin: 0 0 10px;
    font-size: 1.4em;
    color: #66ccff;
    text-shadow: 0 0 8px #66ccff55;
    font-weight: 500;
    line-height: 1.3;
}

/* Descripción del proyecto - TUS COLORES ORIGINALES */
.card p {
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: 6em;
    color: #cccccc;
    margin-bottom: 20px;
    font-size: 0.95em;
    line-height: 1.5;
}

/* Botón/link - TUS COLORES ORIGINALES */
.card a {
    display: inline-block;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #99ddff;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    align-self: center;
    margin-top: auto;
    font-weight: 500;
    font-size: 0.9em;
    position: relative;
    overflow: hidden;
}

.card a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s;
}

.card a:hover::before {
    left: 100%;
}

.card a:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #99ddff;
    color: #ffffff;
    box-shadow: 0 0 8px #99ddff;
    transform: translateY(-2px);
}

/* Project Detail - TUS COLORES ORIGINALES */
.project-detail {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 40px;
    max-width: 900px;
    margin: 0px auto;
    box-shadow: 0 8px 30px rgba(102, 204, 255, 0.2);
    backdrop-filter: blur(10px);
    color: #cccccc;
    transition: all 0.3s ease;
}

.project-detail:hover{
  box-shadow: 0 12px 40px rgba(102, 204, 255, 0.3);

}

.project-detail h3 {
    font-size: 2em;
    color: #66ccff;
    margin-bottom: 25px;
    text-shadow: 0 0 12px #66ccff55;

}

.project-detail p {
    white-space: pre-line;
    font-size: 1.1em;
    line-height: 1.7;
    margin-bottom: 35px;
    color: #dddddd;

} 

.project-detail .slider {
    width: 100%;
    margin-top: 25px;
    border-radius: 14px;
    box-shadow: 0 0 25px rgba(102, 204, 255, 0.2);
    transition: all 0.3s ease;
}

.project-detail .slider div {
    height: 400px;
    width: 100%;
}

.project-detail .slider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    border-radius: 14px;
    transition: transform 0.3s ease;
}
.project-detail .slider img:hover {
    transform: scale(1.03); 
     
}

.project-detail .btn-futurista {
    display: inline-block;
margin: 30px auto 0 auto;
padding: 14px 28px;
background: linear-gradient(135deg, #66ccff, #1a1a1a);
color: #f0f0f0;
border: 2px solid #66ccff;
border-radius: 30px;
font-weight: bold;
text-decoration: none;
text-transform: uppercase;
box-shadow: 0 0 15px #66ccff88, inset 0 0 6px #66ccff55;
text-align: center;
transition: all 0.3s ease;

}

.project-detail .btn-futurista:hover {
    background: #66ccff;
color: #1a1a1a;
box-shadow: 0 0 25px #99ddff, 0 0 50px #99ddff88;
transform: scale(1.05);

}
/* Botón Futurista - TUS COLORES ORIGINALES */
.btn-futurista {
    display: inline-block;
    padding: 12px 24px;
    background: linear-gradient(135deg, #66ccff, #1a1a1a);
    color: #f0f0f0;
    border: 2px solid #66ccff;
    border-radius: 30px;
    font-weight: bold;
    text-decoration: none;
    text-transform: uppercase;
    box-shadow: 0 0 12px #66ccff88, inset 0 0 5px #66ccff55;
    transition: all 0.3s ease;
    margin: 20px auto;
    text-align: center;
}

.btn-futurista:hover {
    background: #66ccff;
    color: #1a1a1a;
    box-shadow: 0 0 20px #99ddff, 0 0 40px #99ddff88;
    transform: scale(1.05);
}

/* Intro Section - TUS COLORES ORIGINALES */
.intro {
    min-height: 90vh;
    padding: 0 20px 60px;
    background: linear-gradient(to right, #000000, #121212, #1a1a1a);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-direction: column;
    padding-top: 100px;
}/* Contenedor principal - PANTALLA COMPLETA */

/* Intro Section */



.intro-text {
    max-width: 900px;
    padding: 20px;
}

.intro h2 {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: #66ccff;
}

.intro .nombre {
    font-size: 2.8em;
    margin: 0;
    color: #99ddff;
    text-shadow: 0 0 10px #99ddff88;
}

.intro .rol {
    font-size: 1.2em;
    margin: 20px 0;
    color: #cccccc;
    line-height: 1.6;
}

.intro .descripcion {
    max-width: 700px;
    margin: 20px auto;
    font-size: 1.1em;
    line-height: 1.6;
    color: #cccccc;
}

.botones {
    margin-top: 30px;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

/* Sobre Mi Section - TUS COLORES ORIGINALES */
.sobre-mi {
    padding: 100px 20px 80px;
    background: transparent;
    text-align: center;
    color: #cccccc;
}

.sobre-mi-contenido {
    max-width: 1000px;
    margin: auto;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    border-radius: 16px;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
}

.sobre-mi .titulo {
    font-size: 2.4em;
    color: #99ddff;
    margin-bottom: 15px;
}

.sobre-mi .subtitulo {
    font-size: 1.6em;
    color: #66ccff;
    margin-bottom: 10px;
}

.sobre-mi p {
    font-size: 1.1em;
    line-height: 1.7;
    color: #cccccc;
    margin: 15px 0;
}

.sobre-mi-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
    align-items: center;
    padding: 60px;
    background: linear-gradient(to right, #000000, #121212, #1a1a1a);
}

.sobre-mi-texto {
    flex: 1 1 500px;
    color: #f0f0f0;
}

.sobre-mi-texto h1 {
    font-size: 2.5em;
    color: #66ccff;
}

.sobre-mi-texto h2 {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: #66ccff;
    margin-top: 0px;
}

.sobre-mi-imagen {
    flex: 1 1 300px;
    text-align: center;
}

.sobre-mi-imagen img {
    max-width: 100%;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 0 15px rgba(102, 204, 255, 0.5);
}

.skills-list {
    text-align: left;
    max-width: 700px;
    margin: 20px auto;
    padding-left: 20px;
}

.skills-list li {
    list-style: square;
    margin: 8px 0;
    color: #a3cbe8;
}

/* Responsive mejorado */
@media (max-width: 768px) {
    .tarjetas {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 15px;
    }
    
    .card {
        max-width: 100%;
        padding: 20px;
    }
    
    .porta center {
        padding: 40px 15px 30px;
        margin: 15px 15px 30px 15px;
    }
}

@media (max-width: 480px) {
    .card {
        padding: 18px;
    }
    
    .card h2, .card h3 {
        font-size: 1.3em;
    }

    .porta center {
        padding: 30px 15px 25px;
    }
}

