body {
  margin: 0;
  font-family: "Arial", sans-serif;
  background: url("BAK1.jpg") no-repeat center center fixed;
  background-size: cover;
  padding-top: 60px;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to left, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 1));
  z-index: -1;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}

.logo img {
  height: 60px;
}

nav {
  flex: 1;
  display: flex;
  justify-content: center;
  gap: 40px;
}

nav a {
  text-decoration: none;
  color: white;
  font-weight: bold;
  transition: color 0.3s;
}

nav a:hover {
  color: #ddd;
}

.hamburger {
  display: none;
  font-size: 28px;
  color: white;
  cursor: pointer;
}

.hero {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 140px 60px 20px;
  gap: 40px;
}

.hero-text {
  max-width: 50%;
  color: rgb(255, 119, 0);
}

.hero-text h1 {
  font-weight: bold;
  font-size: 60px;
  margin-bottom: 10px;
}

.hero-text h2 {
  font-size: 24px;
  color: #ffffff;
  margin-bottom: 20px;
}

.hero-text p {
  font-size: 18px;
  line-height: 1.6;
  color: #ffffff;
}

.products-title {
  text-align: right;
  font-size: 36px;
  color: #ffffff;
  font-weight: bold;
  margin-top: 40px;
  margin-bottom: 30px;
  position: absolute;
  right: 0;
  margin-right: 170px;
}

.cards {
  position: relative;
  width: 300px;
  height: 300px;
  perspective: 1000px;
  margin-top: 110px;
  margin-right: 60px;
}

.card-wrapper {
  position: absolute;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  animation: rotateCylinder 20s linear infinite;
  transition: animation-play-state 0.3s ease;
}

.card-wrapper:hover {
  animation-play-state: paused;
}

.card {
  position: absolute;
  width: 180px;
  height: 200px;
  background-color: rgba(255, 255, 255, 0.8);
  padding: 15px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  left: 60px;
  top: 40px;
  transform-origin: center center;
  text-align: center;
  cursor: pointer;
  transition: transform 0.3s ease-in-out;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.card img {
  width: 100%;
  height: 70%;
  object-fit: cover;
  border-radius: 8px;
}

.card h3 {
  font-size: 16px;
  margin-top: 10px;
  color: #333;
}

@keyframes rotateCylinder {
  from {
    transform: rotateY(0deg);
  }
  to {
    transform: rotateY(360deg);
  }
}

.floating-button {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #ff6600;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  cursor: pointer;
  z-index: 999;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: background-color 0.3s;
}

.floating-button:hover {
  background-color: #e65c00;
}

.social-icons {
  position: fixed;
  bottom: 100px;
  right: 38px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  transition: all 0.4s ease-in-out;
  opacity: 0;
  pointer-events: none;
}

.social-icons.show {
  opacity: 1;
  pointer-events: auto;
}

.social-icons a {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background-color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s, background-color 0.3s;
}

.social-icons a.whatsapp {
  background-color: #25d366;
}
.social-icons a.instagram {
  background-color: #e1306c;
}
.social-icons a.facebook {
  background-color: #3b5998;
}

.social-icons a:hover {
  transform: scale(1.1);
}

footer {
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 40px 20px;
  text-align: center;
  margin-top: 80px;
}

footer h3 i {
  color: orange;
  margin-right: 8px;
}

footer a {
  color: white;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
    margin-right: 30px;
  }

  header {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
  }

  .logo img {
    height: 50px;
  }

  nav {
    display: none;
    flex-direction: column;
    gap: 10px;
    background-color: rgba(0, 0, 0, 0.9);
    position: absolute;
    top: 70px;
    right: 20px;
    padding: 15px;
    border-radius: 8px;
  }

  nav.show {
    display: flex;
  }

  .hero {
    flex-direction: column;
    padding: 120px 20px 20px;
    gap: 40px;
  }

  .hero-text {
    max-width: 100%;
    text-align: center;
  }

  .hero-text h1 {
    font-size: 36px;
  }

  .hero-text h2 {
    font-size: 20px;
  }

  .hero-text p {
    font-size: 16px;
  }

  .products-title {
    position: static;
    text-align: center;
    margin: 30px auto 10px;
    font-size: 28px;
  }

  .cards {
    margin: 30px auto;
    width: 250px;
    height: 250px;
  }

  .card {
    width: 160px;
    height: 180px;
    left: 45px;
    top: 35px;
  }

  .social-icons {
    right: 20px;
    bottom: 90px;
  }

  .floating-button {
    right: 20px;
    bottom: 20px;
    width: 50px;
    height: 50px;
    font-size: 20px;
  }

  footer div {
    flex-direction: column;
    gap: 20px;
  }
}
