/* ------------------------------
   Global Styles
------------------------------ */
body { 
  font-family: 'Segoe UI', sans-serif; 
  background: #f4f6f9; 
  color: #222; 
  scroll-behavior: smooth;
  line-height: 1.6;
  margin: 0;
  padding: 0;
}
h1, h2, h3, h4, h5 { font-weight: 600; margin: 0 0 15px; }
a { text-decoration: none; color: inherit; }
a:hover { text-decoration: none; }

/* ------------------------------
   Topbar
------------------------------ */
.topbar {
  background: #0d1b2a; /* Dark Navy */
  font-size: 0.9rem;
  letter-spacing: 0.3px;
  color: #fff;
  padding: 5px 0;
}
.topbar a {
  color: #fff !important;
  transition: color 0.3s ease;
}
.topbar a:hover { color: #ff6f00 !important; }

/* ------------------------------
   Navbar
------------------------------ */
.glossy-nav {
  background: linear-gradient(90deg, #f5f7fa, #c3cfe2);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(0,0,0,0.15);
  box-shadow: 0 4px 20px rgba(0,0,0,.25);
  z-index: 1050;
  position: sticky;
  top: 0;
}

/* Logo */
.navbar-brand img {
  height: 55px;
  filter: drop-shadow(0px 2px 4px rgba(0,0,0,0.4));
}

/* Nav Links */
.navbar-nav .nav-link {
  font-weight: 600;
  padding: 0.75rem 1rem;
  color: #222 !important;
  transition: all 0.3s ease;
  position: relative;
}
.navbar-nav .nav-link:hover {
  color: #ff6600 !important;
  transform: translateY(-2px);
}
.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 0%;
  height: 2px;
  background: #ff6600;
  transition: width 0.3s ease;
}
.navbar-nav .nav-link:hover::after { width: 100%; }

/* Remove Bootstrap caret */
.navbar .dropdown-toggle::after { display: none !important; }

/* Dropdown Menu */
.dropdown-menu {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,0.15);
  box-shadow: 0 8px 25px rgba(0,0,0,.15);
  min-width: 200px;
  padding: 0.5rem 0;
  z-index: 2000;
}
.dropdown-menu .dropdown-item {
  padding: 10px 16px;
  color: #333;
  font-weight: 500;
  transition: all 0.3s ease;
}
.dropdown-menu .dropdown-item:hover {
  background: linear-gradient(90deg, #f5f7fa, #eaeaea);
  color: #ff6600;
  padding-left: 20px;
  border-radius: 6px;
}

/* Desktop Hover Open */
@media (min-width: 992px) {
  .nav-item.dropdown:hover > .dropdown-menu {
    display: block;
    margin-top: 0;
  }
}

/* ------------------------------
   Hero Banner
------------------------------ */
.hero-banner {
  position: relative;
  height: 60vh;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}
.hero-banner::before {
  content: "";
  position: absolute;
  top:0; left:0; width:100%; height:100%;
  background: rgba(0,0,0,0.45);
}
.hero-banner .container { position: relative; z-index: 2; }
.hero-banner h1 {
  font-size: 3rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 0 4px 10px rgba(0,0,0,0.6);
}
.hero-banner p { font-size: 1.25rem; }

/* Mobile tweak */
@media (max-width: 768px) {
  .hero-banner { height: 50vh; }
  .hero-banner h1 { font-size: 1.8rem; }
  .hero-banner p { font-size: 1rem; }
}

/* ------------------------------
   Buttons
------------------------------ */
.btn-primary {
  background: linear-gradient(90deg, #0077b6, #00b4d8);
  border: none;
  border-radius: 30px;
  padding: 0.6rem 1.4rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
  min-height: 44px;
}
.btn-primary:hover {
  background: linear-gradient(90deg, #ff6f00, #ff8e3c);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.3);
}

/* ------------------------------
   Glossy Cards
------------------------------ */
.card.glossy {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(6px);
  border-radius: 14px;
  border: 1px solid #ddd;
  box-shadow: 0 4px 15px rgba(0,0,0,.15);
  transition: transform .3s ease, box-shadow .3s ease;
}
.card.glossy:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0,0,0,.25);
}
.card.glossy h5 { margin-top: 10px; font-weight: 600; }

/* ------------------------------
   Product Section
------------------------------ */
.product-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}
.product-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.3s ease;
  cursor: zoom-in;
}
.product-card:hover .product-img { transform: scale(1.05); }

/* Product Image Box */
.product-img-box {
  overflow: hidden;
  border-radius: 12px;
  width: 100%;
  height: 320px;
}
.product-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}
.product-img-box:hover img {
  transform: scale(1.1);
  box-shadow: 0 10px 25px rgba(0,0,0,0.35);
}

/* ------------------------------
   Supply Cards
------------------------------ */
.supply-card {
  position: relative;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.supply-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}
.supply-products {
  font-size: 0.9rem;
  color: #555;
  margin-top: 10px;
  line-height: 1.4;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: all 0.4s ease;
}
.supply-card:hover .supply-products {
  max-height: 200px;
  opacity: 1;
}

/* ------------------------------
   Magnifier
------------------------------ */
.img-magnifier-container { position: relative; }
.img-magnifier-glass {
  position: absolute;
  border: 3px solid #ff6600;
  border-radius: 50%;
  cursor: none;
  width: 150px;
  height: 150px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.4);
  display: none;
  z-index: 1000;
}

/* ------------------------------
   Footer
------------------------------ */
.footer {
  background: linear-gradient(90deg, #0d1b2a, #1b263b);
  color: #ccc;
  padding: 2rem 0;
}
.footer h5 {
  margin-bottom: 1rem;
  color: #fff;
  font-weight: 600;
}
.footer p, .footer li, .footer a {
  font-size: 14px;
  color: #ccc;
  transition: color 0.3s ease;
}
.footer a:hover { color: #ff6f00; }

/* ------------------------------
   Mobile Bottom Nav (App-like)
------------------------------ */
.mobile-bottom-nav {
  position: fixed;
  bottom: 0; left: 0;
  width: 100%;
  display: flex;
  justify-content: space-around;
  background: #fff;
  border-top: 1px solid #ddd;
  padding: 6px 0;
  z-index: 2000;
}
.mobile-bottom-nav a {
  text-align: center;
  font-size: 11px;
  color: #444;
  flex: 1;
}
.mobile-bottom-nav i {
  display: block;
  font-size: 20px;
  margin-bottom: 2px;
}
.mobile-bottom-nav a:hover,
.mobile-bottom-nav a.active { color: #ff6600; }
body { padding-bottom: 60px; } /* To prevent overlap */
