* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: #fff;
  font-family: rubik, Helvetica, sans-serif;
}

h1, h2 {
  font-family: evogria, Impact, 'Arial Narrow Bold', sans-serif;
}

header {
  background-color: #25282a;
}

header .container {
     display: flex; 
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 10px 15px;
    position: relative;
}

.logo {
  display: flex;
  align-items: center;
  gap: 15px;
  height: 50px;
  position: relative;
  z-index: 1;
}

.logo img {
  height: 30px;

}
.social-icons {
  display: flex;
  align-items: center;
  gap: 15px;
  height: 50px;
  position: relative;
  z-index: 1;
}

.social-icons a img {
  height: 24px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 70px;
  z-index: 1;
}
.nav-links a {
  font-family: evogria, Impact, 'Arial Narrow Bold', sans-serif;
  text-decoration: none;
  color: white;
}
#menu-toggle {
  display: none;
}
.menu-icon {
  display: none;
  font-size: 2rem;
  cursor: pointer;
  user-select: none;
  color: white;
  position: absolute;
  right: 20px;
  top: 20px;
  z-index: 2;
}


/* Responsive */
@media (max-width: 750px) {
  .menu-icon {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    right: 20px;
    background: #515454;
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  }

  #menu-toggle:checked + .menu-icon + .nav-links {
    display: flex;
  }

  .nav-links a {
    padding: 10px 0;
  }

  .social-icons {
    justify-content: center;
    margin-top: 10px;
    margin-right: 40px;
    
  }
}





#hero h1 { 
  font-size: 55px;
  color: #515454;
  text-align: center;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 90px auto;
  padding: 0 20px;
}

#hero .logo-texto {
  height: 140px;  
  width: auto;
  vertical-align: middle;
}

#hero p {
  font-size: 25px;
  text-align: justify;        
  text-align-last: center ;
  max-width: 755px;          
  margin: 0 auto 90px;
  line-height: 1.4;          
  margin-bottom: 90px;
}
@media (max-width: 820px) {
  #hero h1 {
    font-size: 36px;
    gap: 6px;
  }

  #hero .logo-texto {
    height: 90px;
  }

  #hero p {
    font-size: 22px;
    padding: 0 20px
  }
}

@media (max-width: 480px) {
  #hero h1 {
    font-size: 26px;
  }

  #hero .logo-texto {
    height: 60px;
  }

  #hero p {
    font-size: 20px;
    padding: 0 25px
  }
}






#sobre-mi {
  position: relative;
  display: flex;
  width: 100%;
  height: auto;
  min-height: 500px;
  background-color: #d1d1d1;
  overflow: hidden;
  flex-wrap: wrap;
  
}
#sobre-mi .texto{
  width: 50%;
  padding: 100px 100px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 2;
}
#sobre-mi .texto h2 {
  font-size: 45px;
  margin-bottom: 20px;
  color: #25282a;
}

#sobre-mi .texto p {
  font-size: 22px;
  line-height: 1.4;
  color: #464646;
  margin-bottom: 60px;
  text-align: justify;
}

button{
    font-family: evogria, Impact, 'Arial Narrow Bold', sans-serif;
    font-size: 26px;
    padding: 15px 15px;
    border-radius: 5px;
    border: none;
    box-shadow: 2px 2px 8px gray;
    color: white;
    background-color: #e9456e;
    transition: background 0.4s;
}
button:hover{
    background-color: #f4da41;
}


#sobre-mi .imagen {
  width: 50vw;
  height: auto;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  border-top-left-radius: 100px;
  border-bottom-left-radius: 100px;
  box-shadow: -2px 0px 16px rgb(44, 44, 44);
}
#sobre-mi .imagen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-top-left-radius: 80px;
  border-bottom-left-radius: 80px;
  
}

@media (max-width: 995px) {
  #sobre-mi {
    flex-direction: column;
    position: static;
  }

  #sobre-mi .texto{
    width: 100%;
    position: static;
    padding: 50px 25px;
  }
  
  #sobre-mi .texto h2{
    font-size: 30px;
  }
  #sobre-mi .texto p{
    font-size: 20px;
  }
  #sobre-mi .imagen {
    position: static;
    height: 800px; /* define el alto mínimo */
    width: 100%;
    overflow: hidden; /* asegura que no haya desbordes si la imagen se sale */
    
  }

  #sobre-mi .imagen img {
    width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center; /* <- CENTRA el recorte de forma proporcional */
  display: block;
  border-radius: 0;
  }
  button{
    font-size: 26px;
  }
}

.container{
    max-width: 1400px;
    margin: auto;
}




.proyectos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 20px;
  max-width: 1480px;
  margin: 0 auto;
  padding: 60px 40px;
}

.img-proyecto {
  aspect-ratio: 4 / 3;
  position: relative;
  overflow: hidden;
  display: block;
  border-radius: 10px;
}

.img-proyecto img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.4s ease;
  border-radius: 10px;
}

/* Imagen base visible */
.img-proyecto img.hover {
  opacity: 0;
}

/* Al hacer hover, aparece la imagen secundaria */
.img-proyecto:hover img.hover {
  opacity: 1;
}

.img-proyecto:hover img.normal {
  opacity: 0;
  transform: scale(1.03);
}





footer {
  background-color: #25282a;
  color: white;
  padding: 40px 20px;
  font-family: sans-serif;
}

footer a {
  color: inherit;
  text-decoration: none;
  margin-right: 20px;
}

.footer-top,
.footer-middle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
  gap: 20px;
}

.logo-correo {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 1;
}

.logo-correo img {
  height: 50px;
  width: auto;
}

.navg-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: flex-end;
  flex: 2;
  font-family: evogria, Impact, 'Arial Narrow Bold', sans-serif;
}

.footer-middle {
  border-top: 1px solid #444;
  padding-top: 20px;
}

.legales {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  flex: 1;
}

.social-itons {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
  flex: 1;
}

.social-itons img {
  height: 30px;
  width: 30px;
}

.footer-bottom {
  text-align: center;
  font-size: 14px;
  border-top: 1px solid #444;
  padding-top: 20px;
}

/* Responsive ajustes */
@media (max-width: 768px) {
  .footer-top,
  .footer-middle {
    flex-direction: column;
    align-items: flex-start;
  }

  .navg-links {
    justify-content: flex-start;
  }

  .social-icons {
    justify-content: flex-start;
  }

  .logo-correo {
    flex-direction: column;
    align-items: flex-start;
  }

}

  

 .yo {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  padding: 100px 100px;
  gap: 100px;
}

.slider {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.slider .slide {
  display: none;
  width: 90%;
  height: auto;
  max-height: 600px;
  border-radius: 50px;
  object-fit: cover;
}

.slider .slide.active {
  display: block;
}

/* Contenedor interno para posicionar flechas junto a la imagen */
.slider-inner {
  position: relative;
  width: 90%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.slider button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #e9456e;
  color:white;
  border: none;
  font-size: 2rem;
  padding: 10px 15px;
  cursor: pointer;
  z-index: 2;
  border-radius: 10px;
}

.slider button.prev {
  left: -10px;
}

.slider button.next {
  right: -10px;
}

@media (max-width: 768px) {
  .slider button {
    font-size: 1.5rem;
    padding: 8px 12px;
  }
}

.slider img {
  max-width: 90%;
  height: auto;
  border-radius: 50px;
  object-fit: cover;
  max-height: 600px;
}

.text2 {
  flex: 1 1 400px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: justify;
}

.text2 p {
  font-size: 25px;
  font-weight: 600;
  line-height: 1.6;
  max-width: 600px;
}

@media (max-width: 1191px) {
  .text2 p {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.6;
  max-width: 600px;
}
 .yo {
  padding: 70px 70px;

}

}

@media (max-width: 768px) {
  .yo {
    flex-direction: column;
    padding: 30px 30px;
    gap: 10px; 
  }

  .slider, .texto-2 {
    width: 100%;
  }

  .slider img {
    max-height: none;
    width: 100%;
    height: auto;
  }
}



.anima {
  background-color: #4e5356;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 80px 40px;
  gap: 40px;
  color: white;
}

.trabajemos {
  flex: 1 1 500px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: justify;
  align-items: center; 
}
.trabajemos p{
  font-size: 23px;
  font-weight: 400;
  line-height: 1.4;
  max-width: 650px;
}
.trabajemos h1 {
  color: #6bc2c3;
  font-size: 46px;
  font-weight: 400;
  margin-bottom: 20px;
  text-align: left;
}

.trabajemos .correo {
  color: #f3d941;
  font-weight: bold;
}

.trabajemos video {
  margin: 30px auto 0 auto; 
  width: 100%;
  max-width: 255px;
  border-radius: 30px;
   display: block;
}

.info {
  flex: 1 1 400px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.info form {
  width: 100%;
  max-width: 500px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  font-size: 24px;
}

.info input[type="text"],
.info input[type="email"] {
  padding: 12px;
  border-radius: 7px;
  border: none;
  font-size: 16px;
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 18px;
  font-weight: 200;
}

.link-politica {
  color: #6bc2c3;
  font-weight: bold;
  text-decoration: none;
}

.link-politica:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .trabajemos p{
  font-size: 20px;

}
}

.contacto-principal {
  background-color: #4e5356;
  color: white;
  padding: 80px 40px;
  display: flex;
  justify-content: center;
}

.contenedor-contacto {
  max-width: 800px;
  text-align: center;
}

.contenedor-contacto h1 {
  font-size: 48px;
  color: #6bc2c3;
  margin-bottom: 30px;
  font-weight: 500;
}

.contenedor-contacto .intro {
  font-size: 22px;
  line-height: 1.6;
  text-align: justify;
  margin-bottom: 40px;
}

.info-contacto p {
  font-size: 20px;
  margin: 8px 0;
}

.correo {
  font-weight: bold;
  color: #f3d941;
}

.redes-contacto {
  margin: 30px 0;
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
}

.redes-contacto img {
  width: 40px;
  height: 40px;
  transition: transform 0.3s;
}

.redes-contacto img:hover {
  transform: scale(1.1);
}

.mensaje-final {
  font-size: 25px;
  font-weight: 500;
  margin-top: 40px;
  color: #e9456e;;
}
.ggfin {

  width: 100%;
  max-width: 500px;
  border-radius: 20px;
}

.legal {
  background-color: white;
  color: #25282a;
  padding: 80px 30px;
  font-family: Arial, sans-serif;
}

.contenedor-legal {
  max-width: 900px;
  margin: auto;
}

.contenedor-legal h1 {
  font-size: 36px;
  color: #6bc2c3;
  margin-bottom: 20px;
}

.contenedor-legal h2 {
  font-size: 26px;
  color: #4e5356;
  margin-top: 40px;
  margin-bottom: 10px;
}

.contenedor-legal p {
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 15px;
}

.contenedor-legal ul {
  padding-left: 20px;
  margin-bottom: 20px;
}

.contenedor-legal li {
  font-size: 18px;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .contenedor-legal {
    padding: 0 15px;
  }

  .contenedor-legal h1 {
    font-size: 28px;
  }

  .contenedor-legal h2 {
    font-size: 22px;
  }

  .contenedor-legal p,
  .contenedor-legal li {
    font-size: 16px;
  }
}


.no-disponible {
  background-color: #e1e1e1;
  color: #333;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 100px 30px;
  text-align: center;
  min-height: 60vh;
}

.contenedor-no-disponible {
  max-width: 700px;
}

.no-disponible h1 {
  font-size: 56px;
  color: #e9456e;
  margin-bottom: 20px;
  font-family: evogria, Impact, 'Arial Narrow Bold', sans-serif;
}

.no-disponible p {
  font-size: 22px;
  margin-bottom: 30px;
  font-weight: 400;
  line-height: 1.5;
}

.btn-regresar {
  font-family: evogria, Impact, 'Arial Narrow Bold', sans-serif;
  font-size: 20px;
  padding: 12px 20px;
  border-radius: 5px;
  text-decoration: none;
  color: white;
  background-color: #e9456e;
  box-shadow: 2px 2px 8px gray;
  transition: background 0.3s ease;
}

.btn-regresar:hover {
  background-color: #f4da41;
  color: #000;
}