html { scroll-behavior: smooth; }
body { font-family: 'Montserrat', sans-serif; }

/* Navigation */
.nav-link {
  color: #333;
  font-weight: 600;
  transition: color 0.3s;
}
.nav-link:hover { color: #FFC107; }
.mobile-link {
  display: block;
  padding: 0.5rem 1.5rem;
  color: #333;
  transition: all 0.3s;
}
.mobile-link:hover {
  background: #FFC107;
  color: #fff;
}

/* Hero */
.hero { position: relative; }
.hero-img { object-fit: cover; }
.hero-sub {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.5rem 1rem;
  background: rgba(0,0,0,0.7);
  color: #e3ff00;
  border-radius: 5px;
}
.btn-primary {
  background: #FFC107;
  color: #333;
  font-weight: bold;
  padding: 0.75rem 2rem;
  border-radius: 0.5rem;
  text-transform: uppercase;
  transition: background 0.3s;
}
.btn-primary:hover { background: #FFD54F; }

/* Products */
.section-title {
  color: #FFC107;
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
  text-align: center;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.25rem;
}
/* On large screens show 4 columns (4 cards per row) */
@media (min-width: 1100px) {
.product-grid {
  grid-template-columns: repeat(3, 1fr);
}
}
.product-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(0,0,0,0.12);
}
.card-img-wrapper { width: 100%; height: 200px; overflow: hidden; }
.card-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card-body { padding: 1rem; height: 350px; }
.card-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.5rem; }
.card-desc { font-size: 0.95rem; color: #444; line-height: 1.3; }

/* About */
#about .grid > div {
  min-width: 0;   /* allows children to shrink inside grid cells */
}
.subhead { font-size: 1.5rem; font-weight: bold; margin-bottom: 1rem; }
.para { margin-bottom: 1rem; line-height: 1.6; }
.para, .subhead {
  max-width: 100%;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;   /* prevents text from trying to stay on one line */
}

/* Supplier marquee */
.supplier-marquee { width: 100%; overflow: hidden; padding: 0.5rem 0; }
.supplier-track {
  display: flex;
  gap: 2rem;
  align-items: center;
  animation: marquee-left var(--marquee-duration, 18s) linear infinite;
  will-change: transform;
}
.supplier-set { display: flex; gap: 2rem; align-items: center; }
.logo img {
  height: 56px;
  max-width: 160px;
  object-fit: contain;
  display: block;
}
@keyframes marquee-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-1 * var(--scroll-width, 0px))); }
}
.supplier-marquee:hover .supplier-track { animation-play-state: paused; }
/*contact*/
#contact iframe {
  width: 100% ;  /* force it to match container width */
  max-width: 100%;
  height: auto;
  min-height: 300px;
  display: block;
}
#contact .grid > div {
  min-width: 0;   /* lets content shrink inside grid */
  overflow-x: hidden;
}

/* Form */
.form { background: #fff; padding: 2rem; border: 1px solid #ddd; border-radius: 8px; }
.input {
  width: 100%;
  background: #fff;
  padding: 0.75rem;
  margin-bottom: 1rem;
  border: 1px solid #ddd;
  border-radius: 0.5rem;
}
