@use "../../../../styles/abstracts/variables" as *;

.hero {
  position: relative;
  min-height: 100vh;
  background: #0a0a0a;
  color: #fff;
  font-family: $font-onest, sans-serif;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 2rem;

     @media (max-width: 760px) {
      min-height: 90vh !important;
  }


  /* Background Glow */
  .bgGlow {
    position: absolute;
    inset: -25%;
    background:
      radial-gradient(circle at top right, rgba(247,147,26,0.08), transparent 45%),
      radial-gradient(circle at bottom left, rgba(247,147,26,0.05), transparent 60%);
    z-index: 0;
    filter: blur(120px);
    transition: transform 0.2s ease-out;
  }

  /* Grid pattern */
  .bgGrid {
    position: absolute;
    inset: 0;
    background-image:
      linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: linear-gradient(to bottom, black, transparent 70%);
    z-index: 0;
    transition: transform 0.2s ease-out;
  }

  /* Floating icons */
  .floatingIcons {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    transition: transform 0.2s ease-out;

    .icon {
      position: absolute;
      font-size: 2rem;
      color: #f7931a;
      opacity: 0.08;
      animation: float 16s ease-in-out infinite;

      &:nth-child(1) { top: 20%; left: 15%; animation-duration: 14s; }
      &:nth-child(2) { top: 50%; left: 80%; animation-duration: 18s; }
      &:nth-child(3) { top: 75%; left: 40%; animation-duration: 16s; }
    }
  }

  @keyframes float {
    0%,100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
  }

  .container {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
  }

  .content {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;

    h1 {
      font-size: clamp(2.4rem, 5vw, 4rem);
      font-weight: 800;
      line-height: 1.2;

      span { color: #fbbf24; }
    }

    p {
      font-size: 1.05rem;
      line-height: 1.7;
      color: #cbd5e1;
      max-width: 650px;
      margin: 0 auto;
    }

    .ctaBtn {
      display: inline-block;
      margin-top: 2rem;
      background: linear-gradient(135deg, #ffb703, #f7931a);
      color: #000;
      font-weight: 600;
      padding: 0.85rem 1.8rem; // reduced width
      border-radius: 999px;
      transition: all 0.3s ease;
      box-shadow: 0 12px 35px rgba(247,147,26,0.25);
      width: fit-content;
      margin: 0 auto !important;

      &:hover {
        transform: translateY(-2px) scale(1.03);
        box-shadow: 0 18px 45px rgba(247,147,26,0.45);
      }
    }
  }

  @media(max-width:768px){
    padding: 6rem 1.5rem;
    .content h1 { font-size: clamp(2rem, 8vw, 3rem);}
    .content p { font-size: 0.95rem; }
    .content .ctaBtn { width: 100%; text-align: center; }
  }
}
