/*-------------------
  General Styles
-------------------*/

body {
  font-family: 'Arial', sans-serif;
  background-color: #ffffff;
  color: #000000;
  margin: 0;
  padding: 0;
}

a {
  text-decoration: none;
  color: inherit;
}

/*-------------------
  Navbar
-------------------*/

.navbar-brand span {
  color: red; /* Store name red */
  font-weight: bold;
  font-size: 1.3rem;
}

.navbar-nav .nav-link {
  color: #000000 !important;
  margin-right: 10px;
  font-weight: 500;
}

.navbar-nav .nav-link:hover {
  color: #ff0000 !important;
}


/*-------------------
  Hero Slider
-------------------*/

.hero-slider {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.hero-slider .slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.hero-slider .slide.active {
  opacity: 1;
}

.hero-slider .slide-text {
  position: absolute;
  top: 70%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #ffffff;
  text-align: center;
}

.hero-slider .slide-text h1 {
  font-size: 3rem;
  font-weight: bold;
  color: black;
}

.hero-slider .slide-text p {
  font-size: 1.2rem;
  color: #333333;
}

.hero-slider .slide-text .btn {
  margin-top: 15px;
  background-color: red;
  border: none;
}

/*-------------------
  Product Cards
-------------------*/

.card {
  border: none;
  border-radius: 10px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.card-title {
  color: #000000;
  font-weight: bold;
}

.card-text {
  color: #333333;
}

.btn-primary {
  background-color: red;
  border: none;
}

.btn-primary:hover {
  background-color: darkred;
}

.btn-outline-danger {
  border-color: red;
  color: red;
}

.btn-outline-danger:hover {
  background-color: red;
  color: #ffffff;
}

/*-------------------
  Footer
-------------------*/

footer {
  background-color: #000000;
  color: #ffffff;
  text-align: center;
  padding: 15px 0;
  font-size: 0.9rem;
}

/*-------------------
  Forms (Login/Register)
-------------------*/

.card form .form-label {
  color: #000000;
  font-weight: 500;
}

.card form input.form-control {
  border-radius: 8px;
  padding: 8px;
}

/*-------------------
  Modals
-------------------*/

.modal-content {
  border-radius: 10px;
}

.modal-header .btn-close {
  background: none;
}

.modal {
  pointer-events: auto;
}

/*-------------------
  Responsive
-------------------*/

@media (max-width: 768px) {
  .hero-slider .slide-text h1 {
    font-size: 2rem;
  }

  .hero-slider .slide-text p {
    font-size: 1rem;
  }

  .card-title {
    font-size: 1rem;
  }

  .card-text {
    font-size: 0.9rem;
  }
}

/* Featured Products Slider Container */
.featured-slider-container {
  position: relative;
  overflow: hidden;
}

/* Slider Arrows */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.7);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
}

.slider-arrow img {
  width: 20px;
  height: 20px;
  filter: invert(0);
}

.slider-arrow:hover {
  background: red;
}

.slider-arrow:hover img {
  filter: invert(1);
}

.left-arrow {
  left: -60px;
}

.right-arrow {
  right: -60px;
}

.card-body .btn {
  margin: 5px 3px 0 3px;
}

.card-body .btn-sm {
  min-width: 90px;
}

#productSearch {
  width: 70%;
  border-radius: 8px;
  padding: 8px 12px;
  border: 1px solid #ccc;
}

#sortProducts {
  width: 30%;
  border-radius: 8px;
  padding: 6px 10px;
  border: 1px solid #ccc;
}

/*-------------------
  Category Slider Fixed
-------------------*/

.category-slider-container {
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.category-slider {
  display: flex;
  flex-wrap: nowrap;       /* one row only */
  gap: 15px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 10px 0;
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;     /* Firefox */
}

.category-slider::-webkit-scrollbar {
  display: none;
}

.category-btn {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 80px;
  cursor: pointer;
}

:root {
  --circle-size: 120px;  /* ← Yaha future me sirf is value ko change karna */
  --circle-gap: 15px;   /* gap between circles */
}

.circle-frame {
  width: var(--circle-size);
  height: var(--circle-size);
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #ccc;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 5px;
  transition: border-color 0.3s;
}

.category-btn {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: var(--circle-size); /* same as circle width */
  gap: var(--circle-gap);
}

.circle-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-name {
  font-size: 0.8rem;
  text-align: center;
}

.category-btn.active .circle-frame {
  border-color: red;
}

.category-slider-container .slider-arrow {
  width: 35px;
  height: 35px;
  font-size: 1.2rem;
}

.left-arrow { left: -20px; }
.right-arrow { right: -20px; }

.slider-arrow:hover {
  background: red;
  color: #fff;
}

