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

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

.hero {
  min-height: calc(100vh - 76px);

  display: flex;
  align-items: center;

  padding-top: 3rem;
  padding-bottom: 5rem;

  overflow: hidden;
}

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

.hero__layout {
  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 4rem;

  align-items: center;
}

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

.hero__content {
  max-width: 560px;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;

  margin-bottom: 1.25rem;

  padding: 0.45rem 0.8rem;

  background: #fff7ed;

  border: 1px solid #fed7aa;

  border-radius: 999px;

  color: #d97706;

  font-size: 0.7rem;
  font-weight: 700;

  letter-spacing: 0.08em;

  text-transform: uppercase;
}

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

.hero__title {
  margin-bottom: 1.25rem;

  color: #181a1f;

  font-size: 3.8rem;
  font-weight: 800;

  line-height: 1.08;

  letter-spacing: -0.04em;
}

.hero__title-accent {
  background-image: linear-gradient(
    to right top,
    #fece00,
    #ffc300,
    #ffb900,
    #ffae00,
    #ffa300
  );
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

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

.hero__description {
  max-width: 510px;

  margin-bottom: 2rem;

  color: #6b7280;

  font-size: 1rem;

  line-height: 1.7;
}

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

.hero__actions {
  display: flex;
  align-items: center;

  gap: 0.75rem;

  flex-wrap: wrap;
}

.hero__actions .button {
  min-width: 130px;
}

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

.hero__visual {
  position: relative;

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

  min-height: 520px;
}

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

.hero__image-wrapper {
  position: relative;

  width: 100%;
  max-width: 560px;

  margin: 0;

  z-index: 1;
}

.hero__image-wrapper::before {
  content: "";

  position: absolute;

  width: 78%;
  height: 78%;

  top: 50%;
  left: 50%;

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

  background: #f1f3f5;

  border-radius: 50%;

  z-index: -1;
}

.hero__image {
  display: block;

  width: 100%;
  height: auto;

  object-fit: contain;

  filter: drop-shadow(0 24px 35px rgba(15, 23, 42, 0.12));
}

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

.hero__orbit {
  position: absolute;

  top: 50%;
  left: 50%;

  width: 100%;
  height: 100%;

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

  pointer-events: none;

  z-index: 2;

  animation: hero-orbit 18s linear infinite;
}

/* ==================================================
   FLOATING FOOD
================================================== */

.hero__floating-card {
  position: absolute;

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

  width: 100px;
  height: 100px;

  padding: 0;

  background: radial-gradient(
    circle at 35% 30%,
    #ffffff 0%,
    #fcfcfc 45%,
    #f1f3f5 100%
  );

  border: 1px solid rgba(255, 255, 255, 0.9);

  border-radius: 50%;

  box-shadow:
    0 18px 35px rgba(15, 23, 42, 0.12),
    0 6px 14px rgba(15, 23, 42, 0.08),
    inset 0 1px 2px rgba(255, 255, 255, 0.95),
    inset 0 -8px 15px rgba(148, 163, 184, 0.08);

  overflow: hidden;

  z-index: 2;
}

/* ==================================================
   FOOD IMAGE
================================================== */

.hero__floating-icon {
  display: block;

  width: 78%;
  height: 78%;

  object-fit: contain;

  filter: drop-shadow(0 6px 8px rgba(15, 23, 42, 0.12));
}

/* ==================================================
   ORBIT POSITION
================================================== */

/* Atas */

.hero__floating-card--1 {
  top: 5%;
  right: 0;

  transform: translateX(-50%);
}

/* Kanan */

.hero__floating-card--2 {
  top: 50%;
  right: -5%;

  transform: translateY(-50%);
}

/* Bawah */

.hero__floating-card--3 {
  top: 5%;
  left: 5%;
}

/* Kiri */

.hero__floating-card--4 {
  top: 50%;
  left: -5%;

  transform: translateY(-50%) rotate(-30deg);
}

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

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

    padding-top: 2.5rem;
  }

  .hero__layout {
    gap: 2.5rem;
  }

  .hero__title {
    font-size: 3.1rem;
  }

  .hero__description {
    font-size: 0.95rem;
  }

  .hero__visual {
    min-height: 430px;
  }

  /* Floating Food */

  .hero__floating-card {
    width: 4.75rem;
    height: 4.75rem;
  }

  .hero__floating-card--top {
    left: -0.5rem;
  }

  .hero__floating-card--bottom {
    right: -0.5rem;
  }
}

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

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

    padding-top: 3.5rem;
    padding-bottom: 4rem;
  }

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

    gap: 3rem;
  }

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

  .hero__content {
    order: 2;
    max-width: 650px;

    margin-inline: auto;

    text-align: center;
  }

  .hero__eyebrow {
    margin-bottom: 1rem;
  }

  .hero__title {
    margin-bottom: 1rem;

    font-size: 2.7rem;

    line-height: 1.1;
  }

  .hero__description {
    max-width: 560px;

    margin-inline: auto;

    margin-bottom: 1.5rem;

    font-size: 0.95rem;
  }

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

  .hero__actions {
    justify-content: center;

    gap: 0.65rem;
  }

  /* ==================================================
       VISUAL
    ================================================== */

  .hero__visual {
    order: 1;
    min-height: auto;

    width: 100%;

    padding-top: 1rem;
  }

  .hero__image-wrapper {
    max-width: 480px;

    margin-inline: auto;
  }

  /* ==================================================
       FLOATING FOOD -  ORBIT POSITION
    ================================================== */

  .hero__floating-card {
    width: 4.5rem;
    height: 4.5rem;
  }

  /* Atas */

  .hero__floating-card--1 {
    top: 0;
    right: 20%;
  }

  /* Kanan */

  .hero__floating-card--2 {
    top: 50%;
    right: 10%;

    transform: translateY(-50%);
  }

  /* Bawah */

  .hero__floating-card--3 {
    top: 0;
    left: 20%;
  }

  /* Kiri */

  .hero__floating-card--4 {
    top: 50%;
    left: 10%;

    transform: translateY(-50%) rotate(-30deg);
  }
}

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

@media (max-width: 480px) {
  .hero {
    padding-top: 2.75rem;
    padding-bottom: 3.5rem;
  }

  .hero__layout {
    gap: 2.5rem;
  }

  /* ==================================================
       CONTENT
    ================================================== */
  .hero__content {
    order: 2;
  }

  .hero__eyebrow {
    margin-bottom: 0.9rem;

    padding: 0.4rem 0.7rem;

    font-size: 0.6rem;
  }

  .hero__title {
    margin-bottom: 1rem;

    font-size: 2.15rem;

    letter-spacing: -0.03em;
  }

  .hero__description {
    margin-bottom: 1.5rem;

    font-size: 0.85rem;

    line-height: 1.65;
  }

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

  .hero__actions {
    width: 100%;

    flex-direction: column;

    gap: 0.65rem;
  }

  .hero__actions .button {
    width: 100%;
    max-width: 220px;

    margin-inline: auto;
  }

  /* ==================================================
       VISUAL
    ================================================== */

  .hero__visual {
    padding-top: 0;
    order: 1;
  }

  .hero__image-wrapper {
    max-width: 350px;
  }

  /* ==================================================
       FLOATING FOOD -  ORBIT POSITION
    ================================================== */

  .hero__floating-card {
    width: 3rem;
    height: 3rem;
  }

  /* Atas */

  .hero__floating-card--1 {
    top: 10%;
    right: 10%;
  }

  /* Kanan */

  .hero__floating-card--2 {
    top: 50%;
    right: 3%;

    transform: translateY(-50%);
  }

  /* Bawah */

  .hero__floating-card--3 {
    top: 10%;
    left: 10%;
  }

  /* Kiri */

  .hero__floating-card--4 {
    top: 50%;
    left: 3%;

    transform: translateY(-50%) rotate(-30deg);
  }
}
