/* ============================
   الخطوط العامة
============================= */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;600;700&display=swap');

body {
  font-family: 'Cairo', sans-serif;
  background-color: #f7f7f7;
  transition: background 0.3s ease, color 0.3s ease;
}

/* ============================
   الوضع النهاري / الليلي
============================= */
.light-mode {
  --bg-color: #ffffff;
  --text-color: #000000;
  --card-bg: #ffffff;
  --card-shadow: rgba(0, 0, 0, 0.1);
  --nav-bg: #ffffff;
  --footer-bg: #222;
}

.dark-mode {
  --bg-color: #1d1d1d;
  --text-color: #ffffff;
  --card-bg: #2c2c2c;
  --card-shadow: rgba(255, 255, 255, 0.1);
  --nav-bg: #2a2a2a;
  --footer-bg: #111;
}

body {
  background: var(--bg-color);
  color: var(--text-color);
}

header,
.navbar {
  background: var(--nav-bg) !important;
}

/* ============================
   السلايدر
============================= */
.carousel-item img {
  height: 350px;
  object-fit: cover;
}

.carousel-caption h3 {
  background: rgba(0, 0, 0, 0.5);
  display: inline-block;
  padding: 10px 20px;
  border-radius: 10px;
}

/* ============================
   أزرار الفلترة
============================= */
.filter-btn {
  min-width: 100px;
}

.filter-btn.active {
  background: #000 !important;
  color: #fff !important;
}

/* ============================
   كروت الأصناف
============================= */
.menu-card {
  background: var(--card-bg);
  box-shadow: 0 4px 12px var(--card-shadow);
  border-radius: 15px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.menu-card:hover {
  transform: translateY(-5px);
}

.menu-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.menu-card .item-info {
  padding: 15px;
}

.menu-card .item-title {
  font-size: 20px;
  font-weight: 700;
}

.menu-card .item-category {
  font-size: 14px;
  opacity: 0.7;
}

.menu-card .item-price {
  font-weight: bold;
  font-size: 18px;
  margin-top: 10px;
}

/* ============================
   الفوتر
============================= */
footer {
  background: var(--footer-bg);
}

footer p {
  margin: 0;
}

/* ============================
   موبايل
============================= */
@media (max-width: 576px) {
  .carousel-item img {
    height: 250px;
  }

  .menu-card img {
    height: 160px;
  }
}
