/* Giovane Gentile Erzurum · Dijital davetiye (Yön A · Afiş) */

@font-face {
  font-family: "Anton";
  src: url("../fonts/anton-latin.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
  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: "Anton";
  src: url("../fonts/anton-latin-ext.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
  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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Jost";
  src: url("../fonts/jost-latin.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
  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: "Jost";
  src: url("../fonts/jost-latin-ext.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
  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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Kapak üzerindeki kırmızı kelime, tarih rakamları ve Yeni Adres / Aynı Özen dili */
:root {
  --murekkep: #0B0B0B;
  --kagit: #F2F1EE;
  --govde: #CFCDC8;
  --soluk: #9A9893;
  --kirmizi: #8A0202;
  --kirmizi-kapak: #700303; /* afişteki koyu ton */
  --anton: "Anton", "Impact", "Arial Narrow", sans-serif;
  --jost: "Jost", "Futura", "Century Gothic", "Avenir Next", sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--murekkep); scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--murekkep);
  color: var(--kagit);
  font-family: var(--jost);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { display: block; max-width: 100%; }
a { color: var(--kagit); }
:focus-visible { outline: 2px solid var(--kagit); outline-offset: 3px; }
[hidden] { display: none !important; }

.sayfa { position: relative; max-width: 480px; margin: 0 auto; overflow: hidden; background: var(--murekkep); }
.gorunmez { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.etiket { margin: 0; font-size: 11px; font-weight: 500; letter-spacing: .5em; color: var(--soluk); }
.gren { position: absolute; inset: 0; background: url("../img/gren.png") repeat; background-size: 160px 160px; mix-blend-mode: overlay; pointer-events: none; }

/* Dar ve uzatılmış kırmızı harfler (Yakında afişinin dili) */
.dev {
  font-family: var(--anton);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -.01em;
  color: var(--kirmizi);
  white-space: nowrap;
  transform-origin: 50% 50%;
}
.dev span { display: inline-block; }

/* ---------- Kapak ---------- */
.kapak {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 620px;
  max-height: 960px;
  overflow: hidden;
  background: var(--murekkep);
}
.kapak__foto { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 50%; }
.kapak__kelime-alani {
  position: absolute; left: 0; right: 0; top: 16.7%; height: 61.4%;
  display: flex; align-items: center; justify-content: center;
  opacity: .78; pointer-events: none;
}
.kapak .dev { font-size: 140px; transform: scaleY(4.3); color: var(--kirmizi-kapak); }
.kapak__ust-golge { position: absolute; top: 0; left: 0; right: 0; height: 180px; background: linear-gradient(180deg, rgba(11, 11, 11, .72), rgba(11, 11, 11, 0)); pointer-events: none; }
.kapak__alt-golge { position: absolute; left: 0; right: 0; bottom: 0; height: 270px; background: linear-gradient(180deg, rgba(11, 11, 11, 0), rgba(11, 11, 11, .94)); pointer-events: none; }
.kapak__no {
  position: absolute; left: 0; right: 0; top: calc(48px + env(safe-area-inset-top, 0px));
  margin: 0; text-align: center;
  font-size: 10px; font-weight: 500; letter-spacing: .42em; padding-left: .42em;
  color: rgba(242, 241, 238, .72);
}
.kapak__isim {
  position: absolute; left: 24px; right: 24px; top: 35.5%; height: 23.7%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  text-align: center;
}
.kapak__hitap { margin: 0; font-size: 11px; font-weight: 500; letter-spacing: .5em; padding-left: .5em; color: rgba(242, 241, 238, .8); }
.kapak__ad {
  margin: 0; font-size: 26px; font-weight: 500; line-height: 1.35;
  letter-spacing: .3em; padding-left: .3em;
  color: var(--kagit); text-wrap: balance; overflow-wrap: anywhere;
}
.kapak__ad--uzun { font-size: 21px; letter-spacing: .24em; padding-left: .24em; }
.kapak__cizgi { width: 44px; height: 1px; background: rgba(242, 241, 238, .6); }
.kapak__alt-yazi { margin: 0; font-size: 11px; font-weight: 400; line-height: 1.9; letter-spacing: .32em; padding-left: .32em; color: rgba(242, 241, 238, .88); }
.kapak__logo { position: absolute; left: 0; right: 0; bottom: 86px; display: flex; justify-content: center; }
.kapak__logo img { width: 168px; height: auto; }
.kapak__kaydir {
  position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 8px 12px 8px calc(12px + .42em);
  font-size: 9px; font-weight: 500; letter-spacing: .42em;
  color: rgba(242, 241, 238, .6); text-decoration: none;
}
.kapak__kaydir::after { content: ""; width: 1px; height: 22px; background: rgba(242, 241, 238, .45); }

/* ---------- Mesaj ---------- */
.mesaj { padding: 92px 28px 84px; display: flex; flex-direction: column; align-items: center; gap: 30px; text-align: center; }
.mesaj__slogan { margin: 0; font-size: 23px; font-weight: 500; line-height: 1.6; letter-spacing: .34em; padding-left: .34em; }
.dikey-cizgi { width: 1px; height: 48px; background: var(--kirmizi); }
.mesaj__metin { margin: 0; max-width: 320px; font-size: 16px; font-weight: 300; line-height: 1.75; color: var(--govde); text-wrap: pretty; }
.mesaj__metin + .mesaj__metin { margin-top: -14px; }

.foto-bant { position: relative; height: 290px; overflow: hidden; }
.foto-bant img { width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 55%; }

/* ---------- Tarih ---------- */
.tarih { position: relative; height: 760px; overflow: hidden; }
.tarih--kisa { height: 660px; }
.tarih__etiket { position: absolute; top: 56px; left: 0; right: 0; text-align: center; padding-left: .5em; }
.tarih__dev-alan {
  position: absolute; left: 0; right: 0; top: 96px; height: 500px;
  display: flex; align-items: center; justify-content: center;
  opacity: .8; pointer-events: none;
}
.tarih .dev { font-size: 210px; transform: scaleY(2.77); }
.tarih__bilgi {
  position: absolute; left: 24px; right: 24px; top: 96px; height: 500px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  text-align: center;
}
.tarih__ay { margin: 0; font-size: 24px; font-weight: 500; letter-spacing: .34em; padding-left: .34em; }
.tarih__gun { margin: 0; font-size: 12px; font-weight: 500; letter-spacing: .4em; padding-left: .4em; color: #E4E2DD; line-height: 1.8; }
.geri-sayim { position: absolute; left: 24px; right: 24px; bottom: 48px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.geri-sayim__etiket { font-size: 10px; letter-spacing: .42em; padding-left: .42em; text-align: center; }
.geri-sayim__hucreler { display: flex; justify-content: center; gap: 30px; }
.geri-sayim__hucre { display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 64px; }
.geri-sayim__sayi { font-family: var(--anton); font-size: 34px; line-height: 1; font-variant-numeric: tabular-nums; }
.geri-sayim__birim { font-size: 10px; font-weight: 500; letter-spacing: .32em; padding-left: .32em; color: var(--soluk); }

/* ---------- Adres ---------- */
.adres { position: relative; }
.adres__foto { position: relative; height: 470px; overflow: hidden; }
.adres__foto img { width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 32%; }
.adres__foto::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 11, 11, 0) 34%, rgba(11, 11, 11, .86) 74%, rgba(11, 11, 11, 1) 100%); }
.adres__icerik { position: relative; margin-top: -120px; padding: 0 28px 72px; display: flex; flex-direction: column; gap: 26px; }
.adres__metinler { display: flex; flex-direction: column; gap: 10px; }
.adres__metin { margin: 0; font-size: 20px; font-weight: 400; line-height: 1.45; }
.adres__metin--bos { font-size: 17px; font-weight: 300; color: var(--govde); }
.adres__sehir { margin: 0; font-size: 14px; font-weight: 300; letter-spacing: .06em; color: var(--govde); }

.dugmeler { display: flex; gap: 12px; }
.dugme {
  flex: 1; min-height: 52px;
  display: flex; align-items: center; justify-content: center;
  padding: 0 8px 0 calc(8px + .26em);
  border: 1px solid rgba(242, 241, 238, .55);
  background: transparent; color: var(--kagit);
  font-family: inherit; font-size: 11px; font-weight: 500; letter-spacing: .26em;
  text-align: center; text-decoration: none; cursor: pointer;
  transition: background-color .2s ease, color .2s ease;
}
.dugme:hover { background: rgba(242, 241, 238, .08); }
.dugme--dolu { background: var(--kagit); color: var(--murekkep); border-color: var(--kagit); }
.dugme--dolu:hover { background: #FFFFFF; color: var(--murekkep); }

/* ---------- Özel not ---------- */
.not { padding: 8px 28px 72px; display: flex; flex-direction: column; gap: 16px; }
.not__cizgi { width: 40px; height: 1px; background: var(--kirmizi); }
.not__metin { margin: 0; font-size: 16px; font-weight: 300; line-height: 1.7; color: var(--govde); }

/* ---------- Katılım ---------- */
.katilim { margin: 0 28px; padding: 56px 0 64px; border-top: 1px solid rgba(242, 241, 238, .14); display: flex; flex-direction: column; gap: 22px; }
.katilim__soru { margin: 0; font-size: 21px; font-weight: 400; line-height: 1.4; text-wrap: balance; }
.katilim__form { display: flex; flex-direction: column; gap: 12px; }
.katilim__dugme {
  min-height: 54px; border: 0; padding: 0 0 0 .3em;
  font-family: inherit; font-size: 12px; font-weight: 500; letter-spacing: .3em;
  cursor: pointer; transition: filter .2s ease, background-color .2s ease;
}
.katilim__dugme:disabled { opacity: .6; cursor: progress; }
.katilim__dugme--evet { background: var(--kirmizi); color: #FFFFFF; }
.katilim__dugme--evet:hover { filter: brightness(1.15); }
.katilim__dugme--hayir { background: transparent; color: var(--kagit); border: 1px solid rgba(242, 241, 238, .5); }
.katilim__dugme--hayir:hover { background: rgba(242, 241, 238, .08); }
.katilim__yanit { display: flex; flex-direction: column; gap: 10px; padding-top: 18px; border-top: 1px solid var(--kirmizi); }
.katilim__yanit--hayir { border-top-color: rgba(242, 241, 238, .3); }
.katilim__yanit p { margin: 0; font-size: 17px; font-weight: 300; line-height: 1.6; }
.katilim__hata { margin: 0; font-size: 14px; color: #F2B8B8; }
.metin-dugme {
  align-self: flex-start; min-height: 44px; display: inline-flex; align-items: center;
  padding: 0; border: 0; background: transparent; color: var(--soluk);
  font-family: inherit; font-size: 11px; font-weight: 500; letter-spacing: .24em;
  text-decoration: underline; text-underline-offset: 5px; cursor: pointer;
}

/* ---------- Alt bilgi ---------- */
.alt {
  padding: 60px 28px calc(76px + env(safe-area-inset-bottom, 0px));
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  border-top: 1px solid rgba(242, 241, 238, .12);
}
.alt img { width: 150px; height: auto; }
.alt__slogan { margin: 0; font-size: 10px; font-weight: 500; letter-spacing: .42em; padding-left: .42em; color: var(--soluk); text-align: center; }
.alt__tel { color: var(--govde); font-size: 12px; letter-spacing: .14em; text-decoration: none; padding: 10px 0; }

/* ---------- Bulunamadı ---------- */
.bulunamadi { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; padding: calc(48px + env(safe-area-inset-top, 0px)) 28px 48px; }
.bulunamadi__logo { width: 150px; height: auto; margin: 0 auto; }
.bulunamadi__ic { margin: auto 0; display: flex; flex-direction: column; gap: 18px; }
.bulunamadi__baslik { margin: 0; font-size: 26px; font-weight: 400; line-height: 1.3; }
.bulunamadi__metin { margin: 0; font-size: 16px; font-weight: 300; line-height: 1.7; color: var(--govde); }
.bulunamadi__dugme { flex: none; margin-top: 10px; }

/* ---------- Hareket ---------- */
@media (prefers-reduced-motion: no-preference) {
  .kapak__foto { animation: ggYavas 9s cubic-bezier(.2, .6, .2, 1) both; }
  .kapak .dev span { animation: ggYuksel 1.1s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(var(--i, 0) * 90ms + 200ms); }
  .kapak__isim { animation: ggBelir 1.2s ease both; animation-delay: .9s; }
  .kapak__no, .kapak__logo, .kapak__kaydir { animation: ggBelir 1.2s ease both; animation-delay: 1.3s; }
  .js [data-gor] { opacity: 0; transform: translateY(18px); transition: opacity .9s ease, transform .9s cubic-bezier(.2, .7, .2, 1); }
  .js [data-gor].gorundu { opacity: 1; transform: none; }
}
@keyframes ggYavas { from { transform: scale(1.08); } to { transform: scale(1); } }
@keyframes ggYuksel { from { opacity: 0; transform: translateY(12%); } to { opacity: 1; transform: none; } }
@keyframes ggBelir { from { opacity: 0; } to { opacity: 1; } }
