/* Iman Trading Co. - Frontend Theme */

:root {
  --primary: #0f7a3d;
  --primary-dark: #0a5c2c;
  --primary-light: #e8f5ec;
  --gold: #d4af37;
  --dark: #12261a;
  --gray-text: #5c6b63;
  --radius: 14px;
}

body {
  font-family: 'Poppins', 'Segoe UI', Tahoma, sans-serif;
  color: #263229;
  background: #fbfbf9;
}

h1, h2, h3, h4, h5, .brand-font {
  font-family: 'Poppins', 'Segoe UI', sans-serif;
  font-weight: 600;
}

a { text-decoration: none; }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--dark);
  color: #cfe9d8;
  font-size: 0.85rem;
}
.topbar a { color: #cfe9d8; }
.topbar a:hover { color: var(--gold); }

/* ---------- Navbar ---------- */
.navbar-brand img { height: 48px; }
.navbar-brand .brand-text {
  font-weight: 700;
  color: var(--primary-dark);
  font-size: 1.35rem;
  line-height: 1.1;
}
.navbar-brand .brand-text small {
  display: block;
  font-size: 0.65rem;
  font-weight: 400;
  color: var(--gray-text);
  letter-spacing: 0.5px;
}
.navbar {
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.navbar .nav-link {
  font-weight: 500;
  color: #2b3a30;
  margin: 0 4px;
}
.navbar .nav-link.active,
.navbar .nav-link:hover {
  color: var(--primary);
}
.btn-whatsapp {
  background: #25D366;
  color: #fff;
  border-radius: 50px;
  padding: 8px 20px;
  font-weight: 600;
}
.btn-whatsapp:hover { background: #1ebd58; color: #fff; }

.btn-brand {
  background: var(--primary);
  color: #fff;
  border-radius: 50px;
  padding: 10px 26px;
  font-weight: 600;
  border: none;
}
.btn-brand:hover { background: var(--primary-dark); color: #fff; }

.btn-outline-brand {
  border: 2px solid var(--primary);
  color: var(--primary);
  border-radius: 50px;
  padding: 8px 24px;
  font-weight: 600;
}
.btn-outline-brand:hover { background: var(--primary); color: #fff; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(120deg, var(--primary-dark) 0%, var(--primary) 65%, #12a355 100%);
  color: #fff;
  overflow: hidden;
  padding: 90px 0 110px;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 85% 20%, rgba(255,255,255,0.12) 0%, transparent 45%),
                     radial-gradient(circle at 10% 90%, rgba(212,175,55,0.18) 0%, transparent 40%);
}
.hero h1 { font-size: 2.6rem; font-weight: 700; }
.hero .lead { font-size: 1.15rem; color: #e5f5ea; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  margin-bottom: 18px;
}
.hero-shape {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  line-height: 0;
}
.hero-collage {
  position: relative;
  height: 420px;
}
.hero-collage .hc-item {
  position: absolute;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 18px 40px rgba(0,0,0,0.25);
  border: 4px solid rgba(255,255,255,0.9);
}
.hero-collage .hc-1 { width: 230px; height: 180px; top: 0; right: 40px; }
.hero-collage .hc-2 { width: 220px; height: 160px; top: 60px; left: 0; }
.hero-collage .hc-3 { width: 170px; height: 170px; bottom: 0; right: 90px; }
.hero-collage .hc-4 { width: 190px; height: 150px; bottom: 30px; left: 30px; }

/* ---------- Section titles ---------- */
.section-pad { padding: 70px 0; }
.section-title { text-align: center; margin-bottom: 45px; }
.section-title .eyebrow {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
  font-size: 0.8rem;
}
.section-title h2 { font-size: 2rem; color: var(--dark); margin-top: 6px; }
.section-title p { color: var(--gray-text); max-width: 600px; margin: 10px auto 0; }

/* ---------- Category cards ---------- */
.category-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 30px 20px;
  text-align: center;
  height: 100%;
  border: 1px solid #eef1ee;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(18,38,26,0.04);
}
.category-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(18,38,26,0.12);
  border-color: transparent;
}
.category-icon {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 18px;
  transition: all 0.25s ease;
}
.category-card:hover .category-icon {
  background: var(--primary);
  color: #fff;
}
.category-photo {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 18px;
  border: 3px solid var(--primary-light);
  transition: all 0.25s ease;
}
.category-photo img { width: 100%; height: 100%; object-fit: cover; }
.category-card:hover .category-photo { border-color: var(--primary); }
.category-card h5 { margin-bottom: 6px; color: var(--dark); }
.category-card p { font-size: 0.85rem; color: var(--gray-text); margin-bottom: 0; }

/* ---------- Product cards ---------- */
.product-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid #eef1ee;
  height: 100%;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(18,38,26,0.04);
}
.product-card:hover { box-shadow: 0 14px 30px rgba(18,38,26,0.1); transform: translateY(-4px); }
.product-card .img-wrap { height: 210px; overflow: hidden; background: var(--primary-light); position: relative; }
.product-card .img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.product-card .badge-stock { position: absolute; top: 12px; right: 12px; }
.product-card .body { padding: 18px; }
.product-card .cat-tag { font-size: 0.72rem; color: var(--primary); text-transform: uppercase; font-weight: 700; letter-spacing: 0.5px; }
.product-card h6 { margin: 6px 0 8px; color: var(--dark); font-weight: 600; }
.product-card .price { color: var(--primary-dark); font-weight: 700; font-size: 1.1rem; }
.product-card .price del { color: #aaa; font-weight: 400; font-size: 0.9rem; margin-right: 6px; }

/* ---------- Service cards ---------- */
.service-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 34px 26px;
  height: 100%;
  border: 1px solid #eef1ee;
  transition: all 0.25s ease;
  position: relative;
}
.service-card:hover { box-shadow: 0 14px 30px rgba(18,38,26,0.1); transform: translateY(-6px); }
.service-card .service-icon {
  width: 62px; height: 62px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
}
.service-card h5 { color: var(--dark); }
.service-card p { color: var(--gray-text); font-size: 0.92rem; }
.service-card .price-tag { color: var(--gold); font-weight: 700; font-size: 0.85rem; }
.service-photo {
  width: 100%;
  height: 160px;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 20px;
}
.service-photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Why us / features ---------- */
.feature-item { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 26px; }
.feature-icon {
  width: 50px; height: 50px; min-width: 50px;
  border-radius: 12px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
}
.feature-item h6 { color: var(--dark); margin-bottom: 4px; }
.feature-item p { color: var(--gray-text); font-size: 0.88rem; margin-bottom: 0; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--dark);
  color: #fff;
  border-radius: var(--radius);
  padding: 50px;
}

/* ---------- Footer ---------- */
footer {
  background: #0e1f15;
  color: #b7c9bd;
  padding-top: 60px;
}
footer h6 { color: #fff; font-weight: 700; margin-bottom: 20px; }
footer a { color: #b7c9bd; }
footer a:hover { color: var(--gold); }
footer ul { list-style: none; padding: 0; }
footer ul li { margin-bottom: 10px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); margin-top: 40px; padding: 20px 0; font-size: 0.85rem; }
.social-circle {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: inline-flex; align-items: center; justify-content: center;
  margin-right: 8px;
  color: #fff;
}
.social-circle:hover { background: var(--primary); }

/* ---------- Breadcrumb / page header ---------- */
.page-header {
  background: linear-gradient(120deg, var(--primary-dark), var(--primary));
  color: #fff;
  padding: 55px 0;
}
.page-header h1 { font-size: 2rem; margin-bottom: 6px; }
.page-header .breadcrumb { background: transparent; margin-bottom: 0; }
.page-header .breadcrumb a { color: #dff0e4; }
.page-header .breadcrumb-item.active { color: #fff; }

/* ---------- Filters ---------- */
.filter-pill {
  border: 1px solid #dfe6e1;
  border-radius: 50px;
  padding: 8px 18px;
  font-size: 0.85rem;
  color: #3a4a3f;
  display: inline-block;
  margin: 0 6px 10px 0;
  transition: all 0.2s;
}
.filter-pill.active, .filter-pill:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

/* ---------- Floating WhatsApp button ---------- */
.float-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px; height: 60px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
  z-index: 999;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.5); }
  70% { box-shadow: 0 0 0 14px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* ---------- Contact page ---------- */
.contact-box {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid #eef1ee;
  height: 100%;
}
.contact-box .icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 16px;
}
.map-wrap { border-radius: var(--radius); overflow: hidden; border: 1px solid #eef1ee; }
.map-wrap iframe { width: 100%; height: 400px; border: 0; display: block; }

/* ---------- Installment info banner ---------- */
.installment-banner {
  background: linear-gradient(120deg, #14532d, #1c7d3f);
  border-radius: var(--radius);
  color: #fff;
  padding: 40px;
}

@media (max-width: 767px) {
  .hero { padding: 60px 0 80px; text-align: center; }
  .hero h1 { font-size: 2rem; }
  .section-pad { padding: 45px 0; }
  .cta-band { padding: 30px; text-align: center; }
}
