body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    color: white;
}
html, body {
  width: 100%;
  overflow-x: hidden;
}

.redes-sociales a {
    display: inline-block;
    margin-right: 15px;
    color: white;
    font-size: 18px;
    transition: color 0.3s ease;
}

.redes-sociales a i {
    margin-right: 8px;
}

.redes-sociales a:hover {
    color: #ff4f87; /* O el color que prefieras */
}

.fondo {
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('../imagenes/persona.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    height: 100vh;
    mask-image: linear-gradient(white 70%, transparent);
    -webkit-mask-image: linear-gradient(white 70%, transparent);
    position: relative;
    padding: 0 5%;
}

.contenido {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    place-items: center;
    height: 100%;
    padding-top: 60px;
    padding-bottom: 40px;
    position: relative;
    z-index: 1;
    color: black;
}

.info-izquierda {
    max-width: 400px;
}

.info-derecha{
  margin-left: 750px;
}

.disponible {
    background-color: #2f2f2f;
    display: inline-block;
    padding: 5px 10px;
    border-radius: 8px;
    font-size: 12px;
    margin-bottom: 10px;
    color: white;
}

h2 {
    font-size: 24px;
    font-weight: 600;
    margin: 10px 0;
}

.descripcion {
    font-size: 14px;
    font-weight: 300;
    line-height: 1.6;
    margin-bottom: 20px;
}

.boton {
    display: inline-block;
    background-color: #2f2f2f;
    color: white;
    padding: 10px 18px;
    border-radius: 20px;
    font-weight: 500;
    text-decoration: none;
    transition: 0.3s;
}

.boton:hover {
    background-color: #e85f30;
    color: black;
}

.nombre {
    font-size: 150px;
    font-weight: 700;
    letter-spacing: 20px;
    margin: 0;
    position: absolute;
    bottom: 40px;
    left: 25%;
    z-index: 0;
    color: black;
}
.presentacion {
  background-color: #121212;
  color: white;
  padding: 80px 10%;
  display: flex;
  justify-content: right;
}

.presentacion-contenido {
  max-width: 800px;
  text-align: left;
}

.presentacion h2 {
  font-size: 36px;
  font-weight: 200;
  margin-bottom: 24px;
  line-height: 1.3;
}

.presentacion p {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.6;
  margin-bottom: 32px;
}

.presentacion .boton {
  background-color: #ff7143;
  color: white;
  padding: 12px 24px;
  border-radius: 24px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.presentacion .boton:hover {
  background-color: #e85f30;
}

.carrusel-portafolio {
  padding: 60px 5%;
  background-color: #111;
  color: white;
}

.carrusel-portafolio h2 {
  font-size: 28px;
  margin-bottom: 20px;
}

.carrusel-contenedor {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 10px;
}

.carrusel-item {
  flex: 0 0 auto;
  scroll-snap-align: center;
  border-radius: 16px;
  overflow: hidden;
  width: 220px;
  height: 300px;
  background-color: #222;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

.carrusel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


.footer-contacto {
  background-color: #0f0f0f;
  color: #f0f0f0;
  padding: 60px 10% 40px;
  text-align: center;
}

.footer-contacto h3 {
  font-size: 24px;
  margin-bottom: 10px;
}

.footer-contacto p {
  font-size: 14px;
  font-weight: 300;
  margin: 10px 0;
}

.info-contacto {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  font-size: 14px;
}

.info-contacto li {
  margin: 6px 0;
}

.redes-sociales {
  margin: 20px 0;
}

.redes-sociales a {
  color: #ff7143;
  margin: 0 12px;
  text-decoration: none;
  font-weight: 500;
}

.redes-sociales a:hover {
  color: #e85f30;
}

.copy {
  font-size: 12px;
  margin-top: 30px;
  color: #888;
}



@media screen and (max-width: 1024px) {
  .contenido {
    flex-direction: column;
    text-align: center;
    justify-content: flex-start;
    gap: 20px;
    padding-top: 250px; /* 🔽 Mueve el texto mucho más abajo */
  }

  .info-izquierda{
    margin-top: -100px;;
  }
  .info-derecha {
    margin-top: 110%;
  }

  .nombre {
    font-size: 60px;
    bottom: 150px;  /* 🔼 Sube un poco “DOMINIC” para que no quede tan abajo */
    left: 50%;
    transform: translateX(-50%);
  }

  .presentacion {
    padding: 60px 6%;
    justify-content: center;
  }

  .presentacion h2 {
    font-size: 28px;
  }

  .presentacion p {
    font-size: 14px;
  }

  .presentacion-contenido {
    text-align: center;
  }

  .carrusel-portafolio h2 {
    text-align: center;
  }

  .carrusel-contenedor {
    justify-content: center;
  }
}

@media screen and (max-width: 600px) {
  .fondo {
    padding: 0 3%;
  }

  .nombre {
    font-size: 60px;
    letter-spacing: 5px;
  }

  .info-izquierda,
  .info-derecha {
    max-width: 100%;
  }

  .descripcion {
    font-size: 13px;
  }

  .boton {
    font-size: 14px;
    padding: 8px 16px;
  }

  .carrusel-item {
    width: 160px;
    height: 220px;
  }

  .footer-contacto {
    padding: 40px 5% 30px;
  }

  .footer-contacto h3 {
    font-size: 20px;
  }

  .footer-contacto p,
  .info-contacto,
  .info-contacto li {
    font-size: 12px;
  }

  .redes-sociales a {
    font-size: 14px;
    margin: 0 8px;
  }

  .copy {
    font-size: 11px;
  }
}
@media screen and (max-width: 480px) {
  .contenido {
    padding-top: 200px;
    gap: 15px;
  }

  .nombre {
    font-size: 48px;
    letter-spacing: 2px;
    bottom: 170px;
  }

  .info-izquierda {
    max-width: 100%;
    padding: 0 5%;
    margin-top: 5px;
    text-shadow: 1px 1px 2px white;
  }
  .info-derecha{
    margin-top: 0%;
  }

  .descripcion {
    font-size: 12px;
    line-height: 1.5;
  }

  .boton {
    font-size: 12px;
    padding: 7px 14px;
  }

  .presentacion {
    padding: 40px 5%;
  }

  .presentacion h2 {
    font-size: 22px;
  }

  .presentacion p {
    font-size: 13px;
  }

  .carrusel-portafolio {
    padding: 40px 4%;
  }

  .carrusel-portafolio h2 {
    font-size: 20px;
  }

  .carrusel-item {
    width: 140px;
    height: 200px;
  }

  .footer-contacto {
    padding: 30px 4% 20px;
  }

  .footer-contacto h3 {
    font-size: 18px;
  }

  .footer-contacto p,
  .info-contacto li {
    font-size: 11px;
  }

  .redes-sociales a {
    font-size: 12px;
    margin: 0 6px;
  }

  .copy {
    font-size: 10px;
  }
}

a, .boton, .redes-sociales a, .carrusel-item, .descripcion {
    transition: all 0.3s ease;
}

.boton i {
    margin-right: 6px;
    transition: transform 0.3s ease;
}

.boton:hover i {
    transform: translateX(4px);
}

.carrusel-item:hover {
    transform: scale(1.03);
    box-shadow: 0 6px 25px rgba(255, 113, 67, 0.3);
}
.boton-superior {
    position: absolute;
    top: 30px; 
    left: 30px;
    z-index: 999;
}
