/* ==================================================
   HERO
================================================== */

/* ==================================================
   HERO SECTION
================================================== */

.hero {
  min-height: calc(100vh - 100px);
  background: #000612;

  display: flex;
  align-items: center;
}

/* ==================================================
   HERO LAYOUT
================================================== */

.hero__layout {
  display: grid;

  grid-template-columns: repeat(2, 1fr);

  gap: 4rem;

  align-items: center;

  width: 100%;
}

/* ==================================================
   HERO CONTENT
================================================== */

.hero__eyebrow {
  display: inline-block;

  margin-bottom: 1.5rem;
  padding: 0.25rem 0.7rem;

  background: rgba(30, 41, 59, 0.55);

  border-radius: 4px;

  color: #526ff5;

  font-size: 0.75rem;
  font-weight: 500;

  letter-spacing: 2px;
  text-transform: uppercase;
}

.hero__title {
  margin-bottom: 1.25rem;

  color: #f1f5f9;

  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.2;
}

.hero__name {
  display: inline-block;

  background: linear-gradient(90deg, #526ff5, #7b4deb);

  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__description {
  max-width: 520px;

  margin-bottom: 2rem;

  color: #94a3b8;

  font-size: 1.05rem;
  line-height: 1.7;
}

/* ==================================================
   HERO ACTIONS
================================================== */

.hero__actions {
  display: flex;

  gap: 1rem;

  flex-wrap: wrap;
}

/* ==================================================
   TECHNOLOGY STACK
================================================== */

.tech-stack {
  margin-top: 2.5rem;
}

.tech-stack__title {
  margin-bottom: 1rem;

  color: #94a3b8;

  font-size: 0.75rem;
  font-weight: 600;

  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tech-stack__list {
  display: flex;
  align-items: center;

  gap: 1.75rem;

  flex-wrap: wrap;
}

.tech-stack__item {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 2.5rem;
  height: 2.5rem;
}

.tech-stack__item i {
  font-size: 2.25rem;

  transition:
    transform 0.25s ease,
    opacity 0.25s ease;
}

.tech-stack__item:hover i {
  transform: translateY(-4px);
}

/* ==================================================
   HERO MEDIA
================================================== */

.hero__media {
  position: relative;

  width: 100%;
  max-height: 450px;

  aspect-ratio: 1 / 1;

  margin: 0;

  display: flex;
  align-items: center;
  justify-content: center;
}

/* Gradient Circle */

.hero__media::before {
  content: "";

  position: absolute;

  width: 80%;
  aspect-ratio: 1 / 1;

  top: 50%;
  left: 50%;

  transform: translate(-50%, -50%);

  background: linear-gradient(135deg, #2563eb, #7c3aed);

  border-radius: 50%;

  z-index: 0;
}

/* Profile Image */

.hero__image {
  position: relative;

  width: 100%;
  aspect-ratio: 1 / 1;

  object-fit: cover;

  border-radius: 50%;
}

/* ==================================================
   TABLET
   1024px
================================================== */

@media (max-width: 1024px) {
  .hero {
    min-height: calc(100vh - 90px);
  }

  /* Hero Layout */

  .hero__layout {
    gap: 2.5rem;
  }

  /* Hero Content */

  .hero__content {
    display: flex;
    flex-direction: column;
    align-items: center;

    text-align: center;
  }

  .hero__eyebrow {
    margin-bottom: 1.25rem;
  }

  .hero__title {
    font-size: 2.4rem;
  }

  .hero__description {
    font-size: 1rem;
  }

  /* Hero Actions */

  .hero__actions {
    justify-content: center;
  }

  /* Technology */

  .tech-stack {
    text-align: center;
  }

  .tech-stack__list {
    justify-content: center;

    gap: 1.5rem;
  }

  .tech-stack__item i {
    font-size: 2.1rem;
  }

  /* Hero Media */

  .hero__media {
    max-height: 400px;
  }
}

/* ==================================================
   MOBILE
   768px
================================================== */

@media (max-width: 768px) {
  .hero {
    min-height: auto;

    padding-block: 4rem;
  }

  /* Hero Layout */

  .hero__layout {
    grid-template-columns: 1fr;

    gap: 3rem;
  }

  /* Hero Content */

  .hero__content {
    display: flex;
    flex-direction: column;
    align-items: center;

    width: 100%;

    text-align: center;
    order: 2;
  }

  .hero__eyebrow {
    margin-bottom: 1.25rem;
  }

  .hero__title {
    margin-bottom: 1rem;

    font-size: 2.2rem;
  }

  .hero__description {
    max-width: 600px;

    margin-bottom: 1.5rem;

    font-size: 1rem;

    line-height: 1.6;

    text-align: center;
  }

  /* Hero Actions */

  .hero__actions {
    justify-content: center;

    gap: 0.75rem;
  }

  /* Technology */

  .tech-stack {
    width: 100%;

    margin-top: 2rem;

    text-align: center;
  }

  .tech-stack__title {
    margin-bottom: 0.9rem;

    font-size: 0.7rem;
  }

  .tech-stack__list {
    justify-content: center;

    gap: 1.25rem;
  }

  .tech-stack__item {
    width: 2.25rem;
    height: 2.25rem;
  }

  .tech-stack__item i {
    font-size: 2rem;
  }

  /* Hero Media */

  .hero__media {
    width: 100%;
    max-width: 380px;

    max-height: none;

    margin-inline: auto;
    order: 1;
  }

  .hero__media::before {
    width: 80%;
  }

  .hero__image {
    width: 100%;
  }
}

/* ==================================================
   SMALL MOBILE
   480px
================================================== */

@media (max-width: 480px) {
  .hero {
    padding-block: 3rem;
  }

  /* Hero Layout */

  .hero__layout {
    gap: 2.5rem;
  }

  /* Hero Content */

  .hero__content {
    align-items: center;

    text-align: center;
    order: 2;
  }

  .hero__eyebrow {
    margin-bottom: 1rem;

    padding: 0.2rem 0.6rem;

    font-size: 0.65rem;

    letter-spacing: 1.5px;
  }

  .hero__title {
    margin-bottom: 1rem;

    font-size: 1.9rem;
  }

  .hero__description {
    margin-bottom: 1.5rem;

    font-size: 0.95rem;

    line-height: 1.6;

    text-align: center;
  }

  /* Hero Actions */

  .hero__actions {
    justify-content: center;

    gap: 0.75rem;
  }

  .hero__actions .button {
    padding: 0.7rem 1.1rem;

    font-size: 0.85rem;
  }

  /* Technology */

  .tech-stack {
    width: 100%;

    margin-top: 1.75rem;

    text-align: center;
  }

  .tech-stack__title {
    margin-bottom: 0.75rem;

    font-size: 0.65rem;
  }

  .tech-stack__list {
    justify-content: center;

    gap: 1rem;
  }

  .tech-stack__item {
    width: 2rem;
    height: 2rem;
  }

  .tech-stack__item i {
    font-size: 1.75rem;
  }

  /* Hero Media */

  .hero__media {
    width: 100%;
    max-width: 320px;
    order: 1;
  }
}
