body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f9f9f9;
}

main {
  display: flex;
  padding: 20px 3%;
}

header {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 1200px;
  background-color: black;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  height: 5vh;
  border-radius: 15px;
  box-shadow: 0px 4px 10px rgba(255, 255, 255, 0.3);
  z-index: 1000;
}

header .logo {
  font-size: 130%;
  font-weight: bold;
}

header nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

header nav ul li {
  cursor: pointer;
  font-size: 100%;
  position: relative;
}

header .header-buttons {
  display: flex;
  gap: 10px;
}

header .header-buttons button {
  padding: 5px 10px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 100%;
}

header .header-buttons button:hover {
  opacity: 0.8;
}

.button-link {
  text-decoration: none;
  display: inline-block;
}

.header-buttons .button-link button {
  padding: 5px 10px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 100%;
  background-color: #ffffff;
  color: rgb(0, 0, 0);
}

.header-buttons .button-link button:hover {
  opacity: 0.8;
}

.nav-link {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.nav-link:hover {
  color: #c3c3c3;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: white;
  border: 1px solid #ddd;
  border-radius: 5px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 10px 0;
  z-index: 10;
  min-width: 200px;
}

.dropdown-menu li {
  padding: 10px 20px;
}

.dropdown-menu li a {
  text-decoration: none;
  color: black;
  font-size: 16px;
  display: block;
}

.dropdown-menu li a:hover {
  background-color: #f0f0f0;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.lang-dropdown {
  position: relative;
  display: inline-block;
}

.lang-btn {
  padding: 8px 20px;
  background: #4CAF50;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s;
}

.lang-menu {
  display: none;
  position: absolute;
  right: 0;
  background: white;
  border: 1px solid #ddd;
  border-radius: 5px;
  padding: 0;
  margin-top: 5px;
  min-width: 80px;
  z-index: 1000;
  list-style: none;
}

.lang-menu.show {
  display: block;
}

.lang-menu li {
  padding: 10px;
  color: #333;
  cursor: pointer;
  transition: background 0.2s;
  text-align: center;
}

.lang-menu li:hover {
  background: #f5f5f5;
}

.banner-container {
  position: relative;
  width: 100%;
  height: 70vh;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.7);
}

.banner-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banner-text {
  position: absolute;
  top: 50%;
  left: 50%;
  width: auto;
  max-width: 90%;
  transform: translateX(-50%);
  text-align: center;

  font-size: 8vh;
  font-family: 'Faustina', serif;

  color: white;
  background-color: rgba(0, 0, 0, 0.7);
  box-shadow: 0 4px 10px rgb(255, 255, 255);

  padding: 10px 20px;
  border-radius: 15px;
  box-sizing: border-box;
}

.products {
  padding-top: 20px;
  width: 100%;
}

.products-header {
  text-align: center;
  margin-left: 15%;
  margin-right: 15%;
  width: 70%;
  max-width: 1400px;
  margin-bottom: 20px;

}

.products-header h2 {
  font-size: 58px;
  font-weight: bold;
  color: #333;
  text-align: left;
}

.category-title_line {
  width: 100%;
  height: 3px;
  background-color: #000;
}

.product-list {
  display: flex;
  flex: 1;
  flex-wrap: wrap;
  gap: 20px;
  padding: 20px;
  margin-left: 15%;
  margin-right: 15%;
  width: 70%;
}

.product-item {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  padding: 20px;
  width: 100%;
}

.product-image {
  flex: 0 0 20%;
  margin-left: auto;
  min-width: 150px;
}

.product-image img {
  width: 100%;
  height: auto;
  border-radius: 4px;
}

.carousel-container {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
}

.carousel-container img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 4px;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(100, 100, 100, 0.5);
  color: white;
  border: none;
  padding: 5px 10px;
  cursor: pointer;
  border-radius: 3px;
  transition: background 0.3s;
}

.carousel-arrow:hover {
  background: rgba(0, 0, 0, 0.8);
}

.carousel-arrow.prev {
  left: 5px;
}

.carousel-arrow.next {
  right: 5px;
}

.product-details ul {
  list-style-type: none;
  padding: 0;
  margin: 10px 0;
}

.product-details ul li {
  font-size: 14px;
  margin-bottom: 5px;
  color: #555;
  line-height: 1.5;
}

.product-details {
  flex: 1;
  margin-left: 20px;
}

.product-details h2 {
  cursor: pointer;
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 10px;
}

.product-specs {
  list-style-type: none;
  padding: 0;
  margin: 10px 0;
}

.product-specs li {
  font-size: 14px;
  margin-bottom: 5px;
}

.product-price-and-cart {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-left: 20px;
  margin-right: 20px;
}

.product-price {
  font-size: 30px;
  font-weight: bold;
  color: #000000;
}

.add-to-cart {
  background-color: #e53935;
  color: white;
  border: none;
  padding: 10px 40px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 25px;
  width: 100%;
}

.add-to-cart:hover {
  background-color: #d32f2f;
}

footer {
    background-color: #222;
    color: white;
    padding: 40px 20px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;

}
footer .footer-section {
    flex: 1;
    margin: 10px;
}
footer h3 {
    margin-bottom: 20px;
}
footer ul {
    list-style: none;
    padding: 0;
}
footer ul li {
    margin: 10px 0;
}
footer ul li a {
    color: white;
    text-decoration: none;
}
footer p, footer ul li {
    color: white;
}
.footer-content {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    gap: 200px;
}

.footer-column {
    flex: 1;
    min-width: 250px;
}

@media (max-width: 768px) {
  header {
    top: 10px;
    height: 40px;
    padding: 5px 10px;
    width: 95%;
  }
  
  .logo {
    font-size: 16px;
  }
  
  nav ul {
    gap: 10px;
  }
  
  .header-buttons {
    display: none;
  }

  .banner-container {
    height: 25vh;
    margin-top: 60px;
  }
  
  .banner-text {
    font-size: 1.5em;
    bottom: 10px;
    padding: 8px 15px;
  }

  .products-header h2 {
    font-size: 32px;
    text-align: center;
  }
  
  .product-list {
    margin: 0 5%;
    width: 90%;
    padding: 10px;
    gap: 15px;
  }
  
  .product-item {
    flex-direction: column;
    padding: 15px;
  }
  
  .product-image {
    width: 100%;
    margin: 0;
    order: -1;
  }
  
  .carousel-container {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }
  
  .product-details {
    margin: 15px 0 0 0;
    width: 100%;
  }
  
  .product-price-and-cart {
    margin: 15px 0 0 0;
    align-items: center;
  }
  
  .add-to-cart {
    font-size: 20px;
    padding: 8px 20px;
  }

  footer {
    flex-direction: column;
    padding: 30px 20px;
    text-align: center;
  }
  
  .footer-section {
    margin: 20px 0;
  }
  
  .dropdown-menu {
    display: none !important;
  }
}

@media (max-width: 480px) {
  nav ul {
    font-size: 14px;
  }
  
  .banner-text {
    font-size: 1.2em;
    width: 95%;
  }
  
  .product-price {
    font-size: 24px;
  }
  
  .product-details ul li {
    font-size: 12px;
  }
}