/* Reset Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Body Styling */
body {
  font-family: 'Poppins', sans-serif;
  background-color: #f4f4f4;
  color: #333;
  
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #545353;
  padding: 1rem 2rem;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Logo */
.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: #fff;
}

/* Navigation Links */
.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.nav-links li {
  display: inline;
}

.nav-links a {
  text-decoration: none;
  color: #fff;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #222;
}

/* Hamburger Icon */
.hamburger {
  display: none;
  font-size: 28px;
  cursor: pointer;
  color: white;
}


/* Product Details Section */
.product-details {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  max-width: 1100px;
  margin: 40px auto;
  padding: 20px;
}

.product-details img {
  width: 450px;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
}

/* Details Section */
.details {
  flex: 1;
}

.details h2 {
  font-size: 28px;
  font-weight: 600;
  color: #333;
  margin-bottom: 15px;
}

.details p {
  font-size: 18px;
  color: #555;
  margin-bottom: 10px;
  line-height: 1.5;
}

.offers {
  margin-top: 20px;
  padding: 10px 0;
}

.offers h3 {
  font-size: 20px;
  color: #333;
  margin-bottom: 8px;
}

.offers ul {
  list-style-type: disc;
  padding-left: 20px;
  color: #444;
}

/* Add to Cart Button */
.add-to-cart {
  display: inline-block;
  margin-top: 20px;
  padding: 14px 25px;
  background-color: #ff5500;
  color: white;
  font-size: 18px;
  font-weight: bold;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.3s, transform 0.2s;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
}

.add-to-cart:hover {
  background-color: #cc4400;
  transform: scale(1.05);
}

/* Footer */
.footer {
  background-color: #545353;
  color: #fff;
  padding: 20px 0;
  text-align: center;
  margin-top: 50px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-left {
  font-size: 1rem;
  margin-bottom: 30px;
}

.footer-right ul {
  list-style-type: none;
  padding: 0;
  margin: 20px;
}

.footer-right ul li {
  display: inline-block;
  margin-right: 20px;
}

.footer-right ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.footer-right ul li a:hover {
  color: #ff7c7c;
}

/* Social Icons */
.social-link img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  transition: transform 0.3s ease;
}

.social-link img:hover {
  transform: scale(1.1);
}

.social-link {
  text-decoration: none;
}

/* Responsive Design */
@media (max-width: 768px) {
  .product-details {
      flex-direction: column;
      text-align: center;
  }

  .product-details img {
      width: 100%;
      max-width: 350px;
  }

  .details {
      text-align: center;
  }

  .add-to-cart {
      width: 100%;
  }
  .nav-links {
    display: none;
    flex-direction: column;
    background: #545353;
    width: 100%;
    position: absolute;
    top: 60px;
    left: 0;
    padding: 10px 0;
}

.nav-links.active {
    display: flex;
}

.nav-links li {
    text-align: center;
    padding: 10px 0;
}

.hamburger {
    display: block;
}
}
