/* Main Styles for TASTE Restaurant Management System */

/* General Styles */
body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Button Styles */
.btn {
    border-radius: 5px;
    padding: 0.5rem 1.5rem;
    transition: all 0.3s ease;
}

.btn-dark {
    background-color: #000;
    border-color: #000;
}

.btn-dark:hover {
    background-color: #333;
    border-color: #333;
    transform: translateY(-2px);
}

.btn-outline-dark {
    border-color: #000;
    color: #000;
}

.btn-outline-dark:hover {
    background-color: #000;
    color: #fff;
    transform: translateY(-2px);
}

/* Navigation Styles */
.navbar {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 0.75rem 1rem;
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -1px;
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 600;
    padding: 0.5rem 1rem;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: #fff;
}

/* Footer Styles */
footer {
    margin-top: 5rem;
}

footer h5 {
    font-weight: 700;
    margin-bottom: 1.5rem;
}

footer p, footer address {
    color: rgba(255, 255, 255, 0.7);
}

footer .list-unstyled li {
    margin-bottom: 0.5rem;
}

footer a {
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

footer a:hover {
    color: #fff;
    text-decoration: none;
}

/* Form Styles */
.form-control {
    padding: 0.75rem 1.25rem;
    border-radius: 5px;
    border: 1px solid #ced4da;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #000;
    box-shadow: 0 0 0 0.2rem rgba(0, 0, 0, 0.1);
}

label {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* Card Styles */
.card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.card-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #eee;
    padding: 1.5rem;
}

.card-body {
    padding: 1.5rem;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animated {
    animation: fadeIn 0.5s ease forwards;
}

/* Responsive Styles */
@media (max-width: 991px) {
    .navbar-brand {
        font-size: 1.3rem;
    }
    
    .navbar-dark .navbar-nav .nav-link {
        padding: 0.5rem 0.75rem;
    }
}

@media (max-width: 768px) {
    body {
        font-size: 0.95rem;
    }
    
    h1 {
        font-size: 2.25rem;
    }
    
    h2 {
        font-size: 1.85rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
    
    .btn {
        padding: 0.4rem 1.25rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .navbar-brand {
        font-size: 1.2rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    h3 {
        font-size: 1.3rem;
    }
}

/* Utility Classes */
.text-bold {
    font-weight: 700;
}

.text-medium {
    font-weight: 600;
}

.text-thin {
    font-weight: 300;
}

.text-spaced {
    letter-spacing: 2px;
}

.text-uppercase {
    text-transform: uppercase;
}

/* Hover Effects */
.hover-up {
    transition: transform 0.3s ease;
}

.hover-up:hover {
    transform: translateY(-5px);
} 

.add-to-cart-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    width: 300px;
  }
  
  .cart-item {
    display: flex;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
  }
  
  .cart-item-img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
    margin-right: 15px;
  }
  
  .quantity-input {
    width: 40px;
    text-align: center;
  }


  /* Floating Cart Styles */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: white;
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
    z-index: 1050;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
  }
  
  .cart-sidebar.show {
    right: 0;
  }
  
  .cart-header {
    padding: 15px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .cart-body {
    flex: 1;
    overflow-y: auto;
    padding: 15px;
  }
  
  .cart-footer {
    padding: 15px;
    border-top: 1px solid #eee;
  }
  
  .cart-item {
    display: flex;
    gap: 15px;
    padding: 10px 0;
    border-bottom: 1px solid #f5f5f5;
    align-items: center;
  }
  
  .cart-item-img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
  }
  
  .cart-item-details {
    flex: 1;
  }
  
  .cart-item-details h6 {
    margin-bottom: 5px;
  }
  
  .cart-toggle-btn {
    position: fixed;
    right: 20px;
    top: 20px;
    z-index: 1040;
    padding: 10px 15px;
    border-radius: 50px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  }
  
  .cart-toggle-btn .badge {
    position: absolute;
    top: -5px;
    right: -5px;
  }
  
  /* Responsive adjustments */
  @media (max-width: 576px) {
    .cart-sidebar {
      width: 100%;
    }
  }

  /* Menu Item Styles */
.menu-item {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
  }
  
  .menu-item:hover {
    transform: translateY(-5px);
  }
  
  .menu-item-image {
    position: relative;
    height: 200px;
    overflow: hidden;
  }
  
  .menu-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
  }
  
  .menu-item:hover .menu-item-image img {
    transform: scale(1.05);
  }
  
  .menu-item-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
  }
  
  .menu-item-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
  }
  
  .menu-item-desc {
    color: #666;
    flex: 1;
    margin-bottom: 15px;
  }
  
  .menu-item-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .menu-item-price {
    font-weight: bold;
    font-size: 1.1rem;
    margin: 0;
  }
  
  /* Badges */
  .menu-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    color: white;
  }
  
  .menu-badge.popular {
    background-color: #ff6b6b;
  }
  
  .menu-badge.new {
    background-color: #51cf66;
  }
  
  .menu-badge.vegetarian {
    background-color: #94d82d;
  }
  
  /* Dietary Icons */
  .dietary-info {
    display: flex;
    gap: 5px;
  }
  
  .dietary-icon {
    font-size: 0.9rem;
    color: #555;
    cursor: help;
  }
  
  .dietary-icon.vegetarian {
    color: #94d82d;
  }
  
  .dietary-icon.vegan {
    color: #51cf66;
  }
  
  .dietary-icon.gluten-free {
    color: #fcc419;
  }