
.logo-img {
  height: 80px;        /* adjust as needed */
  width: auto;
  object-fit: contain;
  margin-left: 15px;
  cursor: pointer;
}

.logo-img:hover {
  transform: scale(1.05);
  transition: 0.2s ease-in-out;
  opacity: 0.9;
}

.navbar { border-bottom: 1px solid #e0e0e0; /* light grey line */ }

/* Make navbar fixed at top */
.sticky-nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: white !important;
    border-bottom: 1px solid #e0e0e0;
}


.search-center{
  align-items: center;
  display: flex;
  margin-left: auto;
  margin-right: auto;
  width: 35%;
  margin-top: 8px;
  margin-bottom: 14px;
}

.search-center input{
  border-radius: 18px !important;
  transition: all 0.2s ease-in-out;
  text-align: center;
}
.search-center input:hover {
  border-color: #2563eb !important;
  box-shadow: 0 0 8px rgba(37, 99, 235, 0.4);
  transition: 0.2s ease-in-out;
}
.search-center input::placeholder {
  color: #777;
  text-align: center;
  opacity: 0.9;
}

.search-center button{
  border-radius: 18px;
  margin-left: 5px;
  width: 20%;
}
.search-center button:hover {
  background-color: #28a01d !important; /* darker blue */
  color: white !important;
  transform: scale(1.05);
  transition: 0.2s ease-in-out;
}

.nav-right{
  gap: 15px;
  display: flex;
  margin-right: 10px;
}
.nav-right li{
  opacity: 0.7;
}

.nav-right li:hover{
  opacity: 1;
}
.nav-right li:hover .nav-link {
  color: #2563eb !important;
  transition: color 0.2s ease-in-out;
}

/* ===================== DROPDOWN MENU STYLING ===================== */

.dropdown-menu {
  border-radius: 8px;
  padding: 10px;
  border: 1px solid #e0e0e0;
  box-shadow: 0px 4px 12px rgba(0,0,0,0.08);
}

/* Dropdown items */
.dropdown-item {
  border-radius: 6px;
  padding: 8px 12px;
  transition: all 0.2s ease-in-out;
}

/* Hover effect for dropdown links */
.dropdown-item:hover {
  background-color: #eef3ff;
  color: #2563eb !important;
  transform: translateX(4px);
}



/* ======================= SMALL SCREEN NAVBAR FIX ======================= */

@media (max-width: 992px) {
  
  /* Search bar becomes full width */
  .search-center {
    width: 100%;
    margin: 10px 0;
  }

  .search-center button {
    width: auto;
  }

  /* Right navigation items stack, spacing fixed */
  .nav-right {
    flex-direction: column;
    gap: 8px;
    padding-right: 0;
    margin-top: 10px;
  }

  .nav-right li {
    width: 100%;
    text-align: left;
    padding-left: 10px;
  }

  /* Logo centered on smaller screens */
  .logo-img {
    height: 60px;
    margin-left: 0;
  }
}

/* Extra-small screens (phones) */
@media (max-width: 576px) {
  
  /* Search bar smaller and centered */
  .search-center {
    width: 100%;
    margin-top: 6px;
    margin-bottom: 12px;
  }

  .search-center input {
    font-size: 14px;
    padding: 8px 12px;
  }

  .search-center button {
    padding: 8px 14px;
    width: auto;
  }

  /* Reduce navbar padding */
  .navbar {
    padding: 6px 10px;
  }
}



/* --- ITEM CARD --- */
.item-card {
  width: 22rem;
  min-height: 360px;                 /* Reduced height (since description removed) */
  border-radius: 18px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 5px 18px rgba(0,0,0,0.12);
  background: white;
  text-align: center;
  padding-bottom: 20px;
}

.item-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

/* 🔵 UNIFORM IMAGE SIZE */
.item-img-container {
  width: 100%;
  height: 250px;                      /* 📌 Fixed image height */
  display: flex;
  justify-content: center;
  align-items: center;
  background: #f7f7f7;
  border-bottom: 1px solid #eee;
}

.item-img {
  width: 90%;
  height: 90%;
  object-fit: contain;                /* 📌 Shows full item clearly */
}

/* TITLE */
.item-card .card-title {
  font-weight: 700;
  color: #000000;
  margin-top: 12px;
  margin-bottom: 12px;
}

/* BUTTON */
.item-card .btn-primary {
  background-color: #111827;
  border: none;
  color: #ffffff;
  font-weight: 600;
  border-radius: 10px;
  padding: 8px 16px;
}

.item-card .btn-primary:hover {
  background-color: #000000;
  transform: scale(1.07);
  box-shadow: 0 6px 14px rgba(0,0,0,0.35);
}

.item-card .btn-primary {
  transition: 0.2s ease-in-out;
}

.item-card .btn-primary:hover {
  transform: scale(1.07);
}


/* show details page */

.detail-img-wrapper {
  border-radius: 18px;
  overflow: hidden;
  background: #f3f4f6;
  padding: 15px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.10);
}

.detail-img {
  width: 100%;
  height: 320px;
  object-fit: contain;
}

.detail-card {
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 4px 18px rgba(0,0,0,0.08);
}

.detail-title {
  font-weight: 700;
  margin-bottom: 10px;
}





/* FOOTER */
.footer {
  text-align: center;
  padding: 20px;
  margin-top: 40px;
  background: white;
  color: #555;
  font-size: 14px;
  border-top: 1px solid #ddd;
}

/* Responsive footer */
@media (max-width: 600px) {
  .footer {
    font-size: 13px;
    padding: 15px;
  }
}





.admin-nav-btn {
  background: linear-gradient(135deg, #ffd700, #ffa500);
  border-radius: 8px;
  margin: 0 5px;
  color: #000 !important;
  font-weight: 600;
  padding: 8px 15px !important;
  transition: all 0.3s ease;
}

.admin-nav-btn:hover {
  background: linear-gradient(135deg, #ffa500, #ff8c00);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 165, 0, 0.3);
}

.admin-nav-btn i {
  color: #000;
}

.admin-text {
  display: inline-block;
}

/* Badge styling */
.badge.bg-warning {
  font-size: 0.6rem;
  padding: 2px 6px;
  border-radius: 10px;
  vertical-align: top;
}