/* style-ar.css (Complete Arabic Stylesheet) */

/* General Styles */
body {
  font-family: "Cairo", sans-serif; /* Use an Arabic-compatible font */
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
  background-color: #eedec5;
  direction: rtl; /* Set overall direction to Right-to-Left */
  text-align: right; /* Default text alignment */
}

/* index.html Styles (Adjust as needed for RTL) */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

/* New CSS for Calories */
.calories {
  font-size: 0.9em;
  color: #555;
  margin-right: 16px; /* Add space between price and calories */
  font-style: italic;
  display: inline; /* Display inline to be beside the price */
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

/* Style for the button container */
.button-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1em;
  margin-top: 1em;
}

.cta-button {
  background-color: #204230;
  color: white;
  padding: 15px 30px;
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.2em;
  z-index: 1;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
}

.cta-button:hover {
  background-color: #36614a;
  transform: translateY(-2px); /* Consistent hover effect */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* menu-ar.html Styles */

/* Horizontal Navigation */
.menu-nav {
  overflow-x: auto;
  white-space: nowrap;
  background-color: #f9f8f1;
  border-bottom: 1px solid #d8d6c1;
  -webkit-overflow-scrolling: touch; /* For smooth scrolling on iOS */
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.menu-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  /* Keep horizontal layout */
}

.menu-nav-list a {
  display: inline-block;
  padding: 15px 20px;
  text-decoration: none;
  color: #204230;
  transition: background-color 0.3s ease, color 0.3s ease;
  border-radius: 4px 4px 0 0;
}

.menu-nav-list a.active,
.menu-nav-list a:hover {
  background-color: #204230;
  color: white;
}

/* Menu Categories */
.menu-category {
  padding: 20px;
  border-bottom: 1px solid #d8d6c1;
}

.menu-category h2 {
  margin-top: 40px;
  margin-bottom: 20px;
  color: #204230;
  font-size: 1.8em;
  border-bottom: 2px solid #204230;
  padding-bottom: 5px;
  display: inline-block;
}

/* ----- Menu Items ----- */
.menu-item {
  display: flex;
  flex-direction: row; /* Image on right, text on left (Correct for RTL) */
  justify-content: flex-start; /* Align items to the start (right in RTL) */
  align-items: center;
  margin-bottom: 30px;
  border: 1px solid #d8d6c1;
  padding: 15px;
  border-radius: 8px;
  background-color: white;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.menu-item:hover {
  transform: translateX(3px); /* Move slightly *right* on hover (RTL) */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
}
.menu-item-image {
  width: 120px; /* Fixed width */
  height: 120px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  margin-inline-end: 25px; /* Use logical property for spacing */
  flex-shrink: 0; /* Prevent the image from shrinking */
}

.menu-item-text {
  flex: 1; /* Take up available space */
  text-align: right; /* Right-align text */
  /* REMOVE padding-left and padding-right */
}

.menu-item-text h3 {
  margin-top: 0;
  margin-bottom: 8px;
  color: #204230;
  font-size: 1.4em;
}

.price {
  font-weight: bold;
  color: #204230;
  display: inline;
  margin-top: 8px;
  font-size: 1.1em;
}

/* Add some general padding to main content */
main {
  padding-top: 60px;
}
