/* =====================
   Global
===================== */
:root {
  --main-blue: #1e88e5;
  --dark-blue: #0056d2;
  --light-blue: #e6f0ff;
  --bg: #f5f9ff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, sans-serif;
  direction: rtl;
  background: var(--bg);
  color: #333;
}

html {
  scroll-behavior: smooth;
}

/* =====================
   Navbar
===================== */
.navbar {
  background: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-logo {
  width: 60px;
}

.navbar ul {
  list-style: none;
  display: flex;
  gap: 20px;
  padding: 0;
  margin: 0;
}

.navbar li {
  cursor: pointer;
  font-weight: 600;
}

/* =====================
   Hero
===================== */
.hero {
  background:
    linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.45)),
    url('img/Gemini_Generated_Image_pf72wepf72wepf72.png') center/cover;
  min-height: 70vh;
  display: flex;
  align-items: center;
  padding: 30px;
  color: #fff;
}

.hero-text h1 {
  font-size: 42px;
}

.hero-text p {
  font-size: 18px;
  margin-bottom: 20px;
}

.hero-btn {
  background: var(--main-blue);
  color: #fff;
  padding: 12px 26px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
}

/* =====================
   Section Title
===================== */
.section-title {
  margin: 30px 15px;
  font-size: 28px;
  color: var(--main-blue);
  text-align: center;
}

/* =====================
   Menu Categories
===================== */
.menu-categories,
.menu-links {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 25px;
}

.menu-categories button,
.menu-links a {
  padding: 8px 16px;
  border: none;
  background: var(--light-blue);
  color: var(--dark-blue);
  border-radius: 20px;
  cursor: pointer;
  font-weight: bold;
  text-decoration: none;
}

/* =====================
   Menu Grid
===================== */
.menu,
.menu-items {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* شاشات كبيرة */
  gap: 20px;
  padding: 0 30px 40px;
}

/* =====================
   Card
===================== */
.card {
  background: #fff;
  border-radius: 18px;
  padding: 15px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 12px;
}

.card h3 {
  margin: 12px 0 5px;
  font-size: 18px;
}

.card span {
  color: var(--main-blue);
  font-weight: bold;
}

.order-btn {
  display: inline-block;
  margin-top: 10px;
  background: var(--main-blue);
  color: #fff;
  padding: 8px 18px;
  border-radius: 25px;
  text-decoration: none;
  font-size: 14px;
}

/* =====================
   Footer
===================== */
footer {
  background: var(--main-blue);
  color: #fff;
  text-align: center;
  padding: 18px;
  font-size: 14px;
}

/* =====================
   WhatsApp
===================== */
.whatsapp-float {
  position: fixed;
  bottom: 15px;
  left: 15px;
  background: #25D366;
  color: #fff;
  padding: 12px 18px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  z-index: 999;
}

/* =====================
   Tablet
===================== */
@media (max-width: 992px) {
  .menu,
  .menu-items {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* =====================
   Mobile
===================== */
@media (max-width: 576px) {
  .navbar {
    flex-direction: column;
    gap: 10px;
  }

  .hero {
    text-align: center;
    padding: 20px;
  }

  .hero-text h1 {
    font-size: 30px;
  }

  .menu,
  .menu-items {
    grid-template-columns: repeat(2, 1fr); /* موبايل = 2 */
    padding: 0 15px 30px;
  }

  .card img {
    height: 130px;
  }
}
#scrollToTopBtn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: none; /* يبان لما ننزل */
  background-color: #007bff;
  color: #fff;
  font-size: 24px;
  padding: 12px 16px;
  border-radius: 50%;
  text-decoration: none;
  cursor: pointer;
  z-index: 999;
  transition: 0.3s;
}

#scrollToTopBtn:hover {
  background-color: #0056b3;
}