/* ─── RESET & BASE ─────────────────────────────────────── */
body {
  margin: 0;
  font-family: "inter", sans-serif;
  background: #f5f5f5;
  color: #222;
}

/* ─── HEADER ────────────────────────────────────────────── */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #0f5e2b;
  color: white;
  padding: 15px;
  position: relative;
}

.logo {
  font-weight: bold;
  font-size: 1rem;
}

nav {
  display: flex;
  gap: 15px;
  font-weight: 400;
  font-size: 19px;
}

nav a {
  color: white;
  text-decoration: none;
}

nav a:hover {
  text-decoration: underline;
}

.menu-toggle {
  display: none;
  font-size: 24px;
  cursor: pointer;
  color: white;
}

/* ─── HERO ──────────────────────────────────────────────── */
.hero {
  padding: 60px 20px;
  text-align: center;
  background: #f4f4f4;
}

h1 {
  font-size: 1.5rem;
}
p {
  font-size: 18px;
}
h2 {
  font-size: 2rem;
  text-align: center;
}
.pwq {
  font-size: 2rem;
  font-weight: 700;
}
.contact {
  font-size: 1.5rem;
  font-weight: 700;
}

h1,
h2,
h3,
.logo {
  font-family: "Poppins", sans-serif;
}
.hero h1,
.hero p,
.hero a {
  opacity: 0;
  transform: translateY(20px);
  animation: heroFade 1s forwards;
}

.hero p {
  animation-delay: 0.3s;
}
.hero a {
  animation-delay: 0.6s;
}

@keyframes heroFade {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ─── SECTIONS ──────────────────────────────────────────── */
.section {
  padding: 20px;
}

.cta {
  text-align: center;
  padding: 30px;
}

/* ─── GRID & CARDS ──────────────────────────────────────── */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  font-size: 20px;
}

.card {
  background: white;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.card:hover img {
  transform: scale(1.05);
}

.card h3 {
  margin: 10px;
}
.card p {
  margin: 10px;
}

/* ─── BUTTONS ───────────────────────────────────────────── */
.btn {
  display: inline-block;
  background: #ffc107;
  padding: 10px 15px;
  margin: 10px;
  text-decoration: none;
  color: black;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.btn:hover {
  background: #e0a800;
  transform: scale(1.05);
}

.hero .btn {
  background: linear-gradient(135deg, #ffb347 0%, #ffcc33 45%, #ff7f50 100%);
  color: #111;
  padding: 16px 28px;
  font-size: 1.05rem;
  font-weight: 700;
  border-radius: 999px;
  box-shadow: 0 18px 35px rgba(255, 128, 0, 0.28);
  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease,
    opacity 0.4s ease;
  animation: pulseButton 2.2s infinite ease-in-out;
}

.hero .btn:hover {
  transform: scale(1.08);
  box-shadow: 0 22px 48px rgba(255, 128, 0, 0.42);
}

@keyframes pulseButton {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.02);
    opacity: 0.95;
  }
}

/* ─── WHATSAPP FLOAT ────────────────────────────────────── */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25d366;
  color: white;
  padding: 15px;
  border-radius: 50%;
  text-decoration: none;
  font-size: 20px;
  z-index: 999;
}
.whatsapp-float:hover {
  transform: scale(1.1);
}

/* ─── TOOLBAR & FILTERS ─────────────────────────────────── */
.toolbar {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
}

.toolbar input,
.toolbar select {
  flex: 1;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
}

#searchInput {
  padding: 10px;
  width: 100%;
  margin-bottom: 10px;
}

#filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

#filters button {
  flex: 1;
  padding: 10px;
  border: none;
  background: #0a7f3f;
  color: white;
  border-radius: 6px;
  cursor: pointer;
}

#filters button:hover {
  background: #085f2f;
}

/* ─── PAGINATION ────────────────────────────────────────── */
#pagination button {
  margin: 5px;
  padding: 8px;
  background: #ffc107;
  border: none;
  cursor: pointer;
  border-radius: 4px;
}

/* ─── PRODUCT DETAIL ────────────────────────────────────── */
.product-box {
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding: 20px;
}

.product-box img {
  width: 100%;
  border-radius: 10px;
}

.product-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* ─── ANIMATIONS ────────────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.fade-in.show {
  opacity: 1;
  transform: translateY(0);
}

about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.box {
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  text-align: center;
}

/* ─── RESPONSIVE ────────────────────────────────────────── */
@media (max-width: 768px) {
  nav {
    display: none;
    flex-direction: column;
    background: #0a7f3f;
    position: absolute;
    top: 60px;
    right: 0;
    width: 200px;
    z-index: 100;
    padding: 10px;
  }

  nav.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .toolbar {
    flex-direction: column;
  }

  .toolbar input,
  .toolbar select {
    width: 100%;
  }

  #filters button {
    flex: 1 1 100%;
  }
}

@media (min-width: 768px) {
  .product-box {
    flex-direction: row;
    gap: 20px;
  }

  .product-box img {
    width: 50%;
  }
}
