
html {
  scroll-behavior: smooth;
}

/* Optional: Fine-tune for fixed navbars */
html {
  scroll-padding-top: 80px; /* Adjust based on your navbar height */
}

 body, html {
  min-height: 100vh;
  overflow-y: auto;
  overflow-x: hidden;
  margin: 0;
  background-color: #f9f9f4;
}
    .header-bg {
      background-color: #1b1b1b; 
       padding-top: 1.2rem;       
  padding-bottom: 1.2rem;    
    }


.nav-menu-bg {
  background-color: #444;
  position: sticky;
  top: 0;
  z-index: 1020;
 transition: top 0.35s cubic-bezier(.4,0,.2,1), background-color 0.3s;
  width: 100%;
}

.nav-menu-bg .nav-link { /* Default link color */
  color: #f6de4c; 
  font-size: 1rem;
  font-weight: 350;
  margin-right: 2.9rem;
  transition: color 0.3s ease;
  backface-visibility: hidden;
  transform: translateZ(0);
  will-change: color;
}

.nav-menu-bg.scrolled { /* Background color on scroll */
  background-color: rgb(223, 223, 223) !important;
  
}
.nav-menu-bg.scrolled .nav-link {
  color: rgb(23, 23, 23) !important;
}

.nav-menu-bg .icon-menu i {
  color: #f6de4c; /* Default yellow color */
  transition: color 0.3s ease;
}

.nav-menu-bg.scrolled .icon-menu i {
  color: rgb(39, 39, 39) !important; /* Change to black on scroll */
}




    .search-bar-custom {
      background: rgba(0, 0, 0, 0.308);
      border-radius: 2rem;
      border: 1px solid #fff;
      color: #fff;
      font-size: 1.18rem;
      padding-left: 1.5rem;
       padding-top: 1rem;       /* adds top padding */
  padding-bottom: 1rem; 
    }
    .search-bar-custom:focus {
      border-color: #f6de4c;
      outline: none;
      background: none;
    }
    .search-icon-custom {
      color: #f6de4c;
      font-size: 1.2rem;
      background: none;
      border: none;
      margin-left: -2.9rem;
      z-index: 2;
      position: relative;
      top: 1px;
    }
    .icon-menu {
      color: #f6de4c;
      font-size: 2.1rem;
    }
    .account-icons .bi {
      color: #fff;
      font-size: 1.5rem;
      margin-left: 2rem;
      margin-right: 1rem;
   
    }
    .logo-img {
      max-height: 80px;
      margin-left: .5rem;
    }
  .form-control.search-bar-custom::placeholder {
  color: rgba(255, 255, 255, 0.486);
  font-size: 1rem;

}
.form-control.search-bar-custom {
  color: rgba(255, 255, 255, 0.822);
   font-size: 1rem;
}

                /* first section corosel*/

.hero-slide {
  width: 100%;
  min-height: 80vh; /* Match your inline height */
  background-size: cover;
 background-position: center center;
  background-repeat: no-repeat;
  /*display: flex; */
  align-items: center;
  position: relative; 
}

/* Fix carousel animation */


.carousel-caption {
  background: transparent !important;
  padding: 0;
  margin-left: 150px !important;
}

/* Fix your broken media query */
@media (max-width: 1100px) 
{ /* Was 110px! */
  .hero-title {
    font-size: 28px;
    max-width: 90%;
  }
} 

@media (max-width: 768px) {
  .hero-title {
    font-size: 22px;
    max-width: 100%;
    margin-left: 20px !important; /* Adjust caption position */
  }
  .carousel-caption {
    margin-left: 20px !important;
  }
}


                        /* shop by category section */
.category-img {
  width: 250px;    /* fixed width */
  height: 200px;   /* fixed height */
  object-fit: cover; /* maintain aspect ratio by cropping */
 
}

.shop-btn:hover,
.shop-btn:focus {
  background-color: #998204 !important;    /* gold background on hover */
  color: #fff !important;                  /* white text on hover */
  border-color: #998204 !important;        /* border stays gold */
}

.size-btn.active {
  background: #e5cc62 !important;
  color: #44401a !important;
  border: 2px solid #b89e52 !important;
}

/* Hide number input spinners in Chrome/Safari/Edge */
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

