/* ==================== RESET & BASE STYLES ==================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  background-color: #ffffff;
  color: #222;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ==================== CONTAINER ==================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ==================== SECTION TITLE ==================== */
.section-title {
  font-size: 32px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 48px;
  color: #222;
}

/* ==================== BUTTON ==================== */
.btn {
  background: #ff9f00;
  border: none;
  padding: 12px 28px;
  border-radius: 24px;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  color: #222;
  transition: all 0.3s ease;
  display: inline-block;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 159, 0, 0.3);
}

/* ==================== NAVBAR ==================== */
.navbar {
  background: #2b6cff;
  color: #fff;
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.navbar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  transition: opacity 0.3s ease;
}

.nav-links a:hover {
  opacity: 0.8;
}

.cart {
  font-size: 24px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.cart:hover {
  transform: scale(1.1);
}

/* ==================== HERO SECTION ==================== */
.hero {
  padding: 80px 0;
  background: linear-gradient(to bottom, #f8f9fa 0%, #dcdcff 100%);
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

.hero-text {
  flex: 1;
  max-width: 550px;
}

.hero-text h1 {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #222;
}

.hero-text p {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 32px;
  color: #555;
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

/* ==================== PRODUCTS SECTION ==================== */
.products {
  padding: 80px 0;
  background: #ffffff;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
}

.product-card {
  background: #ffe1bd;
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: #ff9f00;
  padding: 6px 12px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 700;
  color: #222;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.product-image {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.product-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.product-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.product-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: #222;
}

.price {
  font-size: 24px;
  font-weight: 700;
  color: #222;
  margin: 8px 0;
}

/* ==================== OFFERS SECTION ==================== */
.offers {
  padding: 80px 0;
  background: #f8f9fa;
}

.offer-boxes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  max-width: 800px;
  margin: 0 auto;
}

.offer {
  background: #dcdcff;
  padding: 40px 32px;
  border-radius: 16px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.offer:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.offer-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.offer h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #222;
}

.offer p {
  font-size: 15px;
  color: #555;
  margin-bottom: 24px;
  line-height: 1.6;
}

/* ==================== TESTIMONIALS SECTION ==================== */
.testimonials {
  padding: 80px 0;
  background: #ffffff;
}

.testimonial-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  max-width: 1000px;
  margin: 0 auto;
}

.testimonial {
  background: #e4f2c7;
  padding: 32px 24px;
  border-radius: 16px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.stars {
  font-size: 20px;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.testimonial p {
  font-size: 15px;
  line-height: 1.7;
  color: #333;
  font-style: italic;
}

/* ==================== FOOTER ==================== */
.footer {
  background: #6c7fa3;
  color: white;
  padding: 60px 0 24px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
  color: white;
}

.footer-section p {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
}

.copyright {
  text-align: center;
  font-size: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 24px;
  color: rgba(255, 255, 255, 0.8);
}

/* ==================== RESPONSIVE DESIGN ==================== */

/* Tablets and below */
@media (max-width: 968px) {
  .section-title {
    font-size: 28px;
    margin-bottom: 40px;
  }

  .hero-content {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }

  .hero-text {
    max-width: 100%;
  }

  .hero-text h1 {
    font-size: 36px;
  }

  .hero-image img {
    max-width: 400px;
  }

  .product-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
  }
}

/* Mobile devices */
@media (max-width: 640px) {
  .navbar-content {
    flex-wrap: wrap;
    gap: 16px;
  }

  .logo {
    font-size: 20px;
  }

  .nav-links {
    gap: 20px;
    font-size: 14px;
  }

  .cart {
    font-size: 20px;
  }

  .hero {
    padding: 48px 0;
  }

  .hero-text h1 {
    font-size: 28px;
  }

  .hero-text p {
    font-size: 15px;
  }

  .hero-image img {
    max-width: 100%;
  }

  .section-title {
    font-size: 24px;
    margin-bottom: 32px;
  }

  .products,
  .offers,
  .testimonials {
    padding: 48px 0;
  }

  .product-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .offer-boxes {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .testimonial-cards {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer {
    padding: 40px 0 20px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* Very small devices */
@media (max-width: 400px) {
  .nav-links {
    gap: 12px;
    font-size: 13px;
  }

  .hero-text h1 {
    font-size: 24px;
  }

  .btn {
    padding: 10px 20px;
    font-size: 13px;
  }
}