/* hero.css - Stili della sezione hero */

.hero-background {
    position: relative;
    overflow: hidden;
    height: 100vh;
}

#hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: var(--z-0);
}

.container-hero {
    padding: 64px 128px;
}

.hero-content {
    position: relative;
    z-index: var(--z-10);
    height: 100%;
}

.hero-btn {
    background-color: var(--color-primary);
    color: var(--color-white);
    border: none;
    border-radius: var(--radius-button);
    padding: 16px 24px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-left: auto;
  }
  
  .btn-text {
    font-size: var(--font-size-s);
    font-weight: var(--font-weight-500);
    font-family: var(--font-family-gotham-book);
    color: var(--color-white);
  }
  
  .btn-arrow {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: var(--space-s);
    transition: transform 0.3s ease;
  }

  .btn-arrow img {
    width: 20px;
  }
  
  .hero-btn:hover .btn-arrow {
    animation: arrowMove 0.3s ease forwards;
  }
  
  @keyframes arrowMove {
    0% {
      transform: translate(0, 0);
    }
    50% {
      transform: translate(10px, -10px);
      opacity: 0;
    }
    51% {
      transform: translate(-10px, 10px);
      opacity: 0;
    }
    100% {
      transform: translate(0, 0);
      opacity: 1;
    }
  }