:root{ 
  --brand:#000; 
  --accent:#FFC107; 
}

*{ 
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; 
}

.fw-extrabold{ font-weight:800; }
/* Logo Animation */
.logo-img {
  display: inline-block;
  transition: transform 0.5s ease, filter 0.5s ease;
  transform-origin: center;
}

/* Hover Effect: Zoom + Rotate + Shadow */
.logo-img:hover {
  transform: scale(1.2) rotate(15deg);
  filter: drop-shadow(0 5px 15px rgba(0,0,0,0.3));
  cursor: pointer;
}

/* Infinite subtle animation (optional, slow zoom + rotate) */
@keyframes logo-breathe {
  0%   { transform: scale(1) rotate(0deg); }
  25%  { transform: scale(1.05) rotate(5deg); }
  50%  { transform: scale(1.1) rotate(-5deg); }
  75%  { transform: scale(1.05) rotate(5deg); }
  100% { transform: scale(1) rotate(0deg); }
}

/* Apply infinite subtle animation on page load */
.logo-img.animate-logo {
  animation: logo-breathe 6s ease-in-out infinite;
}


.hero{
  min-height: 72vh;
  background: linear-gradient(0deg, rgba(0,0,0,.65), rgba(0,0,0,.65)), url('../img/hero.svg') center/cover no-repeat;
}
.hero-search .form-control{ border:0; }
.hero-search .input-group-text{ background:#fff; border:0; }
.card-hero img{ height: 220px; object-fit: cover; }
footer ul li{ margin-bottom: .35rem; }
.menu-card img{ height: 200px; object-fit: cover; }
.btn-none{ background:transparent;border:0;padding:0; }
.topbar .btn img{ display:block; }

/* ====== Animated Toggle (Custom Hamburger) ====== */
.menu-button-wrapper {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 50px;
}

.menu-button {
  position: absolute;
  width: 50px;
  height: 50px;
  left: 0;
  top: 0;
  z-index: 2;
  opacity: 0;
  cursor: pointer;
}

.icon-wrapper {
  width: 50px;
  height: 50px;
}

.hamburger {
  position: relative;
  width: 50px;
  height: 50px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  padding: 14px;
}

.hamburger:before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 12px;
  background: linear-gradient(to right, #da2287, #f953c6);
  transition: all 0.4s ease;
}

.hamburger-input {
  position: absolute;
  opacity: 0;
  inset: 0;
  cursor: pointer;
}

.hamburger-line {
  width: 100%;
  background: #fff;
  height: 2px;
  display: block;
  border-radius: 6px;
  transition: transform 0.4s ease;
  position: relative;
}

.hamburger-line.first,
.hamburger-line.third {
  width: 60%;
}

.hamburger-line.third {
  margin-left: 40%;
  transform-origin: left;
}

/* Remove cross animation: keep lines static */
.menu-button:checked ~ .icon-wrapper .hamburger-line.first,
.menu-button:checked ~ .icon-wrapper .hamburger-line.second,
.menu-button:checked ~ .icon-wrapper .hamburger-line.third {
  transform: none;
}

.menu-button:checked ~ .icon-wrapper .hamburger:before {
  transform: none;
}

/* ===== Custom Animated Toggle Button ===== */
.nav-toggle {
  position: relative;
  padding: 10px;
  background: transparent;
  border: none;
  cursor: pointer;
}

.nav-toggle:focus {
  outline: none;
}

.nav-toggle [class*='bar-'] {
  background: #E8AD1A; /* golden accent */
  display: block;
  transform: rotate(0deg);
  transition: .3s ease all;
  border-radius: 2px;
  height: 3px;
  width: 28px;
  margin-bottom: 5px;
}

.nav-toggle .bar-bot {
  margin-bottom: 0;
}

/* When opened */
.nav-toggle.opened .bar-top {
  transform: rotate(45deg);
  transform-origin: 10% 10%;
}
.nav-toggle.opened .bar-mid {
  opacity: 0;
}
.nav-toggle.opened .bar-bot {
  transform: rotate(-45deg);
  transform-origin: 10% 90%;
}

/* ==== Hover Blink Effect ==== */
.nav-toggle:hover [class*='bar-'] {
  animation: blink 0.4s linear 1;
}

@keyframes blink {
  0%   { opacity: 1; }
  50%  { opacity: 0.3; }
  100% { opacity: 1; }
}

/* Common Professional Button Style */
.pro-btn {
  background: linear-gradient(135deg, #FFB347, #FFCC33);
  color: #fff;
  font-weight: 600;
  border: none;
  border-radius: 12px;
  padding: 8px 16px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.pro-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 14px rgba(0,0,0,0.25);
}

/* Cart Badge */
.cart-badge {
  background-color: #FF3D00;
  color: #fff;
  font-weight: 700;
  font-size: 0.8rem;
  border-radius: 50%;
  padding: 4px 7px;
  position: absolute;
  top: -8px;
  right: -8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

/* Mobile full-width adjustments */
.pro-btn.w-100 {
  justify-content: center;
  position: relative;
}

/* Professional Buttons (Shared for Location & Call) */
.pro-btn.location-btn,
.pro-btn.call-btn {
  background-color: #FF3D00; /* Attractive gradient */
  color: #fff;
  font-weight: 600;
  border: none;
  border-radius: 12px;
  padding: 8px 16px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.pro-btn.location-btn:hover,
.pro-btn.call-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 14px rgba(0,0,0,0.25);
}

/* Mobile full-width adjustments */
.pro-btn.w-100 {
  justify-content: center;
}

/* ===== Footer Styles ===== */
.footer {
  background: #f8f9fa;
  padding: 40px 20px 20px;
  font-family: 'Inter', sans-serif;
  color: #333;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.footer-left,
.footer-center,
.footer-right {
  flex: 1 1 250px;
}

.footer-left .logo-img {
  max-width: 150px;
}

.footer-center h5,
.footer-right h5 {
  margin-bottom: 10px;
  font-weight: 700;
}

.footer-center p,
.footer-center a {
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.8;
  margin-bottom: 8px;
  color: #333;
  text-decoration: none;
}

/* Social Icons */
.footer-right .social-icons a {
  margin-right: 8px;
}

/* Review button spacing */
.footer-right .pro-btn.mt-3 {
  margin-top: 15px;
}

/* Footer Bottom */
.footer-bottom {
  background: #000;
  color: #fff;
  padding: 15px 20px;
}

.footer-bottom .theme-color {
  color: #FFC107; /* Theme color for BS Software Agency */
}



.scroll-top-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  background: linear-gradient(135deg, #FFB347, #FFCC33);
  color: #fff;
  width: 50px;              /* fix width */
  height: 50px;             /* fix height */
  border-radius: 50%;       /* perfect circle */
  display: flex;            /* center align */
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 15px rgba(0,0,0,0.25);
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  font-size: 20px;          /* icon/text size */
}

.scroll-top-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 18px rgba(0,0,0,0.3);
}


/* Responsive Footer */
@media (max-width: 768px) {
  .footer-top {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .footer-left, .footer-center, .footer-right {
    flex: 1 1 100%;
  }
  .footer-right .social-icons a {
    margin: 5px;
  }
}


/* WhatsApp Button */
.whatsapp-btn {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background: linear-gradient(135deg, #FFB347, #FFCC33);
  color: #fff;
  border-radius: 50px;
  padding: 12px 18px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.25);
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 999;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}
.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 18px rgba(0,0,0,0.3);
}

/* Chat Popup */
.chat-popup {
  width: 300px;
  background: #fefefe;
  border-radius: 15px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  display: none;
  flex-direction: column;
  position: fixed;
  bottom: 90px;
  left: 25px;
  font-family: 'Segoe UI', sans-serif;
  overflow: hidden;
  animation: slideUp 0.4s ease;
  z-index: 9999;
}

.chat-header {
  background-color: #FF3D00; /* Attractive gradient */
  color: #fff;
  padding: 15px;
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  font-weight: 500;
}


.chat-header img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
  padding: 3px;
}

.chat-header .close-chat {
  position: absolute;
  right: 12px;
  top: 12px;
  font-size: 20px;
  cursor: pointer;
  color: #fff;
  transition: transform 0.2s;
}
.chat-header .close-chat:hover {
  transform: rotate(90deg);
}

.chat-body {
  padding: 15px;
  font-size: 14px;
  background: #f7f7f7;
  color: #333;
  min-height: 80px;
}

.chat-footer {
  padding: 12px;
  display: flex;
  gap: 8px;
  background: #fff;
  border-top: 1px solid #ddd;
}

.chat-footer input {
  flex: 1;
  border: 1px solid #ccc;
  padding: 8px 12px;
  border-radius: 20px;
  outline: none;
  transition: border 0.2s;
}

.chat-footer input:focus {
  border-color: #004080;
}

.chat-footer button {
  background: linear-gradient(135deg, #FFB347, #FFCC33);
  border: none;
  color: #fff;
  
  border-radius: 50%;
  cursor: pointer;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s, box-shadow 0.2s;
}
.chat-footer button:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 14px rgba(0,0,0,0.25);
}

@keyframes slideUp {
  from { transform: translateY(50px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.ratio-266x100 {
  position: relative;
  width: 100%;
  padding-top: calc(100% / (2.66)); /* approximate 2.66:1 ratio */
  overflow: hidden;
}
.ratio-266x100 img.object-cover {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
/* Banner wrapper with equal side margins and rounded corners */
.banner-wrapper {
  margin: 0 12px;            /* Same space on left/right for all screens */
  border-radius: 20px;       /* Rounded corners */
  overflow: hidden;          /* Clip corners */
}

/* Make sure image fills container properly */
.banner-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}


/* ======================= MENU SLIDER CLEAN MODERN STYLE ======================= */

.menu-slider-container {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  margin: 20px auto;
  overflow: hidden;
  padding: 0 10px;
}

/* Slider */
.menu-slider {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(90px, 1fr);
  gap: 18px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  width: 100%;
}

.menu-slider::-webkit-scrollbar { display: none; }

/* Item */
.menu-item {
  text-align: center;
  cursor: pointer;
  transition: transform .25s ease;
  padding-bottom: 4px;
}

.menu-item:hover {
  transform: translateY(-4px);
}

/* Image */
.menu-item img {
  width: 100%;
  height: 85px;
  object-fit: contain;   /* ✅ CUT FIX */
  background: #fff;      /* PNG ke liye white base */
  border-radius: 14px;
  padding: 6px;          /* PNG breathing space */
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: all .25s ease;
}


.menu-item:hover img {
  transform: scale(1.05);
  box-shadow: 0 6px 18px rgba(0,0,0,0.10);
}

/* Text */
.menu-item span {
  display: block;
  margin-top: 8px;
  font-weight: 600;
  font-size: .85rem;
  color: #222;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}


/* ======================= DESKTOP ======================= */
@media (min-width: 1024px) {
  .menu-slider {
    grid-auto-columns: minmax(110px, 1fr);
  }
}

/* ======================= TABLET ======================= */
@media (max-width: 1023px) and (min-width: 600px) {
  .menu-slider {
    grid-auto-columns: minmax(100px, 1fr);
  }
}

/* ======================= MOBILE ======================= */
@media (max-width: 599px) {
    .menu-item img {
    height: 65px;
    padding: 5px;
  }
  .menu-slider {
    grid-auto-columns: minmax(80px, 1fr);
    gap: 12px;
  }
  
  .menu-item span {
    font-size: .75rem;
  }
}




/* Slider Buttons */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #ffc107;
  color: #000;
  border: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20;
  box-shadow: 0 3px 10px rgba(0,0,0,0.25);
  transition: .25s all ease;
}

.slider-btn:hover {
  transform: translateY(-50%) scale(1.08);
  background: #ffb300;
}

.slider-btn.prev { left: 5px; }
.slider-btn.next { right: 5px; }




/* ==================== SEARCH BAR WRAPPER ==================== */
.search-wrapper {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  background: #fff;
  border-radius: 40px;
  padding: 12px 18px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
  gap: 10px;
  width: 100%;
  margin: 20px auto 0 auto;
  transition: box-shadow 0.3s ease, transform 0.2s ease;
  position: relative; /* ✅ keeps dropdown aligned */
  z-index: 100; /* ensures dropdown floats above sections */
}

/* Hover / Focus effect */
.search-wrapper:hover,
.search-wrapper:focus-within {
  box-shadow: 0 6px 20px rgba(255, 193, 7, 0.5);
  transform: translateY(-2px);
}

/* Search Icon (left inside input) */
.search-wrapper i {
  font-size: 1.3rem;
  color: #fff;
  flex-shrink: 0;
  background: #ffc107;
  border-radius: 50%;
  padding: 8px;
}

/* Input */
.search-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 1rem;
  padding: 8px;
  min-width: 0;
  background: transparent;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Icon Button */
.search-btn {
  background: #ffc107;
  border: none;
  color: #fff;
  font-size: 1.6rem;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  flex-shrink: 0;
  cursor: pointer;
}
.search-btn:hover {
  background: #ff5722;
  transform: scale(1.1);
}

/* Mobile Adjustments */
@media (max-width: 576px) {
  .search-input::placeholder {
    font-size: 0.9rem;
  }
  .search-btn {
    width: 38px;
    height: 38px;
    font-size: 1.4rem;
  }
}

/* ==================== SUGGESTION BOX ==================== */
#suggestionBox {
  position: absolute;
  top: calc(100% + 10px); /* ✅ nicely below search bar */
  left: 0;
  width: 100%;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
  padding: 14px 0;
  max-height: 60vh;
  overflow-y: auto;
  z-index: 9999;
  display: none;
  animation: fadeIn 0.25s ease-in-out;
}

/* Smooth fade effect */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Scrollbar */
#suggestionBox::-webkit-scrollbar {
  width: 6px;
}
#suggestionBox::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 4px;
}

/* ==================== PRODUCT GRID ==================== */
.suggestion-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 10px;
  padding: 10px 16px;
}

/* ==================== CARD STYLE ==================== */
.suggestion-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 10px 12px;
  transition: all 0.25s ease;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}
.suggestion-item:hover {
  background: #fafafa;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Image style */
.suggestion-item img {
  width: 75px;
  height: 75px;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
}

/* Info style */
.suggestion-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.suggestion-info h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: #222;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.suggestion-info p {
  font-size: 0.8rem;
  color: #777;
  margin: 3px 0;
}
.suggestion-info .price {
  color: var(--accent, #eab308);
  font-weight: 700;
  font-size: 0.9rem;
  margin-top: 2px;
}

