/* menu.css - Modern Restaurant Menu Design */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Arial', sans-serif;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  color: #333;
  line-height: 1.6;
  min-height: 100vh;
}

/* Flash Messages */
.flashes {
  list-style: none;
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
}

.flash {
  padding: 12px 20px;
  margin-bottom: 10px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  animation: slideIn 0.3s ease-out;
}

.flash.success {
  background: #d4edda;
  border: 1px solid #c3e6cb;
  color: #155724;
}

.flash.error {
  background: #f8d7da;
  border: 1px solid #f5c6cb;
  color: #721c24;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(100%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Header */
header {
  background: white;
  padding: 40px 0;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border-bottom: 3px solid #f8f9fa;
}

header h1 {
  font-size: 2.5rem;
  color: #2c3e50;
  margin-bottom: 10px;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.subtitle {
  font-size: 1.2rem;
  color: #7f8c8d;
  margin-bottom: 30px;
  font-style: italic;
}

.lang-switch {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.lang-switch a {
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 25px;
  background: #f8f9fa;
  color: #495057;
  transition: all 0.3s ease;
  border: 2px solid #e9ecef;
  font-weight: 500;
}

.lang-switch a:hover {
  background: #e9ecef;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.lang-switch a.active {
  background: #007bff;
  color: white;
  border-color: #007bff;
}

/* Search Section */
.menu-search {
  background: white;
  padding: 30px 0;
  border-bottom: 1px solid #e9ecef;
}

.menu-search form {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  gap: 15px;
  align-items: center;
  padding: 0 20px;
}

.search-box {
  flex: 1;
  padding: 15px 20px;
  border: 2px solid #e9ecef;
  border-radius: 50px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: #f8f9fa;
}

.search-box:focus {
  outline: none;
  border-color: #007bff;
  background: white;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.btn-search {
  padding: 15px 30px;
  background: #007bff;
  color: white;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-search:hover {
  background: #0056b3;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.clear-search {
  padding: 15px 20px;
  background: #dc3545;
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.clear-search:hover {
  background: #c82333;
  transform: translateY(-2px);
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* Menu Categories */
.menu-category {
  background: white;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  margin-bottom: 40px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.menu-category:hover {
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
  transform: translateY(-5px);
}

.category-title {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 25px 30px;
  margin: 0;
  font-size: 1.8rem;
  font-weight: 600;
  text-align: center;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.category-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 25px;
  padding: 30px;
}

/* Menu Items */
.item {
  background: #f8f9fa;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid #e9ecef;
}

.item:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  border-color: #007bff;
}

.item-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 1px solid #e9ecef;
}

.item.no-image .content {
  padding: 25px;
}

.item:not(.no-image) .content {
  padding: 20px 25px 25px;
}

.item h3 {
  font-size: 1.3rem;
  color: #2c3e50;
  margin-bottom: 15px;
  font-weight: 600;
}

.al-name {
  font-size: 1rem;
  color: #7f8c8d;
  font-weight: 400;
  display: block;
  margin-top: 5px;
}

.descriptions {
  margin-bottom: 15px;
}

.desc-en, .desc-al {
  margin-bottom: 8px;
  color: #495057;
  line-height: 1.5;
}

.desc-en b, .desc-al b {
  color: #007bff;
  font-weight: 600;
}

.price {
  font-size: 1.4rem;
  font-weight: 700;
  color: #28a745;
  text-align: right;
  background: linear-gradient(135deg, #28a745, #20c997);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 50px;
  padding: 30px 0;
}

.page-link {
  padding: 12px 18px;
  background: white;
  color: #007bff;
  text-decoration: none;
  border-radius: 8px;
  border: 2px solid #e9ecef;
  font-weight: 500;
  transition: all 0.3s ease;
  min-width: 50px;
  text-align: center;
}

.page-link:hover {
  background: #007bff;
  color: white;
  border-color: #007bff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.page-link.active {
  background: #007bff;
  color: white;
  border-color: #007bff;
}

.page-link.disabled {
  background: #f8f9fa;
  color: #6c757d;
  cursor: not-allowed;
  border-color: #e9ecef;
}

/* Footer */
.footer-nav {
  background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
  color: white;
  padding: 40px 0;
  margin-top: 60px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  align-items: center;
}

.footer-brand h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: #ecf0f1;
}

.footer-brand p {
  color: #bdc3c7;
  font-style: italic;
}

.footer-links {
  display: flex;
  gap: 20px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.footer-link {
  text-decoration: none;
  color: #bdc3c7;
  padding: 12px 20px;
  border-radius: 8px;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.footer-link:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border-color: rgba(255, 255, 255, 0.2);
}

.footer-link.active {
  background: #007bff;
  color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
  header h1 {
    font-size: 2rem;
  }
  
  .subtitle {
    font-size: 1rem;
  }
  
  .lang-switch {
    flex-direction: column;
    gap: 10px;
  }
  
  .menu-search form {
    flex-direction: column;
    gap: 15px;
  }
  
  .category-items {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 20px;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 20px;
  }
  
  .footer-links {
    justify-content: center;
  }
  
  .pagination {
    flex-wrap: wrap;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 20px 10px;
  }
  
  .category-title {
    font-size: 1.5rem;
    padding: 20px;
  }
  
  .item h3 {
    font-size: 1.2rem;
  }
  
  .price {
    font-size: 1.2rem;
  }
}