/* =========================================================
   هرمس للنقل والسفر — Luxury dark & gold theme (RTL Arabic)
   ========================================================= */

:root {
  --bg:        #0a0a0c;
  --bg-2:      #101015;
  --panel:     #14141a;
  --panel-2:   #1a1a22;
  --line:      rgba(212, 175, 55, 0.18);
  --ink:       #f4efe6;
  --ink-soft:  #b8b2a6;
  --ink-mute:  #837d72;

  --gold-1:    #f6e7a8;
  --gold-2:    #d4af37;
  --gold-3:    #a9822a;
  --gold-grad: linear-gradient(135deg, #f9eeb8 0%, #d4af37 45%, #b08624 100%);

  --radius:    18px;
  --radius-sm: 12px;
  --maxw:      1180px;

  --shadow:    0 30px 70px -30px rgba(0,0,0,0.85);
  --shadow-gold: 0 18px 50px -18px rgba(212,175,55,0.45);

  --ff-wordmark: "Cinzel", serif;            /* Latin "HERMES" only */
  --ff-head:     "El Messiri", "Cairo", sans-serif;
  --ff-body:     "Cairo", system-ui, sans-serif;
}

/* ---------- Light theme overrides ---------- */
html[data-theme="light"] {
  --bg:       #f7f3ea;
  --bg-2:     #efe8d9;
  --panel:    #ffffff;
  --panel-2:  #f6f0e3;
  --line:     rgba(168, 130, 42, 0.30);
  --ink:      #1c1813;
  --ink-soft: #5b5347;
  --ink-mute: #8c8475;

  --gold-1:   #93701b;
  --gold-grad: linear-gradient(135deg, #caa23c 0%, #a87f23 50%, #835f17 100%);

  --shadow:      0 24px 56px -28px rgba(80, 60, 10, 0.35);
  --shadow-gold: 0 16px 40px -18px rgba(168, 130, 42, 0.40);
}
html[data-theme="light"] .site-header { background: rgba(247, 243, 234, 0.82); }
html[data-theme="light"] .route-ticker { background: rgba(255, 255, 255, 0.55); }
html[data-theme="light"] .site-footer { background: #ece4d4; }
html[data-theme="light"] .footer-bottom { border-top-color: rgba(0,0,0,0.07); }
html[data-theme="light"] .mobile-nav a { border-bottom-color: rgba(0,0,0,0.06); }
html[data-theme="light"] .hero-grain { opacity: 0.06; mix-blend-mode: multiply; }

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--ff-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { width: min(var(--maxw), 92%); margin-inline: auto; }

.eyebrow {
  font-family: var(--ff-head);
  color: var(--gold-2);
  letter-spacing: 0.14em;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: none;
  margin: 0 0 0.6rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.eyebrow::before {
  content: "";
  width: 34px; height: 1px;
  background: var(--gold-grad);
  display: inline-block;
}

h1, h2, h3 { font-family: var(--ff-head); line-height: 1.25; margin: 0; font-weight: 700; }

.skip-link {
  position: absolute; inset-inline-start: -999px; top: 0; z-index: 200;
  background: var(--gold-2); color: #1a1205; padding: 0.6rem 1rem; border-radius: 0 0 8px 0;
}
.skip-link:focus { inset-inline-start: 0; }

/* ---------- Buttons ---------- */
.btn {
  --pad: 0.85rem 1.7rem;
  display: inline-flex; align-items: center; justify-content: center;
  padding: var(--pad);
  border-radius: 999px;
  font-family: var(--ff-head);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, background .25s;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn-gold {
  background: var(--gold-grad);
  color: #1d1404;
  box-shadow: var(--shadow-gold);
}
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 24px 60px -16px rgba(212,175,55,0.6); }
.btn-ghost {
  background: transparent;
  color: var(--gold-1);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--gold-2); background: rgba(212,175,55,0.06); transform: translateY(-3px); }

/* =========================================================
   Header
   ========================================================= */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10,10,12,0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; gap: 1.5rem;
  padding: 0.75rem 0;
}
.brand { display: flex; align-items: center; gap: 0.75rem; }
.brand-badge {
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: radial-gradient(circle at 50% 50%, #fff 0%, #f3f0e8 78%);
  border: 2px solid var(--gold-2);
  box-shadow: 0 0 0 4px rgba(212,175,55,0.12), var(--shadow-gold);
  overflow: hidden; flex: none; padding: 5px;
}
.brand-badge img { width: 100%; height: 100%; object-fit: contain; object-position: center; }
.brand-badge--sm { width: 44px; height: 44px; padding: 4px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong {
  font-family: var(--ff-wordmark);
  font-size: 1.5rem;
  letter-spacing: 0.06em;
  background: var(--gold-grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.brand-text small { color: var(--ink-soft); font-size: 0.72rem; letter-spacing: 0.08em; }

.main-nav { display: flex; gap: 1.6rem; margin-inline-start: auto; }
.main-nav a {
  font-family: var(--ff-head); color: var(--ink-soft); font-size: 0.98rem;
  position: relative; padding: 0.3rem 0; transition: color .2s;
}
.main-nav a::after {
  content: ""; position: absolute; bottom: 0; right: 0; width: 0; height: 2px;
  background: var(--gold-grad); transition: width .3s;
}
.main-nav a:hover { color: var(--gold-1); }
.main-nav a:hover::after { width: 100%; }

.header-cta { padding: 0.6rem 1.4rem; font-size: 0.92rem; }

/* theme + language controls */
.header-controls { display: flex; align-items: center; gap: 0.5rem; }
.ctrl-btn {
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer;
  background: rgba(212,175,55,0.06);
  border: 1px solid var(--line); color: var(--gold-1);
  font-family: var(--ff-head); font-weight: 700; font-size: 1.05rem;
  transition: transform .2s, border-color .2s, background .2s, color .2s;
}
.ctrl-btn:hover { border-color: var(--gold-2); color: var(--gold-2); transform: translateY(-2px); }
.ctrl-lang { font-size: 0.85rem; letter-spacing: 0.02em; }
.ctrl-btn .ic-sun { display: none; }
html[data-theme="light"] .ctrl-btn .ic-moon { display: none; }
html[data-theme="light"] .ctrl-btn .ic-sun { display: inline; }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px; background: none;
  border: 0; cursor: pointer; padding: 8px;
}
.nav-toggle span { width: 26px; height: 2px; background: var(--gold-2); transition: .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none; flex-direction: column; gap: 0.4rem;
  padding: 0 4% 1rem;
  border-bottom: 1px solid var(--line);
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-family: var(--ff-head); color: var(--ink-soft);
  padding: 0.75rem 0.5rem; border-bottom: 1px solid rgba(255,255,255,0.04);
}
.mobile-nav .btn { margin-top: 0.6rem; }

/* =========================================================
   Hero
   ========================================================= */
.hero { position: relative; overflow: hidden; padding: clamp(2.5rem, 6vw, 5rem) 0 0; }
.hero-glow {
  position: absolute; inset: -20% -10% auto -10%; height: 70%;
  background:
    radial-gradient(60% 60% at 78% 18%, rgba(212,175,55,0.22), transparent 70%),
    radial-gradient(50% 50% at 12% 0%, rgba(212,175,55,0.10), transparent 70%);
  filter: blur(8px); pointer-events: none;
}
.hero-grain {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero-inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 2.5rem; align-items: center;
  padding-bottom: clamp(2rem, 5vw, 4rem);
}
.hero-copy { animation: rise .9s ease both; }
.hero h1 {
  font-family: var(--ff-head);
  font-size: clamp(2.6rem, 6.4vw, 4.8rem);
  line-height: 1.15; margin: 0.3rem 0 1.1rem; font-weight: 700;
}
.hero h1 .accent {
  background: var(--gold-grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { font-size: clamp(1.02rem, 1.4vw, 1.2rem); color: var(--ink-soft); max-width: 44ch; margin: 0 0 1.8rem; }
.lead strong { color: var(--ink); }

.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2rem; }

.hero-badges { list-style: none; display: flex; flex-wrap: wrap; gap: 1.4rem 2rem; margin: 0; padding: 0; }
.hero-badges li {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 0.95rem; color: var(--ink-soft);
}
.hero-badges span {
  width: 40px; height: 40px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  font-family: var(--ff-head); font-weight: 700; color: var(--gold-1);
  background: rgba(212,175,55,0.08); border: 1px solid var(--line);
}

.hero-media {
  margin: 0; position: relative; justify-self: center;
  animation: rise 1.1s .15s ease both;
}
.hero-media img {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow), var(--shadow-gold);
  width: 100%; max-width: 470px;
}
.hero-media::before {
  content: ""; position: absolute; inset: -14px; z-index: -1;
  background: var(--gold-grad); opacity: 0.25; filter: blur(30px); border-radius: 30px;
}

/* route ticker */
.route-ticker {
  position: relative; z-index: 2;
  border-block: 1px solid var(--line);
  background: rgba(20,20,26,0.6);
  overflow: hidden; padding: 0.7rem 0;
}
.ticker-track {
  display: flex; gap: 3rem; width: max-content;
  animation: ticker 28s linear infinite;
  font-family: var(--ff-head); color: var(--gold-2); letter-spacing: 0.05em;
}
.ticker-track span { white-space: nowrap; opacity: 0.85; }
@keyframes ticker { to { transform: translateX(50%); } }

/* =========================================================
   Sections
   ========================================================= */
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; position: relative; }
.section--alt { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 50%, var(--bg) 100%); }
.section-head { max-width: 60ch; margin: 0 auto clamp(2rem, 4vw, 3.2rem); text-align: center; }
.section-head .eyebrow { justify-content: center; }
.section-head h2 { font-size: clamp(1.8rem, 3.6vw, 2.9rem); margin-bottom: 0.7rem; }
.section-sub { color: var(--ink-soft); margin: 0; }

/* Destinations */
.dest-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem;
}
.dest-card {
  background: linear-gradient(160deg, var(--panel), var(--panel-2));
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem 1.5rem; position: relative; overflow: hidden;
  transition: transform .3s, border-color .3s;
}
.dest-card::after {
  content: "✈"; position: absolute; top: 1rem; left: 1.1rem;
  color: var(--gold-2); opacity: 0.25; font-size: 1.5rem;
}
.dest-card:hover { transform: translateY(-6px); border-color: var(--gold-2); }
.dest-card h3 { font-size: 1.4rem; margin-bottom: 0.5rem; color: var(--gold-1); }
.dest-card p { margin: 0; color: var(--ink-soft); font-size: 0.95rem; }
.dest-card--wide { grid-column: span 4; text-align: center; background: radial-gradient(120% 140% at 50% 0%, rgba(212,175,55,0.10), var(--panel) 60%); }
.dest-card--wide::after { display: none; }
.dest-card--wide h3 { font-size: 1.6rem; }

/* Services */
.serv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.serv-card {
  background: var(--panel);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem 1.5rem; text-align: center;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.serv-card:hover { transform: translateY(-6px); border-color: var(--gold-2); box-shadow: var(--shadow-gold); }
.serv-icon {
  width: 64px; height: 64px; margin: 0 auto 1.1rem; border-radius: 18px;
  display: grid; place-items: center; font-size: 1.7rem;
  background: rgba(212,175,55,0.08); border: 1px solid var(--line);
}
.serv-card h3 { font-size: 1.25rem; margin-bottom: 0.5rem; color: var(--ink); }
.serv-card p { margin: 0; color: var(--ink-soft); font-size: 0.92rem; }

/* Why */
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; }
.why-item {
  position: relative; padding: 1.8rem 1.8rem 1.8rem 1.8rem;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(150deg, var(--panel), transparent);
}
.why-num {
  font-family: var(--ff-head); font-weight: 700; font-size: 2.6rem; line-height: 1;
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  display: block; margin-bottom: 0.6rem;
}
.why-item h3 { font-size: 1.3rem; margin-bottom: 0.4rem; }
.why-item p { margin: 0; color: var(--ink-soft); }

/* Showcase */
.section--showcase { background: var(--bg-2); }
.showcase-inner { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.showcase-media { margin: 0; position: relative; }
.showcase-media img { border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); margin-inline: auto; }
.showcase-media::before {
  content: ""; position: absolute; inset: -10px -10px 30px; z-index: -1;
  background: var(--gold-grad); opacity: 0.18; filter: blur(34px); border-radius: 40px;
}
.showcase-copy h2 { font-size: clamp(1.8rem, 3.6vw, 2.9rem); margin-bottom: 0.7rem; }
.check-list { list-style: none; padding: 0; margin: 1.4rem 0 2rem; display: grid; gap: 0.7rem; }
.check-list li { position: relative; padding-inline-start: 2rem; color: var(--ink-soft); }
.check-list li::before {
  content: "✓"; position: absolute; inset-inline-start: 0; top: 0;
  width: 1.4rem; height: 1.4rem; border-radius: 50%;
  display: grid; place-items: center; font-size: 0.8rem;
  color: #1d1404; background: var(--gold-grad); font-weight: 700;
}

/* Contact */
.section--contact { position: relative; overflow: hidden; text-align: center; }
.contact-glow { inset: -30% -10% auto -10%; height: 80%; }
.contact-inner { position: relative; z-index: 2; }
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; max-width: 880px; margin-inline: auto; }
.contact-card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.8rem 1.4rem; display: flex; flex-direction: column; align-items: center; gap: 0.4rem;
  transition: transform .3s, border-color .3s, box-shadow .3s;
}
.contact-card:hover { transform: translateY(-6px); border-color: var(--gold-2); box-shadow: var(--shadow-gold); }
.contact-ic { font-size: 1.8rem; }
.contact-label { font-family: var(--ff-head); color: var(--ink-soft); font-size: 0.9rem; }
.contact-value { font-family: var(--ff-head); font-size: 1.2rem; color: var(--gold-1); font-weight: 600; }
.contact-card--wa { background: radial-gradient(120% 140% at 50% 0%, rgba(37,211,102,0.14), var(--panel) 60%); }

/* =========================================================
   Footer
   ========================================================= */
.site-footer { background: #060608; border-top: 1px solid var(--line); padding-top: 3rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; padding-bottom: 2rem; }
.footer-brand { display: flex; gap: 1rem; align-items: flex-start; max-width: 420px; }
.footer-brand strong { font-family: var(--ff-head); font-size: 1.2rem; color: var(--gold-1); }
.wordmark { font-family: var(--ff-wordmark); letter-spacing: 0.05em; }
.footer-brand p { margin: 0.3rem 0 0; color: var(--ink-mute); font-size: 0.9rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 1.2rem; align-content: flex-start; }
.footer-nav a { color: var(--ink-soft); font-family: var(--ff-head); transition: color .2s; }
.footer-nav a:hover { color: var(--gold-1); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.05); padding: 1.2rem 0; text-align: center; }
.footer-bottom p { margin: 0; color: var(--ink-mute); font-size: 0.85rem; }

/* Floating WhatsApp */
.fab-wa {
  position: fixed; bottom: 22px; left: 22px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, #25d366, #128c4a);
  box-shadow: 0 14px 34px -10px rgba(37,211,102,0.7);
  animation: pulse 2.4s ease-in-out infinite;
}
.fab-wa:hover { transform: scale(1.08); }
@keyframes pulse {
  0%,100% { box-shadow: 0 14px 34px -10px rgba(37,211,102,0.7), 0 0 0 0 rgba(37,211,102,0.45); }
  50% { box-shadow: 0 14px 34px -10px rgba(37,211,102,0.7), 0 0 0 14px rgba(37,211,102,0); }
}

/* =========================================================
   Animations & reveal
   ========================================================= */
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }

.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 980px) {
  .main-nav, .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .header-controls { margin-inline-start: auto; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-copy { order: 2; }
  .hero-media { order: 1; max-width: 360px; }
  .eyebrow, .hero-cta, .hero-badges { justify-content: center; }
  .hero-badges { justify-content: center; }
  .lead { margin-inline: auto; }
  .dest-grid, .serv-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .showcase-inner { grid-template-columns: 1fr; text-align: center; }
  .showcase-media { order: -1; max-width: 340px; margin-inline: auto; }
  .check-list { max-width: 30ch; margin-inline: auto; text-align: right; }
  .contact-cards { grid-template-columns: 1fr; }
  .dest-card--wide { grid-column: span 2; }
}

@media (max-width: 560px) {
  .dest-grid, .serv-grid { grid-template-columns: 1fr; }
  .dest-card--wide { grid-column: span 1; }
  .footer-inner { flex-direction: column; }
  .hero-badges { gap: 1rem 1.4rem; }
}
