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

:root {
  --primary-color: #ad1419;
  --dark-bg: #1a1a1a;
  --light-bg: #f8f8f8;
  --text-primary: #333;
  --text-secondary: #666;
  --border-color: #e0e0e0;
  --card-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, sans-serif;
  background: var(--light-bg);
  color: var(--text-primary);
  line-height: 1.6;
  padding-bottom: 2rem;
}

/* Header */
.header {
  background: var(--primary-color);
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.back-btn {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: white;
  transition: all 0.3s ease;
}

.back-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
}

.logo-container {
  flex: 1;
  display: flex;
  justify-content: center;
}

.logo {
  max-width: 130px;
}

.logo-placeholder {
  background: var(--primary-color);
  padding: 0.5rem 2rem;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1.5rem;
  letter-spacing: 2px;
  color: white;
}

.language-selector select {
  background: var(--primary-color);
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  cursor: pointer;
  border: 2px solid var(--border-color);
  outline: none;
  font-weight: 500;
  color: var(--border-color);
}

/* Restaurant Info */
.restaurant-info {
  background: white;
  padding: 1.5rem;
  margin-bottom: 1rem;
}

.restaurant-name {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.info-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.info-item svg {
  flex-shrink: 0;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--light-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all 0.3s ease;
}

.social-link:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-2px);
}

/* Category Tabs */
.category-tabs {
  display: flex;
  gap: 0.5rem;
  padding: 1rem;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  background: white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  scroll-behavior: smooth;
}

.category-tabs::-webkit-scrollbar {
  display: none;
}

.tab-btn {
  background: var(--light-bg);
  border: 2px solid transparent;
  padding: 0.6rem 1.2rem;
  border-radius: 25px;
  white-space: nowrap;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.tab-btn svg {
  width: 18px;
  height: 18px;
}

.tab-btn:hover {
  background: rgba(173, 20, 25, 0.1);
  color: var(--primary-color);
}

.tab-btn.active {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

/* Search */
.search-container {
  padding: 1rem;
  background: white;
  position: relative;
}

.search-icon {
  position: absolute;
  left: 2rem;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.search-input {
  width: 100%;
  padding: 0.9rem 1rem 0.9rem 3rem;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  font-size: 1rem;
  outline: none;
  transition: all 0.3s ease;
  background: var(--light-bg);
}

.search-input:focus {
  border-color: var(--primary-color);
  background: white;
  box-shadow: 0 0 0 3px rgba(173, 20, 25, 0.1);
}

/* Menu Container */
.menu-container {
  padding: 1rem;
}

.category-section {
  margin-bottom: 2rem;
}

.category-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 3px solid var(--primary-color);
  display: inline-block;
}

/* Menu Card */
.menu-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.menu-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.card-image {
  width: 100%;
  height: 240px;
  overflow: hidden;
  position: relative;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.menu-card:hover .card-image img {
  transform: scale(1.1);
}

.card-content {
  padding: 1.25rem;
}

.dish-name {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.dish-description {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.price-tag {
  display: inline-block;
  background: var(--primary-color);
  color: white;
  padding: 0.6rem 1.5rem;
  border-radius: 25px;
  font-size: 1.1rem;
  font-weight: 700;
}

/* Hidden class */
.hidden {
  display: none !important;
}

/* Mobile: 2 columns */
@media (max-width: 767px) {
  .menu-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    padding: 1rem;
  }

  .category-section {
    grid-column: 1 / -1;
    display: contents;
  }

  .category-title {
    grid-column: 1 / -1;
    font-size: 1.1rem;
    margin-bottom: 0;
    margin-top: 1rem;
  }

  .menu-card {
    display: flex;
    flex-direction: column;
    margin-bottom: 0;
  }

  .card-image {
    height: 140px;
  }

  .card-content {
    padding: 0.75rem;
  }

  .dish-name {
    font-size: 1rem;
    margin-bottom: 0.3rem;
  }

  .dish-description {
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .price-tag {
    padding: 0.4rem 1rem;
    font-size: 0.9rem;
  }
}

/* Tablet styles - 3 columns */
@media (min-width: 768px) {
  .menu-container {
    max-width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    padding: 1.5rem;
  }

  .category-section {
    grid-column: 1 / -1;
    display: contents;
  }

  .category-title {
    grid-column: 1 / -1;
    margin-top: 1rem;
  }

  .restaurant-info {
    max-width: 100%;
    margin: 0 auto 1rem;
  }

  .category-tabs {
    max-width: 100%;
    margin: 0 auto;
    justify-content: center;
  }

  .search-container {
    max-width: 100%;
    margin: 0 auto;
  }

  .menu-card {
    display: flex;
    flex-direction: column;
    margin-bottom: 0;
  }

  .card-image {
    height: 200px;
    width: 100%;
  }

  .card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 1rem;
  }
}

/* Desktop styles */
@media (min-width: 1024px) {
  .menu-container {
    max-width: 1200px;
    grid-template-columns: repeat(3, 1fr);
  }

  .restaurant-info {
    max-width: 1200px;
  }

  .category-tabs {
    max-width: 1200px;
  }

  .search-container {
    max-width: 1200px;
  }
}

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

.menu-card {
  animation: fadeIn 0.5s ease forwards;
}
/* Category Tabs */
.category-tabs {
  display: flex;
  gap: 0.5rem;
  padding: 1rem;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  background: white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  scroll-behavior: smooth;
}