/* ================================================
   RASHFA — Main Stylesheet
   Mobile-first responsive design
   Brand: Teal #2A7B7F · Orange #D4942A · Red #C0392B
   ================================================ */

/* ─── CSS Custom Properties ─── */
:root {
  /* Brand palette */
  --clr-teal: #2A7B7F;
  --clr-teal-dark: #1E5D60;
  --clr-teal-light: #38999E;
  --clr-orange: #D4942A;
  --clr-orange-light: #E8AD4A;
  --clr-red: #C0392B;

  /* Neutral */
  --clr-bg: #F7F5F0;
  --clr-bg-card: #FFFFFF;
  --clr-bg-alt: #ECE9E1;
  --clr-text: #2D2D2D;
  --clr-text-secondary: #6B6B6B;
  --clr-text-muted: #999999;
  --clr-border: #E0DDD5;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,.08);
  --shadow-lg: 0 8px 24px rgba(0,0,0,.12);

  /* Radii */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-full: 9999px;

  /* Transitions */
  --transition: .25s ease;

  /* Typography */
  --font-main: 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;

  /* Layout */
  --nav-height: 56px;
}

/* ─── Reset ─── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--nav-height) + 60px);
}

body {
  font-family: var(--font-main);
  background: var(--clr-bg);
  color: var(--clr-text);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

body.no-scroll {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  font-size: inherit;
}

input, select, textarea {
  font-family: inherit;
  font-size: 1rem;
}

/* ─── TOP NAVBAR ─── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--clr-teal);
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  box-shadow: var(--shadow-md);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.navbar-logo {
  height: 36px;
  width: auto;
  border-radius: 6px;
}

.navbar-name {
  color: #fff;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: .3px;
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Hamburger */
#hamburger {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 6px;
  color: #fff;
}

#hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: var(--transition);
}

/* Theme toggle */
#theme-toggle {
  color: #fff;
  font-size: .85rem;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 5px 10px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,.15);
  transition: var(--transition);
}

#theme-toggle:hover {
  background: rgba(255,255,255,.25);
}

.theme-label {
  display: none;
}

/* Cart toggle */
#cart-toggle {
  position: relative;
  color: #fff;
  font-size: 1.3rem;
  padding: 6px;
}

#cart-count {
  position: absolute;
  top: -2px;
  right: -4px;
  background: var(--clr-orange);
  color: #fff;
  font-size: .65rem;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Mobile nav */
.mobile-nav {
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: var(--clr-teal-dark);
  transform: translateY(-110%);
  transition: transform .3s ease;
  z-index: 99;
  padding: 8px 0;
  box-shadow: var(--shadow-lg);
}

.mobile-nav.open {
  transform: translateY(0);
}

.mobile-nav a {
  display: block;
  padding: 12px 20px;
  color: #fff;
  font-size: .95rem;
  transition: background var(--transition);
}

.mobile-nav a:hover {
  background: rgba(255,255,255,.1);
}

/* ─── LANGUAGE SELECTOR ─── */
#lang-selector {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--clr-bg-alt);
}

.lang-btn {
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: .8rem;
  font-weight: 600;
  color: var(--clr-text-secondary);
  background: var(--clr-bg-card);
  border: 2px solid var(--clr-border);
  transition: var(--transition);
}

.lang-btn.active {
  background: var(--clr-teal);
  color: #fff;
  border-color: var(--clr-teal);
}

.lang-btn:hover:not(.active) {
  border-color: var(--clr-teal-light);
  color: var(--clr-teal);
}

/* ─── HERO SLIDER ─── */
.hero-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: linear-gradient(135deg, var(--clr-teal-dark) 0%, var(--clr-teal) 60%, var(--clr-teal-light) 100%);
  min-height: 320px;
}

#hero-slider {
  position: relative;
  width: 100%;
  min-height: 320px;
}

.hero-slide { /* managed by JS */ }
.hero-slide.active { /* managed by JS */ }

.hero-content {
  width: 100%;
  padding: 32px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  text-align: center;
  gap: 16px;
}

.hero-text {
  color: #fff;
  background: rgba(0, 0, 0, .45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 20px 28px;
  border-radius: var(--radius-lg);
  max-width: 500px;
  width: 100%;
}

.hero-item-name {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 6px;
  text-shadow: 0 2px 8px rgba(0,0,0,.3);
}

.hero-item-desc {
  font-size: .9rem;
  opacity: .92;
  margin-bottom: 12px;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.hero-price {
  display: inline-block;
  background: var(--clr-orange);
  color: #fff;
  font-weight: 700;
  font-size: 1.15rem;
  padding: 8px 24px;
  border-radius: var(--radius-full);
  box-shadow: 0 2px 10px rgba(0,0,0,.25);
}

/* Hero without image — no glass card needed */
.hero-content:not(.hero-has-image) .hero-text {
  background: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  padding: 0;
  border-radius: 0;
}

/* Hero with product image background */
.hero-has-image {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 320px;
  justify-content: flex-end;
  position: relative;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  display: none;
}

.hero-has-image .hero-overlay {
  display: block;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, .65) 0%,
    rgba(0, 0, 0, .25) 50%,
    rgba(0, 0, 0, .10) 100%
  );
}

.hero-has-image .hero-text {
  position: relative;
  z-index: 2;
}

.hero-has-image .hero-item-name {
  text-shadow: 0 2px 12px rgba(0,0,0,.5);
}

.hero-has-image .hero-item-desc {
  text-shadow: 0 1px 6px rgba(0,0,0,.4);
}

/* ─── SEARCH BAR ─── */
.search-bar {
  padding: 12px 16px;
  position: sticky;
  top: var(--nav-height);
  z-index: 50;
  background: var(--clr-bg);
}

#search-input {
  width: 100%;
  padding: 12px 16px 12px 42px;
  border: 2px solid var(--clr-border);
  border-radius: var(--radius-full);
  font-size: .95rem;
  background: var(--clr-bg-card);
  color: var(--clr-text);
  transition: var(--transition);
  outline: none;
}

#search-input:focus {
  border-color: var(--clr-teal);
  box-shadow: 0 0 0 3px rgba(42,123,127,.15);
}

.search-bar .search-icon {
  position: absolute;
  left: 30px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1rem;
  color: var(--clr-text-muted);
  pointer-events: none;
}

/* ─── CATEGORY NAV ─── */
.category-nav-wrapper {
  position: sticky;
  top: calc(var(--nav-height) + 52px);
  z-index: 49;
  background: var(--clr-bg);
  border-bottom: 1px solid var(--clr-border);
}

#category-nav {
  display: flex;
  gap: 8px;
  padding: 10px 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

#category-nav::-webkit-scrollbar {
  display: none;
}

.cat-btn {
  flex-shrink: 0;
  scroll-snap-align: start;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: .82rem;
  font-weight: 600;
  white-space: nowrap;
  color: var(--clr-text-secondary);
  background: var(--clr-bg-card);
  border: 1.5px solid var(--clr-border);
  transition: var(--transition);
}

.cat-btn.active {
  background: var(--clr-teal);
  color: #fff;
  border-color: var(--clr-teal);
}

.cat-btn:hover:not(.active) {
  border-color: var(--clr-teal-light);
  color: var(--clr-teal);
}

/* ─── MENU SECTION ─── */
#menu-container {
  padding: 0 16px 80px;
}

.menu-section {
  margin-top: 24px;
}

.menu-section-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--clr-teal-dark);
  margin-bottom: 12px;
  padding-left: 4px;
}

/* ─── MENU GRID — Cards ─── */
.menu-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.menu-item-card {
  background: var(--clr-bg-card);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  transition: box-shadow var(--transition), transform var(--transition);
  overflow: hidden;
}

/* Item image */
.item-image-wrap {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--clr-bg-alt);
  position: relative;
}

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

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

/* Fallback emoji placeholder when no image */
.item-image-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--clr-bg-alt) 0%, var(--clr-bg) 100%);
  font-size: 3rem;
}

/* Card body (text + footer) */
.item-body {
  padding: 12px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.menu-item-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.menu-item-card.unavailable {
  opacity: .55;
  pointer-events: none;
}

/* Badges */
.item-badge {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: .4px;
  width: fit-content;
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
}

.badge-best {
  background: rgba(192,57,43,.12);
  color: var(--clr-red);
}

.badge-new {
  background: rgba(42,123,127,.12);
  color: var(--clr-teal);
}

.badge-special {
  background: rgba(212,148,42,.12);
  color: var(--clr-orange);
}

/* Item info */
.item-name {
  font-size: .95rem;
  font-weight: 600;
  color: var(--clr-text);
  line-height: 1.3;
}

.item-desc {
  font-size: .8rem;
  color: var(--clr-text-secondary);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Item footer */
.item-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 6px;
}

.item-price {
  font-size: 1rem;
  font-weight: 700;
  color: var(--clr-teal);
}

/* Add button */
.add-to-cart-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--clr-teal);
  color: #fff;
  font-size: 1.3rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  line-height: 1;
}

.add-to-cart-btn:hover {
  background: var(--clr-teal-dark);
  transform: scale(1.1);
}

/* Qty controls */
.item-qty-control {
  display: flex;
  align-items: center;
  gap: 6px;
}

.qty-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-size: 1.1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.qty-btn.minus {
  background: var(--clr-bg-alt);
  color: var(--clr-text-secondary);
}

.qty-btn.minus:hover {
  background: var(--clr-red);
  color: #fff;
}

.qty-btn.plus {
  background: var(--clr-teal);
  color: #fff;
}

.qty-btn.plus:hover {
  background: var(--clr-teal-dark);
}

.qty-display {
  font-weight: 700;
  font-size: .9rem;
  min-width: 20px;
  text-align: center;
}

.unavailable-badge {
  font-size: .75rem;
  color: var(--clr-text-muted);
  font-style: italic;
}

/* No results */
.no-results {
  text-align: center;
  padding: 40px 16px;
  color: var(--clr-text-muted);
  font-size: 1rem;
}

/* ─── CART OVERLAY & PANEL ─── */
#cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.4);
  opacity: 0;
  visibility: hidden;
  z-index: 200;
  transition: opacity .3s ease, visibility .3s ease;
}

#cart-overlay.open {
  opacity: 1;
  visibility: visible;
}

#cart-panel {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--clr-bg-card);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  max-height: 85vh;
  overflow-y: auto;
  z-index: 201;
  padding: 20px 16px 24px;
  transform: translateY(100%);
  transition: transform .35s ease;
  box-shadow: 0 -4px 20px rgba(0,0,0,.15);
}

#cart-panel.open {
  transform: translateY(0);
}

.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.cart-header h2 {
  font-size: 1.2rem;
  font-weight: 700;
}

#cart-close {
  font-size: 1.5rem;
  color: var(--clr-text-secondary);
  padding: 4px;
}

/* Cart items */
.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--clr-border);
}

.cart-item-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cart-item-name {
  font-weight: 600;
  font-size: .9rem;
}

.cart-item-price {
  font-size: .85rem;
  color: var(--clr-teal);
  font-weight: 600;
}

.cart-item-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.delete-btn {
  color: var(--clr-red);
  font-size: 1.2rem;
  padding: 4px;
  margin-left: 6px;
  transition: var(--transition);
}

.delete-btn:hover {
  transform: scale(1.2);
}

.empty-cart {
  text-align: center;
  padding: 24px;
  color: var(--clr-text-muted);
}

/* Cart totals */
.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.1rem;
  font-weight: 700;
  padding: 14px 0 0;
}

.cart-total span:last-child {
  color: var(--clr-teal);
}

/* ─── ORDER FORM ─── */
.order-form {
  margin-top: 16px;
}

.order-mode-group {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.order-mode-group label {
  flex: 1;
  text-align: center;
  padding: 10px 8px;
  border: 2px solid var(--clr-border);
  border-radius: var(--radius-sm);
  font-size: .8rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.order-mode-group input {
  display: none;
}

.order-mode-group input:checked + span {
  /* Handled via JS class or CSS :has */
}

.order-mode-group label:has(input:checked) {
  background: var(--clr-teal);
  color: #fff;
  border-color: var(--clr-teal);
}

.order-field {
  margin-bottom: 10px;
}

.order-field input,
.order-field textarea {
  width: 100%;
  padding: 10px 14px;
  border: 2px solid var(--clr-border);
  border-radius: var(--radius-sm);
  font-size: .9rem;
  background: var(--clr-bg);
  color: var(--clr-text);
  transition: var(--transition);
  outline: none;
}

.order-field input:focus,
.order-field textarea:focus {
  border-color: var(--clr-teal);
}

.order-field input.error,
.order-field textarea.error {
  border-color: var(--clr-red);
  animation: shake .4s ease;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-6px); }
  75% { transform: translateX(6px); }
}

.order-field textarea {
  resize: vertical;
  min-height: 60px;
}

/* WhatsApp button */
.wa-btn {
  width: 100%;
  padding: 14px;
  background: #25D366;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--transition);
}

.wa-btn:hover {
  background: #1EBE57;
}

.wa-btn:disabled {
  opacity: .5;
  cursor: not-allowed;
}

/* ─── RESERVATION ─── */
#reservation-section {
  padding: 32px 16px;
  background: var(--clr-bg-alt);
}

.section-title {
  font-size: 1.3rem;
  font-weight: 700;
  text-align: center;
  color: var(--clr-teal-dark);
  margin-bottom: 4px;
}

.section-subtitle {
  text-align: center;
  color: var(--clr-text-secondary);
  font-size: .9rem;
  margin-bottom: 20px;
}

.reservation-form {
  max-width: 420px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.reservation-form input {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid var(--clr-border);
  border-radius: var(--radius-sm);
  font-size: .9rem;
  background: var(--clr-bg-card);
  color: var(--clr-text);
  outline: none;
  transition: var(--transition);
}

.reservation-form input:focus {
  border-color: var(--clr-teal);
}

/* ─── CONTACT ─── */
#contact-section {
  padding: 32px 16px 24px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 24px;
}

.contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  padding: 16px 10px;
  background: var(--clr-bg-card);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.contact-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.contact-icon {
  font-size: 1.6rem;
}

.contact-card strong {
  font-size: .82rem;
  color: var(--clr-text);
}

.contact-card span:last-child {
  font-size: .78rem;
  color: var(--clr-text-secondary);
}

/* Map */
.map-container {
  margin-top: 8px;
}

.map-title {
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 12px;
  color: var(--clr-teal-dark);
}

.map-container iframe {
  border-radius: var(--radius-md);
  width: 100%;
  height: 250px;
}

/* ─── FOOTER ─── */
footer {
  background: var(--clr-teal-dark);
  padding: 24px 16px;
  text-align: center;
}

#footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.footer-logo {
  width: 80px;
  border-radius: var(--radius-sm);
  margin-bottom: 4px;
}

.footer-name {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
}

.footer-tagline {
  color: rgba(255,255,255,.7);
  font-size: .85rem;
}

.footer-copy {
  color: rgba(255,255,255,.5);
  font-size: .75rem;
  margin-top: 6px;
}

/* ─── RESPONSIVE ─── */

/* Small phones already handled (mobile-first) */

/* 2-column grid from 480px */
@media (min-width: 480px) {
  .menu-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Tablet and up */
@media (min-width: 768px) {
  .navbar {
    padding: 0 24px;
  }

  .theme-label {
    display: inline;
  }

  .hero-content {
    padding: 48px 32px;
    flex-direction: row;
    text-align: left;
  }

  .hero-has-image {
    min-height: 400px;
  }

  .hero-item-name {
    font-size: 2rem;
  }

  .search-bar {
    padding: 12px 24px;
  }

  #search-input {
    max-width: 500px;
    margin: 0 auto;
    display: block;
  }

  .search-bar .search-icon {
    left: calc(50% - 236px);
  }

  #category-nav {
    padding: 10px 24px;
    justify-content: center;
  }

  #menu-container {
    padding: 0 24px 80px;
    max-width: 800px;
    margin: 0 auto;
  }

  .menu-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  #cart-panel {
    max-width: 480px;
    left: auto;
    right: 0;
    border-radius: var(--radius-xl) 0 0 0;
    max-height: 100vh;
    top: 0;
    bottom: 0;
    transform: translateX(100%);
    padding: 24px;
  }

  #cart-panel.open {
    transform: translateX(0);
  }

  .contact-grid {
    grid-template-columns: repeat(4, 1fr);
    max-width: 700px;
    margin: 0 auto 24px;
  }

  #reservation-section,
  #contact-section {
    padding: 40px 24px;
  }

  .map-container iframe {
    height: 350px;
  }
}

/* Desktop */
@media (min-width: 1024px) {
  .menu-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  #menu-container {
    max-width: 1000px;
  }

  .hero-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 56px 40px;
  }

  .hero-has-image {
    min-height: 450px;
  }
}

/* ─── UTILITY ─── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* Fix: hero slider uploaded images */
#hero-slider .hero-slide {
  position: relative !important;
  opacity: 1 !important;
  inset: auto !important;
}
#hero-slider .hero-slide:not(:first-child) {
  display: none;
}



/* === RTL (Arabic) Support === */
[dir="rtl"] {
  direction: rtl;
  text-align: right;
}
[dir="rtl"] .navbar-brand {
  flex-direction: row-reverse;
}
[dir="rtl"] .category-tabs {
  direction: ltr;
}
[dir="rtl"] .cart-item-details {
  text-align: right;
}
[dir="rtl"] .hero-text {
  text-align: right;
}
[dir="rtl"] .item-card {
  text-align: right;
}
[dir="rtl"] .modal-content {
  text-align: right;
}
[dir="rtl"] .search-box input {
  text-align: right;
  direction: rtl;
}
[dir="rtl"] .contact-card {
  text-align: right;
}
[dir="rtl"] .footer {
  text-align: right;
}
