/* ==========================================
   RESET & GLOBAL STYLES
   ========================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  color: #333333;
  background-color: #f8f9fa;
  scroll-behavior: smooth;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* ==========================================
   HEADER & NAVBAR
   ========================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  padding: 10px 0;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}

.brand-section {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  height: 52px;
  width: 52px;
  object-fit: cover;
  border-radius: 50%;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #d32f2f;
  line-height: 1.1;
}

.brand-tagline {
  font-size: 0.75rem;
  color: #757575;
  font-weight: 500;
}

.nav-links {
  display: flex;
  gap: 28px;
}

.nav-links a {
  font-weight: 500;
  color: #424242;
  transition: color 0.3s ease;
  font-size: 0.95rem;
}

.nav-links a:hover,
.nav-links a.active {
  color: #d32f2f;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.whatsapp-btn {
  background-color: #e50914;
  color: #ffffff;
  padding: 10px 22px;
  border-radius: 25px;
  font-weight: 600;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 10px rgba(229, 9, 20, 0.25);
  transition: transform 0.2s ease, background-color 0.3s ease;
}

.whatsapp-btn:hover {
  background-color: #b90710;
  transform: translateY(-2px);
}

.cart-icon {
  position: relative;
  font-size: 1.3rem;
  color: #333333;
  cursor: pointer;
}

.cart-badge {
  position: absolute;
  top: -8px;
  right: -10px;
  background-color: #d32f2f;
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 50%;
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero-section {
  width: 100%;
  height: 80vh;
  min-height: 480px;
  background: url('images/5840674511426973.jpg') no-repeat center center/cover;
  position: relative;
}

.hero-overlay {
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.4) 60%, rgba(0, 0, 0, 0.1) 100%);
  display: flex;
  align-items: center;
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  color: #ffffff;
  width: 100%;
}

.hero-badge {
  display: inline-block;
  background-color: rgba(211, 47, 47, 0.9);
  color: #ffffff;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.hero-content h2 {
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.2;
  max-width: 600px;
  margin-bottom: 15px;
}

.hero-content p {
  font-size: 1.1rem;
  color: #e0e0e0;
  max-width: 500px;
  margin-bottom: 25px;
}

.hero-cta {
  display: flex;
  gap: 15px;
}

.btn-primary {
  background-color: #d32f2f;
  color: #ffffff;
  padding: 12px 28px;
  border-radius: 6px;
  font-weight: 600;
  transition: background-color 0.3s;
}

.btn-primary:hover {
  background-color: #b71c1c;
}

.btn-secondary {
  background-color: transparent;
  border: 2px solid #ffffff;
  color: #ffffff;
  padding: 10px 24px;
  border-radius: 6px;
  font-weight: 600;
  transition: background-color 0.3s, color 0.3s;
}

.btn-secondary:hover {
  background-color: #ffffff;
  color: #333333;
}

/* ==========================================
   CATEGORIES SECTION
   ========================================== */
.categories-section {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
}

.section-title {
  margin-bottom: 25px;
}

.section-title h3 {
  font-size: 1.6rem;
  color: #212121;
}

.section-title p {
  font-size: 0.9rem;
  color: #757575;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 20px;
}

.category-card {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 20px 10px;
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.category-card:hover,
.category-card.active {
  border-color: #d32f2f;
  transform: translateY(-4px);
  box-shadow: 0 6px 15px rgba(211, 47, 47, 0.12);
}

.category-icon {
  font-size: 2rem;
  color: #d32f2f;
  margin-bottom: 10px;
}

.category-card h4 {
  font-size: 0.95rem;
  font-weight: 600;
}

/* ==========================================
   PRODUCTS SECTION
   ========================================== */
.products-section {
  max-width: 1200px;
  margin: 40px auto 60px;
  padding: 0 20px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 25px;
}

.product-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border: 1px solid #f0f0f0;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.product-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background-color: #d32f2f;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 4px;
  z-index: 2;
}

.product-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.product-info {
  padding: 18px;
}

.product-info h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: #212121;
}

.product-desc {
  font-size: 0.85rem;
  color: #666666;
  margin-bottom: 12px;
}

.product-meta {
  display: flex;
  gap: 15px;
  font-size: 0.8rem;
  color: #757575;
  margin-bottom: 18px;
  border-top: 1px dashed #e0e0e0;
  padding-top: 10px;
}

.product-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.price {
  font-size: 1.2rem;
  font-weight: 700;
  color: #212121;
}

.old-price {
  font-size: 0.85rem;
  color: #9e9e9e;
  text-decoration: line-through;
  margin-left: 5px;
}

.add-btn {
  background-color: #ffffff;
  color: #d32f2f;
  border: 1.5px solid #d32f2f;
  padding: 6px 18px;
  border-radius: 6px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}

.add-btn:hover {
  background-color: #d32f2f;
  color: #ffffff;
}

/* ==========================================
   FEATURES SECTION
   ========================================== */
.features-section {
  max-width: 1200px;
  margin: 0 auto 60px;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.feature-card {
  background-color: #ffffff;
  padding: 25px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.feature-card i {
  font-size: 2.2rem;
  color: #d32f2f;
  margin-bottom: 12px;
}

.feature-card h4 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 0.85rem;
  color: #666666;
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
  background-color: #1a1a1a;
  color: #ffffff;
  padding: 50px 0 20px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.footer-col h3 {
  color: #d32f2f;
  margin-bottom: 10px;
}

.footer-col h4 {
  margin-bottom: 15px;
}

.footer-col p {
  color: #b0b0b0;
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  color: #b0b0b0;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-col ul li a:hover {
  color: #ffffff;
}

.footer-wa {
  display: inline-flex;
  margin-top: 10px;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid #333333;
  margin-top: 40px;
  padding-top: 20px;
  font-size: 0.8rem;
  color: #757575;
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */
@media (max-width: 768px) {
  .nav-links {
    display: none; /* Mobile menu can be toggled via JS if needed */
  }

  .hero-content h2 {
    font-size: 2rem;
  }

  .brand-tagline {
    display: none;
  }
}