/* الخطوط والألوان الأساسية */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Cairo', sans-serif;
}

body {
  background-color: #FAF4E4;
  color: #222;
  direction: rtl;
  line-height: 1.6;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* الأنيميشن */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

h1, h2, p, .menu-item, .gallery-grid img, .reservation form {
  animation: fadeInUp 1s ease forwards;
  opacity: 0;
}

h1 {
  animation-delay: 0.2s;
}

h2 {
  animation-delay: 0.4s;
}

p {
  animation-delay: 0.6s;
}

.menu-item {
  animation-delay: 0.8s;
}

.gallery-grid img {
  animation-delay: 1s;
}

.reservation form {
  animation-delay: 1.2s;
}

/* الهيدر */
.main-header {
  position: relative;
  height: 100vh;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  overflow: hidden;
}

.overlay {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

/* القائمة المنسدلة والناف بار */
.nav-menu {
  background-color: rgba(103, 18, 41, 0.9);
  position: fixed;
  width: 100%;
  top: 0;
  right: 0;
  z-index: 10000;
  font-weight: 600;
}

.nav-menu ul {
  list-style: none;
  display: flex;
  justify-content: center;
  padding: 10px 0;
  margin: 0;
}

.nav-menu ul li {
  position: relative;
  margin: 0 15px;
}

.nav-menu ul li a {
  color: #FAF4E4;
  text-decoration: none;
  font-size: 18px;
  padding: 8px 12px;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.nav-menu ul li a:hover,
.nav-menu ul li a.active {
  background-color: #FAF4E4;
  color: #671229;
  border-radius: 12px;
}

/* القائمة المنسدلة */
.nav-menu ul li ul.dropdown {
  position: absolute;
  top: 40px;
  right: 0;
  background-color: #671229;
  border-radius: 8px;
  display: none;
  min-width: 160px;
  box-shadow: 0 6px 15px rgba(103,18,41,0.5);
  z-index: 20000;
}

.nav-menu ul li:hover ul.dropdown {
  display: block;
}

.nav-menu ul li ul.dropdown li {
  margin: 0;
}

.nav-menu ul li ul.dropdown li a {
  padding: 10px 20px;
  font-size: 16px;
  color: #FAF4E4;
  display: block;
}

.nav-menu ul li ul.dropdown li a:hover {
  background-color: #FAF4E4;
  color: #671229;
}
@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }
}

/* السلايدر */
.slider {
  height: 100%;
  position: relative;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  top: 0;
  right: 0;
}

.slide.active {
  opacity: 1;
  z-index: 0;
}

/* المحتوى في الهيدر */
.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  text-align: center;
  z-index: 2;
}

.hero-content h1 {
  font-size: 48px;
  color: #FAF4E4;
  margin-bottom: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  text-shadow: 2px 2px 4px rgba(103,18,41,0.8);
}

.hero-content p {
  font-size: 20px;
  margin: 10px 0;
  font-weight: 600;
}

.btn-reserve {
  padding: 12px 30px;
  background-color: #FAF4E4;
  color: #671229;
  border-radius: 30px;
  font-weight: 700;
  font-size: 18px;
  text-decoration: none;
  transition: background-color 0.3s ease;
  display: inline-block;
  margin-top: 20px;
}

.btn-reserve:hover {
  background-color: #e7dcc5;
}

/* الأقسام */
section {
  padding: 60px 20px 80px;
  text-align: center;
}

h2 {
  color: #671229;
  margin-bottom: 30px;
  font-size: 36px;
  font-weight: 700;
  letter-spacing: 1.2px;
}

/* قسم من نحن */
  .about p {
  max-width: 800px;
  margin: 0 auto;
  font-size: 20px;
  font-weight: 400S;
  color: #444;
  line-height: 1.8; 
} 



/* قائمة الطعام - تبويبات */
.tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 30px;
}

.tab {
  background-color: #eee;
  border: none;
  padding: 12px 25px;
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  border-radius: 30px;
  color: #555;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.tab.active,
.tab:hover {
  background-color: #671229;
  color: #FAF4E4;
}

/* العناصر في المنيو */
.menu-items {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(250px,1fr));
  gap: 25px;
  max-width: 1000px;
  margin: 0 auto;
}

.menu-item {
  background-color: #fff;
  border-radius: 15px;
  box-shadow: 0 6px 15px rgba(103,18,41,0.15);
  overflow: hidden;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.menu-item:hover {
  transform: translateY(-8px);
}

.menu-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-bottom: 3px solid #671229;
}

.menu-item h3 {
  color: #671229;
  font-weight: 700;
  font-size: 22px;
  margin: 15px 20px 5px 20px;
}

.menu-item p {
  color: #555;
  font-weight: 600;
  font-size: 18px;
  margin: 0 20px 15px 20px;
}

/* معرض الصور */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(250px,1fr));
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

.gallery-grid img {
  width: 100%;
  border-radius: 15px;
  height: 220px;
  object-fit: cover;
  box-shadow: 0 8px 18px rgba(103,18,41,0.18);
  cursor: pointer;
  transition: transform 0.3s ease;
}

.gallery-grid img:hover {
  transform: scale(1.05);
}

/* قسم الحجز */
.reservation form {
  max-width: 420px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.reservation input,
.reservation button {
  padding: 15px 20px;
  font-size: 18px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-family: 'Cairo', sans-serif;
}

.reservation button {
  background-color: #671229;
  color: #FAF4E4;
  border: none;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.reservation button:hover {
  background-color: #4b0f27;
}

.form-message {
  margin-top: 15px;
  font-weight: 600;
  color: #671229;
  min-height: 24px;
}

/* قسم التواصل */
footer.contact {
  background-color: #671229;
   color: #fff !important;
  padding: 50px 20px;
  text-align: center;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.8px;
  border-radius: 15px 15px 0 0;
}

footer p,
footer a {
  color: #fff !important;
  font-size: 14px;
  margin: 5px 0;
}


/* خرائط جوجل */
#map {
  border-radius: 15px;
  margin-top: 20px;
}

/* زر الوضع الليلي */
.dark-mode-toggle {
  position: fixed;
  top: 15px;
  left: 15px;
  background: #671229;
  color: #FAF4E4;
  border: none;
  border-radius: 30px;
  padding: 10px 18px;
  cursor: pointer;
  font-weight: 700;
  z-index: 9999;
  box-shadow: 0 0 15px rgba(103, 18, 41, 0.7);
  transition: background-color 0.3s ease;
}

.dark-mode-toggle:hover {
  background-color: #500e20;
}

/* الوضع الليلي */
body.dark-mode {
  background-color: #1a1a1a;
  color: #ddd;
}

body.dark-mode .main-header .overlay {
  background-color: rgba(0, 0, 0, 0.7);
}

body.dark-mode .btn-reserve {
  background-color: #671229;
  color: #FAF4E4;
}

body.dark-mode section {
  background-color: #222;
}

body.dark-mode .menu-item {
  background-color: #333;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
  color: #ddd;
}

body.dark-mode .gallery-grid img {
  filter: brightness(0.8);
}

body.dark-mode footer.contact {
  background-color: #000;
}

/* تجاوب */
@media (max-width: 768px) {
  .nav-menu ul {
    flex-direction: column;
    background-color: #671229;
  }

  .nav-menu ul li {
    margin: 10px 0;
    text-align: center;
  }

  .nav-menu ul li ul.dropdown {
    position: static;
    display: none;
    box-shadow: none;
    background-color: #500e20;
  }

  .nav-menu ul li.active-dropdown ul.dropdown {
    display: block;
  }

  .hero-content h1 {
    font-size: 36px;
  }

  .hero-content p {
    font-size: 16px;
  }

  .btn-reserve {
    font-size: 16px;
    padding: 10px 25px;
  }
}




#testimonials p, h1, h2, h3, h4, a {
  text-decoration: none !important;
  border: none !important;
  outline: none !important;
}


.testimonials-section {

  padding: 60px 20px;
  text-align: center;
}

.testimonials-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  margin-top: 30px;
}

.testimonial-card {
  background-color: #fffefa;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.1);
  width: 280px;
  transition: transform 0.3s ease;
}

.testimonial-card:hover {
  transform: scale(1.03);
}

.testimonial-card img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
  border: 2px solid #671229;
}

.testimonial-card p {
  font-size: 17px;
  color: #444;
  margin-bottom: 10px;
  line-height: 1.6;
}

.testimonial-card h4 {
  font-size: 16px;
  color: #671229;
  margin-top: 0;
}




