/* ================= 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: 200px;
  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 */
.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;
}

/* ================= COLLECTIONS & BEST SELLERS ================= */
.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);
}
.card img {
  width: 100%;
  border-radius: 10px;
}
.card p {
  color: #7f5539;
  font-weight: bold;
}

/* ================= WHY CHOOSE TAMBRAss ================= */
.why-choose {
  padding: 60px 20px;
  text-align: center;
  background: #fdfaf6;
}
.why-choose h2 {
  font-size: 2rem;
  margin-bottom: 40px;
  color: #7a4e21;
}
.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 ================= */
.about {
  padding: 60px 20px;
  text-align: center;
  background: #fdfaf6;
}
.about h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #7a4e21;
}
.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 ================= */
.testimonials {
  padding: 60px 20px;
  background: #fdfaf6;
  text-align: center;
}
.testimonials h2 {
  font-size: 2rem;
  margin-bottom: 40px;
  color: #7a4e21;
}
.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,
.testimonial .author {
  font-weight: bold;
  color: #7f5539;
}

/* ================= CALL TO ACTION ================= */
.cta {
  padding: 60px 20px;
  text-align: center;
  background: linear-gradient(135deg, #b87333, #d4af37);
  color: #fff;
}
.cta .btn {
  background: #fff;
  color: #7a4e21;
  padding: 12px 24px;
  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 FLOATING BUTTON ================= */
.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);
}

/* ================= RESPONSIVE (MOBILE) ================= */
@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);

    /* Slide effect */
    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 inside mobile */
  .dropdown-content {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-top: 1px solid #eee;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
  }
  .dropdown-content.show {
    max-height: 500px;
  }

  /* Arrow change */
  .dropbtn::after {
    content: " ▾";
  }
  .dropbtn.active::after {
    content: " ▴";
  }
}
