@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;600&family=Poppins:wght@300;400;600&display=swap');
:root{
  --bg:#0f1115; --surface:#151922; --muted:#8a93a6; --text:#e9e9e9;
  --accent:#00d1ff; --accent-soft:rgba(0,209,255,.2);
}
html,body{height:100%}
body{
  background: radial-gradient(1200px 800px at 80% -10%, rgba(0,209,255,.10), transparent 60%), var(--bg);
  color:var(--text);
  font-family:'Poppins', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}
/* Navbar */
.navbar{background:rgba(10,12,16,.65)!important; backdrop-filter: blur(8px); border-bottom:1px solid rgba(255,255,255,.06)}
.navbar-brand span{ font-family:'Orbitron',sans-serif; letter-spacing:.5px }
.nav-link{ color:var(--text)!important; opacity:.85 }
.nav-link:hover{ color:var(--accent)!important; opacity:1 }
.search-input{ background:var(--surface); border:1px solid rgba(255,255,255,.08); color:var(--text); border-radius:999px; padding:6px 14px }
/* Hero */
.hero{ position:relative; min-height:92vh; display:flex; align-items:center; justify-content:center; text-align:center; overflow:hidden }
.hero .glow{ position:absolute; inset:0; background: radial-gradient(600px 400px at 50% 20%, var(--accent-soft), transparent 60%); pointer-events:none }
.hero h1{ font-family:'Orbitron',sans-serif; font-size: clamp(34px, 5vw, 62px) }
.hero .tagline{ color:var(--muted); font-style: italic; margin-top: 10px }
.btn-accent{ background:var(--accent); color:#001018; border:none; border-radius:12px; padding:10px 20px; box-shadow:0 8px 30px rgba(0,209,255,.35) }
.btn-accent:hover{ filter:brightness(.95); box-shadow:0 10px 36px rgba(0,209,255,.5) }
/* Cards */
.category-card{ background:linear-gradient(180deg,rgba(255,255,255,.03),rgba(255,255,255,.01)); border:1px solid rgba(255,255,255,.08); border-radius:16px; overflow:hidden; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease }
.category-card:hover{ transform: translateY(-6px); border-color: var(--accent); box-shadow:0 10px 35px rgba(0,209,255,.15) }
.category-card img{ height:200px; object-fit:cover }
.section-muted{ color:var(--muted) }
/* Footer */
footer{ background:#0b0d11; border-top:1px solid rgba(255,255,255,.06); color:var(--muted) }
footer h5{ color:var(--text) }
footer a{ color:var(--muted) } footer a:hover{ color:var(--accent) }
/* Divider */
hr.divider{ border:none; height:1px; background: linear-gradient(90deg, transparent, rgba(255,255,255,.12), transparent) }
.social-link {
  color: #ccc;
  font-size: 1.5rem;
  margin: 0 10px;
  transition: all 0.3s ease;
}
.social-link:hover {
  color: #0ff; /* neon blue glow */
  text-shadow: 0 0 8px #0ff, 0 0 12px #0ff;
}
/* Navbar social icons */
.nav-icon i {
  font-size: 1.3rem;  /* default size */
  transition: all 0.3s ease;
}
.nav-icon i:hover {
  color: #0ff; /* neon blue */
  text-shadow: 0 0 8px #0ff, 0 0 12px #0ff;
  transform: scale(1.2); /* pop effect */
}
.navbar-brand img {
  filter: drop-shadow(0 0 3px #0ff);
	
}
.navbar-brand img {
  height: 40px;
}

@media (max-width: 768px) {
  .navbar-brand img {
    height: 40px;
  }
}

.hero img {
  height: 120px;
}
/* Category card style */
.category-card {
  border: none;
  border-radius: 12px;
  overflow: hidden;
  background: #1a1a1a; /* dark background */
  color: #fff; /* white text */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 25px rgba(0, 255, 255, 0.4);
}

/* Darken image slightly so text stands out */
.category-card img {
  object-fit: cover;
  height: 180px;
  filter: brightness(0.75); 
  transition: filter 0.3s ease;
}

.category-card:hover img {
  filter: brightness(0.9);
}

/* Title + text */
.category-card .card-title {
  color: #0ff; /* neon cyan title */
  font-weight: 600;
  text-shadow: 0 0 6px rgba(0, 255, 255, 0.7);
}

.category-card .card-text {
  color: #e0e0e0; /* light grey text */
  font-size: 0.9rem;
}

/* Accent button */
.btn-accent {
  background-color: #0ff;
  color: #000;
  font-weight: 600;
  border: none;
  transition: all 0.3s ease;
}

.btn-accent:hover {
  background-color: #00cccc;
  color: #fff;
  box-shadow: 0 0 12px #0ff;
}
.navbar-nav {
  flex: 1;
  justify-content: center; /* force center alignment */
}
/* ✅ Keep menu absolutely centered only on large screens */
@media (min-width: 992px) {
  .navbar-nav.position-absolute {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
  }
}

/* ✅ On mobile, revert to normal Bootstrap behavior */
@media (max-width: 991.98px) {
  .navbar-nav.position-absolute {
    position: static !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    margin: 0 auto !important;
    display: flex;
    justify-content: center;
    text-align: center;
  }
}
.hero .btn {
  margin: 0.4rem 0.3rem; /* small vertical + horizontal spacing */
}
/* ✅ Always visible white hamburger icon */
.navbar-dark .navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255,255,255,1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
  filter: drop-shadow(0 0 4px #00f0ff); /* neon glow */
}

/* ✅ Ensure it’s never hidden under other elements */
.navbar-toggler {
  z-index: 2000;
  position: relative;
}
/* Desktop centering */
@media (min-width: 992px) {
  .navbar-nav.main-nav {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
}

/* Mobile reset */
@media (max-width: 991.98px) {
  .navbar-nav.main-nav {
    position: static;
    transform: none;
    margin: 0 auto;
    text-align: center;
  }
}
/* ===== PRODUCT CARDS ===== */
.product-card {
  background: #1a1a1a;
  border: 1px solid rgba(0,255,255,0.2);
  border-radius: 12px;
  box-shadow: 0 0 12px rgba(0,255,255,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 20px rgba(0,255,255,0.3);
}

.product-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

/* Truncate title & description */
.product-card .card-title {
  font-size: 1rem;
  font-weight: 600;
  color: #0ff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-card .card-text {
  font-size: 0.85rem;
  color: #ccc;
  display: -webkit-box;
  -webkit-line-clamp: 2; /* limit to 2 lines */
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Price highlight */
.product-price {
  color: #0ff;
  font-weight: bold;
  text-shadow: 0 0 6px rgba(0,255,255,0.7);
}

/* ===== FILTER SIDEBAR ===== */
.filter-box {
  background: #111;
  border: 1px solid rgba(0,255,255,0.2);
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 0 10px rgba(0,255,255,0.1);
}

.filter-box h5 {
  color: #0ff;
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(0,255,255,0.3);
  padding-bottom: 6px;
}

.filter-box label {
  display: block;
  color: #ccc;
  cursor: pointer;
  margin: 6px 0;
  transition: color 0.3s ease;
}

.filter-box input {
  margin-right: 8px;
}

.filter-box label:hover {
  color: #0ff;
  text-shadow: 0 0 8px #0ff;
}

/* ===== PAGINATION ===== */
.pagination {
  display: flex;
  justify-content: center;
  margin-top: 20px;
  gap: 8px;
}

.pagination button {
  background: #1a1a1a;
  border: 1px solid rgba(0,255,255,0.3);
  color: #ccc;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.pagination button:hover,
.pagination button.active {
  background: #0ff;
  color: #000;
  box-shadow: 0 0 10px #0ff;
}
/* ✅ Sidebar filter box */
#filter-sidebar {
  background: #151922;
  border: 1px solid rgba(0, 255, 255, 0.2);
  border-radius: 12px;
  padding: 15px;
  position: sticky;
  top: 100px; /* stays visible when scrolling */
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 0 12px rgba(0, 255, 255, 0.15);
}

/* Filter labels */
#filter-sidebar .form-check-label {
  color: #e0e0e0;
  font-size: 0.9rem;
}
#filter-sidebar .form-check-label:hover {
  color: #0ff;
  text-shadow: 0 0 6px #0ff;
}

/* Clear filter button */
#filter-sidebar button {
  border-radius: 8px;
  border: 1px solid #0ff;
  color: #0ff;
  background: transparent;
  transition: all 0.3s ease;
}
#filter-sidebar button:hover {
  background: #0ff;
  color: #000;
  text-shadow: 0 0 10px #000;
}

/* ✅ Product cards */
.product-card {
  background: #1a1d24;
  border: 1px solid rgba(0, 255, 255, 0.15);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 18px rgba(0, 255, 255, 0.35);
}
.product-card .card-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: #0ff;
  text-shadow: 0 0 6px rgba(0, 255, 255, 0.6);
}
.product-card .card-text {
  font-size: 0.8rem;
  color: #aaa;
}
.product-card .product-price {
  color: #0ff;
  font-weight: 700;
  font-size: 1rem;
  text-shadow: 0 0 6px #0ff;
}

/* ✅ Pagination */
#pagination {
  margin-top: 20px;
  text-align: center;
}
#pagination button {
  margin: 0 4px;
  padding: 6px 12px;
  border: 1px solid #0ff;
  border-radius: 6px;
  background: transparent;
  color: #0ff;
  font-weight: 600;
  transition: all 0.3s ease;
}
#pagination button:hover {
  background: #0ff;
  color: #000;
  text-shadow: 0 0 8px #000;
}
#pagination button.active {
  background: #0ff;
  color: #000;
  text-shadow: 0 0 8px #000;
}
#pagination button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}




