/* style.css */
body, html {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #f9f9f9;
  color: #333;
}

/* Gradient background for topbar and footer */
.topbar, footer {
  background-image: linear-gradient(to right, #1D2B64 0%, #F8CDDA 51%, #1D2B64 100%);
  color: white;
  box-shadow: none;
}

/* Topbar Styling */
.topbar {
  padding: 10px 20px;
  font-weight: 600;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.logo {
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  cursor: pointer;
}

/* Search Wrap */
.search-wrap {
  width: 40%;
  position: relative;
}

/* Search Box */
.searchbox {
  width: 100%;
  border-radius: 25px;
  padding-left: 20px;
  padding-right: 45px; /* Enough space for icon */
  height: 38px;
  border: none;
  font-size: 15px;
  transition: box-shadow 0.3s ease;
}

.searchbox:focus {
  outline: none;
  box-shadow: 0 0 5px #f8cdda;
}

/* Search Icon */
.search-icon {
  position: absolute;
  top: 50%;
  right: 15px;
  transform: translateY(-50%);
  color: #1D2B64; 
  font-size: 18px;
  cursor: pointer;
  z-index: 10;
  pointer-events: none; 
}

/* Nav Links */
.navlink {
  color: white;
  margin-left: 20px;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.navlink i {
  margin-right: 6px;
}

.navlink:hover {
  color: #f8cdda; 
}

/* Category Row */
.catrow {
  display: flex;
  justify-content: space-around;
  padding: 15px 10px;
  background: white;
  box-shadow: 0 2px 8px rgb(0 0 0 / 0.1);
  flex-wrap: wrap;
  gap: 15px;
}

.cat {
  flex: 1 1 90px;
  max-width: 100px;
  text-align: center;
  cursor: pointer;
  transition: transform 0.3s ease;
  border-radius: 8px;
  padding: 10px;
  background: #fff;
}

.cat img {
  width: 70px;
  height: 70px;
  object-fit: contain;
  margin-bottom: 5px;
  transition: transform 0.3s ease;
}

.cat div {
  font-weight: 600;
  font-size: 14px;
  color: #444;
}

.cat:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 16px rgba(29, 43, 100, 0.3);
}

.cat:hover img {
  transform: scale(1.1);
}

/* Banner carousel*/
.banner {
  margin: 20px auto;
  max-width: 1200px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.banner img {
  height: 300px;
  object-fit: cover;
  width: 100%;
  display: block;
  border-radius: 12px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: rgba(0, 0, 0, 0.5); 
  padding: 20px;
  border-radius: 50%;
}

.carousel-control-prev,
.carousel-control-next {
  width: 5%;
}

/* product slider */

.scroll-wrap {
  background: white;
  padding: 20px;
  margin: 20px;
}

.sec-title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 15px;
}

.scroll-row {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
}

.scroll-card {
  flex: 0 0 auto;
  width: 150px;
  text-align: center;
}

.scroll-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 5px;
}

.grid-wrap {
  background: #fff;
  padding: 20px;
  margin: 20px;
}

.grid-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 20px;
}

.grid-box {
  border: 1px solid #ddd;
  border-radius: 5px;
  padding: 10px;
  text-align: center;
}

.grid-box img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 5px;
}

/*  Offer Box */
.offer-box {
  text-align: center;
  padding: 10px;
  border-radius: 10px;
  height: auto;
  text-align: center;
  width: 1450px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
  margin-bottom: 5px;
  margin-left: -60px;
}

.offer-box:hover {
  transform: scale(1.03);
}

.offer-box img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 5px;
}

/* SLIDER CARDS  */

.slider-card {
  text-align: center;
  padding: 15px;
  margin-top: -20px ;
  margin-left: -50px;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.slider-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 8px;
}


.slider-card:hover {
  transform: translateY(-5px);
}

.slider-card p {
  margin: 6px 0 2px;
  font-size: 14px;
  font-weight: 500;
}

.slider-card span {
  color: green;
  font-size: 13px;
}

/* SIDE BANNER */
.side-banner {
  padding: 15px;
  margin-top: -10px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.side-banner img {
  width: 100%;
  border-radius: 10px;
  height: 200px;
  object-fit: cover;
}

.side-banner h6 {
  margin-top: 10px;
  font-size: 16px;
  font-weight: 600;
}

.side-banner p {
  font-size: 13px;
  color: #444;
}

/*  articals */
.info-section {
  background-color: #fff;
  padding: 40px;
  color: #333;
  line-height: 1.6;
}

.info-box {
  margin-bottom: 30px;
}

.info-box h4 {
  font-weight: bold;
  color: #222;
  margin-bottom: 10px;
}

/* Footer text style */
footer {
  text-align: center;
  padding: 15px 10px;
  font-weight: 600;
  user-select: none;
  font-size: 14px;
}

/* Button Gradient style - used for footer and navbar background */
.btn-grad {
  background-image: linear-gradient(to right, #e5e6ec 0%, #F8CDDA 51%, #e3e4ec 100%);
  margin: 10px;
  padding: 15px 45px;
  text-align: center;
  text-transform: uppercase;
  transition: 0.5s;
  background-size: 200% auto;
  color: white;            
  box-shadow: 0 0 20px #eee;
  border-radius: 10px;
  display: block;
}

.btn-grad:hover {
  background-position: right center;
  color: #fff;
  text-decoration: none;
}


.desc-wrap {
  background: #fff;
  padding: 30px;
  color: #333;
}

.desc-block {
  margin-bottom: 20px;
}

.desc-block h6 {
  font-weight: bold;
  margin-bottom: 8px;
}

.big-footer {
  background: #212121;
  color: #ddd;
  font-size: 14px;
}

.big-footer a {
  text-decoration: none;
  color: #fff;
}

.footer-top {
  padding: 40px 0;
}

.footer-top .col h6 {
  color: #bbb;
  font-weight: bold;
  margin-bottom: 10px;
}

.footer-top .col p {
  margin: 4px 0;
}

.footer-bottom {
  background: #1a1a1a;
  color: #ccc;
  font-size: 13px;
  border-top: 1px solid #333;
}

.footer-bottom i {
  margin-right: 6px;
  color: gold;
}


/* Responsive tweaks */
@media (max-width: 768px) {
  .search-wrap {
    width: 60%;
  }

  .catrow {
    justify-content: center;
  }

  .cat {
    max-width: 80px;
  }

  .card-img-top {
    height: 140px;
  }
}

.container .position-relative {
  position: relative;
}


/* Responsive tweak for buttons on smaller screens */
@media (max-width: 768px) {
  .slide-btn {
    font-size: 24px;
    padding: 5px 10px;
  }

  .left-btn {
    left: 5px;
  }

  .right-btn {
    right: 5px;
  }
}

@media (max-width: 480px) {
  .topbar {
    flex-wrap: wrap;
    gap: 10px;
  }

  .search-wrap {
    width: 100%;
  }

  .navlink {
    margin-left: 10px;
    font-size: 14px;
  }
} 