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

body {
  font-family: 'Noto Sans Arabic', sans-serif;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 100vh;
  padding: 0;
  direction: rtl;
}

.app-container {
  max-width: 100%;
  margin: 0 auto;
  background: white;
  min-height: 100vh;
}

/* هدر */
.app-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 2rem 1rem;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.header-content {
  max-width: 600px;
  margin: 0 auto;
}

.restaurant-name {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.restaurant-tagline {
  font-size: 1rem;
  opacity: 0.9;
}

/* تب‌ها */
.tabs-container {
  display: flex;
  background: white;
  border-bottom: 2px solid #f0f0f0;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

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

.tab-button {
  flex: 1;
  padding: 1rem 0.5rem;
  border: none;
  background: white;
  color: #666;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border-bottom: 3px solid transparent;
  min-width: 120px;
  font-family: 'Noto Sans Arabic', sans-serif;
}

.tab-button:hover {
  background: #f8f8f8;
}

.tab-button.active {
  color: #667eea;
  border-bottom-color: #667eea;
  background: #f8f8ff;
}

/* محتوای تب‌ها */
.content-container {
  padding: 1rem;
  background: #f8f8f8;
  min-height: 60vh;
}

.tab-content {
  display: none;
  animation: fadeIn 0.3s ease;
}

.tab-content.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* لیست غذاها */
.menu-items {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.menu-item {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: row;
  height: 120px;
}

.menu-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.menu-item.featured {
  border: 2px solid #667eea;
  background: linear-gradient(135deg, #ffffff 0%, #f0f4ff 100%);
}

.item-image {
  width: 120px;
  height: 120px;
  flex-shrink: 0;
  overflow: hidden;
}

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

.menu-item:hover .item-image img {
  transform: scale(1.05);
}

.item-info {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}

.item-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 0.3rem;
}

.item-description {
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 0.5rem;
}

.item-price {
  font-size: 1.2rem;
  font-weight: 700;
  color: #667eea;
}

/* فوتر */
.app-footer {
  background: #2d2d2d;
  color: white;
  padding: 2rem 1rem;
  text-align: center;
  margin-top: 2rem;
}

.contact-info h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.phone-numbers {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.phone-link {
  color: white;
  text-decoration: none;
  font-size: 1rem;
  padding: 0.5rem 1rem;
  background: #667eea;
  border-radius: 8px;
  transition: all 0.3s ease;
  display: inline-block;
}

.phone-link:hover {
  background: #5568d3;
  transform: scale(1.05);
}

.address-info {
  margin-top: 1rem;
  font-size: 0.9rem;
  opacity: 0.8;
}

/* ریسپانسیو برای تبلت */
@media (min-width: 768px) {
  .app-container {
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.1);
  }

  .menu-item {
    height: 140px;
  }

  .item-image {
    width: 140px;
    height: 140px;
  }

  .restaurant-name {
    font-size: 2.5rem;
  }

  .restaurant-tagline {
    font-size: 1.2rem;
  }
}

/* انیمیشن برای لود */
@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.loading {
  animation: pulse 1.5s ease-in-out infinite;
}
