/* 🌙 مِنى ترافل — تصميم ذهبي أبيض فاخر */
:root {
  --gold: #c9a43e;
  --white: #ffffff;
  --dark: #1b1b1b;
  --light-bg: #fdfdfb;
  --muted: #666;
  --shadow: rgba(0, 0, 0, 0.08);
  --radius: 14px;
  --transition: 0.3s ease;
  --font-main: 'Cairo', sans-serif;
}

body {
  margin: 0;
  font-family: var(--font-main);
  background-color: var(--light-bg);
  color: var(--dark);
  direction: rtl;
  overflow-x :hidden;
  text-align: center;
}

/* ✨ الشريط العلوي */
.top-bar {
  text-align: center;
  background: var(--gold);
  color: var(--white);
  padding: 10px 0;
  font-weight: bold;
  letter-spacing: 1px;
}

/* 🕌 رأس الصفحة */
header {
  background: var(--white);
  box-shadow: 0 2px 8px var(--shadow);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 6%;
  position: sticky;
  top: 0;
  z-index: 10;
}

.logo {
  height: 58px;
  margin-left: 10px;
}

.logo-container {
  display: flex;
  align-items: center;
}

.site-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--gold);
}

/* 🌍 القائمة */
nav a {
  color: var(--dark);
  text-decoration: none;
  margin: 0 12px;
  font-weight: 500;
  transition: var(--transition);
}

nav a:hover,
nav a.active {
  color: var(--gold);
  border-bottom: 2px solid var(--gold);
}

/* 🌐 أزرار اللغة */
.lang-switch {
  display: flex;
  gap: 8px;
}
.lang-switch a {
  text-decoration: none;
  padding: 6px 10px;
  border: 1px solid var(--gold);
  border-radius: 8px;
  color: var(--gold);
  font-weight: 700;
  transition: var(--transition);
}
.lang-switch a:hover,
.lang-switch a.active {
  background: var(--gold);
  color: var(--white);
}

/* 🌅 البانر الرئيسي */
.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin: 0;
  padding: 0;
}

/* إصلاح خاص للجوال */
@media (max-width: 768px) {
  body, html {
    margin: 0;
    padding: 0;
    background: #fff;
    height: 100%;
    overflow-x: hidden;
  }

  .hero {
    background-size: cover !important;
    background-position: top center !important;
    min-height: 100vh !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
  }
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.20), rgba(0,0,0,0.55));
}

.hero .content {
  position: relative;
  z-index: 1;
  max-width: 650px;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 24px;
}
.hero h1,
.hero p {
  color: #ffffff; /* أبيض واضح */
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.6); /* ظل أنيق لزيادة الوضوح */
  text-transform: none;
  letter-spacing: 0,5px
}

/* ✨ تأثير فخم على الأزرار */
.btn {
  background: var(--gold);
  color: var(--white);
  padding: 12px 26px;
  border-radius: var(--radius);
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.btn:hover {
  background: linear-gradient(90deg, #d4af37, #f1c40f);
  box-shadow: 0 0 20px rgba(241, 196, 15, 0.6);
  transform: scale(1.05);
}

/* 🕋 الأقسام العامة */
section {
  padding: 60px 6%;
  text-align: center;
}

.section-title {
  font-size: 1.8rem;
  color: var(--gold);
  margin-bottom: 24px;
  position: relative;
}

.section-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  background: var(--gold);
  margin: 10px auto 0;
}

/* 💼 الخدمات */
/* 🇫🇷 قسم الخدمات - النسخة الفرنسية */

/* ✈️ العروض */
.offers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.offer {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 8px var(--shadow);
  transition: var(--transition);
}

.offer:hover {
  transform: translateY(-6px);
  box-shadow: 0 4px 16px var(--shadow);
}

.offer img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.offer .body {
  padding: 18px;
}

.offer h3 {
  color: var(--gold);
  margin: 10px 0;
}

.cta {
  display: inline-block;
  padding: 10px 20px;
  background: linear-gradient(135deg, #d4af37, #b68c00);
  color: #fff;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.cta:hover {
  background: linear-gradient(135deg, #b68c00, #d4af37);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.6);
}

/* 📩 اتصل بنا */
.contact {
  min-height: 85vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.contact-card {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: 0 4px 14px var(--shadow);
  max-width: 500px;
  width: 100%;
  text-align: center;
}

.contact form {
  display: flex;
  flex-direction: column;
}

.contact input,
.contact textarea {
  margin-bottom: 14px;
  padding: 12px;
  border-radius: var(--radius);
  border: 1px solid #ddd;
  font-family: var(--font-main);
}

.contact textarea {
  resize: vertical;
  min-height: 120px;
}

.contact button {
  background: var(--gold);
  color: var(--white);
  border: none;
  padding: 12px;
  border-radius: var(--radius);
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
}

.contact button:hover {
  background: #b6932d;
}

.wa-links {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.wa-links a {
  text-decoration: none;
  color: var(--gold);
  font-weight: 600;
  transition: var(--transition);
}

.wa-links a:hover {
  color: #a57f25;
}

.email-text {
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.9rem;
}

.phone {
  direction: ltr;
  unicode-bidi: embed;
}

/* 📱 الفوتر */
footer {
  background: var(--gold);
  color: var(--white);
  text-align: center;
  padding: 14px;
  font-size: 0.9rem;
  margin-top: 60px;
}
/* 🌄 خلفيات مخصصة لكل صفحة */

/* الصفحة الرئيسية */
body.index {
  background: url('images/home-bg.jpg') center/cover no-repeat fixed;
}

/* صفحة العروض */
body.offres {
  background: url('images/offres-bg.jpg') center/cover no-repeat fixed;
}

/* صفحة العمرة */
body.umrah {
  background: url('images/omra-bg.jpg') center/cover no-repeat fixed;
}

/* صفحة من نحن */
body.about {
  background: url('images/about-bg.jpg') center/cover no-repeat fixed;
}

/* صفحة الاتصال */
body.contact {
  background: url('images/contact-bg.jpg') center/cover no-repeat fixed;
}

/* طبقة شفافة ناعمة لتوضيح النص */
body.index::before,
body.offres::before,
body.umrah::before,
body.about::before,
body.contact::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.85);
  z-index: -1;
}
/* ✨ تدرّج ذهبي خفيف على الخلفيات */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.6));
}
/* تأثير ظهور ناعم للنصوص */
.hero .content {
  position: relative;
  z-index: 1;
  max-width: 650px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1.5s ease-out forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* حركة خلفية خفيفة */
.hero {
  background-size: cover;
  background-position: center;
  animation: zoomBackground 20s ease-in-out infinite alternate;
}

@keyframes zoomBackground {
  from {
    background-size: 100%;
  }
  to {
    background-size: 105%;
  }
}
@media (max-width: 768px) {
  .hero, header, section, footer {
    width: 100%;
    margin: 0 auto;
    text-align: center;
  }
}
/* تأثير الخلفية المتحركة (Parallax) */
.hero {
  background-attachment: fixed;
}

@media (max-width: 768px) {
  .hero {
    background-attachment: scroll; /* لتعطيله على الهواتف لتفادي مشاكل الأداء */
  }
}
.whatsapp-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  margin-top: 15px;
}

.whatsapp-btn {
  display: inline-block;
  background-color: #25D366; /* اللون الأخضر الخاص بواتساب */
  color: white;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 25px;
  text-decoration: none;
  transition: all 0.3s ease;
  width: 90%;
  max-width: 300px;
  text-align: center;
}

.whatsapp-btn:hover {
  background-color: #1ebc5d;
  transform: translateY(-2px);
}
.hero h1,
.hero p {
  color: #ffffff; /* أبيض واضح */
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.6); /* ظل أنيق لزيادة الوضوح */
}
/* ✅ إصلاح العرض الكامل في الهواتف */
.hero {
  width: 100vw; /* امتداد الصورة عرض الشاشة بالكامل */
  margin: 0;
  padding: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

/* ✅ إزالة أي حدود أو فراغ حول الصفحة في الهاتف */
body, html {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/* ✅ تحسين النصوص والأزرار في الهواتف */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .btn {
    font-size: 1rem;
    padding: 10px 22px;
  }
}
/* ✅ إصلاح العرض الكامل في الهواتف */
.hero {
  width: 100vw; /* امتداد الصورة عرض الشاشة بالكامل */
  margin: 0;
  padding: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

/* ✅ إزالة أي حدود أو فراغ حول الصفحة في الهاتف */
body, html {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/* ✅ تحسين النصوص والأزرار في الهواتف */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .btn {
    font-size: 1rem;
    padding: 10px 22px;
  }
}/* إزالة أي فراغ رمادي أعلى الصورة */
header, .top-bar {
  margin-bottom: 0;
  padding-bottom: 0;
}

.hero {
  margin-top: 0;
  padding-top: 0;
}
/* 📱 إصلاح الفراغ الرمادي في الجوال */
@media (max-width: 768px) {
  body, html {
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: hidden;
    background-color: #fff !important;
  }

  header, .top-bar {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }

  .hero {
    margin-top: 0 !important;
    padding-top: 0 !important;
    height: 100vh;
    background-size: cover;
    background-position: center center;
  }
}هل/* تحسين عرض الصورة على شاشات الكمبيوتر */
@media (min-width: 1024px) {
  .hero {
    background-size: contain; /* يجعل الصورة تظهر كاملة */
    background-repeat: no-repeat;
    background-position: center top;
    height: 90vh; /* خفّض الارتفاع قليلاً لتظهر كاملة */
  }
}
/* ✅ تحسين عرض الصورة على شاشات الكمبيوتر */
@media (min-width: 1024px) {
  .hero {
    background-size: contain; /* تظهر الصورة بالكامل بدون قص */
    background-repeat: no-repeat;
    background-position: center top;
    height: 90vh; /* تخفيض الارتفاع قليلاً لتناسب الشاشة */
  }
}

/* ✅ تحسين أزرار اللغة في الهيدر */
.lang-switch {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1000;
}

.lang-switch a {
  text-decoration: none;
  padding: 6px 12px;
  border: 1px solid var(--gold);
  border-radius: 8px;
  font-weight: 700;
  background-color: white;
  color: var(--gold);
  transition: all 0.3s ease;
}

.lang-switch a.active {
  background-color: var(--gold);
  color: white;
}

.lang-switch a:hover {
  background-color: #d4af37;
  color: white;
  border-color: #d4af37;
}

/* ✅ إصلاح عرض الأزرار في الجوال */
@media (max-width: 480px) {
  .lang-switch {
    flex-direction: column;
    gap: 6px;
  }
}
/* ✨ قسم الخدمات */

/* ✅ تحسين تنسيق القائمة في الهاتف */
@media (max-width: 768px) {
  nav ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px; /* مسافة بسيطة بين العناصر */
    text-align: center;
    margin: 0;
    padding: 0;
  }

  nav ul li {
    display: block;
    margin: 4px 0;
  }

  nav a {
    font-size: 1.1rem;
    font-weight: 600;
  }
}
/* 🌙 القائمة المنسدلة للجوال */
.menu-toggle {
  display: none;
  background: var(--gold);
  color: white;
  border: none;
  font-size: 1.6rem;
  border-radius: 6px;
  padding: 6px 12px;
  cursor: pointer;
  margin-right: 10px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-links li a {
  color: var(--gold);
  text-decoration: none;
  font-weight: 600;
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    background: white;
    position: absolute;
    top: 60px;
    right: 10px;
    width: 80%;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    text-align: center;
    padding: 10px 0;
    z-index: 10;
  }

  .nav-links.show {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }
  

/* ✅ قسم الخدمات - النسخة النهائية الموحدة */
.services {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  padding: 60px 20px;
  margin: 40px auto;
  max-width: 900px;
  text-align: center;
}

.services .section-title {
  font-size: 1.8rem;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 25px;
  position: relative;
}

.services .section-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  background: var(--gold);
  margin: 10px auto 0;
  border-radius: 3px;
}

.services ul {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 600px;
}

.services li {
  background: #fff;
  margin: 12px auto;
  padding: 12px 45px 12px 12px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  font-weight: 500;
  position: relative;
  width: calc(100% - 30px);
  text-align: right;
  direction: rtl;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.services li:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.3);
}

.services li::after {
  content: "✔";
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #d4af37;
  font-size: 1.2rem;
  font-weight: bold;
}

@media (max-width: 768px) {
  .services li {
    width: calc(100% - 40px);
    font-size: 1rem;
    padding: 10px 40px 10px 10px;
  }
}/* ✅ إصلاح نهائي لمشكلة الهوامش في الجوال والفراغات البيضاء */
@media (max-width: 768px) {
  html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #fff !important;
  }

  header, .hero, section, footer {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .about, .services, .contact-card {
    width: 95% !important;
    margin: 10px auto !important;
    padding: 20px !important;
    border-radius: 14px;
    text-align: center;
    box-sizing: border-box;
  }

  .section-title {
    text-align: center;
    font-size: 1.6rem;
    margin: 20px auto;
  }

  p {
    text-align: center;
    line-height: 1.8;
    word-break: break-word;
  }

  nav ul, .nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
  }
}
/* ✅ إصلاح نهائي لحواف النصوص على الجوال */
@media (max-width: 768px) {
  body {
    padding: 0;
    margin: 0;
  }

  .about-section,
  .about-content,
  .container,
  section {
    padding-left: 18px !important;
    padding-right: 18px !important;
    box-sizing: border-box;
  }

  p {
    line-height: 1.8;
    font-size: 16px;
    text-align: justify;
  }

  h1, h2, h3 {
    text-align: center;
  }
}
/* ===== About Page Fix (Mobile Friendly) ===== */
.about-section {
  padding: 60px 20px;
  max-width: 900px;
  margin: auto;
}

.about-content {
  background: #fff;
  padding: 25px 18px;
  border-radius: 14px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  line-height: 1.8;
  text-align: justify;
}

@media (max-width: 768px) {
  .about-content {
    padding: 22px 16px;
  }
}
/* ==== إصلاح تنسيق القائمة والشعار على الجوال ==== */
@media (max-width: 768px) {
  header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px; /* مسافة بين العنوان والقائمة */
    padding: 10px 0;
  }

  nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px; /* مسافة بين الكلمات */
    font-size: 15px; /* حجم أنسب للنص بالعربية والفرنسية */
  }

  .logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .logo {
    width: 85px; /* حجم أصغر قليلاً للشعار */
    height: auto;
  }

  .site-title {
    margin-top: 5px;
    font-size: 16px;
  }
}
/* ==== تحسين تنسيق القائمة والشعار للجوال ==== */
@media (max-width: 768px) {
  header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px; /* مسافة بين العنوان والقائمة */
    padding: 10px 0;
  }

  nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    font-size: 15px;
  }

  .logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .logo {
    width: 85px;
    height: auto;
  }

  .site-title {
    margin-top: 5px;
    font-size: 16px;
  }
}

/* ==== دعم الاتجاه العربي (RTL) في القائمة ==== */
[dir="rtl"] nav {
  direction: rtl;
  text-align: center;
}

[dir="rtl"] header {
  align-items: center;
}
@media (max-width: 768px) {
  .site-title {
    font-size: 15px;
    margin-top: 6px;
    margin-bottom: 8px;
  }
  header {
    padding-top: 10px;
    padding-bottom: 6px;
  }
}
.hero p {
  word-break: normal;
  overflow-wrap: break-word;
  white-space: normal;
  line-height: 1.6;
  text-align: center;
}
.hero p {
  word-break: keep-all; /* يمنع تكسير الكلمات */
  overflow-wrap: break-word;
  white-space: normal;
  line-height: 1.6;
  text-align: center;
  padding: 0 10px; /* مسافة من الجوانب حتى لا تلتصق بالحافة */
}

.hero h1, .hero h2 {
  text-align: center;
  line-height: 1.3;
}
/* تنسيق أزرار اللغات */
.lang-switch {
  margin-top: 8px;
  display: flex;
  gap: 10px;
  justify-content: center;
}
header img {
  margin-bottom: 5px;
}

/* تحسين الفقرات في صفحة about */
.about p {
  line-height: 1.5;
  margin-bottom: 10px;
  padding: 0 12px;
  text-align: justify;
}

/* لمسة أنيقة على أزرار اللغة */
.lang-switch a {
  font-weight: 600;
  border-radius: 8px;
}
}
.about p {
  line-height: 1.5;
  margin-bottom: 10px;
  padding: 0 12px; /* يضيف مسافة مريحة من الجوانب */
  text-align: justify; /* يجعل الفقرات مرتبة أكثر */
}
