@font-face {
  font-family: "Anton";
  src: url("/fonts/Anton-Regular.woff2") format("woff2");
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  font-weight: 600;
  src: url("/fonts/Poppins-SemiBold.woff2") format("woff2");
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #05070f;
  --surface: #0d1322;
  --border: #26304a;
  --text: #f5f2ea;
  --muted: #b7c0cf;
  --gold: #e9b65c;
  --gold-hover: #f3c97c;
  --on-gold: #1c1404;
  --body-font: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ui-font: "Poppins", system-ui, sans-serif;
}

/* Anton ve Poppins'te Arapça harf yok: sistem yazı tipi kullanılır. */
:root[lang="ar"] {
  --body-font: "Segoe UI", Tahoma, "Noto Sans Arabic", "Geeza Pro", sans-serif;
  --ui-font: var(--body-font);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body-font);
  font-size: 1.0625rem;
  line-height: 1.55;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.lang {
  position: absolute;
  z-index: 2;
  top: calc(0.5rem + env(safe-area-inset-top));
  inset-inline-end: 0.75rem;
  display: flex;
  gap: 0.125rem;
  padding: 0.125rem;
  border-radius: 10px;
  background: rgb(5 7 15 / 72%);
}

.lang a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 0.625rem;
  border-radius: 8px;
  font-family: var(--body-font);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
}

.lang a:hover {
  color: var(--gold-hover);
}

.lang a[aria-current="page"] {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

.hero {
  position: relative;
  overflow: hidden;
}

.hero__image {
  display: block;
  width: 100%;
  height: auto;
}

/* Telefon: görsel üstte, alt kenarı zemine erir, yazı altına gelir. */
.hero__picture {
  display: block;
  position: relative;
  max-height: 56svh;
  overflow: hidden;
}

.hero__picture::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 30%;
  background: linear-gradient(to bottom, transparent, var(--bg));
}

.hero__text {
  position: relative;
  margin-top: -2.5rem;
  padding: 0 1.25rem 2rem;
}

.eyebrow {
  margin: 0 0 0.5rem;
  color: var(--gold);
  font-family: var(--ui-font);
  font-size: 0.9375rem;
  font-weight: 600;
}

h1 {
  margin: 0;
  font-family: "Anton", Impact, sans-serif;
  font-size: clamp(2.5rem, 11vw, 3.5rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0.01em;
}

/* Ad Latin harflerle kalır, Arapça sayfada öteki satırlarla aynı kenara hizalanır. */
[dir="rtl"] h1 {
  text-align: right;
}

.lead {
  max-width: 30rem;
  margin: 0.75rem 0 1.5rem;
  color: var(--muted);
  font-size: 1.1875rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.5rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  font-family: var(--ui-font);
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.button:hover {
  border-color: var(--gold);
}

.button--primary {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--on-gold);
}

.button--primary:hover {
  border-color: var(--gold-hover);
  background: var(--gold-hover);
}

.soon {
  padding: 2.5rem 1.25rem;
  border-top: 1px solid var(--border);
  text-align: center;
}

.soon p {
  margin: 0;
  color: var(--gold);
  font-family: var(--ui-font);
  font-size: clamp(1.375rem, 5vw, 2rem);
  font-weight: 600;
}

footer {
  padding: 1.5rem 1.25rem calc(1.5rem + env(safe-area-inset-bottom));
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.9375rem;
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
}

.social {
  display: flex;
  flex-wrap: wrap;
  gap: 0 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.social a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--text);
  font-weight: 600;
}

/* Geniş ekran: görsel tam sayfa, yazı solda boş alanda. */
@media (min-width: 768px) {
  .hero {
    min-height: min(100svh, 56vw);
    display: flex;
    align-items: center;
  }

  .hero__picture {
    position: absolute;
    inset: 0;
    max-height: none;
  }

  .hero__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
  }

  .hero__picture::after {
    inset: 0;
    height: auto;
    background: linear-gradient(to right, rgb(5 7 15 / 88%) 0%, rgb(5 7 15 / 62%) 36%, transparent 58%);
  }

  .hero__text {
    width: 100%;
    max-width: 72rem;
    margin: 0 auto;
    padding: 3rem 2.5rem;
  }

  .hero__text > * {
    max-width: min(30rem, 44vw); /* Dünya'nın üstüne binmesin */
  }

  /* Dünya sağda ve görsel aynalanamaz (harita ters döner): Arapça sayfada da yazı sol boşlukta durur. */
  [dir="rtl"] .hero__text > * {
    margin-right: auto;
    margin-left: 0;
  }

  h1 {
    font-size: clamp(3rem, 4.5vw, 4.5rem);
  }

  footer {
    padding-inline: 2.5rem;
  }

  .lang {
    top: 1rem;
    inset-inline-end: 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}
