
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

body{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Montserrat", sans-serif;
}

    
a{
    text-decoration: none;
    color: black;
    font-family: sans-serif;
    font-size: 1.25rem;
    line-height: 1.75rem;
    font-weight: 600 ;
}


p{
    text-align: justify;
    font-family: sans-serif;
    color: #4b5563;
    margin: 0;
}

.text-medium{
    font-size: 1.35rem;
}

h1{
    font-family: sans-serif;
    font-size: 3.75rem;
    line-height: 1;
    font-weight: 700;
    
}

h2{
    font-size: 2.25rem;
    font-family: sans-serif;
    line-height: 2.5rem;
    font-weight: 700;
}

h3{
    font-family: sans-serif;
    font-size: 1.25rem;
    line-height: 1.75rem;
    font-weight: 600 ;
    margin: 0
}

label{
    font-family: sans-serif;
    color: #4b5563;
    font-size: 1rem;
    line-height: 1.25rem;
}

input{
    border-radius: 0.3rem;
    padding: 0.75rem;
    font-family: sans-serif;
    border-width: 2px;
    border-style: solid;
    border-color: #d1d5db;
    font-size: 0.9rem;
}

textarea{
    border-radius: 0.3rem;
    padding-top: 0.75rem;
    padding-left: 0.75rem;
    font-family: sans-serif;
    border-width: 2px;
    border-style: solid;
    border-color: #d1d5db;
    font-size: 0.9rem;
}

.page-header{

    display: flex;
    flex-direction: row;
    justify-content: space-between;
    position: fixed;
    top:0;
    left: 0;
    width: 100%;
    background-color:white;
}

.page-header a{
    color: #0070f3; 
    padding-left: 2rem;
    font-size: 1.25rem;
    line-height: 1.75rem;
    font-weight: 600 ;
}

footer{
    display: flex; 
    flex-direction: row; 
    align-items: center; 
    justify-content: space-between; 
    padding: 1rem 3rem;
}

.navigation{
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    padding-right: 2rem;
    gap:1rem;
    font-size: 1.5em;
    font-weight: bold;
    
    
}

.home-banner{
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    padding: 6rem 10rem;
    gap:2rem;
    background-color: #EAF1FA;
}

img{
    max-width: 100%;
}

.home-banner-text{
    display:flex;
    flex-direction: column;
    justify-content: center; 
    max-width: 50%;
    gap:1rem
}

.what-i-do{
    display: flex; 
    flex-direction: column; 
    align-items: center;
}
.text-button{
    display: flex;
    flex-direction: row;
    justify-content: space-between; 
    align-items: center;
    gap:1rem;
}

.card{
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
    transition: 0.3s;
    padding: 1rem;
    border-radius: 0.5rem;
}

.card-grid-main{
    display: grid;
    grid-template-columns: repeat(3,1fr);
    grid-template-rows: repeat(1,1fr);
    gap:8px;
    gap: 4rem;
    padding: 1rem 3rem;
}

.xs-tool{
    border-radius: 0.25rem;
    color: rgb(0 92 196);
    background-color: rgb(230 241 255);
    font-size: 0.75rem;
    line-height: 1rem; 
    padding: 0.25rem;

}

.role-card{
    display:flex;
    flex-direction: column;
    gap: 1rem;
}

.project-card-main{
    display: flex; 
    gap: 1rem;
    max-height: 320px;
    margin: 2rem;
}



.contact-me-card-main{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap:1rem;
    border-radius: 0.5rem;
    margin: 5rem 10rem;
    background-color:  #0070f3;
    padding: 2rem;
    text-align: center;

}

.button-div{
    gap: 1rem;
}
.title-subtitle{
    display:flex;
    flex-direction: column;
    align-items:  center;
    
}

.icon-title{
    display: flex;
    flex-direction: row; 
    align-items: center;
    gap:0.75rem;
}
.card-grid-education{
    display: flex;
    flex-direction: row;
    justify-content: center;
    
    
}

.card-list-education{
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 0 5rem;
    
}

.card-education{
    min-width: 120vh;
    
}

.card-tool{
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: white;

}

.card-grid-tool{
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap:2rem;
}

.teck-stack-section{
    display: flex;
    flex-direction: column;
    padding: 0rem 5rem;
}

.banner-projects{
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #EAF1FA;
    padding: 5rem;
}

.card-projects{
    display: flex;
    flex-direction: column;
    gap:1rem;
    
}

.projects-grid{
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)); 
    gap:2rem; 
    padding: 5rem 4rem;
    background-color: #F9FAFB;
}

.contact-banner{
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 3rem;
    background-color: #EAF1FA;
}

.contact-form{
    display: flex;
    flex-direction: column;
    gap:1rem;
}

.label-input{
    display: flex;
    flex-direction: column;
    gap:0.5rem
}

.contact-body{
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap:2rem;
    padding: 2rem;
    background-color: #F9FAFB;
}

.contact-info-element{
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
}

.card-contact-form{
    grid-row: 1; 
    align-self: start; 
    height: fit-content;
    padding: 2rem;
    
}
.contact-link{
    display: flex;
    flex-direction: row;
    gap: 2rem;
    padding-left: 1rem;
    padding-bottom: 2rem;
}

.icon-card{
    max-width: fit-content;
    background-color: #ebf4ff;
    padding: 1rem 0.5rem;
}

.skills-banner{
    padding: 2rem 0rem;
    background-color: #F9FAFB;
}

.featured-projects{
    padding: 1.25rem;
    background-color: #F3F4F6;
}

.contact-me-card{
    background-color: #F9FAFB;
    padding: 3rem 0rem;
}

.btn{
    cursor: pointer;
    text-align: center;
    width: fit-content;
    padding: 0.6rem 1rem;
    border-radius: 0.5rem;
}
.btn-secondary{
    cursor: pointer;
    text-align: center;
    width: fit-content;
    padding: 0.1rem 0.8rem;
    border-radius: 1rem;
}
.button-blue{
    background-color: #0070f3;
    color: white;
}
.button-secondary-blue{
    background-color: #0071f348;
    color: #0070f3;
}
.button-transparent{
    border: 2px solid #d1d5db;
}
.button-secondary-yellow{
    background-color: #ebf30048;
    color: rgb(217 119 6);
}
.button-light-blue{
    background-color: #78adfd;
    color: white;
}

.education-banner{
    background-color: #F9FAFB;
    padding-bottom: 4rem;
}

.tech-stack-banner{
    background-color: #F3F4F6;
    padding-bottom: 4rem;
}

#contactBtn{
    max-width: fit-content;
}

.looking-card{
    background-color: #EAF1FA;
    padding: 1rem;
    border-radius: 0.5rem;
}

/*-------------------------------------------PROJECT PAGE (Mobile first) -------------------------------*/

.project section{
    padding: 1.8rem 1rem;  
}

.project-header {
    position: relative;   
    padding-bottom: 2rem; 
    background-color: white;
}

.project-header::after {
    content: "";          
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;          
    height: 1px;          
    background-color: #e0e0e0; 
    opacity: 0.6;        
}

.back-button{
    color: grey;
    font-weight: 200;
}
.project-type{
    display: flex;
    gap: 1rem;
    margin: 1rem 0rem;
}
.project-header-links{
    display: flex;
    gap: 2rem;
    margin: 2rem 0;
}


.project-body{
    background-color: #F9FAFB;
}

/*------------------carousel------------------*/
.project-gallery{
    margin: 3rem 0;

}
#sync1{
    margin-bottom: 2rem;
}
/* Para que las fotos del carrusel grande tengan esa forma */
#sync1 .item img {
    border-radius: 15px;
    object-fit: cover;
    height: 400px; 
}

/* Para resaltar la miniatura activa */
#sync2 .item {
    cursor: pointer;
    opacity: 0.5;
    transition: 0.3s;
}

#sync2 .current .item {
    opacity: 1; 
    border: 2px solid #007bff;
    border-radius: 8px;
}
/* Contenedor de las flechas */
#sync1 .owl-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    pointer-events: none; /* Para que no bloquee el click en la imagen */
}

#sync1 .owl-nav button.owl-prev, 
#sync1 .owl-nav button.owl-next {
    background: white !important; /* Fondo blanco */
    color: black !important;     /* Flecha negra */
    width: 40px;
    height: 40px;
    border-radius: 50% !important; /* Círculo perfecto */
    box-shadow: 0 4px 10px rgba(0,0,0,0.2); /* Sombra suave */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px !important;
    margin: 0 10px;
    pointer-events: auto; /* Reactivamos el click en el botón */
    transition: all 0.3s ease;
}

/* Efecto al pasar el mouse */
#sync1 .owl-nav button:hover {
    background: #f0f0f0 !important;
    transform: scale(1.1);
}

#sync1 .owl-nav button:focus {
    outline: none;
}

#sync1 .owl-nav button span{
    font-size: 2rem;
}

/*----------------------Key Features ---------------*/
.project-keyfeatures ul {
    display: grid;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 15px;    
}

.project-keyfeatures li {
    background: #FFFFFF;
    border: 1px solid #edf2f7;
    border-radius: 8px;
    padding: 20px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.project-keyfeatures li i {
    color: #2ecc71; /* Color verde del check */
    margin-top: 4px;
}

/*---------------VIDEO-------------------*/
.project-video {
    width: 100%;
    margin-bottom: 2rem;
}

.video-container {
    position: relative;
    width: 100%;
    /* Truco: 56.25% es la proporción exacta de 16:9 (9 / 16 * 100) */
    padding-bottom: 56.25%; 
    height: 0;
    overflow: hidden;
    border-radius: 12px; /* Para que combine con tus Key Features */
    background: #000;    /* Fondo negro mientras carga */
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/*Proejct Side bar(Mobile firts)*/

.project-sidebar{
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/*Tech use */

.project-tech{
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.project-tech-title{
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.project-tech-used{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    border-radius: 0.25rem;
}
.tech-badge{
    border-radius: 0.25rem;
    background-color: #F3F4F6; 
    padding: 0.25rem;
    text-align: center;
    font-weight: 500;
}

.project-info{
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.project-info-item a{
    color: #0070f3
}

.call-action{
    display: flex;
    flex-direction: column;
    background-color: #E6F1FF;
    gap: 1rem;
}

.call-action p{
    color: #1E5AA1 ;
}

.call-action a{
    width: 80%;
    text-align: center;
    
}
/*-------------------------------------------END PROJECT PAGE -------------------------------*/

