
:root {
  --primary-color: #ff6b35;
  --secondary-color: #f9f7f3;
  --accent-color: #ffbc42;
  --dark-color: #4a2c2a;
  --light-color: #fff;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
  background-color: var(--secondary-color);
  color: var(--dark-color);
  line-height: 1.6;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
/* Header Styles */
header {
  background-color: var(--light-color);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}
.logo-container {
  display: flex;
  align-items: center;
}
.logo-image {
  width: 50px;
  height: 40px;
  margin-right: 10px;
  background-image: url("logo.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
.logo {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-color);
  text-decoration: none;
}
.logo span {
  color: var(--dark-color);
}
.nav-menu {
  display: flex;
  list-style: none;
}
.nav-item {
  margin-left: 30px;
}
.nav-link {
  text-decoration: none;
  color: var(--dark-color);
  font-weight: 500;
  transition: color 0.3s ease;
}
.nav-link:hover {
  color: var(--primary-color);
}
.menu-toggle {
  display: none;
  cursor: pointer;
  font-size: 24px;
}
/* Hero Section */
.hero {
  background-image: linear-gradient(
      rgba(0, 0, 0, 0.6),
      rgba(0, 0, 0, 0.6)
    ),
    url("../image.png");
  color: var(--light-color);
  text-align: center;
  padding: 120px 20px;
  position: relative;
}
.hero h1 {
  font-size: 48px;
  margin-bottom: 20px;
}
.hero p {
  font-size: 20px;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.btn {
  display: inline-block;
  padding: 14px 34px;
  background-color: var(--light-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid var(--light-color);
  margin: 0 10px 10px 0;
}
.btn:hover {
  background-color: transparent;
  color: var(--light-color);
  transform: translateY(-3px);
}
/* Features Section */
.features {
  padding: 80px 0;
  background-color: var(--light-color);
}
.section-title {
  text-align: center;
  font-size: 36px;
  margin-bottom: 60px;
  position: relative;
}
.section-title::after {
  content: "";
  display: block;
  width: 100px;
  height: 3px;
  background-color: var(--primary-color);
  margin: 10px auto;
}
.features-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}
.feature-card {
  background-color: var(--secondary-color);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}
.feature-card:hover {
  transform: translateY(-10px);
}
.feature-icon {
  font-size: 50px;
  color: var(--primary-color);
  margin-bottom: 20px;
}
.feature-title {
  font-size: 24px;
  margin-bottom: 15px;
}
/* Products Section */
.products {
  padding: 80px 0;
  background-color: var(--secondary-color);
}
.product-categories {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.category-btn {
  padding: 10px 20px;
  margin: 5px 10px;
  background-color: var(--light-color);
  color: var(--dark-color);
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s ease;
}
.category-btn.active {
  background-color: var(--primary-color);
  color: var(--light-color);
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}
.product-card {
  background-color: var(--light-color);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  margin: 0 auto;
  max-width: 320px;
  cursor: pointer;
}
.product-card:hover {
  transform: translateY(-5px);
}
.product-img-container {
  width: 100%;
  height: 250px;
  overflow: hidden;
  position: relative;
}
.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.3s ease;
}
.product-card:hover .product-img {
  transform: scale(1.05);
}
.product-details {
  padding: 20px;
  text-align: center;
}
.product-title {
  font-size: 20px;
  margin-bottom: 10px;
  font-weight: 600;
}
.product-price {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 15px;
  font-size: 18px;
}
.product-buttons {
  display: flex;
  gap: 10px;
  justify-content: center;
}
.view-details,
.add-to-cart {
  padding: 8px 15px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}
.view-details {
  background-color: var(--secondary-color);
  color: var(--dark-color);
}
.add-to-cart {
  background-color: var(--primary-color);
  color: var(--light-color);
}
.view-details:hover {
  background-color: var(--dark-color);
  color: var(--light-color);
}
.add-to-cart:hover {
  background-color: #c1121f;
}
/* Product Detail Page Styles */
.product-detail {
  padding: 40px 0;
  background-color: var(--light-color);
  min-height: 60vh;
}
.product-detail-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}
.product-detail-img {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}
.product-detail-info h1 {
  font-size: 32px;
  margin-bottom: 20px;
  color: var(--dark-color);
}
.product-detail-price {
  font-size: 24px;
  color: var(--primary-color);
  font-weight: 700;
  margin-bottom: 20px;
}
.product-detail-description {
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 30px;
  color: var(--dark-color);
}
.back-btn {
  background-color: var(--secondary-color);
  color: var(--dark-color);
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  margin-bottom: 20px;
  text-decoration: none;
  display: inline-block;
}
.back-btn:hover {
  background-color: var(--dark-color);
  color: var(--light-color);
}
/* Loading optimization */
/* .product-card[data-category]:not([data-category="sweets"]) {
      display: none;
  } */
/* Testimonials Section */
.testimonials {
  padding: 80px 0;
  background-color: var(--light-color);
}
.testimonial-slider {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}
.testimonial-slide {
  background-color: var(--secondary-color);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  display: none;
}
.testimonial-slide.active {
  display: block;
}
.testimonial-text {
  font-style: italic;
  margin-bottom: 20px;
}
.testimonial-author {
  font-weight: 600;
}
.slider-dots {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}
.dot {
  width: 12px;
  height: 12px;
  background-color: var(--accent-color);
  border-radius: 50%;
  margin: 0 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.dot.active {
  background-color: var(--primary-color);
}
/* Locations Section */
.locations {
  padding: 80px 0;
  background-color: var(--secondary-color);
}
.locations-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}
.location-card {
  background-color: var(--light-color);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
.location-title {
  font-size: 22px;
  margin-bottom: 15px;
  color: var(--primary-color);
}
.location-address {
  margin-bottom: 10px;
}
.location-contact {
  margin-bottom: 15px;
}
/* WhatsApp Integration */
.whatsapp-chat {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #25d366;
  color: var(--light-color);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: transform 0.3s ease;
  z-index: 99;
}
.whatsapp-chat:hover {
  transform: scale(1.1);
}
.whatsapp-icon {
  font-size: 30px;
}
/* Footer */
footer {
  background-color: var(--dark-color);
  color: var(--light-color);
  padding: 50px 0 20px;
}
.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
}
.footer-logo {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 15px;
}
.footer-desc {
  margin-bottom: 20px;
}
.footer-social {
  display: flex;
  margin-bottom: 20px;
}
.social-link {
  display: inline-block;
  width: 40px;
  height: 40px;
  background-color: var(--light-color);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 10px;
  color: var(--dark-color);
  transition: all 0.3s ease;
}
.social-link:hover {
  background-color: var(--primary-color);
  color: var(--light-color);
}
.footer-title {
  font-size: 20px;
  margin-bottom: 20px;
}
.footer-links {
  list-style: none;
}
.footer-link {
  margin-bottom: 10px;
}
.footer-link a {
  color: var(--light-color);
  text-decoration: none;
  transition: color 0.3s ease;
}
.footer-link a:hover {
  color: var(--primary-color);
}
.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
}
/* Responsive Styles */
@media screen and (max-width: 768px) {
  .container {
    padding: 0 15px;
  }
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background-color: var(--light-color);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
    z-index: 100;
  }
  .nav-menu.active {
    left: 0;
  }
  .nav-item {
    margin: 20px 0;
  }
  .menu-toggle {
    display: block;
  }
  .hero {
    padding: 60px 15px;
  }
  .hero h1 {
    font-size: 32px;
  }
  .hero p {
    font-size: 16px;
  }
  .section-title {
    font-size: 28px;
    margin-bottom: 40px;
  }
  .product-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
  }
  .product-detail-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .product-detail-img {
    max-height: 300px;
  }
  .product-detail-info h1 {
    font-size: 24px;
  }
  .product-detail-price {
    font-size: 20px;
  }
  .product-detail-description {
    font-size: 16px;
  }
  .whatsapp-chat {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
  }
}
/* Lazy loading placeholder */
.product-img[data-src] {
  background-color: var(--secondary-color);
}