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

$primary-color: #ecad29;
$text-color: #FFFFFFDD;

body {
  margin: 0;
  color: $text-color;
  font-family: "Inter", sans-serif;
  overflow-x: hidden;
}

#demo {
  position: relative;
  height: 100vh;
  min-height: 700px;
  overflow: hidden;
  color: white !important;
}

.card {
  position: absolute;
  inset: 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: $text-color;
  padding-left: 16px;
}

.details {
  position: absolute;
  top: 240px;
  left: 60px;
  color: white;
  z-index: 0;

  .place-box {
    height: 46px;

    .text {
      padding-top: 16px;
      font-size: 20px;
      position: relative;

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

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

  .title-box-1,
  .title-box-2 {
    margin-top: 2px;
    height: 80px;
    max-width: 200px;
  }

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

  > .cta {
    margin-top: 24px;
    display: flex;
    align-items: center;

    > .bookmark {
      border: none;
      background-color: $primary-color;
      width: 36px;
      height: 36px;
      border-radius: 99px;
      color: white;
      display: grid;
      place-items: center;

      svg {
        width: 20px;
        height: 20px;
      }
    }

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

#btn {
  position: absolute;
  bottom: 24px;
  left: 16px;
  z-index: 0;
}

.indicator {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  z-index: 60;
  background-color: $primary-color;
}

.pagination {
  cursor: pointer;
  user-select: none;
  position: absolute;
  top: 0;
  left: 0;
  display: inline-flex;

  > .arrow {
    z-index: 60;
    width: 50px;
    height: 50px;
    border-radius: 999px;
    border: 2px solid #ffffff55;
    display: grid;
    place-items: center;

    &:nth-child(2) {
      margin-left: 20px;
    }

    svg {
      width: 24px;
      height: 24px;
      stroke-width: 2;
      color: #ffffff99;
    }
  }

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

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

      .progress-sub-foreground {
        height: 3px;
        background-color: $primary-color;
      }
    }
  }

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

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

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

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

.content-title-1,
.content-title-2 {
  color: white !important;
  font-weight: 600;
  font-size: 15px;
  font-family: "Oswald", sans-serif;
}

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

/* 📱 MOBİL UYUMLULUK */
@media (max-width: 768px) {
  .details {
    top: 120px;
    left: 20px;

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

    .title-box-1,
    .title-box-2 {
      height: auto;
      max-width: 100%;
    }

    .desc,
    .cta {
      width: 100%;
    }
  }

  .progress-sub-container {
    display: none;
  }

  .card-content {
    padding-left: 8px;
    font-size: 14px;
  }
}
