/*home*/

body {
    overflow-x: hidden; 
}

.home-hero{
  position:relative;
  height:100vh;
  width:100vw;
  overflow:hidden;
  font-family:Arial, Helvetica, sans-serif;
  background:#ffffff;
  min-height: 50vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.home-hero .home-image{
  width:100%;
  height:100%;
  object-fit:cover;

  transform:scale(1.08);
  animation:zoomOut 2s ease forwards;
}

.home-hero .home-overlay{
  position:absolute;
  inset:0;

  background:linear-gradient(
    to right,
    rgba(0, 0, 0, 0.437),
    rgba(0,0,0,0.2)
  );
}

.home-hero .home-content{
  position:absolute;
  top:50%;
  left:8%;
  color:white;
  z-index:2;
  max-width:500px;

  transform:translateY(-50%);
  /* Hidden first */
  opacity:0;
  transform:
    translateY(-50%)
    translateY(40px);

  animation:contentReveal 1.2s ease forwards;
  animation-delay:1s;
}

.home-hero h1{
  font-size:4rem;
  line-height:1.1;

  margin-bottom:20px;
  font-weight:700;
}

.home-content h3{
  font-size:1.5rem;
  line-height:1.7;

  margin-bottom:30px;
  color:#e0e0e0;
}

@keyframes zoomOut{

  from{
    transform:scale(1.12);
    filter:blur(4px);
  }

  to{
    transform:scale(1);
    filter:blur(0px);
  }
}

/* TEXT ANIMATION */
@keyframes contentReveal{

  from{
    opacity:0;

    transform:
      translateY(-50%)
      translateY(40px);
  }

  to{
    opacity:1;

    transform:
      translateY(-50%)
      translateY(0px);
  }
}

@media (max-width: 768px) {
  .home-hero .home-content {
    left: 0;
    right: 0;
    margin: 0 auto; 
    text-align: center; 
    width: 100%; 
    padding: 0 20px; 
    box-sizing: border-box; 
  }

  .home-hero h1 {
    font-size: 3rem; 
  }
  
  .home-hero h3 {
    font-size: 1.5rem;
  }
}