@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");

* {
  margin: 0;
  padding: 0;
  font-size: 16px;
  box-sizing: border-box;
  font-family: "Montserrat", sans-serif;
}

html {
  scroll-behavior: smooth;
}

/* animation */
/* Scroll Reveal Animations */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.7s ease-in;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

h1 {
  font-size: 2rem;
  font-weight: 800;
}

h2 {
  font-size: 1.5rem;
  font-weight: 800;
}

h4 {
  font-size: 1rem;
  font-weight: 700;
}

/* header */
header {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  background-color: #1d232c;
  color: white;
  padding: 1%;
  flex-wrap: wrap;
}

header i {
  cursor: pointer;
}

/* header__section */
.header__section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5% 1%;
  background-color: white;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header__section ul {
  display: flex;
  list-style: none;
  gap: 15px;
  padding: 1%;
  color: black;
}

.header__section ul li a {
  color: black;
  text-decoration: none;
}

.header__section ul li:hover {
  text-decoration: underline;
  cursor: pointer;
}

.header__section i {
  cursor: pointer;
}

/* sidenav */
.sidenav {
  position: fixed;
  top: 0;
  left: 0;
  width: 60%;
  height: 100vh;
  background-color: rgb(0, 0, 0);
  color: white;
  padding: 5%;
  transform: translateX(-100%);
  transition: transform 0.5s ease;
  z-index: 1000;
}

.sidenav.active {
  transform: translateX(0);
}

/* close icon inside sidenav */
.sidenav #close {
  position: absolute; /* position relative to sidenav */
  top: 20px; /* distance from top */
  right: 20px; /* distance from right */
  font-size: 1.5rem; /* make it bigger if you want */
  cursor: pointer;
  color: white;
}

.sidenav ul {
  list-style: none;
  padding: 20%;
  display: flex;
  gap: 50px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.sidenav ul li a {
  text-decoration: none;
  color: white;
}

.sidenav ul li:hover {
  cursor: pointer;
  text-decoration: underline;
}

/* image slide */
.image__container {
  position: relative;
  width: 90%;
  margin: 2% 5%;
  overflow: hidden;
  border-radius: 10px;
}

/* Slide Wrapper */
.slide__wrapper {
  display: flex;
  transition: transform 0.6s ease-in-out;
  width: 100%;
}

.slide__wrapper img {
  width: 100%;
  flex-shrink: 0;
  object-fit: cover;
}

/* Text Overlay */
.image__text {
  position: absolute;
  top: 25%;
  left: 8%;
  z-index: 10;
  color: white;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.6);
}

.image__text h2 {
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 1%;
}

.image__text p {
  font-size: 1.5rem;
  margin-bottom: 1%;
}

.image__text button {
  padding: 12px 24px;
  border: none;
  background-color: white;
  color: black;
  font-weight: bold;
  cursor: pointer;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.image__text button:hover {
  background-color: black;
  color: white;
}

/* Navigation Arrows */
.slide__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  color: white;
  z-index: 20;
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.3s ease;
}

.slide__btn:hover {
  color: rgb(255, 238, 0);
}

.slide__btn.left {
  left: 3%;
}

.slide__btn.right {
  right: 3%;
}

/* brands */
.brands__logos img {
  width: 10%;
  height: 10%;
}

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

/* animation */
.service__container1 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1%;
  margin: 2% auto;
}

.service__container2 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1%;
}

.service__container2 div {
  width: 24%;
  height: 265px;
  padding: 1%;
  border-radius: 10px;
  background-color: #f2f4f7;
}
/* arrivals */
.arrivals__images {
  display: flex;
  justify-content: center;
  gap: 2rem; /* adds spacing between images */
  padding: 0 1%;
  border-radius: 5%;
}

.arrivals__images-conatiner {
  position: relative;
  display: flex;
  justify-content: center;
}

.arrivals__images-conatiner img {
  height: auto;
  border-radius: 5%;
}

.overlay {
  width: 100%;
  position: absolute;
  height: 100%;
  z-index: 2;
  top: 0;
  opacity: 0.6;
  background-color: black;
  border-radius: 5%;
}

.arrivals__images button {
  font-weight: bold;
  padding: 2%;
  background-color: white;
  color: black;
  border-radius: 5%;
  position: absolute;
  bottom: 45%;
  left: 50%;
  transform: translateX(-50%); /* centers the button */
  transition: all 0.3s ease;
  z-index: 5;
}

.arrivals__images button:hover {
  color: white;
  background-color: black;
  cursor: pointer;
}

/* most wanted */
.most-wanted {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 20px;
  margin: 2vw;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.most-wanted::-webkit-scrollbar {
  display: none;
}

.most-wanted-container {
  flex: 0 0 auto;
  scroll-snap-align: start;
  position: relative;
}

.most-wanted img {
  border-radius: 2%;
}

.sale-overlay {
  position: absolute;
  top: 2%;
  left: 2%;
  font-size: 1rem;
  background-color: red;
  color: white;
  padding: 0 10px;
  border-radius: 5px;
}

/* limited offer */
.like-button {
  position: absolute;
  width: 10%;
  bottom: 5%;
  right: 5%;
}

.limited-offer {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #1d232c;
  color: white;
  padding: 20px;
}

.limited-offer-text {
  padding: 5%;
}

.limited-offer button {
  padding: 2.5% 5%;
  margin-top: 1%;
  font-size: 1rem;
  color: #000000;
  border-radius: 10px;
  border: none;
  background-color: white;
}

/* news */
.news__container {
  font-size: 2rem;
  margin-top: 2%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.news__container p {
  font-size: 1.5rem;
  padding: 1%;
}

.news__container h2 {
  font-size: 2rem;
  font-weight: 800;
}

.news__search {
  padding: 1%;
  width: 70%;
  margin-bottom: 10px;
  border: solid #000000 3px;
}
.news__search input{
  width: 100%;
}
.news__container input:focus {
  outline: none;
}

.news__container button {
  margin-top: 2%;
  font-size: 1.2rem;
  color: white;
  background-color: #000000;
  border-radius: 10px;
  border: none;
  padding: 10px;
}

.signupbtn {
  position: fixed;
  bottom: 5%;
  right: 5%;
  padding: 10px 20px;
  background-color: rgb(0, 0, 0);
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  z-index: 100;
}

/* footer */
.footer {
  margin-top: 5%;
  padding: 40px;
  background-color: #1d232c;
  color: #e2e1e1;
  box-sizing: border-box;
}

.footer-container {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.footer-box-1 {
  display: flex;
  flex-direction: column;
}

.footer-box-2 {
  display: flex;
}

.footer-icon-container i {
  padding: 2%;
}

.subtitle {
  display: block;
}

.footer p,
.footer h2 {
  font-size: 1.5rem;
}

/* media Queries */
/* desktop */
@media (min-width: 700px) {
  .header__section i {
    display: none;
  }
}

/* mobile */
@media (max-width: 699px) {
  h1 {
    font-size: 1.2rem;
  }
  h2 {
    font-size: 0.8rem;
  }
  h4 {
    font-size: 0.6rem;
  }
  p {
    font-size: 0.6rem;
  }
  header p {
    font-size: 1rem;
  }
  .header__section ul {
    display: none;
  }
  .slide__btn {
    font-size: 0.7rem; /* visible but not too big */
    top: 50%;
    transform: translateY(-50%);
    z-index: 30; /* keep above everything */
  }

  .slide__btn.left {
    left: 2%;
  }

  .slide__btn.right {
    right: 2%;
  }

  .image__text h2 {
    font-size: 0.5rem;
  }

  .image__text p {
    font-size: 0.3rem;
  }

  .image__text button {
    font-size: 0.3rem;
    padding: 2%;
  }
  .signupbtn {
    padding: 2%;
    font-size: 0.7rem;
  }
  .service__container2 {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px;
  }
  .service__container2 div {
    width: 40%;
    height: 150px;
  }

  .arrivals__images button {
    font-size: 0.4rem;
  }

  .limited-offer button {
    font-size: 0.6rem;
  }
  .sale-overlay {
    font-size: 0.6rem;
  }
  .news__container p,.news__container h2 {
    font-size: 0.7rem;
  }
  .news__container button {
    font-size: 0.6rem;
  }
  .footer p,
  .footer h2 {
    font-size: 0.6rem;
  }
  .footer-icon-container i{
    font-size: 0.6rem;
  }
}
