@font-face {
  font-family: "Alexandria";
  src: url("./assets/fonts/alexandria-arabic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF;
}

@font-face {
  font-family: "Alexandria";
  src: url("./assets/fonts/alexandria-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0100-024F;
}

:root {
  --ink: #18251f;
  --green: #0e4939;
  --green-deep: #07362b;
  --gold: #b27a36;
  --gold-light: #d5a864;
  --ivory: #f5f1e7;
  --paper: #fffdf8;
  --line: rgba(245, 241, 231, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  overflow-x: hidden;
  background: var(--green-deep);
}

body {
  min-height: 100%;
  margin: 0;
  overflow-x: hidden;
  font-family: "Alexandria", Tahoma, Arial, sans-serif;
  background: var(--green-deep);
  color: #fff;
}

button,
a {
  font: inherit;
}

.page-shell {
  min-height: 100svh;
  width: 100%;
  overflow-x: clip;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  isolation: isolate;
  overflow-x: clip;
  padding: 18px clamp(16px, 4vw, 56px) max(18px, env(safe-area-inset-bottom));
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-image {
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  z-index: -2;
  background:
    linear-gradient(120deg, rgba(6, 31, 25, 0.96) 0%, rgba(7, 54, 43, 0.82) 48%, rgba(7, 54, 43, 0.42) 100%),
    radial-gradient(circle at 76% 18%, rgba(213, 168, 100, 0.28), transparent 32%);
}

[dir="rtl"] .hero-overlay {
  background:
    linear-gradient(240deg, rgba(6, 31, 25, 0.96) 0%, rgba(7, 54, 43, 0.82) 48%, rgba(7, 54, 43, 0.42) 100%),
    radial-gradient(circle at 24% 18%, rgba(213, 168, 100, 0.28), transparent 32%);
}

.topbar {
  width: min(1180px, 100%);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 92px;
  min-height: 82px;
  background: rgba(245, 241, 231, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.36);
  padding: 8px;
}

.brand img {
  display: block;
  width: 100%;
  height: auto;
}

.lang-toggle {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.lang-toggle:hover,
.lang-toggle:focus-visible {
  background: var(--gold);
  border-color: var(--gold);
  transform: translateY(-1px);
  outline: none;
}

.hero-content {
  width: min(1180px, 100%);
  min-height: 0;
  margin: 24px auto;
  display: grid;
  place-items: center;
  text-align: center;
}

h1,
p {
  margin-top: 0;
}

h1 {
  letter-spacing: 0;
}

.coming-soon-title {
  position: relative;
  margin: 0;
  color: #fff;
  font-size: clamp(4.2rem, 20vw, 11rem);
  line-height: 1;
  font-weight: 800;
  text-shadow: 0 18px 48px rgba(0, 0, 0, 0.38);
}

.coming-soon-title::after {
  content: "";
  display: block;
  width: min(180px, 42vw);
  height: 3px;
  margin: clamp(16px, 3vw, 26px) auto 0;
  background: linear-gradient(90deg, transparent, var(--gold-light), transparent);
}

.footer {
  width: min(1180px, 100%);
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 18px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.82rem;
}

.footer p {
  margin: 0;
}

.copyright {
  direction: ltr;
  unicode-bidi: isolate;
}

[dir="rtl"] .copyright {
  direction: rtl;
}

@media (min-width: 760px) {
  .hero {
    padding-top: 26px;
    padding-bottom: 26px;
  }

  .brand {
    width: 110px;
    min-height: 98px;
  }

  .hero-content {
    margin-block: 32px;
  }
}

@media (min-width: 1100px) {
  .hero-content {
    margin-block: 42px;
  }
}

@media (max-width: 480px) {
  .hero {
    padding-inline: 16px;
  }

  .brand {
    width: 84px;
    min-height: 76px;
  }

  .hero-content {
    margin-block: 20px;
  }

  .footer {
    justify-content: center;
    text-align: center;
    line-height: 1.7;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .coming-soon-title {
    animation: gentlePulse 4.8s ease-in-out infinite;
  }
}

@keyframes gentlePulse {
  0% {
    opacity: 0;
    transform: scale(0.97);
  }
  22%,
  100% {
    opacity: 1;
  }
  50% {
    transform: scale(1.025);
  }
  100% {
    transform: scale(1);
  }
}
