/* HEADER */

* {
  margin: 0;
  padding: 0;
  font-family: "Mulish", sans-serif;
}

.banner {
  width: 100%;
  height: 100vh;
  background-image: linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.75)),
    url(../img/banner.jpg);
  background-size: cover;
  background-position: center;
}

.navbar {
  width: 85%;
  margin: auto;
  padding: 35px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  width: 100px;
  cursor: pointer;
}

.navbar ul li {
  list-style: none;
  display: inline-block;
  margin: 0 20px;
  position: relative;
}

.navbar ul li a {
  text-decoration: none;
  color: #fff;
  text-transform: uppercase;
}

.navbar ul li::after {
  content: "";
  height: 3px;
  width: 0;
  background: #06b0f3;
  position: absolute;
  left: 0;
  bottom: -10px;
  transition: 0.5s;
}

.navbar ul li:hover::after {
  width: 100%;
}

.content {
  width: 100%;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  text-align: center;
  color: #fff;
}

.content h1 {
  font-size: 70px;
  margin-top: 80px;
}

.content p {
  margin: 20px auto;
  font-weight: 100;
  line-height: 25px;
}

.login-btn {
  width: 200px;
  padding: 15px 0;
  text-align: center;
  margin: 20px 10px;
  border-radius: 25px;
  font-weight: bold;
  border: 2px solid #06b0f3;
  background: transparent;
  color: white;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.signup-btn {
  width: 200px;
  padding: 15px 0;
  text-align: center;
  margin: 20px 10px;
  border-radius: 25px;
  font-weight: bold;
  border: 2px solid #06b0f3;
  background: transparent;
  color: white;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.cover {
  background: #06b0f3;
  height: 100%;
  width: 0%;
  border-radius: 25px;
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: -1;
  transition: 0.5s;
}

button:hover span {
  width: 100%;
}

button:hover {
  border: none;
}

/*about*/
#about {
    position: relative;
    background: url('../img/about-bg.jpg') no-repeat center center; /* Ganti path/to/your/background-image.jpg dengan URL gambar Anda */
    background-size: cover; /* Pastikan gambar menutupi seluruh area */
    color: #fff;
    padding: 50px 0;
    padding: 50px 0;
    z-index: 1;
    text-align: center;
}
#about .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}
#about h2 {
  font-size: 36px;
  margin-bottom: 20px;
}
#about p {
  font-size: 18px;
  line-height: 1.6;
  text-align: justify;
}
.position-relative {
  position: relative;
}
/* PRODUCTS */
.section-header {
  text-align: center;
  margin-bottom: 30px;
  color: #000000; /* Menambahkan warna hitam pada elemen section-header */
}

.section-header h2 {
  font-weight: bold;
  font-size: 36px;
  margin-bottom: 10px;
  color: #000; /* Menambahkan warna hitam pada judul h2 */
}
.product {
  position: relative;
  overflow: hidden;
  padding: 20px;
  background-image: url('../img/banner-product.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.product-category {
  padding: 0 10vw;
  font-size: 30px;
  font-weight: 500;
  margin-bottom: 40px;
  text-transform: capitalize;
  color: #fff; /* Mengubah warna teks menjadi putih agar lebih kontras dengan background gambar */
}
.product-category {
  padding: 0 10vw;
  font-size: 30px;
  font-weight: 500;
  margin-bottom: 40px;
  text-transform: capitalize;
}

.product-container {
  padding: 0 10vw;
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
}

.product-container::-webkit-scrollbar {
  display: none;
}

.product-card {
  flex: 0 0 auto;
  width: 250px;
  height: 450px;
  margin-right: 40px;
}

.product-image {
  position: relative;
  width: 100%;
  height: 350px;
  overflow: hidden;
}

.product-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.discount-tag {
  position: absolute;
  background: #fff;
  padding: 5px;
  border-radius: 5px;
  color: #06b0f3;
  right: 10px;
  top: 10px;
  text-transform: capitalize;
}

.card-btn {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  padding: 10px;
  width: 90%;
  text-transform: capitalize;
  border: none;
  outline: none;
  background: #fff;
  border-radius: 5px;
  transition: 0.5s;
  cursor: pointer;
  opacity: 0;
}

.product-card:hover .card-btn {
  opacity: 1;
}

.card-btn:hover {
  background: #06b0f3;
  color: #fff;
}

.product-info {
  width: 100%;
  height: 100px;
  padding-top: 10px;
}

.product-brand {
  text-transform: uppercase;
}

.product-short-description {
  width: 100%;
  height: 20px;
  line-height: 20px;
  overflow: hidden;
  opacity: 0.5;
  text-transform: capitalize;
  margin: 5px 0;
}

.price {
  font-weight: 900;
  font-size: 20px;
}

.actual-price {
  margin-left: 20px;
  opacity: 0.5;
  text-decoration: line-through;
}
.collection-container {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 10px;
}

.collection {
  position: relative;
}

.collection img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.collection p {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  font-size: 50px;
  text-transform: capitalize;
}

.collection:nth-child(3) {
  grid-column: span 2;
  margin-bottom: 10px;
}
.product-card:hover {
  transform: translateY(-10px); /* Efek hover mengangkat card */
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2); /* Efek shadow saat hover */
}
.product-card {
  flex: 0 0 auto;
  width: 250px;
  height: 450px;
  margin-right: 40px;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease; /* Efek hover transform dan shadow */
}

/* sponsors */
.section-with-bg {
  background: url('../img/sponsors.png') no-repeat center center;
  background-size: cover;
  padding: 60px 0;
  position: relative;
  z-index: 1;
}
.section-with-bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5); /* Overlay hitam dengan transparansi 50% */
  z-index: -1;
}
.section-header {
  margin-bottom: 40px;
  text-align: center;
}
.section-header h2 {
  font-size: 36px;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.supporters-wrap {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
.supporter-logo {
  margin: 15px;
  padding: 10px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 200px; 
  max-height: 200px; 
}
.supporter-logo img {
  max-width: 100%;
  max-height: 100%;
  height: auto;
}
.supporter-logo:hover {
  transform: scale(1.05);
}

/*footer*/
#footer {
  background: #f8f9fa; 
  padding: 30px 0; 
  text-align: center;
  border-top: 1px solid #e9ecef; 
}

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

#footer .copyright {
  margin-bottom: 10px; 
  font-size: 14px; 
  color: #6c757d; 
}

#footer .credits {
  font-size: 14px; 
  color: #6c757d; 
}

#footer .credits a {
  color: #007bff; 
  text-decoration: none; 
}

#footer .credits a:hover {
  text-decoration: underline; 
}

/* Responsive Styles */

/* Tablet */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .navbar ul {
    margin-top: 20px;
  }

  .content h1 {
    font-size: 50px;
  }

  .collection-container {
    grid-template-columns: 1fr;
  }

  .collection:nth-child(3) {
    grid-column: span 1;
  }
}

/* Mobile */
@media (max-width: 480px) {
  .navbar ul li {
    margin: 0 10px;
  }
  .content h1 {
    font-size: 36px;
  }
  .product-container {
    padding: 0;
  }
  .product-category {
    padding: 0;
  }
  .product-card {
    width: 200px;
    height: 400px;
  }
  .product-image {
    height: 300px;
  }
  .supporter-logo {
    max-width: 150px;
    max-height: 150px;
  }
}