﻿/* Importar Roboto desde Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root{
    --main-color: #272727;
    --secondary-color: #888;
    --text-color: #d3d3d3;
    --highlight-color:#dbb81e;
    --white-color: #ffffff;
    --nuevo-color: #B9BCF1;
}
  
body {
    font-family: 'Roboto', sans-serif;
    overflow-x: hidden;
}



nav {
    width: 100%;
    max-width: 1520px;
    margin: auto;
    padding: 2em;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    
}


.logo img {
    max-width: 310px;
    width: 100%;
    height: auto;
}

.menu {
    list-style: none;
    display: flex;
    gap: 2em;
}

.menu li a {
    text-decoration: none;
    color: var(--secondary-color);
    font-weight: 400;
    font-size: 1rem;
    
}

.menu li a:hover,
.menu li a:focus,
.menu li a:active {
    font-weight:bold ;
    color: var(--highlight-color);
    border-bottom: 2px solid var(--highlight-color);
}

.menu-toggle,
.menu__hamburguesa {
    display: none;
}

 .menu-toggle {
    cursor: pointer;
    z-index: 100;
    background: none;
    border: none;
    color:var(--main-color);
    }

.menu__hamburguesa {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color:var(--white-color); 
    padding: 2em;
    transition: right 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 50;
    overflow: hidden;
}

.menu__hamburguesa.open {
    right: 0;
}

.menu__hamburguesa ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 2em;
    align-items: center;
}



.menu__hamburguesa a {
     text-decoration: none;
    color: var(--secondary-color);
    font-weight: 400;
    font-size: 1.5rem;
    transition: color 0.2s ease-in-out;
}

.menu__hamburguesa a:hover {
    font-weight:bold ;
    color: var(--highlight-color);
    border-bottom: 2px solid var(--highlight-color);
}



/* Sección principal */
.section_one{
    display: flex;
    justify-content: space-between;
    margin: auto;
    flex-direction: row;
    align-items: center;
    padding: 3em ;
   height: 100vh;
    max-width: 1520px;
    width: 100%;
    
}

.introduction {
    max-width: 50%;
    
}

.introduction h1 {
    font-size: 10rem;
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    font-weight: 300;
    line-height: 0.85;
    color: var(--main-color);
}

.introduction p {
    margin: 2em 0rem;
    font-size: 1.1rem;
    font-weight: 0;
    color:var(--secondary-color);
    max-width: 450px;
}

.memoji img {
    margin: 0 0 10em 0;
    max-width: 350px;
    width: 100%;
    
    
}

/*works*/

.section_two {
    position: relative;
    display: flex;
    align-items: stretch;
    max-width: 100vw;
    width: 100%;
    height: 100vh;
    margin-bottom: 5em;
    background-image:url(../img/01.png);
    background-position: center;
    background-size:cover;
    background-repeat: no-repeat;
    color:var(--white-color);
    
}
.section_three{
    position: relative;
    display: flex;
    align-items: stretch;
    max-width: 100vw;
    width: 100%;
    height: 100vh;
    margin-bottom: 5em;
    background-image:url(../img/02.png);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    color:var(--white-color);
}

.section_four{
    position: relative;
    display: flex;
    align-items: stretch;
    max-width: 100vw;
    width: 100%;
    height: 100vh;
    background-image:url(../img/03.png);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    color:var(--white-color);
}

.section_five {
    position: relative;
    display: flex;
    align-items: stretch;
    max-width: 100vw;
    width: 100%;
    height: 100vh;
    margin-bottom: 5em;
    background-image:url(../img/sf.png);
    background-position: center;
    background-size:cover;
    background-repeat: no-repeat;
    color:var(--white-color);

}


.sissy, .auralis,
.tura, .fleet {
    width: 50%;
    background-color: #38425FCC; /* black with 50% opacity */
    display: flex;
    align-items: center;
    padding: 60px;
}

.work__text {
    max-width: 500px;
    display: flex;
    flex-direction: column;
    margin: auto;
    justify-content: center;
    align-items:start;
}

.work__text span {
    font-size: 4rem;
    font-weight: 200;
    color:var(--nuevo-color);
    display: block;
    margin: 0.5em 0em;
}

.work__text h2 {
    font-size: 5rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.work__text p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    color: var(--text-color);
}

.work__text a {
    display: inline-block;
    padding: 10px 20px;
    border: 1px solid var(--white-color);
    color:var(--white-color);
    border-radius: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.work__text a:hover {
    background: var(--white-color);
    color:var(--secondary-color);
}
 /* Content Blocks */
  .index__block {
    max-width: 1450px;
    margin: 10em auto;
    display: flex;
    padding: 1em;
    flex-direction: row;
    justify-content: space-between;
    
  }

  
  .index__info{
    max-width: 600px;
    display: flex;
    flex-direction: column;
    gap: 1em;

    & h3{
    font-size: 1.5rem;
    font-weight: 400;
    color:var(--main-color);

    }
    & p{
        margin-bottom: 1em;
    }
    & ul{
        padding: 1em;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 0.5em;
        list-style: none;
        
    }
    & li{
        font-size: 1.3rem;
        gap: .5em;
        color: var(--secondary-color);
        line-height: 1.2;
        max-width: 1000px;
        padding: .3em;
        border-radius: 15px;
        list-style-type: disc;
        
    }

    & .process__list li{
        display: flex;
        color: var(--highlight-color);
        background-color: transparent;
        font-weight:bolder;
        font-size: 1.3rem;

    }

    
  }
  
  .index__title h3 {
    font-size: 2rem;
    font-weight: 400;
    color:var(--main-color);
  }
  
  .index__info p {
    font-size: 1.3rem;
    color: var(--secondary-color);
    
  }
  .process__block{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: end;
  }
  .process__sissy {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(800px, 1fr));
    gap: 1.5rem;
    flex-wrap: wrap;
    
    max-width: 1600px;
    width: 100%;
    margin: 0 auto;
  }
  
  .process__sissy-uno {
    width: 100%;
    height: auto;
    border-radius: 1rem;
    object-fit: cover;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  }

  .system__sissy{
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    width: 100%;
  
  }

  .system__sissy-uno{
    width: 110%;
    height: auto;
    border-radius: 1rem;
    object-fit: cover;
    margin: auto;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    }

    .error_block {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        padding: 2rem;
        box-sizing: border-box;
        
    }
    
    .error_block img {
        max-width: 100%;
        height: auto;
        
    }

    .loader {
        width:90px;
        height:90px;
        display:flex;
        justify-content:center;
        align-items:center;
        margin-top: 3em;
        }
        
        .loader svg {
        width:100%;
        height:100%;
        animation:spin 2s linear infinite;
        color: var(--orange-color);
    
        
        }
        
        @keyframes spin {
        from {
        transform:rotate(0deg)
        }
        
        to {
        transform:rotate(360deg)
        }
        }
  /* Responsive Styles */
  @media (max-width: 768px) {
    .banner__sissy, .banner__nova{
        min-height: 250px;
        
    }

    .project__caract {
      flex-direction: column;
      gap: 1rem;
    }
  
    .project__tittle h1 {
      font-size: 3rem;
    }
    .project__tittle h2 {
        font-size: 1.5rem;
      }
  
    .index__title h3 {
      font-size: 1.55rem;
    }
    .project__info span{
        font-size: 1rem;
    }

    .index__block{
        display: flex;
        flex-direction: column;
        gap: 1em;
        margin: auto;
    }
  
    .index__info p {
      font-size: 0.95rem;
    }

    .index__info li{
        font-size: 0.95rem;
    }

    .process__sissy {
        grid-template-columns: 1fr;
      }
  }
  
  /* ===== About Me Section General ===== */
.about-section {
    font-family: 'Inter', sans-serif;
    color: var(--main-color);
  }
  
  .about-container {
    max-width: 1520px;
    padding: 3em;
    margin: auto;
  }
  
  /* ===== Header Section ===== */
  .about-header {
    display: flex;
    flex-wrap: wrap;
    gap: 3em;
    align-items: center;
    margin-bottom: 8em;
  }
  
  .about-text {
    flex: 1 1 500px;
  }
  
  .about-headline {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.2rem;
    color: #111;
    line-height: 1.2;
  }
  
  .about-intro {
    font-size: 1.125rem;
    color: #444;
    line-height: 1.6;
    margin: 2em 0;
  }
  
  .about-image {
    flex: 1 1 300px;
    text-align: center;
  }
  
  .about-image img {
    max-width: 100%;
    border-radius: 16px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  }
  
  /* ===== Block Sections (EDUCATION, SKILLS...) ===== */
  .info-block {
    margin-bottom: 4rem;
  }
  
  .block-title {
    font-size: 0.875rem;
    color: #777;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin-bottom: 1.2rem;
  }
  
  /* Lista tipo core values */
  .block-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
  }
  
  .block-list li {
    font-size: 1.35rem;
    font-weight: 600;
    color: #111;
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    margin-bottom: 1.1rem;
  }
  
  .bullet {
    font-size: 1.7rem;
    color: #111;
    line-height: 1;
    font-weight: bold;
  }

.desktop-section{
  margin: 4em 0;
}

.desktop-section h3 {
  font-size: 0.875rem;
    color: #777;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin-bottom: 1.2rem;
}

.desktop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(60px, 1fr));
  gap: 1.5rem;
  align-items: center;
  justify-items: center;
}

.desktop-grid img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  transition: transform 0.2s ease;
}

.desktop-grid img:hover {
  transform: scale(1.1);
}

  
  /* Responsive */
  @media (max-width: 768px) {
    .about-header {
      flex-direction: column;
      text-align: center;
    }
    .about-intro{
        text-align: left;
    }
  
    .about-headline {
      font-size: 2rem;
    }
  
    .about-image img {
      max-width: 250px;
    }
  }
  /* === Fun Fact Section (Dog Photo) === */
  .fun-fact {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin: 2em ;
    padding: 1em;
    
  }
  
  .fun-fact img {
    width: 180px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.1);
    margin-bottom: 0.8rem;
  }
  
  .fun-fact p {
    font-size: 1rem;
    font-weight: 500;
    color: #444;
    text-align: center;
    max-width: 220px;
    line-height: 1.4;
  }
  
  .fun-fact .emoji {
    font-weight: normal;
    color: #666;
    font-style: italic;
  }
  
  /* Responsive: center on small screens */
  @media (max-width: 768px) {
    .fun-fact {
      align-items: center;
      text-align: center;
    }
  
    .fun-fact p {
      text-align: center;
    }
  }
  
  .scrolling-text-wrapper {
    overflow: hidden;
    width: 100%;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    background-color: #fff;
    padding: 0.5rem 0;
    box-sizing: border-box;
  }
  
  .scrolling-track {
    display: flex;
    width: max-content;
    animation: scroll-left 30s linear infinite;
  }
  
  .scrolling-track span {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    color: #111;
    white-space: nowrap;
    padding-right: 4rem;
  }
    
  @keyframes scroll-left {
    0% {
      transform: translateX(0%);
    }
    100% {
      transform: translateX(-50%);
    }
  }
  

/*footer*/
footer {
  
  padding: 2rem 1rem;
  text-align: center;
  
  
}

.footer_block {
  max-width: 1520px;
  margin:  auto;
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 1em;
}



.footer_block span:first-of-type {
  font-size: 1.5rem;
  color: var(--secondary-color);
}

.contact_links {
  display: flex;
  gap: 2em;
  margin: 1em 0;
  font-size: 1rem;
  
  
  
  
}

.contact_links a {
  text-decoration: none;
  color: var(--secondary-color);
  font-weight: 500;
  border-bottom: 2px solid var(--secondary-color);
  
}

.contact_links a:hover {
    border-bottom: 2px solid var(--highlight-color);
  color: var(--highlight-color);
}

.contact_links a:hover::after {
  width: 100%;
}

.last_span {
  font-size: 0.8rem;
  color: var(--secondary-color);
}



/* Responsive para móviles */
@media (max-width: 780px) {


    .section_one{
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        padding: 1.5em;
        
    }

    .introduction {
        max-width: 100%;
    }

    .introduction h1 {
        font-size: 5rem;
    }

    .memoji img{
        width: 60%;
        margin: 0 0 0 1em;
        
    }

  .menu {
        display: none;
    }

    .menu-toggle {
        display: block;
        cursor: pointer;
        font-size: 1.5rem;
    }

    .section_two, .section_three, .section_four, .section_five {
        flex-direction: column;
        justify-content: center;

    }

    .sissy, .auralis, .tura, .fleet {
        width: 100%;
        padding: 40px 20px;
    }

    .work__text {
        align-items: center;
        text-align: center;
    }

    .work__text h2 {
        font-size: 3rem;
    }

    .work__text span {
        font-size: 3rem;
    }

    .work__text p {
        font-size: 0.95rem;
    }

    .work__text h2 {
        font-size: 2.2rem;
    }


    .work__text p {
        font-size: 0.9rem;
    }

    .work__text a {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
    .footer_block{
        justify-content: center;
        align-items: center;
    }
    .footer_block span:first-of-type {
        font-size: 1.1rem;
    }
  
  .banner__sissy, .banner__nova{
    height: auto;
  }

   
}



/*PROJECTS CSS*/

  /* Banner */
  .banner__sissy{
        max-width: 1450px;
        margin: auto;
        width: 100%;
        aspect-ratio: 16 / 9;
        background-image: url(../img/frs.png);
        background-size:cover;
        background-position: center;
        background-repeat: no-repeat;
        border-radius: 15px;
        padding: 1em;
      
  } 

  .banner__nova{
        max-width: 1450px;
        margin: auto;
        width: 100%;
        aspect-ratio: 16 / 9;
        background-image: url(../img/as.png);
        background-size:cover;
        background-position: center;
        background-repeat: no-repeat;
        border-radius: 15px;
        padding: 1em;
  }

  .banner__tura{
     max-width: 1450px;
        margin: auto;
        width: 100%;
        aspect-ratio: 16 / 9;
        background-image: url(../img/tr.png);
        background-size:cover;
        background-position: center;
        background-repeat: no-repeat;
        border-radius: 15px;
        padding: 1em;
  }

.banner__sf{
    max-width: 1450px;
    margin: auto;
    width: 100%;
    aspect-ratio: 16 / 9;
    background-image: url(../img/sf.png);
    background-size:cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 15px;
    padding: 1em;
}
 
  
  /* Section Title */
  .project__block {
    
    padding: 1em;
    max-width: 1450px;
    width: 100%;
    margin: auto;
  }
  
  .project__tittle h1 {
    font-size: 4rem;
    font-weight: 300;
    margin: 0.5em auto;
    text-align: left;
  }
  
  .project__caract {
    display: flex;
    flex-wrap: wrap;
    gap: 5em;
    
    justify-content: flex-start;
  }
  
  .project__info h2 {
    font-size: 2.5rem;
    font-weight: 300;
    color:var(--secondary-color);
    margin-bottom: 0.25rem;
  }
  
  .project__info span {
    font-size: 1.2rem;
    color:var(--secondary-color);
    
  }


  
  
 