/* ================= GENERAL BODY ================= */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #f5f5f5;
  color: #7f5539;
}

/* ================= HEADER ================= */
header {
  background: #e0e0e0;
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
}
.logo-container { display: flex; align-items: center; }
.logo { max-height: 100px; width: auto; object-fit: contain; }

/* Navigation (desktop) */
nav { display: flex; align-items: center; gap: 15px; }
nav a {
  margin: 0 5px;
  text-decoration: none;
  color: #7f5539;
  font-weight: bold;
}
nav a:hover { color: #b08968; }

/* Dropdown (desktop) */
.dropdown { position: relative; }
.dropbtn {
  background: none; border: none; font-weight: bold; color: #7f5539;
  font-size: 1rem; cursor: pointer; padding: 8px 15px;
}
.dropbtn:hover { color: #b08968; }
.dropdown-content {
  display: none; position: absolute; background: #fff; min-width: 220px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15); border-radius: 6px; z-index: 2000;
}
.dropdown-content a {
  display: block; padding: 10px 15px; text-decoration: none; color: #7f5539;
}
.dropdown-content a:hover { background: #f5f5f5; color: #b08968; }
.dropdown-content.show { display: block; }

/* Hamburger (mobile only) */
.hamburger { display: none; font-size: 2rem; cursor: pointer; color: #7f5539; }

/* ================= HERO ================= */
.hero {
  background: url('images/hero.jpg') center/cover no-repeat;
  text-align: center; padding: 120px 20px;
}
.hero h2 { font-size: 3rem; color: #7f5539; }
.hero p { font-size: 1.5rem; margin: 15px 0; color: #7f5539; }

/* ================= GRID / CARDS ================= */
.categories, .bestsellers { padding: 50px 20px; text-align: center; }
.grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px; margin-top: 30px;
}
.card {
  background: #fff; padding: 20px; border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1); text-align: center;
}
.card img { width: 100%; border-radius: 10px; object-fit: cover; }
.card p { color: #7f5539; font-weight: bold; }

/* Inquiry button (replaces Add to Cart) */
.inquiry-btn {
  display: inline-block; margin-top: 10px; padding: 10px 14px;
  background: #7f5539; color: #fff; border: none; border-radius: 8px;
  font-weight: 600; cursor: pointer; transition: background .2s ease, transform .05s ease;
}
.inquiry-btn:hover { background: #b08968; }
.inquiry-btn:active { transform: scale(0.98); }

/* ================= WHY CHOOSE / ABOUT / TESTIMONIALS / CTA ================= */
.why-choose, .about, .testimonials, .cta { padding: 60px 20px; text-align: center; }
.why-choose h2, .about h2, .testimonials h2 { color: #7a4e21; }

/* Why Choose Tambrass layout & icon size (as you liked before) */
.features { display: flex; flex-wrap: wrap; justify-content: center; gap: 30px; }
.feature {
  width: 220px; background: #fff; padding: 20px; border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1); transition: transform 0.3s; text-align: center;
}
.feature:hover { transform: translateY(-5px); }
.feature img { width: 50px; height: auto; margin-bottom: 15px; }

.about { background: #fdfaf6; }
.about p { max-width: 700px; margin: 20px auto; line-height: 1.6; color: #444; }
.about .btn {
  display: inline-block; margin-top: 20px; padding: 12px 24px;
  background: #7f5539; color: #fff; font-weight: bold; border-radius: 8px;
  text-decoration: none; transition: background 0.3s ease;
}
.about .btn:hover { background: #b08968; }

.testimonials { background: #fdfaf6; }
.testimonial-boxes {
  display: flex; flex-wrap: wrap; gap: 30px; justify-content: center;
}
.testimonial {
  max-width: 350px; background: #fff; padding: 25px; border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1); transition: transform 0.3s ease;
}
.testimonial:hover { transform: translateY(-5px); }
.testimonial p { font-style: italic; color: #333; margin-bottom: 15px; line-height: 1.5; }
.testimonial h4 { font-weight: bold; color: #7f5539; }

.cta {
  background: linear-gradient(135deg, #b87333, #d4af37); color: #fff;
}
.cta .btn {
  display: inline-block; margin-top: 10px; padding: 12px 24px; background: #fff;
  color: #7a4e21; border-radius: 8px; text-decoration: none; font-weight: bold;
}

/* ================= FOOTER ================= */
footer {
  background: #2c1a0f; color: #fff; padding: 30px 20px; text-align: center;
}
.footer-links a, .socials a { color: #f1c27d; margin: 0 10px; text-decoration: none; }
.footer-links a:hover, .socials a:hover { text-decoration: underline; }

/* ================= WHATSAPP FLOAT ================= */
.whatsapp-float {
  position: fixed; bottom: 20px; right: 20px; z-index: 1000;
}
.whatsapp-float img {
  width: 60px; height: 60px; border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3); transition: transform 0.3s ease;
}
.whatsapp-float img:hover { transform: scale(1.1); }

/* ================= MOBILE MENU ================= */
@media (max-width: 900px) {
  nav {
    display: flex; flex-direction: column; background: #fff;
    position: absolute; top: 100px; right: 0; width: 100%; text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    max-height: 0; overflow: hidden; transition: max-height 0.4s ease;
  }
  #navbar.active { max-height: 500px; }
  nav a, .dropbtn { display: block; padding: 15px 0; border-bottom: 1px solid #eee; width: 100%; }
  .hamburger { display: block; }

  .dropdown-content {
    position: static; box-shadow: none; border-radius: 0; min-width: 100%;
    max-height: 0; overflow: hidden; transition: max-height 0.3s ease;
  }
  .dropdown-content.show { max-height: 500px; }
  .dropbtn::after { content: " ▾"; }
  .dropbtn.active::after { content: " ▴"; }
}

.card img {
  width: 100%;
  height: 300px;        /* you can increase or decrease this value */
  object-fit: contain;  /* keeps full image visible (no cropping) */
  border-radius: 10px;  /* rounded corners for clean look */
  background: #fff;     /* adds white background behind transparent PNGs */
}
