/* ============================================================
   Landing page (index.html) — sections rebuilt to match the
   Inflex multi-category identity (rides + hotels + restaurants +
   yachts + entertainment). Scoped to its own file on purpose —
   inflex.css is shared with about.html / privacy-policy.html /
   cancellation-policy.html, so it stays untouched.
   ============================================================ */

:root {
  --lp-navy: #101B2D;
  --lp-navy-light: #1c2c47;
  --lp-hotel: #F2A93B;
  --lp-restaurant: #0E3B3E;
  --lp-entertainment: #E85D4E;
  --lp-yacht: #1E6E8C;
  --lp-white: #FFFFFF;
  --lp-text-muted: #6D7588;
  --lp-radius: 20px;
}

/* اللغة الإنجليزية بخط Outfit (نفس خط تطبيق Flutter بالحرف) — العربي يفضل Cairo،
   لأن Outfit خط لاتيني بس مالوش حروف عربية أصلاً. */
html[lang="en"] body,
html[lang="en"] .landing-section {
  font-family: 'Outfit', 'Cairo', sans-serif;
}
html[lang="ar"] body,
html[lang="ar"] .landing-section {
  font-family: 'Cairo', sans-serif;
}

.landing-section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Header / footer — يتحمّل landing.css في index.html بس، فالتعديلات دي
   مالهاش أي أثر على about.html/privacy-policy.html/cancellation-policy.html
   اللي بتستخدم .header/.footer بألوانهم الأصليين. ──────────────────────── */
.header {
  background: var(--lp-navy);
  box-shadow: none;
}

.header .nav-links {
  background: transparent;
}

.header .nav-links li a {
  color: rgba(255, 255, 255, 0.82);
}

.header .nav-links li a:hover {
  color: var(--lp-white);
  background: rgba(255, 255, 255, 0.1);
}

/* هيدر شفاف (glass) فوق الهيرو نفسه مباشرة، مش شريط منفصل بيدفع المحتوى لتحت —
   عشان نمنع تغطيته على العنوان الرئيسي، lp-hero عندها padding-top زيادة تحت. */
.header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  background: rgba(16, 27, 45, 0.32);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.header .nav-links {
  background: transparent;
  padding-inline: 14px;
  gap: 22px;
}

.header .nav-links li a {
  color: var(--lp-white);
  padding: 0;
}

.header .nav-links li a:hover {
  background: transparent;
  color: var(--lp-hotel);
}

.header #lang-toggle {
  background: rgba(0, 0, 0, 0.35);
  border-color: rgba(255, 255, 255, 0.35);
}

.header #lang-toggle:hover {
  background: rgba(0, 0, 0, 0.5);
}

/* على الموبايل، gap:22px فوق كان بيكسر الالتفاف (wrap) اللي inflex.css بيعتمد عليه
   للشاشات الصغيرة، فكل الروابط + زرار اللغة كانوا بيتوزعوا 3 صفوف. الحل: صف واحد
   بخط أصغر، ولو الشاشة أضيق من كده يقدر يتمرر أفقيًا بدل ما يلف على أسطر. */
@media (max-width: 992px) {
  .header .nav-links {
    gap: 4px;
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .header .nav-links::-webkit-scrollbar {
    display: none;
  }
  .header .nav-links li a {
    font-size: 0.68rem;
    padding: 6px 8px;
    white-space: nowrap;
  }
  .header #lang-toggle {
    font-size: 0.68rem;
    padding: 5px 10px;
    white-space: nowrap;
    flex: 0 0 auto;
  }
}

/* فودر بتدرّج غامق-لرمادي (بدل الكحلي الموحّد) + 4 أعمدة: الهوية / روابط سريعة /
   تواصل معنا (+App Store تحتها) / وسائل التواصل (+Google Play تحتها) + بار حقوق نشر
   سفلي بلون رمادي فاتح منفصل — مطابقة لمرجع تصميم أرسله المستخدم. */
.footer {
  background: linear-gradient(100deg, #0b0b0c 0%, #2b2b2d 55%, #58585b 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding: 48px 0 0;
}

.footer .footer-content {
  display: grid;
  grid-template-columns: 1.4fr 1fr 2fr;
  gap: 28px;
  align-items: start;
  border-bottom: none;
  padding-bottom: 36px;
}

/* عمود "تواصل معنا" + "وسائل التواصل" + بادجات المتاجر داخل شبكة فرعية خاصة بيهم —
   عشان ارتفاع الصف يتحدد بمحتواهم هما بس، مش بارتفاع عمود "روابط سريعة" الأطول
   (لو فضلوا 3 عناصر مستقلة على شبكة الفودر الرئيسية، الصف كله كان بياخد ارتفاع أطول
   عمود، وده كان بيسيب فراغ كبير فاضي فوق البادجات). */
.footer-contact-social {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 28px;
  row-gap: 14px;
}

.footer-store-badges {
  grid-column: 1 / -1;
}

.footer-brand .footer-logo {
  margin-bottom: 4px;
}

/* كان تصميم شارة قصيرة (uppercase + letter-spacing واسع) لكلمتين "Booking Company" —
   دلوقتي جملة كاملة، فده بقى يقرأ نص عادي بدل ما يبقى صارخ. */
.footer-tagline {
  margin-top: 4px;
  max-width: 300px;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.5;
  background: linear-gradient(90deg, #4b7bec, #8854d0);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* عناوين الأعمدة (Quick Links / Contact Us / Download Now) كانت بتاخد
   --primary-color القديم (أخضر زيتوني، مش هوية إنفلكس الحالية) — بلون تقريبًا
   غير مقروء فوق الخلفية الكحلية الجديدة. */
.footer-column h4 {
  color: var(--lp-white);
}

.footer-links h4 {
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 1rem;
}
html[lang="ar"] .footer-links h4 {
  text-transform: none;
}

.footer-links ul {
  list-style: disc;
  padding-inline-start: 18px;
}

.footer-links ul li {
  color: rgba(255, 255, 255, 0.85);
}

.footer-column a:hover {
  color: var(--lp-hotel);
}

.footer-contact p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.92rem;
}

/* صف بادجات المتاجر بيمتد على عرض الشبكة الفرعية كلها (تواصل معنا + وسائل التواصل
   مع بعض)، مباشرة تحتهم بلا مسافة زيادة — راجع .footer-contact-social فوق. */
.footer-store-badges {
  display: flex;
  gap: 12px;
}

.footer-store-badge {
  display: inline-block;
}

.footer-store-badge img {
  height: 40px;
  display: block;
}

.footer-social .social-icons {
  display: flex;
  gap: 7px;
  margin: 0;
}

/* حجم موحّد بالبكسل + قص (overflow:hidden) على مستوى الـCSS مش هيعتمد على استدارة
   الصورة الأصلية لكل أيقونة (ممكن تختلف شعرة بين ملف وتاني) — كده الأربع أيقونات
   مضمون تبقى بنفس المقاس والاستدارة بالظبط. */
.footer-social .social-icons a {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  margin: 0;
  border-radius: 9px;
  overflow: hidden;
}

.footer-social .social-icons a img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* أيقونة فيسبوك SVG مرسومة يدويًا (مفيش صورة جاهزة بنفس أسلوب المربع الأسود المستخدم
   في X/LinkedIn/Instagram الحاليين) — نفس المقاس والأسلوب البصري بالظبط. */
.footer-social .social-icons a.social-icon-fb {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #141414;
}

.footer-social .social-icons a.social-icon-fb svg {
  width: 58%;
  height: 58%;
  fill: #fff;
}

.footer-bottom {
  margin-top: 0;
  background: #8a8a8c;
  padding: 14px 0;
  color: rgba(255, 255, 255, 0.95);
}

@media (max-width: 992px) {
  .footer .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }
  .footer-contact-social {
    grid-template-columns: 1fr;
    justify-items: center;
  }
  .footer-store-badges {
    justify-content: center;
  }
  .footer-social .social-icons {
    justify-content: center;
  }
}

/* ── Hero ─────────────────────────────────────────────────── */
.lp-hero {
  position: relative;
  background: var(--lp-navy);
  overflow: hidden;
  padding: 128px 0 64px;
}

.lp-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 32px;
}

.lp-hero-copy h1 {
  color: var(--lp-white);
  font-size: 42px;
  font-weight: 800;
  line-height: 1.2;
  text-wrap: balance;
  margin: 0 0 18px;
}

.lp-hero-copy p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 17px;
  line-height: 1.7;
  max-width: 480px;
  margin: 0 0 32px;
}

.lp-hero-steps {
  position: relative;
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}

.lp-step {
  position: relative;
  z-index: 1;
  background: transparent;
  color: var(--lp-white);
  border: 2px solid var(--lp-white);
  font-weight: 700;
  font-size: 14px;
  padding: 11px 22px;
  border-radius: 999px;
  white-space: nowrap;
  text-decoration: none;
  display: inline-block;
}

/* خط الوصل بقى مقسّم لقطعة قصيرة لكل مسافة بين زرين (مش خط واحد طويل بيعدّي آخر
   زر) — قطعة بطول الـgap بالظبط، وinset-inline-start عشان يشتغل صح لغويًا في
   RTL/LTR الاتنين (يشاور دايمًا ناحية الزر الجاي في ترتيب الـDOM). */
.lp-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 50%;
  inset-inline-start: 100%;
  width: 22px;
  height: 2px;
  background: var(--lp-white);
  transform: translateY(-50%);
  z-index: 0;
}

/* نبضة حلقة متكررة حوالين الزرار — تلفت النظر إنه فعلاً قابل للضغط، بدون ما تتحرك
   الزرار نفسه (مايأثرش على باقي الخطوات جنبه). بتتوقف لو المستخدم مفعّل تقليل الحركة. */
.lp-step--active {
  background: var(--lp-white);
  color: var(--lp-restaurant);
  border-color: var(--lp-white);
  animation: lp-step-pulse 2.2s ease-out infinite;
}

@keyframes lp-step-pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.55); }
  70% { box-shadow: 0 0 0 14px rgba(255, 255, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .lp-step--active {
    animation: none;
  }
}

.lp-hero-stores {
  display: flex;
  gap: 14px;
}

.lp-hero-stores img {
  height: 46px;
  width: auto;
}

.lp-hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  height: 100%;
  min-height: 380px;
}

.lp-hero-visual img {
  max-width: 100%;
  max-height: 460px;
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.35));
}

/* ── Section heading (shared) ────────────────────────────── */
.lp-section-heading {
  text-align: center;
  margin: 0 0 44px;
}

.lp-section-heading h2 {
  display: inline-block;
  font-size: 32px;
  font-weight: 800;
  color: var(--lp-navy);
  position: relative;
  padding-bottom: 10px;
  margin: 0;
}

.lp-section-heading h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 64px;
  height: 4px;
  border-radius: 4px;
  background: var(--lp-hotel);
}

/* ── Services — شبكة كروت مودرن (بدل الكروت الملوّنة بالكامل + السكرول الأفقي
   القديمين): خلفية بيضاء محايدة لكل الكروت، ولون الفئة الحقيقي (AppColors بتطبيق
   Flutter) مستخدم كـaccent خفيف بس (توهج خلف الصورة + حدود/ظل عند الـhover)، مش
   كخلفية كاملة صارخة. 5 كروت بتترتب فى صف واحد على الديسكتوب وتلف تلقائيًا على
   الشاشات الأصغر — صفر حاجة لسكرول أفقي أو أنيميشن autoplay. */
.lp-services {
  background: #F5F7FA;
  padding: 64px 0;
}

.lp-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 20px;
}

.lp-service-card {
  position: relative;
  background: var(--lp-white);
  border: 1px solid #E7EAF0;
  border-radius: 22px;
  padding: 30px 20px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.lp-service-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
  box-shadow: 0 18px 34px -14px rgba(var(--accent-rgb), 0.55);
}

.lp-service-card::before {
  content: '';
  position: absolute;
  top: -46px;
  left: 50%;
  transform: translateX(-50%);
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: rgba(var(--accent-rgb), 0.35);
  filter: blur(28px);
  z-index: -1;
}

.lp-service-card-img {
  width: 112px;
  height: 112px;
  object-fit: contain;
  margin-bottom: 6px;
  filter: drop-shadow(0 10px 16px rgba(16, 27, 45, 0.15));
}

.lp-service-card h3 {
  font-size: 17px;
  font-weight: 800;
  color: var(--lp-navy);
  margin: 4px 0 8px;
}

.lp-service-card p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--lp-text-muted);
  margin: 0;
}

.lp-service-card--hotel { --accent: var(--lp-hotel); --accent-rgb: 242, 169, 59; }
.lp-service-card--ride { --accent: var(--lp-navy); --accent-rgb: 16, 27, 45; }
.lp-service-card--restaurant { --accent: var(--lp-restaurant); --accent-rgb: 14, 59, 62; }
.lp-service-card--yacht { --accent: var(--lp-yacht); --accent-rgb: 30, 110, 140; }
.lp-service-card--entertainment { --accent: var(--lp-entertainment); --accent-rgb: 232, 93, 78; }

/* ── Why Inflex (carousel cards) ─────────────────────────── */
.lp-why {
  padding: 72px 0;
}

.lp-why-carousel {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
}

.lp-why-card {
  display: none;
  background: var(--lp-navy);
  border-radius: var(--lp-radius);
  overflow: hidden;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}

.lp-why-card.active {
  display: grid;
}

.lp-why-card-media {
  min-height: 260px;
  background-size: cover;
  background-position: center;
}

.lp-why-card-copy {
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.lp-why-card-copy h3 {
  color: var(--lp-white);
  font-size: 26px;
  font-weight: 800;
  margin: 0 0 14px;
}

.lp-why-card-copy p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 15px;
  line-height: 1.7;
  margin: 0 0 24px;
}

.lp-why-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 22px;
}

.lp-why-arrow {
  background: var(--lp-white);
  border: 1px solid #E4E8EE;
  color: var(--lp-navy);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lp-why-dots {
  display: flex;
  gap: 8px;
}

.lp-why-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #D7DCE5;
  cursor: pointer;
  border: none;
  padding: 0;
}

.lp-why-dot.active {
  background: var(--lp-navy);
}

/* ── Bottom CTA ───────────────────────────────────────────── */
.lp-cta {
  position: relative;
  background: var(--lp-navy);
  border-radius: var(--lp-radius);
  margin: 0 auto 72px;
  max-width: 1180px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
}

.lp-cta-copy {
  padding: 48px 44px;
}

.lp-cta-copy h2 {
  color: var(--lp-white);
  font-size: 30px;
  font-weight: 800;
  line-height: 1.3;
  margin: 0 0 14px;
  text-wrap: balance;
}

.lp-cta-copy p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 15px;
  line-height: 1.7;
  margin: 0 0 26px;
}

.lp-cta-media {
  height: 100%;
  min-height: 320px;
  background-size: cover;
  background-position: center;
}

@media (max-width: 900px) {
  .lp-hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .lp-hero-copy p {
    margin-inline: auto;
  }
  .lp-hero-steps {
    justify-content: center;
  }
  .lp-hero-stores {
    justify-content: center;
  }
  .lp-why-card.active {
    grid-template-columns: 1fr;
  }
  .lp-why-card-media {
    min-height: 180px;
  }
  .lp-cta {
    grid-template-columns: 1fr;
  }
  .lp-cta-media {
    min-height: 220px;
  }
}

@media (max-width: 560px) {
  .lp-hero-copy h1 {
    font-size: 30px;
  }
  .lp-section-heading h2 {
    font-size: 26px;
  }
  .lp-services-grid {
    grid-template-columns: 1fr;
  }
}
