@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Oswald:wght@500&display=swap");

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background-color: #1a1a1a;
  color: #FFFFFFDD;
  position: relative;
  overflow: hidden;
  font-family: "Inter", sans-serif;
}

/* ---------- CARDS ---------- */
.card {
  position: absolute;
  left: 0;
  top: 0;
  background-position: center;
  background-size: cover;
  box-shadow: 6px 6px 10px 2px rgba(0, 0, 0, 0.6);
}

.card-content {
  position: absolute;
  left: 0;
  top: 0;
  color: #FFFFFFDD;
  padding-left: 16px;
}

.content-start {
  width: 30px;
  height: 5px;
  border-radius: 99px;
  background-color: #FFFFFFDD;
}

.content-place {
  margin-top: 6px;
  font-size: 13px;
  font-weight: 500;
}

.content-title-1,
.content-title-2 {
  font-family: "Oswald", sans-serif;
  font-weight: 600;
  font-size: 20px;
}

/* ---------- NAV ---------- */
nav {
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 36px;
  font-weight: 500;
  background: transparent;
}

nav > div {
  display: inline-flex;
  align-items: center;
  text-transform: uppercase;
  font-size: 14px;
}

nav > div:first-child {
  gap: 10px;
}

nav > div:last-child {
  gap: 24px;
}

nav svg,
nav .svg-container {
  width: 20px;
  height: 20px;
}

nav .logo-img {
  height: 40px;
  width: auto;
  display: block;
}

nav .nav-reserve {
  padding: 8px 18px;
  border-radius: 99px;
  background-color: #75AADB;
  color: #10201a;
  font-weight: 600;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 13px;
  line-height: 1;
  white-space: nowrap;
}

nav .nav-reserve:hover {
  opacity: 1;
  filter: brightness(1.08);
}

nav a {
  color: inherit;
  text-decoration: none;
}

nav a:hover {
  opacity: 0.75;
}

nav .active {
  position: relative;
}

nav .active::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: 99px;
  background-color: #75AADB;
}

/* ---------- DETAILS ---------- */
.details {
  position: absolute;
  top: 240px;
  left: 60px;
  z-index: 22;
}

.details .place-box {
  height: 46px;
  overflow: hidden;
}

.details .place-box .text {
  position: relative;
  padding-top: 16px;
  font-size: 20px;
}

.details .place-box .text:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 30px;
  height: 4px;
  border-radius: 99px;
  background-color: white;
}

.details .title-box-1,
.details .title-box-2 {
  margin-top: 2px;
  height: 100px;
  overflow: hidden;
}

.details .title-1,
.details .title-2 {
  font-family: "Oswald", sans-serif;
  font-weight: 600;
  font-size: 72px;
  margin: 0;
  line-height: 100px;
}

.details .desc {
  margin-top: 16px;
  width: 500px;
}

.details .cta {
  width: 500px;
  margin-top: 24px;
  display: flex;
  align-items: center;
}

.details .bookmark {
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 99px;
  background-color: #75AADB;
  color: white;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.details .discover {
  border: 1px solid #ffffff;
  background: transparent;
  height: 36px;
  border-radius: 99px;
  color: #ffffff;
  padding: 4px 24px;
  font-size: 12px;
  margin-left: 16px;
  text-transform: uppercase;
  cursor: pointer;
}

/* ---------- PAGINATION HUD ---------- */
.pagination {
  position: absolute;
  left: 0px;
  top: 0px;
  display: inline-flex;
}

.pagination .arrow {
  width: 50px;
  height: 50px;
  border-radius: 999px;
  border: 2px solid #ffffff55;
  display: grid;
  place-items: center;
  z-index: 60;
  color: #ffffff99;
  cursor: pointer;
}

.pagination .arrow-right {
  margin-left: 20px;
}

.progress-sub-container {
  margin-left: 24px;
  width: 500px;
  height: 50px;
  display: flex;
  align-items: center;
  z-index: 60;
}

.progress-sub-background {
  width: 500px;
  height: 3px;
  background-color: #ffffff33;
}

.progress-sub-foreground {
  height: 3px;
  background-color: #75AADB;
}

.slide-numbers {
  width: 50px;
  height: 50px;
  overflow: hidden;
  position: relative;
  z-index: 60;
}

.slide-numbers .item {
  width: 50px;
  height: 50px;
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  color: white;
  font-size: 32px;
  font-weight: bold;
}

/* ---------- UTILITY LAYERS ---------- */
.indicator {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  height: 5px;
  z-index: 60;
  background-color: #75AADB;
}

.cover {
  position: absolute;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background-color: #fff;
  z-index: 100;
}

/* ===== TABLET (640 – 1023 px) ===== */
@media (max-width: 1023px) {
  .details .title-box-1,
  .details .title-box-2 {
    height: 72px;
  }

  .details .title-1,
  .details .title-2 {
    font-size: 54px;
    line-height: 72px;
  }

  .details .desc,
  .details .cta {
    width: min(500px, calc(100vw - 80px));
  }

  .content-title-1,
  .content-title-2 {
    font-size: 14px;
  }

  .content-place {
    font-size: 11px;
  }
}

/* ===== MOBILE (< 640 px) ===== */
@media (max-width: 639px) {
  nav > div:last-child > div:not(.svg-container) {
    display: none;
  }

  nav > div:last-child {
    gap: 20px;
  }

  .details {
    top: auto;
    bottom: 90px;
    left: 20px;
    right: 20px;
  }

  .details .place-box {
    height: 38px;
  }

  .details .place-box .text {
    font-size: 16px;
    padding-top: 14px;
  }

  .details .title-box-1,
  .details .title-box-2 {
    height: 60px;
  }

  .details .title-1,
  .details .title-2 {
    font-size: 46px;
    line-height: 60px;
  }

  .details .desc {
    width: calc(100vw - 40px);
    font-size: 13px;
  }

  .details .cta {
    width: calc(100vw - 40px);
  }

  .pagination .arrow {
    width: 40px;
    height: 40px;
  }

  .pagination .arrow-right {
    margin-left: 12px;
  }
}
