/* ===== Reset ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.body {
  height: 100svh;
}

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

.landing-bg {
  background-image: url("/asset/landing-bg.jpg");
  background-size: cover;
  background-position: center;
  height: 100vh;
  width: 100%;
}

.main-image {
  width: 580px;
  height: 580px;
  object-fit: cover;
  margin: auto;
}

/* ===== Visibility Helpers ===== */
.show-mobile {
  display: none;
}

.show-desktop {
  display: none;
}

.text-image {
  width: 530px;
  height: auto;
}

.logo-image {
  width: 150px;
  height: auto;
  margin-bottom: 40px;
}

.text-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.flex-btn-desktop {
  margin-top: 126px;
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: center;
}

.max {
  margin: auto;
  max-width: 1240px;
  height: 100vh;
}
.m-auto {
  margin: auto;
  display: flex;
  justify-items: center;
  align-items: center;
}

.flex-btn-mobile {
  margin-top: 43px;
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
}

/* ===== Media Queries ===== */

/* Mobile (default / up to 599px) */
@media (max-width: 599px) {
  .flex-btn-desktop {
    display: none;
  }

  .flex {
    flex-direction: column;
  }

  .show-mobile {
    display: block;
  }

  .show-desktop {
    display: none;
  }
  .main-image {
    width: 300px;
    height: 300px;
    object-fit: cover;
    margin-top: 42px;
  }

  .text-image {
    width: 260px;
    height: auto;
  }
  .logo-image {
    width: 150px;
    height: auto;
  }
}

/* Tablet (600px – 899px) */
@media (min-width: 600px) and (max-width: 1099px) {
  .flex-btn-desktop {
    display: none;
  }
  .flex {
    flex-direction: column;
  }
  .show-mobile {
    display: block;
  }

  .text-image {
    width: 320px;
    height: auto;
  }

  .show-desktop {
    display: none;
  }
  .main-image {
    width: 370px;
    height: 370px;
    object-fit: cover;
    margin-top: 22px;
  }
  .logo-image {
    width: 180px;
    height: auto;
  }
}

/* Desktop (900px+) */
@media (min-width: 1100px) {
  .flex {
    flex-direction: row-reverse;
  }
  .flex-btn-mobile {
    display: none;
  }

  .show-mobile {
    display: none;
  }

  .show-desktop {
    display: block;
  }
  .main-image {
    width: 600px;
    height: 600px;
    object-fit: cover;
  }
  .text-image {
    width: 530px;
    height: auto;
  }
  .logo-image {
    width: 220px;
    height: auto;
  }
}
