/* ==========================================================
   Hayak Paris – Luxury Chauffeur
   ========================================================== */
:root {
  --bg: #07111b;
  --bg-2: #0b1724;
  --navy: #0d1d2d;
  --gold: #d6ad62;
  --gold-light: #f6dc9c;
  --gold-dark: #a87a32;
  --gold-grad: linear-gradient(180deg, #f8e2a6 0%, #d8b064 50%, #a97b33 100%);
  --gold-line: linear-gradient(90deg, transparent, #d6ad62 30%, #f6dc9c 50%, #d6ad62 70%, transparent);
  --green: #24a043;
  --green-2: #1c8a37;
  --text: #f4efe4;
  --muted: #c9c2b2;
  --radius: 14px;
  --font-latin: "Montserrat", system-ui, sans-serif;
  --font-display: "Cinzel", Georgia, serif;
  --font-ar: "Cairo", "Segoe UI", Tahoma, sans-serif;
  --header-h: 96px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-latin);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
html[lang="ar"] body { font-family: var(--font-ar); }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
svg { flex-shrink: 0; }
button { font: inherit; cursor: pointer; }

.container { width: min(1180px, 100% - 32px); margin-inline: auto; }

.gold-text {
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* chevrons flip in RTL */
[dir="rtl"] .chev { transform: scaleX(-1); }

/* ================= HEADER ================= */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(180deg, #0c1a28 0%, #08131e 100%);
  border-bottom: 1px solid rgba(214, 173, 98, .35);
  box-shadow: 0 6px 24px rgba(0, 0, 0, .45);
}
.header__inner {
  width: min(1320px, 100% - 32px);
  margin-inline: auto;
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand__badge {
  width: 58px; height: 58px;
  border-radius: 50%;
  mix-blend-mode: lighten; /* hides black jpeg corners */
}
.brand__text { display: flex; flex-direction: column; line-height: 1.1; white-space: nowrap; }
.brand__name {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: .06em;
  background: var(--gold-grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.brand__tag {
  font-size: .62rem;
  letter-spacing: .32em;
  color: var(--gold);
  display: flex; align-items: center; gap: 8px;
  margin-top: 4px;
}
.brand__tag::before, .brand__tag::after { content: ""; height: 1px; width: 18px; background: var(--gold); }
html[lang="ar"] .brand__name { font-family: var(--font-ar); font-weight: 800; letter-spacing: 0; font-size: 1.5rem; }
html[lang="ar"] .brand__tag { letter-spacing: .05em; font-size: .72rem; }

.nav { display: flex; align-items: stretch; margin-inline-start: auto; }
.nav__link {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 6px;
  padding: 6px 22px;
  font-size: .8rem;
  color: var(--text);
  position: relative;
  transition: color .25s;
}
.nav__link + .nav__link::before {
  content: "";
  position: absolute; inset-inline-start: 0; top: 18%; height: 64%;
  width: 1px; background: rgba(214, 173, 98, .3);
}
.nav__link svg { width: 24px; height: 24px; color: var(--gold-light); transition: transform .25s; }
.nav__link:hover, .nav__link.is-active { color: var(--gold-light); }
.nav__link:hover svg { transform: translateY(-2px); }
html[lang="ar"] .nav__link { font-size: .9rem; font-weight: 600; }

.header__actions { display: flex; align-items: center; gap: 14px; }

.lang-btn {
  display: flex; align-items: center; gap: 6px;
  background: transparent;
  border: 1px solid rgba(214, 173, 98, .55);
  color: var(--gold-light);
  border-radius: 30px;
  padding: 8px 14px;
  font-size: .85rem;
  font-weight: 600;
  transition: background .25s;
}
.lang-btn svg { width: 18px; height: 18px; }
.lang-btn:hover { background: rgba(214, 173, 98, .12); }
#langLabel { font-family: var(--font-ar); }
html[lang="ar"] #langLabel { font-family: var(--font-latin); }

/* WhatsApp header button */
.wa-btn {
  display: flex; align-items: center; gap: 14px;
  padding: 8px 18px 8px 10px;
  border-radius: 40px;
  background: linear-gradient(180deg, #2fb350 0%, var(--green) 50%, var(--green-2) 100%);
  border: 2px solid rgba(255, 255, 255, .85);
  box-shadow: 0 0 0 1px rgba(36, 160, 67, .6), 0 8px 22px rgba(36, 160, 67, .35), inset 0 1px 0 rgba(255,255,255,.35);
  color: #fff;
  transition: transform .25s, box-shadow .25s;
}
[dir="rtl"] .wa-btn { padding: 8px 10px 8px 18px; }
.wa-btn:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(36,160,67,.6), 0 12px 28px rgba(36,160,67,.5), inset 0 1px 0 rgba(255,255,255,.35); }
.wa-btn__icon {
  width: 46px; height: 46px; border-radius: 50%;
  background: #fff; color: var(--green);
  display: grid; place-items: center;
}
.wa-btn__icon svg { width: 30px; height: 30px; }
.wa-btn__text { display: flex; flex-direction: column; line-height: 1.15; }
.wa-btn__text small { font-size: .72rem; opacity: .95; }
.wa-btn__text strong { font-size: 1.15rem; font-weight: 700; }
.wa-btn__chev { width: 18px; height: 18px; }

.burger { display: none; background: none; border: 0; padding: 8px; }
.burger span { display: block; width: 26px; height: 2px; background: var(--gold-light); margin: 5px 0; transition: .3s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ================= HERO ================= */
.hero {
  position: relative;
  min-height: clamp(520px, 46vw, 860px);
  display: flex;
  justify-content: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(214, 173, 98, .35);
}
.hero__bg {
  position: absolute; inset: 0;
  background: url("../img/hero.jpg") center bottom / cover no-repeat;
  animation: heroZoom 18s ease-out forwards;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(ellipse 60% 45% at 50% 18%, rgba(5, 14, 26, .55), transparent 70%),
    linear-gradient(180deg, rgba(5, 12, 22, .45) 0%, transparent 35%, transparent 80%, rgba(7, 17, 27, .85) 100%);
}
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }

.hero__content {
  position: relative; z-index: 2;
  text-align: center;
  padding: 36px 16px 0;
  display: flex; flex-direction: column; align-items: center;
}
.hero__title { margin: 0; line-height: 1.15; }
.hero__title .gold-text {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4.4vw, 3.6rem);
  font-weight: 700;
  filter: drop-shadow(0 3px 6px rgba(0,0,0,.6));
}
.hero__title-sub {
  display: block;
  margin-top: 6px;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3.3vw, 2.7rem);
  font-weight: 600;
  color: #fff;
  text-shadow: 0 3px 10px rgba(0,0,0,.7);
}
html[lang="ar"] .hero__title .gold-text,
html[lang="ar"] .hero__title-sub { font-family: var(--font-ar); font-weight: 800; }

.cities { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; margin-top: 36px; }
.city {
  display: flex; align-items: center; gap: 14px;
  min-width: 210px;
  padding: 10px 18px 10px 22px;
  border-radius: 50px;
  background: linear-gradient(180deg, rgba(14, 22, 32, .92), rgba(4, 9, 15, .92));
  border: 2px solid var(--gold);
  box-shadow: 0 0 0 1px rgba(0,0,0,.6), 0 10px 26px rgba(0,0,0,.5), inset 0 0 14px rgba(214,173,98,.15);
  color: #fff;
  font-size: 1.35rem; font-weight: 700;
  transition: transform .25s, box-shadow .25s;
}
.city:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px rgba(0,0,0,.6), 0 14px 32px rgba(0,0,0,.6), 0 0 22px rgba(214,173,98,.35); }
.city span { flex: 1; text-align: start; }
.city__icon { width: 34px; height: 40px; fill: url(#gold); color: var(--gold); }
.city__icon--wide { width: 46px; }
.city__chev { width: 20px; height: 20px; color: var(--gold-light); }

.hero__strip {
  margin: 30px 0 0;
  display: flex; align-items: center; gap: 14px;
  font-size: .8rem; letter-spacing: .28em;
  color: var(--gold-light);
  text-shadow: 0 1px 6px rgba(0,0,0,.8);
  direction: ltr;
  padding: 6px 18px;
  border-radius: 30px;
  background: radial-gradient(ellipse at center, rgba(5, 12, 22, .7), rgba(5, 12, 22, 0) 75%);
}
.hero__strip::before, .hero__strip::after { content: ""; width: 120px; height: 1px; background: var(--gold-line); }
.hero__strip i { width: 5px; height: 5px; border-radius: 50%; background: var(--gold-light); }

/* ================= SERVICES ================= */
.services {
  padding: 46px 0 56px;
  background:
    radial-gradient(ellipse 70% 40% at 50% 0%, rgba(30, 60, 90, .35), transparent 70%),
    var(--bg);
}
.section-head { text-align: center; margin-bottom: 30px; }
.section-head__title {
  margin: 0;
  display: flex; align-items: center; justify-content: center; gap: 22px;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.6vw, 2.8rem);
}
.section-head__title::before, .section-head__title::after {
  content: ""; width: min(170px, 18vw); height: 2px; background: var(--gold-line);
}
html[lang="ar"] .section-head__title { font-family: var(--font-ar); font-weight: 800; }
.section-head__sub { margin: 6px 0 0; color: var(--text); font-size: 1rem; }

.cards { display: grid; gap: 18px; }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.cards--2 { grid-template-columns: repeat(2, 1fr); margin-top: 18px; }

.card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1.5px solid rgba(214, 173, 98, .75);
  box-shadow: 0 10px 30px rgba(0,0,0,.5), inset 0 0 0 1px rgba(0,0,0,.4);
  aspect-ratio: 4 / 3.2;
  background: var(--navy);
  isolation: isolate;
}
.card--wide { aspect-ratio: 16 / 7.6; }
.card__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  z-index: -2;
  transition: transform .8s ease;
}
.card::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, transparent 30%, rgba(6, 13, 22, .55) 58%, rgba(6, 13, 22, .95) 100%);
}
.card:hover .card__img { transform: scale(1.06); }
.card__body {
  position: absolute; inset-inline: 0; bottom: 0;
  padding: 0 14px 16px;
  text-align: center;
  display: flex; flex-direction: column; align-items: center;
}
.card__icon {
  width: 58px; height: 58px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: radial-gradient(circle at 50% 35%, #1a2836, #05090f);
  border: 2px solid var(--gold);
  box-shadow: 0 0 0 3px rgba(0,0,0,.35), 0 6px 18px rgba(0,0,0,.6);
  margin-bottom: 8px;
}
.card__icon svg { width: 30px; height: 30px; color: var(--gold-light); fill: url(#gold); }
.card__title { margin: 0; font-size: 1.3rem; font-weight: 700; color: #fff; text-shadow: 0 2px 8px rgba(0,0,0,.8); }
.card__text { margin: 2px 0 0; font-size: .92rem; color: var(--muted); }

/* ================= CTA BANNER ================= */
.cta {
  position: relative;
  padding: 26px 0;
  background:
    linear-gradient(90deg, rgba(7,17,27,.25), rgba(7,17,27,.55) 45%, rgba(7,17,27,.25)),
    url("../img/skyline.jpg") center 70% / cover no-repeat;
  border-top: 1px solid rgba(214, 173, 98, .55);
  border-bottom: 1px solid rgba(214, 173, 98, .55);
}
.cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta__wa { display: flex; align-items: center; gap: 22px; margin-inline: auto; }
.cta__wa-icon {
  width: 82px; height: 82px; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(180deg, #34c35a, var(--green-2));
  border: 4px solid #fff;
  color: #fff;
  box-shadow: 0 0 26px rgba(36,160,67,.55);
  animation: pulse 2.6s infinite;
}
.cta__wa-icon svg { width: 48px; height: 48px; }
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(36,160,67,.55); }
  50% { box-shadow: 0 0 0 14px rgba(36,160,67,0); }
}
.cta__divider { width: 2px; height: 64px; background: linear-gradient(180deg, transparent, var(--gold), transparent); }
.cta__text { display: flex; flex-direction: column; }
.cta__text small { font-size: 1.15rem; color: #fff; font-weight: 600; }
.cta__text strong {
  display: flex; align-items: center; gap: 12px;
  font-size: 2.1rem; line-height: 1.2;
  color: var(--gold-light);
}
.cta__text strong span { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cta__text strong svg { width: 24px; height: 24px; color: var(--gold-light); }
.cta__wa:hover strong svg { transform: translateX(4px); }
[dir="rtl"] .cta__wa:hover strong svg { transform: scaleX(-1) translateX(4px); }

.cta__brand { display: flex; flex-direction: column; align-items: center; margin-inline: auto; }
.cta__script {
  font-family: "Great Vibes", cursive;
  font-size: clamp(2.6rem, 4.5vw, 3.6rem);
  line-height: 1;
  background: var(--gold-grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  direction: ltr;
  padding: 0 6px;
}
.cta__script-tag { font-size: .66rem; letter-spacing: .3em; color: var(--gold-light); margin-top: 6px; }

/* ================= FEATURES ================= */
.features { padding: 34px 0 26px; background: linear-gradient(180deg, #0a1622, var(--bg)); }
.features__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.feature {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: 1rem; font-weight: 600; text-align: center;
  position: relative;
  padding: 4px 10px;
}
.feature + .feature::before {
  content: ""; position: absolute; inset-inline-start: 0; top: 0; bottom: 0;
  width: 1px; background: linear-gradient(180deg, transparent, rgba(214,173,98,.5), transparent);
}
.feature svg { width: 40px; height: 40px; color: var(--gold); }

.footer { padding: 6px 0 26px; text-align: center; background: var(--bg); }
.footer__brand {
  margin: 0;
  display: flex; align-items: center; justify-content: center; gap: 18px;
  font-family: var(--font-display);
  letter-spacing: .25em; font-size: .9rem; color: var(--gold);
}
.footer__brand::before, .footer__brand::after { content: ""; width: min(220px, 22vw); height: 1px; background: var(--gold-line); }
html[lang="ar"] .footer__brand { font-family: var(--font-ar); letter-spacing: 0; font-size: 1rem; }
.footer__copy { margin: 10px 0 0; font-size: .78rem; color: rgba(201, 194, 178, .6); }

/* floating whatsapp (mobile only) */
.wa-float {
  position: fixed; bottom: 18px; inset-inline-end: 18px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%;
  display: none; place-items: center;
  background: var(--green); color: #fff;
  box-shadow: 0 8px 22px rgba(0,0,0,.45);
  animation: pulse 2.6s infinite;
}
.wa-float svg { width: 34px; height: 34px; }

/* ================= RESPONSIVE ================= */
@media (max-width: 1180px) {
  .header__inner { gap: 16px; }
  .nav__link { padding: 6px 14px; }
  .brand__name { font-size: 1.2rem; }
}

@media (max-width: 1024px) {
  :root { --header-h: 76px; }
  .burger { display: block; }
  .nav {
    position: absolute; top: 100%; inset-inline: 0;
    flex-direction: column;
    background: #08131e;
    border-bottom: 1px solid rgba(214,173,98,.35);
    max-height: 0; overflow: hidden;
    transition: max-height .35s ease;
  }
  .nav.is-open { max-height: 400px; }
  .nav__link { flex-direction: row; justify-content: flex-start; gap: 14px; padding: 16px 24px; font-size: 1rem; }
  .nav__link + .nav__link::before { inset: 0 24px auto; top: 0; height: 1px; width: auto; }
  .header__actions { margin-inline-start: auto; }
  .cards--3 { grid-template-columns: repeat(2, 1fr); }
  .cards--3 .card:last-child { grid-column: span 2; aspect-ratio: 16 / 7.6; }
}

@media (max-width: 760px) {
  .wa-btn { display: none; }
  .wa-float { display: grid; }
  .brand__badge { width: 46px; height: 46px; }
  .brand__name { font-size: 1.05rem; }
  .brand__tag { font-size: .52rem; letter-spacing: .22em; }
  .brand__tag::before, .brand__tag::after { width: 10px; }
  html[lang="ar"] .brand__name { font-size: 1.2rem; }
  .lang-btn { padding: 6px 10px; }
  .hero { min-height: 640px; }
  .hero__bg { background-position: 30% bottom; }
  .cities { flex-direction: column; gap: 12px; margin-top: 24px; }
  .city { min-width: 240px; font-size: 1.15rem; padding: 8px 16px; }
  .hero__strip { font-size: .66rem; letter-spacing: .18em; gap: 8px; }
  .hero__strip::before, .hero__strip::after { width: 34px; }
  .cards--3, .cards--2 { grid-template-columns: 1fr; }
  .cards--3 .card:last-child { grid-column: auto; }
  .card, .card--wide, .cards--3 .card:last-child { aspect-ratio: 4 / 3; }
  .cta__inner { flex-direction: column; text-align: center; }
  .cta__wa { gap: 14px; }
  .cta__wa-icon { width: 64px; height: 64px; }
  .cta__wa-icon svg { width: 36px; height: 36px; }
  .cta__divider { height: 50px; }
  .cta__text small { font-size: .95rem; }
  .cta__text strong { font-size: 1.6rem; }
  .features__grid { grid-template-columns: repeat(2, 1fr); row-gap: 26px; }
  .feature:nth-child(3)::before { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
