/* ژناڤبرنا رەنگێ کلیکێ و دانانا فۆنتێ نوی یێ کوردی کو تێک ناچیت */
* {
  font-family: "Noto Sans Arabic", sans-serif !important;
  -webkit-tap-highlight-color: transparent !important;
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
}

:root {
  --primary-color: #2c938a;
  --secondary-color: #e53935;
  --bg-color: #f4f7f6;
  --text-color: #333;
  --card-bg: #fff;
}

body {
  background: linear-gradient(135deg, #ffffff 0%, var(--primary-color) 100%);
  color: var(--text-color);
  margin: 0;
  padding: 0;
  min-height: 100vh;
}

.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 15px;
}

/* =========================================
   دیزاینا بەشێ سەرەکی (Header & Logo) یێ نوی و پاقژتر
   ========================================= */
.main-header {
  text-align: center;
  margin-bottom: 30px;
  background-color: #ffffff;
  padding: 30px 15px 25px 15px;
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(44, 147, 138, 0.12);
  border: 1px solid rgba(44, 147, 138, 0.1);
  position: relative;
}

.site-logo-header {
  max-width: 135px;
  height: auto;
  margin-bottom: 15px;
  transition: transform 0.3s ease;
  mix-blend-mode: multiply; /* ژێبرنا پاشخانا سپی یا لۆگۆی */
}

.site-logo-header:hover {
  transform: scale(1.03);
}

.restaurant-title {
  font-size: 1.7em;
  color: #d32f2f;
  margin: 0 0 20px 0;
  font-weight: 900;
  letter-spacing: 0px;
  text-shadow:
    2px 2px 0px #ffcdd2,
    4px 4px 5px rgba(0, 0, 0, 0.1);
}

.top-lang-switcher {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #f5f7f9;
  padding: 6px 12px;
  border-radius: 50px;
  gap: 5px;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.03);
}

.top-lang-switcher span {
  cursor: pointer;
  padding: 8px 16px;
  font-size: 0.95em;
  color: #666;
  border-radius: 25px;
  transition: all 0.3s ease;
}

.top-lang-switcher span:hover {
  background-color: white;
  color: var(--primary-color);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

/* === دیزاینا شاشەیا دەستپێکی (Modal) === */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  backdrop-filter: blur(5px);
}

.modal-content {
  background-color: white;
  padding: 30px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  max-width: 85%;
  width: 350px;
}

.site-logo-modal {
  max-width: 150px;
  height: auto;
  margin-bottom: 20px;
}

.modal-content p {
  color: #555;
  margin-bottom: 25px;
  line-height: 1.6;
}

.modal-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.modal-buttons .lang-btn {
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 12px;
  border-radius: 10px;
  font-size: 1.1em;
  cursor: pointer;
}

/* =========================================
   دیزاینا دوگمەیێن بەشان (Tabs)
   ========================================= */
.category {
  margin-bottom: 40px;
}

.tabs-container {
  display: flex;
  overflow-x: auto;
  gap: 12px;
  margin-bottom: 25px;
  padding: 10px 5px;
  flex-wrap: nowrap;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.tabs-container::-webkit-scrollbar {
  display: none;
}

.tab-btn {
  flex-shrink: 0;
  background-color: white;
  color: #333333 !important;
  -webkit-text-fill-color: #333333 !important;
  border: 2px solid #eee;
  padding: 6px 14px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 0.9em;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 5px;
}

.tab-btn.active {
  background-color: var(--primary-color) !important;
  color: white !important;
  -webkit-text-fill-color: white !important;
  border-color: var(--primary-color) !important;
}

/* =========================================
   رێکخستنا خارنان و ئەنیمەیشنا وان
   ========================================= */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding: 5px;
}

.menu-item {
  background-color: var(--card-bg);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  cursor: pointer;
  touch-action: manipulation;

  opacity: 0;
  animation: fadeUp 0.5s ease-out forwards;
}

@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(30px) translateZ(0);
  }
  100% {
    opacity: 1;
    transform: translateY(0) translateZ(0);
  }
}

.item-info,
.item-name,
.item-price {
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  will-change: transform;
}

@media (hover: hover) {
  .menu-item:hover {
    transform: translateY(-3px);
  }
}

.item-image {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-bottom: 1px solid #eee;
}

.item-info {
  padding: 10px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 5px;
}

.item-name {
  font-size: 0.9em;
  line-height: 1.3;
}

.item-price {
  color: var(--secondary-color);
  font-size: 1.05em;
  direction: ltr; /* ئەڤە دێ نرخان ڕاست کەت (8000 IQD) */
  display: inline-block;
}
.iqd {
  font-size: 0.7em;
  color: #777;
}

/* =========================================
   دیزاینا پەنجەرەیا خارنێ (Food Modal)
   ========================================= */
.food-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.75);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  backdrop-filter: blur(5px);
  opacity: 0;
  animation: fadeIn 0.3s forwards;
}

.food-modal-content {
  background-color: #fff;
  width: 90%;
  max-width: 400px;
  border-radius: 20px;
  padding: 20px;
  text-align: center;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transform: scale(0.8);
  animation: scaleUp 0.3s forwards;
  overflow: hidden;
}

.close-modal-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  background: #f1f1f1;
  border: none;
  font-size: 1.5em;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #333;
  transition: background 0.3s;
}

.close-modal-btn:hover {
  background: var(--secondary-color);
  color: white;
}

#modal-food-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 15px;
  margin-bottom: 15px;
}

#modal-food-name {
  font-size: 1.4em;
  color: #333;
  margin-bottom: 10px;
  font-weight: 800;
}

#modal-food-price {
  font-size: 1.3em;
  color: var(--secondary-color);
  direction: ltr; /* ڕاستکرنا ئاراستەیێ نرخان د پەنجەرەیێ دا */
  display: inline-block;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

@keyframes scaleUp {
  to {
    transform: scale(1);
  }
}

/* =========================================
   دیزاینا بەشێ دوماهیێ (Footer)
   ========================================= */
.site-footer {
  background-color: #ffffff;
  color: #333;
  text-align: center;
  padding: 30px 20px;
  margin-top: 50px;
  border-radius: 20px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  border-bottom: 5px solid var(--primary-color);
}

.footer-address {
  font-size: 1.1em;
  color: #444;
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px dashed #ddd;
  line-height: 1.6;
}

.footer-copyright {
  font-size: 1em;
  margin-bottom: 10px;
  color: #666;
}

.brand-name {
  color: var(--secondary-color);
  font-size: 1.1em;
}

.footer-dev {
  font-size: 0.9em;
  color: #888;
  margin-top: 15px;
  direction: ltr;
  display: inline-block;
}

.dev-link {
  color: #00b4d8;
  letter-spacing: 0.5px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.dev-link:hover {
  color: #0077b6;
  text-decoration: underline;
}

/* =========================================
   دیزاینا پەیوەندی و ناونیشان (قەبارێ بچویکتر و ڕێکخستی)
   ========================================= */
.contact-address-card {
  background-color: #ffffff;
  color: #333333;
  border-radius: 15px;
  padding: 20px 15px;
  margin-top: 25px;
  margin-bottom: 20px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(44, 147, 138, 0.1);
  border: 2px solid var(--primary-color);
}

.contact-part {
  margin-bottom: 20px;
}

.ca-title {
  color: #1f2937;
  font-size: 1.3em;
  margin-bottom: 10px;
  font-weight: 900;
}

.ca-text {
  font-size: 1em;
  margin-bottom: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  color: #4b5563;
}

.phone-container {
  margin-bottom: 12px;
}

.whatsapp-link {
  text-decoration: none;
  color: #25d366;
  font-weight: 800;
  font-size: 1.1em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  background: #f0fdf4;
  padding: 6px 18px;
  border-radius: 50px;
  border: 1px solid #bbf7d0;
  direction: ltr;
}

.whatsapp-link:hover {
  background: #25d366;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3);
}

.status-green {
  color: #10b981;
  font-weight: bold;
  margin-top: 5px;
}
