/* ============================================================
   ULAK.IM landing — modern, zero-dependency stylesheet
   Bootstrap/jQuery yok. CSS custom properties + flex/grid.
   ============================================================ */

/* ---- Self-hosted heading font ---- */
@font-face {
  font-family: "Samsung Sharp Sans";
  src: url("../fonts/samsungsharpsans-medium.woff2") format("woff2"),
       url("../fonts/samsungsharpsans-medium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Samsung Sharp Sans";
  src: url("../fonts/samsungsharpsans-bold.woff2") format("woff2"),
       url("../fonts/samsungsharpsans-bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ---- Design tokens ---- */
:root {
  --teal: #288d99;
  --teal-deep: #1c6b75;
  --btn: #2596be;
  --btn-dark: #116988;
  --card-bg: rgba(255, 255, 255, 0.62);
  --ink: #1f2a2d;
  --muted: #3a4a4e;
  --radius: 20px;
  --radius-pill: 30px;
  --maxw: 1040px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
  --font-head: "Samsung Sharp Sans", system-ui, sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

/* ---- Modern reset ---- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  color: #000;
  background: linear-gradient(160deg, var(--teal), var(--teal-deep));
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; transition: opacity .25s ease; }
h1, h5 { margin: 0; }
:focus-visible { outline: 3px solid var(--btn); outline-offset: 2px; }
::selection { background: var(--btn); color: #fff; }

/* ---- Fixed background video + okunabilirlik için scrim ---- */
.bg-video {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
body::before {                       /* video üstünde hafif karartma → metin her zaman okunur */
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(18, 70, 78, .20), rgba(18, 70, 78, .55));
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  .bg-video { display: none; }       /* hareket istemeyenlere düz degrade kalır */
}

/* ---- İnce giriş animasyonu (yumuşak fade-up) ---- */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}
.card    { animation: fade-up .6s ease both; }
.partners { animation: fade-up .6s ease .15s both; }
@media (prefers-reduced-motion: reduce) {
  .card, .partners { animation: none; }
}

/* ---- Main card ---- */
.card {
  width: min(var(--maxw), 100% - 40px);
  margin: clamp(20px, 5vw, 48px) auto 28px;
  padding: clamp(24px, 4vw, 42px);
  background: var(--card-bg);
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.card__grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(24px, 4vw, 40px);
}
.card__col-text { flex: 1 1 56%; min-width: 280px; align-self: flex-start; }
.card__col-cover {
  flex: 1 1 34%;
  min-width: 200px;
  display: flex;
  justify-content: center;
}

/* ---- Hero metni ---- */
.logo { width: 72%; max-width: 320px; height: auto; margin-bottom: 4px; }
.eyebrow {
  margin-top: 22px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--btn-dark);
}
.subtitle { margin-top: 18px; font-size: 16px; color: var(--ink); font-weight: 500; }
.title {
  margin-top: 18px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(24px, 4.2vw, 34px);
  line-height: 1.15;
  color: var(--ink);
}
.lead {
  margin: 16px 0 0;
  max-width: 54ch;
  font-size: clamp(15px, 1.6vw, 17.5px);
  line-height: 1.65;
  font-weight: 400;
  color: #142028;          /* daha koyu → soluk durmaz */
}
.cover {
  width: min(80%, 300px);
  height: auto;
  border-radius: 14px;
  filter: drop-shadow(0 16px 30px rgba(0, 0, 0, .28));
}

/* ---- Downloads (tile görünümü) ---- */
.downloads {
  margin-top: clamp(24px, 3vw, 34px);
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
.dl-item {
  width: 200px;
  text-align: center;
  padding: 24px 20px;
  background: rgba(255, 255, 255, .58);
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 18px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .08);
  transition: transform .2s ease, box-shadow .2s ease;
}
.dl-item:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(0, 0, 0, .16); }
.dl-item__icon { display: flex; justify-content: center; }
.dl-item__icon img {
  width: 84px;
  height: 84px;
  object-fit: contain;
  transition: transform .2s ease;
}
.dl-item:hover .dl-item__icon img { transform: scale(1.06); }
.dl-item__name {
  margin-top: 14px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 16px;
  color: var(--ink);
}

/* ---- Butonlar ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  margin-top: 12px;
  padding: 11px 18px;
  font-size: 14.5px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  background: var(--btn);
  border: 2px solid var(--btn);
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.btn:hover {
  background: var(--btn-dark);
  border-color: var(--btn-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(17, 105, 136, .35);
  opacity: 1;
}
.btn:active { transform: translateY(0); box-shadow: none; }
.btn--video { background: var(--btn-dark); border-color: var(--btn-dark); }
.btn--video:hover { background: #0d5670; border-color: #0d5670; }

/* ---- Partners ---- */
.partners {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  width: min(var(--maxw), 100% - 40px);
  margin: 0 auto;
  padding-bottom: 34px;
}
.partners a {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 8px 16px 8px 8px;
  text-decoration: none;
  border-radius: 14px;
  background: rgba(0, 0, 0, .18);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  transition: background .2s ease;
}
.partners a:hover { background: rgba(0, 0, 0, .32); opacity: 1; }
.partners img { width: 46px; height: 46px; object-fit: contain; }
.partners span {
  color: #fff;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .02em;
  line-height: 1.3;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .35);
}

/* ---- Native dialog (video modal) ---- */
dialog.modal {
  width: min(440px, 100% - 32px);
  padding: 0;
  border: none;
  border-radius: 14px;
  background: rgba(0, 0, 0, .55);
  color: #fff;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .45);
}
dialog.modal::backdrop { background: rgba(0, 0, 0, .6); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
.modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: linear-gradient(90deg, var(--btn-dark), var(--btn));
}
.modal__title { font-size: 1rem; font-weight: 600; }
.modal__close {
  appearance: none;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: transform .15s ease;
}
.modal__close:hover { transform: scale(1.15); }
.modal__body { padding: 12px; text-align: center; }
.modal__body video { width: 100%; max-height: 70vh; border-radius: 8px; }

/* ---- Responsive ---- */
@media (max-width: 576px) {
  .dl-item { width: 100%; }
  .partners a { width: 100%; }
}
