* {
  padding: 0%;
  margin: 0%;
  box-sizing: border-box;
  /* Ensures padding doesn't break layout */
}

/* Navbar Section */
.navbar {
  background-color: black;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

.navbar-links {
  display: flex;
  column-gap: 30px;
  padding: 10px;
  font-size: 25px;
}

.navbar-links a {
  text-decoration: none;
  color: white;
}

.navbar-links a:hover {
  text-decoration: underline;
}

.menu {
  display: none;
}

/* Side Navbar */
.side-navbar {
  background-color: black;
  width: 50%;
  height: 100%;
  position: fixed;
  color: white;
  top: 0%;
  left: -60%;
  padding: 25px;
  transition: 0.5s;
  /* Faster transition for better UX */
  z-index: 10;
}

.side-navbar-link {
  margin-bottom: 10%;
}

.side-navbar-links a {
  text-decoration: none;
  color: white;
  font-size: 25px;
}

/* Header Section */
.header {
  display: flex;
  justify-content: center;
  gap: 50px;
  padding: 50px;
}

.header-button {
  padding: 10px 20px;
  border: none;
  border-radius: 2px;
  margin-top: 20px;
  background-color: black;
  color: white;
  cursor: pointer;
}

.header-button:hover{
  background-color: aqua;
  color: black;
}

/* Service Section */
.service {
  padding: 20px;
}

.service-container-1 {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.service-container-2 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-top: 20px;
}

.service-container-2 div {
  background-color: #f4f4f4;
  /* Changed from red for a cleaner look */
  border-radius: 5px;
  padding: 10px;
  flex: 1;
  text-align: center;
}

/* New Arrivals & Product Grid */
.new-arrivals {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  padding: 10px;
}

.new-arrival-container {
  position: relative;
  flex-basis: 22%;
  margin-bottom: 30px;
  text-align: center;
}

.new-arrival-container img {
  width: 100%;
  /* Makes image responsive */
  height: auto;
  border-radius: 8px;
}

/* Stable Button Positioning */
.new-arrivals button {
  padding: 10px 20px;
  position: absolute;
  bottom: 20px;
  /* Anchors it to the bottom */
  left: 50%;
  /* Moves to horizontal center */
  transform: translateX(-50%);
  /* Pulls back by half its width for perfect centering */
  border-radius: 5px;
  border: none;
  background-color: white;
  color: black;
  cursor: pointer;
  white-space: nowrap;
  /* Prevents text from wrapping when zoomed */
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
  transition: 0.3s;
}

.new-arrivals button:hover {
  background-color: black;
  color: white;
}

.news {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 20px;
}

.news input {
  width: 80vw;
  padding: 10px;
  margin-top: 10px;
  border: solid black;
}

.news button {
  margin-top: 10px;
  padding: 10px 20px;
  border-radius: 5px;
  border: none;
  color: white;
  background-color: black;
}

.news button:hover{
  cursor: pointer;
  background-color: red;
}


.footer {
  margin-top: 20px;
  padding: 40px;
  background-color: black;
  color: white;

  p,
  i {
    margin-top: 5px;
  }
}

/* contact */

.contact-container {
  display: flex;
  flex-direction: column;

  h3 {
    margin-top: 10px;
  }
}

.contact {
  background-color: black;
  color: white;
  width: 700px;
  padding: 60px;
  border-radius: 5px;
  margin: auto;
  margin-top: 20px;



  .text-box1 {
    height: 50px;
    border: none;
    border-radius: 5px;
    margin-top: 10px;
    margin-bottom: 10px;

  }

  .text-box2 {
    height: 50px;
    border: none;
    border-radius: 5px;
    margin-top: 10px;
    margin-bottom: 10px;
  }

  .text-box3 {
    height: 100px;
    border: none;
    border-radius: 5px;
    margin-top: 10px;
    margin-bottom: 10px;
  }

  button {
    width: 100px;
    padding: 7px;
    border: none;
  }
}

.contact button:hover {
  background-color: green;
  color: white;
  cursor: pointer;
}

/* Collection */
.product-search {
  border: solid black 2px;
  width: 80%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: auto;
  padding: 10px;
  margin-top: 30px;
  margin-bottom: 30px;
  border-radius: 25px;

  input {
    width: 100%;
    border: none;
  }

  input:focus {
    outline: none;
    width: 100%;
  }
}

.products {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  padding: 10px;
}

.product-container {
  position: relative;
  flex-basis: 22%;
  margin-bottom: 30px;
  text-align: center;
}

.product-container img {
  width: 100%;
  /* Makes image responsive */
  height: auto;
  border-radius: 8px;
}

.products button {
  padding: 10px 20px;
  position: absolute;
  bottom: 35px;
  /* Anchors it to the bottom */
  left: 50%;
  /* Moves to horizontal center */
  transform: translateX(-50%);
  /* Pulls back by half its width for perfect centering */
  border-radius: 5px;
  border: none;
  background-color: white;
  color: black;
  cursor: pointer;
  white-space: nowrap;
  /* Prevents text from wrapping when zoomed */
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
  transition: 0.3s;
}

.products button:hover {
  background-color: black;
  color: white;
}

/* Responsive Media Query */
@media screen and (max-width: 700px) {
  .menu {
    display: block;
  }

  .navbar-links {
    display: none;
  }

  .header-image {
    display: none;
  }

  .service-container-1 {
    display: none;
  }

  .service-container-2 {
    flex-direction: column;
  }

  .new-arrival-container {
    flex-basis: 45%;
    /* 2 items per row on smaller screens */
  }

  .contact {
    width: 400px;
  }

  .product-container {
    flex-basis: 45%;
  }

  .news p{
    text-align: center;
  }
  
}