/* ===========================
   RESET & BASE
   =========================== */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: #fff;
  color: #333;
  line-height: 1.6;
}
a { text-decoration: none; color: #1e90ff; transition: color .3s; }
a:hover { color: #0055aa; }

/* Bootstrap container override: enforce min 10% side margin */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 10%;
  padding-right: 10%;
}

/* Generic slabs for vertical spacing */
.slab { padding: 50px 0; }
.slab-hero { padding: 0; }

/* ===========================
   HEADER
   =========================== */
.site-header {
  background: #111;
  color: #fff;
  padding: 15px 0;
  border-bottom: 1px solid #1b1b1b;
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo a {
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 1px;
}
.logo span { color: #1e90ff; }
.main-nav a {
  margin-left: 25px;
  color: #ccc;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  position: relative;
}
.main-nav a:hover { color: #fff; }
.main-nav a::after {
  content: "";
  display: block;
  width: 0;
  height: 2px;
  background: #1e90ff;
  transition: width .3s;
  position: absolute;
  bottom: -6px;
  left: 0;
}
.main-nav a:hover::after { width: 100%; }

/* ===========================
   SLIDESHOW (multi-slide, fluid height)
   =========================== */
/* Slideshow container */
.slideshow {
  position: relative;
  width: 100%;
  overflow: hidden;
}

/* Each slide box (background-image) */
.slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  aspect-ratio: 16 / 6;       /* ~1600x600 cinematic ratio */
  background: center/cover no-repeat;
  opacity: 0;
  transition: opacity .8s ease-in-out;
  z-index: 0;
}
.slide.active {
  opacity: 1;
  z-index: 1;
  position: relative;
}

/* Caption overlay */
.slide-caption {
  position: absolute;
  bottom: 15%;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: #fff;
  background: rgba(0,0,0,0.45);
  padding: 20px 40px;
  border-radius: 8px;
  max-width: 80%;
  z-index: 2;
}

/* Arrows */
.slide-prev, .slide-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  border: none;
  color: #fff;
  font-size: 1.8rem;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 50%;
  z-index: 3;
  transition: background .3s;
}
.slide-prev { left: 20px; }
.slide-next { right: 20px; }
.slide-prev:hover, .slide-next:hover {
  background: rgba(0,0,0,0.8);
}


/* ===========================
   BUTTONS
   =========================== */
.btn-industrial {
  background: #1e90ff;
  color: #fff !important;
  padding: 10px 20px;
  border-radius: 4px;
  border: none;
  transition: background .25s ease;
}
.btn-industrial:hover { background: #0f63b3; }

/* ===========================
   CARDS (brands/products)
   =========================== */
.industrial-card {
  background: #fafafa;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  overflow: hidden;
  transition: transform .3s, box-shadow .3s, border-color .3s;
  height: 100%;
}
.industrial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.08);
  border-color: #dcdcdc;
}
.industrial-card img {
  width: 100%;
  height: 200px;
  object-fit: contain;
  background: #fff;
  padding: 15px;
}
.industrial-card .card-body { padding: 20px; }
.industrial-card h3 { font-size: 1.15rem; margin-bottom: 10px; font-weight: 700; }
.industrial-card p { font-size: 0.95rem; color: #555; margin-bottom: 14px; }

/* Brand intro paragraph */
.brand-lead { max-width: 800px; margin: 0 auto; }

/* ===========================
   FOOTER
   =========================== */
.site-footer {
  background: #222;
  color: #ddd;
  padding: 40px 0 20px;
  margin-top: 60px;
  border-top: 1px solid #2c2c2c;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px,1fr));
  gap: 30px;
}
.footer-col h4 {
  font-size: 1.1rem;
  margin-bottom: 15px;
  color: #fff;
}
.footer-col p, .footer-col a {
  font-size: 0.92rem;
  color: #bbb;
}
.footer-col ul { list-style: none;margin:0 0 0 0;padding:0 0 0 0; }
.footer-col li { margin: 0 0 8px 0;padding:0 0 0 0; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  text-align: center;
  margin-top: 30px;
  font-size: 0.85rem;
  color: #888;
  border-top: 1px solid #444;
  padding-top: 15px;
}

/* ===========================
   RESPONSIVE TWEAKS
   =========================== */
@media (max-width: 992px) {
  .slide-caption h2 { font-size: 2rem; }
  .container { padding-left: 8%; padding-right: 8%; }
}
@media (max-width: 576px) {
  .slide-caption h2 { font-size: 1.5rem; }
  .slide-caption p { font-size: 1rem; }
  .container { padding-left: 7%; padding-right: 7%; }
}

/* Brand logo box */
.logo-box {
  width: 100%;
  aspect-ratio: 5 / 2;   /* ~300x120 */
  background: #fff center/contain no-repeat;
  border: 1px solid #eee;
  border-radius: 6px;
}

/* Product thumbnail box */
.product-thumb {
  width: 100%;
  aspect-ratio: 1 / 1;   /* square */
  background: #fff center/contain no-repeat;
  border-bottom: 1px solid #eee;
}
