/* General reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: #f4f4f4;
}

/* Header and navigation styles */
.header {
  background-color: #333;
  color: #fff;
  padding: 10px 0;
}

.Navcontainer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  margin-right: 10px;
}

.logo h1 {
  font-size: 1.6rem;
  color: #fff;
  text-transform: uppercase;
}

.navbar {
  display: flex;
  gap: 20px;
}

.navbar a {
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.navbar a:hover {
  color: #28a745;
}

#cart-count {
  font-weight: bold;
}

/* Slideshow container and image */
.slideshow {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.slides {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.slide {
  min-width: 100%;
  height: 100%;
  position: relative;
}

/* Image styling */
.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Banner content styling */
.banner-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  background-color: rgba(46, 46, 46, 0.5);
  padding: 20px;
  border-radius: 10px;
  width: 80%;
}

.banner-content h2 {
  font-size: 2rem;
  margin-bottom: 10px;
  font-weight: bold;
}

.banner-content p {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.shop-now-btn {
  padding: 12px 25px;
  background-color: #28a745;
  color: #fff;
  font-size: 1rem;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.shop-now-btn:hover {
  background-color: #218838;
}

/* Slideshow animation */
@keyframes slideAnimation {
  0% {
    transform: translateX(0);
  }
  33% {
    transform: translateX(-100%);
  }
  66% {
    transform: translateX(-200%);
  }
  100% {
    transform: translateX(0);
  }
}

.slides {
  animation: slideAnimation 9s infinite;
}

/* Product Section */
.products {
  padding: 20px;
  background-color: #ececec;
  margin-top: 0px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin: 0 auto;
  max-width: 1200px;
}

.product-card, .product-cardRadio {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  transition: all 0.3s ease;
}

.product-card:hover, .product-cardRadio:hover {
  transform: translateY(-10px);
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
}

.product-card img, .product-cardRadio img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.product-card h3, .product-cardRadio h3 {
  font-size: 1.2rem;
  margin: 15px 0;
  color: #333;
}
.products h1 {
  text-align: center;
  font-size: 20px;
}
.product-card p {
  font-size: 1rem;
  color: #777;
  margin-bottom: 15px;
}

form {
  padding: 10px;
  background-color: #f9f9f9;
  border-top: 1px solid #ddd;
}

label {
  font-size: 0.9rem;
  color: #555;
  display: block;
  margin: 5px 0;
}

input[type="radio"] {
  margin-right: 10px;
}

.cartButton {
  background-color: #28a745;
  color: #fff;
  border: none;
  padding: 10px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
  width: 80%;
  margin-top: 10px;
  transition: background-color 0.3s ease;
}

.cartButton:hover {
  background-color: #218838;
}

.product-cardRadio {
  padding: 15px;
}


/* Cart Section */
.cart {
  padding: 20px;
  text-align: center;
  margin-top: 20px;
}

#cart-items {
  margin: 20px 0;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  border-bottom: 1px solid #ddd;
}

.cart-item h4 {
  margin: 0;
}

#cart-total {
  margin-top: 20px;
  font-size: 1.2rem;
}

#checkout {
  margin-top: 20px;
  padding: 10px 20px;
  background: #007bff;
  color: white;
  border: none;
  cursor: pointer;
}

#checkout:disabled {
  background: gray;
  cursor: not-allowed;
}


/* Footer Base Styles */
.footer {
  background-color: #333;
  color: #ffffff;
  padding: 40px 20px;
  font-family: Arial, sans-serif;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
}

.footer-section {
  flex: 1;
  min-width: 250px;
}

.footer-section h3 {
  color: #f8c300;
  font-size: 18px;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.footer-section p,
.footer-section ul {
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-section ul li {
  padding: 5px 0;
  transition: color 0.3s ease;
  cursor: pointer;
}

.footer-section ul li:hover {
  color: #f8c300;
}

/* Payment Icons */
.payment-icons img {
  width: 60px;
  margin-right: 10px;
  transition: transform 0.3s ease-in-out;
}

.payment-icons img:hover {
  transform: scale(1.1);
}

/* Contact Details */
.footer-section p {
  margin: 5px 0;
}

/* Social Media Icons */
.social-icons {
  margin-top: 10px;
}

.social-icons a img {
  width: 35px;
  margin-right: 10px;
  transition: transform 0.3s ease-in-out;
}

.social-icons a img:hover {
  transform: scale(1.2);
}

/* Copyright Section */
.copyright {
  text-align: center;
  padding: 15px 0;
  margin-top: 20px;
  border-top: 1px solid #333;
  font-size: 13px;
}
/* Contact Section */
.contact-section {
  padding: 40px 20px;
  text-align: center;
  background: #f9f9f9;
}

.contact-form-container {
  max-width: 600px;
  margin: 0 auto;
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.contact-form .form-group {
  margin-bottom: 15px;
  text-align: left;
}

.contact-form label {
  font-weight: bold;
  margin-bottom: 5px;
  display: block;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1rem;
}

.contact-form textarea {
  resize: none;
}

.contact-form button {
  width: 100%;
  background: #28a745;
  color: white;
  padding: 10px 15px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
}

.contact-form button:hover {
  background: #218838;
}

/* About Us*/

.about-container {
  width: 80%;
  margin: 40px auto;
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

.about-content h2 {
  color: #333;
  border-bottom: 2px solid #007bff;
  padding-bottom: 5px;
  margin-bottom: 20px;
}

.about-content p, .about-content ul {
  font-size: 16px;
  color: #555;
  line-height: 1.6;
}

.about-content ul {
  list-style: none;
  padding: 0;
}

.about-content ul li {
  background: #798694;
  color: white;
  padding: 10px;
  margin: 10px 0;
  border-radius: 5px;
  font-weight: bold;
}

.features {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
}

.feature-box {
  width: 45%;
  background: #93aac2;
  color: white;
  padding: 15px;
  border-radius: 10px;
}

.social-links {
  margin-top: 20px;
  text-align: center;
}

.social-links img {
  width: 40px;
  margin: 10px;
  cursor: pointer;
}

.cart-icon {
  position: fixed;
  bottom: 30px;
  right: 40px;
  background-color: #ff5722;
  color: white;
  padding: 12px;
  border-radius: 50%;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  font-size: 20px;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.cart-icon .cart-count {
  position: absolute;
  top: -5px;
  right: -5px;
  background: red;
  color: white;
  font-size: 14px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Hover effect */
.cart-icon:hover {
  transform: scale(1.1);
  background-color: #e64a19;
}

/* Responsive Design Enhancements */
@media (max-width: 1024px) {

  .footer-section {
      text-align: center;
  }

  .payment-icons img {
      width: 50px;
  }

  .social-icons a img {
      width: 30px;
  }

  .feature-box {
    width: 100%;
  }
}

@media (max-width: 768px) {

  .navbar a {
    font-size: 0.9rem;
  }

  .logo h1 {
    font-size: 1.4rem;
  }

  .Navcontainer {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .banner-content h2 {
    font-size: 1.5rem;
  }

  .banner-content p {
    font-size: 1rem;
  }

  .shop-now-btn {
    font-size: 1rem;
  }

  .banner-content {
    top: 60%; /* Move the content lower */
  }

  .container {
    flex-direction: column;
    align-items: center;
 }

 .cart-icon {
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  font-size: 18px;
 }

.cart-icon .cart-count {
  font-size: 12px;
  width: 18px;
  height: 18px;
 }

  .footer-section {
      min-width: 100%;
      padding: 10px 0;
  }

  .footer-section h3 {
      font-size: 16px;
  }

  .footer-section p,
  .footer-section ul li {
      font-size: 13px;
  }

  .payment-icons img {
      width: 45px;
  }

  .social-icons a img {
      width: 28px;
  }

  .cart-item {
    flex-direction: column;
    text-align: center;
  }

  .about-container {
    width: 95%;
  }

  .product-grid {
    grid-template-columns: 1fr 1fr;
  }

  .contact-form-container {
    width: 90%;
  }

}

@media (max-width: 480px) {

  .Navcontainer {
    flex-direction: column;
    align-items: flex-start;
  }

  .navbar {
    flex-direction: column;
    gap: 10px;
  }

  .logo h1 {
    font-size: 1.2rem;
  }

  .banner-content {
    top: 70%; /* Move content further down on smaller screens */
  }

  .cart-icon {
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    font-size: 16px;
  }

.cart-icon .cart-count {
    font-size: 10px;
    width: 16px;
    height: 16px;
  }

  .footer {
      padding: 30px 15px;
  }

  .footer-section h3 {
      font-size: 14px;
  }

  .footer-section p,
  .footer-section ul li {
      font-size: 12px;
  }

  .payment-icons img {
      width: 40px;
  }

  .social-icons a img {
      width: 25px;
  }

  .copyright {
      font-size: 12px;
  }

  .footer-section {
    text-align: center;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .cartButton {
    padding: 12px;
  }

  .product-card h3, .product-cardRadio h3 {
    font-size: 1rem;
  }

  .product-card p {
    font-size: 0.9rem;
  }

  .cart {
    padding: 10px;
  }

  .contact-section {
    padding: 20px 10px;
  }

  .contact-form-container {
    padding: 15px;
  }

  .about-content h2 {
    font-size: 1.5rem;
  }
  
  .contact-form-container {
    width: 90%;
  }

} 
