/* kostumlutayfa.com · ortak katman (Gökyüzü): yazı tipleri, renkler, düğmeler, erişilebilirlik, Play durumu */

/* Yazı tipleri sitenin kendi sunucusundan (Google Fonts, OFL 1.1; lisans: /assets/fonts/OFL.txt).
   unicode-range değerleri Google Fonts css2 yanıtından birebir; Türkçe İ ı Ş ş Ğ ğ latin-ext, Ç ç Ö ö Ü ü ı latin içinde. */
@font-face {
  font-family: "Baloo 2";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/assets/fonts/baloo2-800-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Baloo 2";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/assets/fonts/baloo2-800-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 600 900;
  font-display: swap;
  src: url(/assets/fonts/nunito-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 600 900;
  font-display: swap;
  src: url(/assets/fonts/nunito-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --laci: #12286A;
  --laci-2: #0b1a4a;
  --metin: #3d4f86;
  --gok-1: #4fb8f6;
  --gok-2: #9fdafb;
  --gok-3: #e9f7ff;
  --gok-4: #f6fbff;
  --kirmizi: #e8412f;
  --mor: #7858F8;
  --yesil: #78D858;
  --turuncu: #F87830;
  --pembe: #F868A8;
  --sari: #F8D820;
  --mavi: #48B8F8;
  --baglanti: #1f6fb0;
  --golge: 0 10px 30px rgba(18, 40, 106, .12);
  --baslik-yazi: "Baloo 2", system-ui, sans-serif;
  --govde-yazi: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
}

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

body { margin: 0; }
img { max-width: 100%; height: auto; }

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

/* Düğmeler: hap biçimi, alt gölge, üstüne gelince 2 px yükselir */
.dugme {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px 10px;
  border-radius: 999px;
  font-family: var(--baslik-yazi);
  font-weight: 800;
  font-size: 19px;
  line-height: 1.2;
  text-decoration: none;
  transition: transform .15s, box-shadow .15s;
}
.dugme svg { width: 22px; height: 22px; flex: none; }
.dugme:hover { transform: translateY(-2px); }
.dugme--yt { background: var(--kirmizi); color: #fff; box-shadow: 0 5px 0 #b42c1e; }
.dugme--gp { background: var(--laci); color: #fff; box-shadow: 0 5px 0 #071338; }
.dugme--acik { background: #fff; color: var(--laci); box-shadow: 0 5px 0 #cfe3f3, var(--golge); }
.dugme--soluk { opacity: .55; cursor: default; }
.dugme--soluk:hover { transform: none; }

/* Erişilebilirlik */
:focus-visible { outline: 3px solid var(--laci); outline-offset: 3px; }
.icerige-atla {
  position: absolute;
  z-index: 100;
  left: 16px;
  top: -60px;
  padding: 10px 16px;
  background: #fff;
  color: var(--laci);
  font-family: var(--govde-yazi);
  font-weight: 900;
  border-radius: 999px;
  box-shadow: var(--golge);
}
.icerige-atla:focus { top: 16px; }

/* Play durumu: <html data-play="yakinda|yayinda">; karşı durumun öğeleri hiç görünmez */
[data-play="yakinda"] [data-play-goster="yayinda"], [data-play="yayinda"] [data-play-goster="yakinda"] { display: none !important; }

/* 404 sayfası */
.hata {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 32px 16px;
  text-align: center;
  font-family: var(--govde-yazi);
  font-weight: 700;
  color: var(--laci);
  background: linear-gradient(180deg, var(--gok-1) 0, var(--gok-2) 55%, var(--gok-3) 100%);
}
.hata__kutu { width: min(520px, 100%); padding: 36px 28px; background: #fff; border-radius: 32px; box-shadow: var(--golge); }
.hata__logo { display: block; width: min(240px, 70%); margin: 0 auto 18px; }
.hata__portre { width: 132px; height: 132px; margin: 0 auto; border-radius: 50%; border: 6px solid var(--turuncu); object-fit: cover; }
.hata h1 { margin: 16px 0 8px; font-family: var(--baslik-yazi); font-weight: 800; font-size: clamp(28px, 6vw, 40px); line-height: 1.1; }
.hata p { margin: 0 0 24px; color: var(--metin); font-size: 18px; }

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