/* ===== Base ===== */
body {
  font-family: 'Poppins', sans-serif;
  background: #fff;
  color: #212529;
  overflow-x: hidden;
}
a { text-decoration: none; }

/* ===== Top Info Bar ===== */
.top-bar {
  background: #5a2ca0;
  color: #fff;
  font-size: 14px;
  padding: 6px 0;
  text-align: center;
}
.top-bar a { color: #ffd700; text-decoration: underline; }

/* ===== Header ===== */
.header-main {
  background: #fff;
  border-bottom: 1px solid #e9ecef;
  padding: 10px 0;
}
.header-main .logo img {
  height: 50px;
}
.search-bar {
  width: 100%;
  position: relative;
}
.search-bar input {
  width: 100%;
  border-radius: 50px;
  padding: 10px 20px;
  border: 1px solid #ccc;
}
.search-bar button {
  position: absolute;
  right: 10px;
  top: 5px;
  background: none;
  border: none;
  font-size: 1.3rem;
  color: #0d6efd;
}
.header-icons i {
  font-size: 1.5rem;
  color: #333;
  margin-left: 20px;
  cursor: pointer;
}
.header-icons i:hover { color: #0d6efd; }

/* ===== Category Navigation ===== */
.category-nav {
  background: #333;
}
.category-nav .nav-link {
  color: #fff !important;
  padding: 14px 18px;
  font-weight: 500;
}
.category-nav .nav-link:hover,
.category-nav .nav-link.active {
  background: #0d6efd;
  color: #fff !important;
}

/* ===== Category Cards ===== */
.category-grid {
  padding: 40px 0;
}
.category-card {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  text-align: center;
  transition: 0.3s;
  height: 100%;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}
.category-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
}
.category-card img {
  height: 140px;
  object-fit: contain;
  margin-top: 15px;
}
.category-card h6 {
  margin: 15px 0 10px;
  font-weight: 600;
}
.category-card p {
  color: #777;
  font-size: 14px;
  margin-bottom: 15px;
}

/* ===== Footer ===== */
footer {
  background: #333;
  color: #ccc;
  padding: 25px 0;
  text-align: center;
}
footer a {
  color: #aaa;
  text-decoration: none;
  margin: 0 8px;
}
footer a:hover { color: #fff; }

/*/////////////////////// Buttons style ////////////////////////*/

.shop-now-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, #007bff, #6610f2);
  border: none;
  border-radius: 40px;
  padding: 8px 18px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  text-decoration: none;
}

.shop-now-btn i {
  font-size: 15px;
  transition: transform 0.3s ease;
}

.shop-now-btn:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #0056d2, #520dc2);
  box-shadow: 0 6px 16px rgba(0, 98, 255, 0.25);
  color: #fff;
}

.shop-now-btn:hover i {
  transform: translateX(3px);
}

.shop-now-btn:active {
  transform: scale(0.97);
}
.category-card {
  transition: all 0.4s ease;
}
.category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/*/////////////// Slider Css //////////////////////*/
.hero-slider {
  position: relative;
  width: 100%;
  height: 85vh;
  overflow: hidden;
}

.slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(80%);
  z-index: 1;
}

.carousel-item {
  position: relative;
  height: 85vh;
}

.carousel-item .container {
  position: relative;
  z-index: 2;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
}

.slide-content h1 {
  font-weight: 700;
  font-size: 3rem;
  line-height: 1.2;
  color: #fff;
  animation: fadeInUp 1s ease forwards;
}
.slide-content p {
  font-size: 1.1rem;
  margin: 15px 0 25px;
  color: #f1f1f1;
  animation: fadeInUp 1.2s ease forwards;
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --- Modern Button --- */
.shop-now-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, #007bff, #6610f2);
  border: none;
  border-radius: 40px;
  padding: 8px 18px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.15);
  transition: all 0.3s ease;
  text-decoration: none;
}
.shop-now-btn:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #0056d2, #520dc2);
  box-shadow: 0 6px 16px rgba(0,98,255,0.3);
}

/* --- Progress Bar --- */
.slider-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 5px;
  width: 100%;
  background: rgba(255,255,255,0.2);
  overflow: hidden;
}
.progress-bar {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #007bff, #6610f2);
  animation: progressAnim 5s linear infinite;
}
@keyframes progressAnim {
  from { width: 0; }
  to { width: 100%; }
}

/* --- Responsiveness --- */
@media (max-width: 992px) {
  .hero-slider, .carousel-item { height: 65vh; }
  .slide-content h1 { font-size: 2rem; }
  .slide-content p { font-size: 1rem; }
}
