*{
    margin: 0;
    padding: 0;
}
body {
    font-family: 'Poppins', sans-serif;
    background-color: #2c2c2c; /* Dark background as seen in the image */
    color: #f5f5dc; /* Off-white for general text */
  }
  a {
    text-decoration: none;
    color: inherit; /* Inherit color from parent for nav links by default */
}

a:hover {
    color: #d1b48c; /* Lighter brown for hover effects */
}

/* Navbar adjustments */
.navbar {
    background-color: #3a3a3a !important; /* Darker nav background */
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.navbar-brand img {
    margin-right: 5px;
}

.navbar h1 {
    font-size: 1.8rem;
    color: #f5f5dc;
    margin-bottom: 0;
}

.navbar h1 span {
    color: #d1b48c; /* Accent color for the dot */
}

.navbar-nav .nav-link {
    color: #f5f5dc !important;
    font-weight: 500;
    margin-right: 15px;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #d1b48c !important;
}

.dropdown-menu {
    background-color: #3a3a3a;
    border: none;
}

.dropdown-item {
    color: #f5f5dc;
}

.dropdown-item:hover {
    background-color: #4b4b4b;
    color: #d1b48c;
}
  h1 {
    color: whitesmoke;
  }
  html {
    scroll-behavior: smooth;
  }
  section {
    padding: 50px 60px;
    margin: 30px;
    
  }  
  .card {
    height: 100%; /* Makes all cards the same height */
    display: flex;
    flex-direction: column;
}

.card img {
    object-fit: cover;
    height: 200px; /* Set a fixed height for images */
}

.card-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

  .card {
    border: 1px solid #ddd;
    border-radius: 8px;
    transition: transform 0.2s, box-shadow 0.2s;
  }
  
  .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  }
  
  .card-title {
    color: #495057;
  }
  
  .btn-primary {
    background-color: #6f4e37;
    border-color: #6f4e37;
  }
  
  .btn-primary:hover {
    background-color: #5a3c2a;
    border-color: #5a3c2a;
  }
  
  #order-items {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 10px;
  }
  footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 20px 0;
}

.footer-content p {
    margin: 0;
    padding: 5px 0;
}

.footer-content ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.footer-content a {
    color: #ddd;
    text-decoration: none;
}

.footer-content a:hover {
    color: #fff;
}

.footer-credits {
    font-size: 0.9em;
    color: #aaa;
    margin-top: 10px;
}  
/* Styling for the category bar */
.category-bar {
  background-color: black;
  color: gold;
  padding: 10px 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  position: fixed;
  top: -100px; /* Start off-screen */
  width: 100%;
  z-index: 1000;
  transition: top 0.15s ease-in-out; /* Smooth transition for the bar */
}

.category-bar.visible {
  top: 50; /* Bring it into view */
}

.category-bar.hidden {
  top: 0px; /* Move it off-screen */
}

.category-item {
  text-align: center;
  text-decoration: none;
  color: gold;
}

.category-item:hover {
  color: white;
}

.category-item img {
  width: 40px;
  display: block;
  margin: 0 auto 5px;
}
/* Cart Button Styles */
#cart-button {
  border-radius: 50%;
  width: 60px;
  height: 60px;
  font-size: 1.5rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Cart Item Styles */
.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  border-bottom: 1px solid #1e1a1a;
}

.cart-item img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 4px;
}

.cart-item-details {
  flex-grow: 1;
  margin-left: 15px;
}

.cart-item-actions {
  display: flex;
  align-items: center;
}

.cart-item-actions input {
  width: 50px;
  text-align: center;
  margin: 0 5px;
}

/* Empty Cart Message */
.empty-cart {
  text-align: center;
  padding: 20px;
  color: #070708;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .category-bar .container {
    flex-wrap: wrap;
    justify-content: center;
  }
  .category-item {
    margin: 5px;
  }
}