:root {
  --kahve: #3a2212;
  --kahve-koyu: #2b180b;
  --gok: #a9dbe3;
  --hardal: #ecd783;
  --asi: #cd923d;
  --petrol: #1f7b78;
  --petrol-koyu: #12524f;
  --turuncu: #ee7b2a;
  --kirmizi: #e1474b;
  --cimen: #5da537;
  --krem: #fff6e6;
  --bar: 76px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: "Mali", "Comic Sans MS", system-ui, sans-serif;
  font-weight: 500;
  font-size: 18px;
  line-height: 1.6;
  color: var(--kahve);
  background: var(--gok);
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-weight: 700; line-height: 1.05; margin: 0; letter-spacing: -0.01em; }
p { margin: 0 0 14px; }
button { font: inherit; color: inherit; }

.dugme {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  background: var(--kahve);
  color: #fff;
  font-weight: 700;
  font-size: 19px;
  text-decoration: none;
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.22);
  transition: transform 0.15s, box-shadow 0.15s;
}
.dugme:hover { transform: translateY(-2px); box-shadow: 0 6px 0 rgba(0, 0, 0, 0.22); }
.dugme:active { transform: translateY(3px); box-shadow: 0 1px 0 rgba(0, 0, 0, 0.22); }
.dugme--acik { background: #fff; color: var(--kahve); }

/* üst çubuk */

.bar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--bar);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(18px, 3vw, 44px);
  transition: background 0.3s, box-shadow 0.3s;
}
.bar.dolu { background: var(--krem); box-shadow: 0 2px 0 rgba(58, 34, 18, 0.08); }
.bar-ad { font-weight: 700; font-size: 24px; text-decoration: none; white-space: nowrap; }
.bar-nav { display: flex; gap: clamp(16px, 2.4vw, 34px); }
.bar-nav a { font-weight: 600; font-size: 18px; text-decoration: none; padding: 6px 0; border-bottom: 3px solid transparent; }
.bar-nav a:hover { border-color: currentColor; }
.bar-menu { display: none; }

/* açılış */

.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 640px;
  overflow: hidden;
  background: var(--gok);
}

.bulutcuk { position: absolute; fill: #fff; opacity: 0.75; animation: suzul 60s linear infinite; }
.b1 { width: 220px; top: 18%; left: 30%; animation-duration: 70s; }
.b2 { width: 150px; top: 70%; left: 60%; opacity: 0.6; animation-duration: 90s; }
.b3 { width: 180px; top: 10%; left: 62%; opacity: 0.5; animation-duration: 80s; animation-direction: reverse; }
@keyframes suzul { 50% { translate: 60px 0; } }

.ucan {
  position: absolute;
  width: clamp(150px, 19vw, 300px);
  display: block;
  border-radius: 2px 5px 5px 2px;
  box-shadow: 3px 3px 0 #f6f1e6, 6px 6px 0 #ddd3bf, 18px 26px 36px rgba(40, 60, 70, 0.3);
  transition: box-shadow 0.25s;
}
.ucan img { width: 100%; border-radius: inherit; }
.ucan:hover { box-shadow: 3px 3px 0 #f6f1e6, 6px 6px 0 #ddd3bf, 26px 40px 46px rgba(40, 60, 70, 0.34); }
.u1 { left: 6%; top: 15%; rotate: -9deg; }
.u2 { left: 8%; bottom: 7%; rotate: 7deg; width: clamp(140px, 17vw, 270px); }
.u3 { right: 6%; top: 13%; rotate: 8deg; }
.u4 { right: 8%; bottom: 8%; rotate: -6deg; width: clamp(140px, 16vw, 250px); }

.hero-bulut {
  position: absolute;
  left: 50%;
  top: 47%;
  width: min(660px, 92vw);
  aspect-ratio: 640 / 420;
  translate: -50% -50%;
  display: grid;
  place-items: center;
  z-index: 3;
}
.hero-bulut-sekil { position: absolute; inset: 0; width: 100%; height: 100%; fill: #fff; filter: drop-shadow(0 8px 0 rgba(70, 120, 130, 0.18)); }
.hero-yazi { position: relative; text-align: center; padding: 4% 9% 0; }
.hero h1 { font-size: clamp(40px, 5.2vw, 76px); color: var(--kahve); text-wrap: balance; }
.hero-yazi p { font-size: clamp(20px, 2vw, 28px); font-weight: 600; margin: 12px 0 22px; color: var(--petrol); }
.hero-zipir { position: absolute; width: 21%; right: 1%; top: -17%; rotate: 8deg; }
.hero-pasakli {
  position: absolute;
  z-index: 4;
  width: clamp(230px, 27vw, 400px);
  left: 50%;
  bottom: -1%;
  translate: -102% 0;
  animation: yuz 7s ease-in-out infinite;
}
@keyframes yuz { 50% { transform: translateY(-10px); } }

/* kitaplar */

.kitap {
  position: relative;
  height: 100vh;
  min-height: 680px;
  display: grid;
  grid-template-columns: minmax(0, 37fr) minmax(0, 63fr);
  align-items: center;
  gap: 2vw;
  padding: calc(var(--bar) + 10px) clamp(24px, 5vw, 80px) 60px;
  overflow: hidden;
}
.kitap-yazi { position: relative; z-index: 2; max-width: 560px; }
.kitap h2 { font-size: clamp(42px, 4.5vw, 74px); margin-bottom: 16px; text-wrap: balance; }
.kanca { font-weight: 700; font-size: clamp(20px, 1.6vw, 25px); line-height: 1.3; }
.kunye { font-weight: 600; font-size: 15px; opacity: 0.8; margin-top: 18px; }
.satin { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.satin a {
  padding: 11px 20px;
  border-radius: 999px;
  background: #fff;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.18);
  transition: transform 0.15s;
}
.satin a:hover { transform: translateY(-2px) rotate(-1.5deg); }

.cicek {
  position: absolute;
  top: -84px;
  left: -14px;
  width: 92px;
  height: 92px;
  display: grid;
  place-items: center;
  rotate: -12deg;
  color: #fff;
}
.cicek svg { position: absolute; inset: 0; fill: var(--cicek, var(--turuncu)); }
.cicek b { position: relative; font-size: 17px; line-height: 1; text-align: center; }

.kitap-sahne {
  --p: min(36vw, 64vh, 560px);
  --d: calc(var(--p) * 0.05);
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  height: 100%;
  perspective: 1500px;
  perspective-origin: 50% 0;
}
.cilt { position: relative; z-index: 1; width: var(--p); height: var(--p); transform-style: preserve-3d; transform: rotateY(-28deg); }
.cilt > * { position: absolute; -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.cilt .on, .cilt .arka { inset: 0; width: 100%; height: 100%; }
.cilt .on { transform: translateZ(calc(var(--d) / 2)); border-radius: 2px 5px 5px 2px; }
.cilt .arka { transform: rotateY(180deg) translateZ(calc(var(--d) / 2)); border-radius: 5px 2px 2px 5px; }
.sirt, .sayfalar { top: 0; left: calc(50% - var(--d) / 2); width: var(--d); height: 100%; }
.sirt {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.4em;
  writing-mode: vertical-rl;
  white-space: nowrap;
  background: var(--sirt);
  color: #fff6e6;
  font-weight: 700;
  font-size: calc(var(--d) * 0.46);
  transform: rotateY(-90deg) translateZ(calc(var(--p) / 2));
}
.sirt i { font-style: normal; font-weight: 500; opacity: 0.8; }
.sayfalar { top: 1.2%; height: 97.6%; background: repeating-linear-gradient(90deg, #f7f1e5 0 2px, #ddd2bd 2px 3px); transform: rotateY(90deg) translateZ(calc(var(--p) / 2 - 4px)); }
.cilt-ust, .cilt-alt { left: 0.6%; width: 98%; top: calc(50% - var(--d) / 2); height: var(--d); background: repeating-linear-gradient(0deg, #f7f1e5 0 2px, #ddd2bd 2px 3px); }
.cilt-ust { transform: rotateX(90deg) translateZ(calc(var(--p) / 2 - 4px)); }
.cilt-alt { transform: rotateX(-90deg) translateZ(calc(var(--p) / 2 - 4px)); }
.golge {
  position: absolute;
  left: 50%;
  top: calc(50% + var(--p) / 2);
  width: calc(var(--p) * 1.05);
  height: calc(var(--p) * 0.12);
  translate: -50% -50%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(43, 24, 11, 0.38), transparent);
}

.dekor { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.dekor > * { position: absolute; }
.dekor img { width: auto; max-width: none; }

.flama { position: absolute; z-index: 1; top: var(--bar); left: 0; width: 100%; height: auto; aspect-ratio: 1900 / 215; pointer-events: none; }
.dd { width: var(--b, 46px); filter: drop-shadow(0 4px 0 rgba(58, 34, 18, 0.16)); animation: sallan 6s ease-in-out infinite alternate; }
.d1 { --b: clamp(40px, 3.6vw, 60px); left: 1.5%; bottom: 8%; }
.d2 { --b: clamp(46px, 4.4vw, 72px); left: 41%; top: 27%; animation-delay: -2s; }
.d3 { --b: clamp(34px, 3vw, 50px); right: 4%; top: 31%; animation-delay: -4s; }
.d4 { --b: clamp(50px, 4.8vw, 78px); right: 6%; bottom: 20%; animation-delay: -1s; }
.d5 { --b: clamp(28px, 2.4vw, 38px); left: 25%; bottom: 13%; animation-delay: -3s; }
.d6 { --b: clamp(36px, 3.2vw, 52px); left: 45%; bottom: 23%; animation-delay: -5s; }
@keyframes sallan { from { rotate: -10deg; } to { rotate: 12deg; } }

.yp { width: var(--b, 44px); animation: sallan 4.5s ease-in-out infinite alternate; }
.y1 { --b: clamp(40px, 3.8vw, 62px); left: 43%; top: 17%; }
.y2 { --b: clamp(34px, 3.2vw, 52px); right: 5%; top: 20%; animation-delay: -1.5s; }
.y3 { --b: clamp(30px, 2.6vw, 44px); left: 4%; top: 13%; animation-delay: -3s; }
.y4 { --b: clamp(44px, 4vw, 66px); right: 10%; bottom: 33%; animation-delay: -2s; }
.y5 { --b: clamp(28px, 2.4vw, 40px); left: 28%; top: 10%; animation-delay: -0.5s; }
.y6 { --b: clamp(36px, 3.2vw, 54px); left: 49%; bottom: 36%; animation-delay: -2.5s; }
.y7 { --b: clamp(30px, 2.8vw, 46px); right: 2%; top: 52%; animation-delay: -3.5s; }
.y8 { --b: clamp(26px, 2.2vw, 36px); left: 33%; top: 30%; animation-delay: -1s; }
.tepe-citir { left: 40%; bottom: 7vh; height: clamp(120px, 19vh, 190px); rotate: -4deg; }
.tepe-kara { right: 2.5%; bottom: 8vh; height: clamp(110px, 17vh, 170px); rotate: 5deg; }

.gunes { right: 5%; top: calc(var(--bar) + 2%); width: clamp(100px, 11vw, 170px); animation: don 50s linear infinite; }
@keyframes don { to { rotate: 360deg; } }
.zb { fill: #fff; animation: suzul 80s linear infinite; }
.zb1 { left: 31%; top: 15%; width: clamp(120px, 12vw, 190px); }
.zb2 { right: 21%; top: 11%; width: clamp(90px, 9vw, 140px); opacity: 0.85; animation-direction: reverse; }
.zb3 { left: 3%; top: 11%; width: clamp(100px, 10vw, 150px); opacity: 0.9; animation-duration: 100s; }
.traktor { right: -2.5vw; bottom: 8vh; height: clamp(190px, 33vh, 330px); scale: -1 1; }
.tavuk { left: 40%; bottom: 9vh; height: clamp(90px, 13vh, 130px); }

.kitap--pasakli { background: var(--asi); --cicek: var(--petrol); }
.kitap--pasakli h2 { color: var(--petrol-koyu); }
.kumas {
  position: absolute;
  inset: auto 0 0;
  height: 74px;
  background: url(../img/sahne/yama.svg) left top / 240px 120px repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='12'%3E%3Cpath d='M0 12 12 0l12 12z'/%3E%3C/svg%3E") top left / 24px 12px repeat-x, linear-gradient(#000 0 0) bottom / 100% calc(100% - 11px) no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='12'%3E%3Cpath d='M0 12 12 0l12 12z'/%3E%3C/svg%3E") top left / 24px 12px repeat-x, linear-gradient(#000 0 0) bottom / 100% calc(100% - 11px) no-repeat;
}

.kitap--balkabagi { background: var(--hardal); }
.kitap--balkabagi h2 { color: #472714; }
.tarla {
  position: absolute;
  left: -10%;
  right: -10%;
  bottom: -40px;
  height: 22vh;
  background: #a69a56;
  border-radius: 50% 50% 0 0 / 80px 80px 0 0;
}

.kitap--zipir { background: #c4e2e1; --cicek: var(--kirmizi); }
.kitap--zipir h2 { color: #2f7a22; }
.cimen {
  position: absolute;
  inset: auto 0 0;
  height: 15vh;
  background: var(--cimen);
  -webkit-mask: radial-gradient(14px at 50% 14px, #000 97%, #0000) top left / 28px 15px repeat-x, linear-gradient(#000 0 0) bottom / 100% calc(100% - 14px) no-repeat;
  mask: radial-gradient(14px at 50% 14px, #000 97%, #0000) top left / 28px 15px repeat-x, linear-gradient(#000 0 0) bottom / 100% calc(100% - 14px) no-repeat;
}

/* boyama */

.boyama {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 90px);
  align-items: center;
  padding: calc(var(--bar) + 40px) clamp(24px, 6vw, 100px) 90px;
  background-color: #fff1d6;
  background-image: linear-gradient(rgba(214, 168, 80, 0.18) 1px, transparent 1px), linear-gradient(90deg, rgba(214, 168, 80, 0.18) 1px, transparent 1px);
  background-size: 30px 30px;
}
.boyama-kitap { max-width: 500px; }
.boyama-kapak {
  width: min(280px, 60vw);
  rotate: -4deg;
  margin: 0 0 28px 6px;
  border-radius: 2px 5px 5px 2px;
  box-shadow: 3px 3px 0 #f6f1e6, 6px 6px 0 #ddd3bf, 16px 24px 32px rgba(90, 60, 20, 0.25);
}
.boyama h2 { color: var(--kirmizi); font-size: clamp(42px, 4.4vw, 70px); margin-bottom: 16px; }

.boya-masa {
  background: #fff;
  border-radius: 6px;
  padding: clamp(20px, 3vw, 36px);
  box-shadow: 0 2px 0 #eadfca, 0 20px 40px rgba(120, 80, 20, 0.16);
  rotate: 1deg;
  text-align: center;
}
.boya-masa h3 { font-size: clamp(28px, 2.6vw, 40px); color: var(--petrol); }
.boya-ipucu { font-size: 16px; margin: 8px auto 6px; max-width: 420px; }
.boya-resim { width: 100%; max-height: 52vh; margin: 0 auto; touch-action: manipulation; }
.cizgi path { stroke: var(--kahve); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; }
.boyanir > * { fill: #fff; stroke: var(--kahve); stroke-width: 6; stroke-linejoin: round; cursor: pointer; transition: fill 0.25s; }
.boyanir > *:hover { stroke-width: 7; }
.cil circle { fill: var(--kahve); pointer-events: none; }
.cizgi { pointer-events: none; }

.boyalar { display: flex; justify-content: center; align-items: flex-end; gap: 8px; height: 104px; margin-top: 10px; }
.boyalar button {
  width: 34px;
  height: 84px;
  border: 0;
  padding: 0;
  cursor: pointer;
  background-color: var(--renk);
  background-image: linear-gradient(transparent 34%, rgba(255, 255, 255, 0.35) 34% 40%, transparent 40% 72%, rgba(0, 0, 0, 0.14) 72% 78%, transparent 78%);
  clip-path: polygon(30% 0, 70% 0, 100% 22%, 100% 100%, 0 100%, 0 22%);
  transition: transform 0.2s cubic-bezier(0.3, 1.6, 0.5, 1);
}
.boyalar button[aria-checked="true"] { transform: translateY(-18px); }
.boyalar button:focus-visible { outline: 3px solid var(--kahve); outline-offset: 3px; }
.boya-sil { margin-top: 8px; border: 0; background: none; font-weight: 700; font-size: 16px; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }

/* kahramanlar */

.kahramanlar {
  position: relative;
  padding-top: calc(var(--bar) + 40px);
  background: #dff0ee;
  overflow: hidden;
}
.kahraman-baslik { text-align: center; padding: 0 20px; }
.kahramanlar h2 { font-size: clamp(42px, 5vw, 76px); color: var(--petrol); }
.kahraman-baslik p { font-weight: 600; font-size: 20px; margin-top: 10px; }

.kahraman { position: relative; border: 0; padding: 0; background: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.kahraman img { height: 100%; width: auto; max-width: none; transition: filter 0.2s; }
.kahraman:hover img { filter: drop-shadow(0 6px 0 rgba(58, 34, 18, 0.12)); }
.kahraman:focus-visible { outline: 3px dashed var(--kahve); outline-offset: 6px; border-radius: 12px; }

.k-pasakli { position: absolute; z-index: 5; top: calc(var(--bar) + 20px); left: 3%; height: clamp(150px, 17vw, 250px); animation: yuz 7s ease-in-out infinite; }

.sahne-zemin {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: clamp(0px, 1.2vw, 20px);
  padding: 120px 3vw 0;
  margin-top: -50px;
}
.sahne-zemin::before, .sahne-zemin::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; }
.sahne-zemin::before { height: 130px; background: #7dbb45; }
.sahne-zemin::after {
  z-index: 3;
  height: 64px;
  background: #5a9b34;
  pointer-events: none;
  -webkit-mask: radial-gradient(12px at 50% 12px, #000 97%, #0000) top left / 24px 13px repeat-x, linear-gradient(#000 0 0) bottom / 100% calc(100% - 12px) no-repeat;
  mask: radial-gradient(12px at 50% 12px, #000 97%, #0000) top left / 24px 13px repeat-x, linear-gradient(#000 0 0) bottom / 100% calc(100% - 12px) no-repeat;
}
.sahne-zemin .kahraman { z-index: 2; height: var(--boy); margin-bottom: 30px; flex: none; }
.k-zipir { --boy: clamp(180px, 19vw, 300px); }
.k-citir { --boy: clamp(170px, 18vw, 285px); }
.k-balkabagi { --boy: clamp(250px, 26.5vw, 420px); margin-bottom: 18px !important; z-index: 1 !important; }
.k-filizcik { --boy: clamp(170px, 17.5vw, 275px); }
.k-kara { --boy: clamp(165px, 16.5vw, 262px); }
.kahramanlar .gunes { position: absolute; right: 7%; top: calc(var(--bar) + 18px); }
.kb { position: absolute; fill: #fff; animation: suzul 90s linear infinite; }
.kb1 { left: 24%; top: 34%; width: clamp(110px, 11vw, 180px); }
.kb2 { right: 26%; top: 20%; width: clamp(80px, 8vw, 130px); opacity: 0.85; animation-direction: reverse; }

.balon {
  position: absolute;
  z-index: 10;
  left: 50%;
  bottom: calc(100% + 6px);
  width: max-content;
  max-width: 250px;
  padding: 14px 18px;
  border-radius: 22px;
  background: #fff;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.4;
  text-align: left;
  box-shadow: 0 4px 0 rgba(58, 34, 18, 0.12);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 12px) scale(0.85);
  transform-origin: 50% 100%;
  transition: opacity 0.2s, transform 0.3s cubic-bezier(0.3, 1.6, 0.5, 1);
}
.balon::after { content: ""; position: absolute; left: 50%; top: 100%; margin-left: -10px; border: 10px solid transparent; border-top-color: #fff; }
.balon b { display: block; font-size: 18px; color: var(--petrol); }
.kahraman.acik .balon { opacity: 1; transform: translate(-50%, 0) scale(1); }
.k-pasakli .balon { left: 70%; bottom: auto; top: 100%; transform-origin: 50% 0; }
.k-pasakli .balon::after { top: auto; bottom: 100%; border-top-color: transparent; border-bottom-color: #fff; }
.k-pasakli.acik .balon { transform: translate(-50%, 6px) scale(1); }

/* yazar */

.yazar {
  position: relative;
  padding: calc(var(--bar) + 50px) clamp(24px, 6vw, 100px) 220px;
  background: var(--petrol);
  color: var(--krem);
  overflow: hidden;
}
.yazar-ic {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 24px clamp(30px, 6vw, 100px);
}
.yazar h2 { grid-column: 1 / -1; font-size: clamp(22px, 2vw, 28px); color: var(--hardal); }
.yazar-buyuk { font-weight: 700; font-size: clamp(30px, 3.4vw, 52px); line-height: 1.18; }
.yazar-metin { grid-column: 2; grid-row: 2 / span 2; font-size: 18px; padding-top: 10px; }
.yelpaze { grid-column: 1; grid-row: 3; display: flex; padding: 18px 0 0 8px; }
.yelpaze a { width: clamp(96px, 9.5vw, 150px); margin-right: -26px; transition: translate 0.2s; }
.yelpaze a:nth-child(1) { rotate: -10deg; }
.yelpaze a:nth-child(2) { rotate: -3deg; translate: 0 -10px; }
.yelpaze a:nth-child(3) { rotate: 4deg; translate: 0 -6px; }
.yelpaze a:nth-child(4) { rotate: 11deg; translate: 0 6px; }
.yelpaze a:hover { translate: 0 -18px; z-index: 1; }
.yelpaze img { border-radius: 2px 5px 5px 2px; box-shadow: 0 0 0 3px var(--krem), 0 14px 24px rgba(0, 0, 0, 0.3); }
.yuruyus { position: absolute; left: 0; bottom: 26px; display: flex; gap: 18px; align-items: flex-end; }
.yuruyus img { height: clamp(110px, 11vw, 170px); width: auto; transform-origin: 50% 100%; }

/* iletişim */

.iletisim {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  align-items: end;
  gap: 30px;
  padding: calc(var(--bar) + 40px) clamp(24px, 6vw, 100px) 0;
  background: var(--turuncu);
  overflow: hidden;
}
.iletisim-ic { padding-bottom: 90px; max-width: 620px; }
.iletisim h2 { font-size: clamp(38px, 4.2vw, 66px); margin-bottom: 18px; }
.telefon {
  display: inline-block;
  margin: 10px 0 22px;
  font-weight: 700;
  font-size: clamp(40px, 5.6vw, 84px);
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 6px solid var(--kahve);
}
.telefon:hover { color: #fff; border-color: #fff; }
.iletisim-dugmeler { display: flex; flex-wrap: wrap; gap: 12px; }
.iletisim-not { margin-top: 26px; font-weight: 600; font-size: 16px; }
.iletisim-koy { width: calc(100% + 60px); max-width: 700px; justify-self: end; margin: 0 calc(-1 * clamp(24px, 6vw, 100px) - 40px) -6px 0; }

.alt { padding: 46px clamp(24px, 6vw, 100px) 40px; background: var(--kahve-koyu); color: var(--krem); font-size: 14px; }
.alt p { opacity: 0.75; margin-bottom: 6px; }
.alt .alt-masal { opacity: 1; font-weight: 700; font-size: clamp(20px, 2.2vw, 30px); line-height: 1.3; max-width: 900px; margin-bottom: 20px; color: var(--hardal); }

@media (min-width: 900px) and (max-width: 1199px) {
  .kitap { grid-template-columns: minmax(0, 45fr) minmax(0, 55fr); }
  .kitap-sahne { --p: min(36vw, 60vh, 560px); }
  .d2 { left: 47.5%; top: 22%; }
  .y1 { left: 47%; }
}
@media (min-width: 900px) and (max-height: 700px) {
  .flama { translate: 0 -38%; }
}

@media (min-width: 900px) and (max-height: 820px) {
  .kitap { min-height: 600px; padding-bottom: 84px; }
  .kitap h2 { font-size: clamp(36px, 3.4vw, 54px); margin-bottom: 10px; }
  .kanca { font-size: 19px; }
  .kitap-yazi p { font-size: 16px; margin-bottom: 9px; }
  .kitap-yazi .kunye { font-size: 14px; margin-top: 10px; }
  .satin { margin-top: 12px; }
  .satin a { padding: 9px 16px; font-size: 15px; }
  .cicek { width: 74px; height: 74px; top: -64px; }
  .cicek b { font-size: 15px; }
  .hero-bulut { width: min(620px, 92vw, 92vh); }
}

/* dar ekran */

@media (max-width: 899px) {
  :root { --bar: 64px; }
  body { font-size: 17px; }
  .bar-ad { font-size: 21px; }
  .bar-menu {
    display: block;
    border: 0;
    background: var(--kahve);
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    padding: 8px 18px;
    border-radius: 999px;
  }
  .bar-nav {
    position: fixed;
    inset: var(--bar) 0 auto;
    flex-direction: column;
    gap: 0;
    padding: 10px 24px 26px;
    background: var(--krem);
    box-shadow: 0 12px 24px rgba(58, 34, 18, 0.15);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: 0.25s;
  }
  .bar-nav a { font-size: 26px; font-weight: 700; padding: 10px 0; border: 0; }
  .menu-acik .bar { background: var(--krem); }
  .menu-acik .bar-nav { transform: none; opacity: 1; pointer-events: auto; }

  .hero { min-height: 600px; }
  .ucan { width: 34vw; }
  .u1 { left: -5%; top: 9%; }
  .u2 { left: -6%; bottom: 17%; width: 31vw; }
  .u3 { right: -5%; top: 8%; }
  .u4 { right: -6%; bottom: 20%; width: 30vw; }
  .hero-bulut { top: 46%; width: 96vw; }
  .hero-yazi { padding: 0 12%; }
  .hero-yazi p { margin: 8px 0 16px; }
  .hero-zipir { width: 20%; top: -22%; right: 4%; }
  .hero-pasakli { width: 58vw; translate: -78% 0; bottom: -1%; }
  .dugme { font-size: 17px; padding: 12px 22px; }

  .kitap {
    height: auto;
    min-height: 0;
    grid-template-columns: 1fr;
    padding: calc(var(--bar) + 80px) 22px 40px;
    gap: 0;
  }
  .cicek { top: -80px; left: auto; right: 8px; width: 84px; height: 84px; }
  .kitap-sahne { height: 58vh; height: 58svh; margin: 10px -22px 0; overflow: hidden; }
  .kitap-sahne { --p: min(78vw, 46svh); }
  .flama { height: 104px; aspect-ratio: auto; }
  .dekor { top: auto; height: 74svh; }
  .d2, .d5, .d6, .y1, .y5, .y8, .zb3 { display: none; }
  .d1 { left: 4%; bottom: 14%; }
  .d3 { right: 5%; top: 14%; }
  .y3 { left: 5%; top: 8%; }
  .tepe-citir { left: 3%; bottom: 3svh; height: 15svh; }
  .tepe-kara { right: 3%; bottom: 4svh; height: 13svh; }
  .traktor { height: 22svh; bottom: 3svh; right: -6vw; }
  .tavuk { left: 4%; bottom: 4svh; height: 10svh; }
  .gunes { width: 80px; top: 2%; }
  .zb1 { left: 8%; top: 4%; }
  .zb2 { right: 30%; top: 1%; }
  .kahramanlar .gunes, .kb2 { display: none; }
  .kumas { height: 54px; }
  .tarla { height: 16vh; }
  .cimen { height: 14vh; }

  .boyama { grid-template-columns: 1fr; padding-top: calc(var(--bar) + 30px); }
  .boya-masa { rotate: 0deg; padding: 20px 12px; }
  .boyalar { gap: 5px; }
  .boyalar button { width: 30px; height: 76px; }

  .k-pasakli { position: relative; top: 0; left: 0; display: block; margin: 20px auto 0; height: 150px; }
  .k-pasakli .balon { left: 50%; }
  .sahne-zemin {
    justify-content: flex-start;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    padding: 150px 30px 0;
    margin-top: 0;
    gap: 6px;
    scrollbar-width: none;
  }
  .sahne-zemin::-webkit-scrollbar { display: none; }
  .sahne-zemin::before, .sahne-zemin::after { left: 0; right: auto; width: 1200px; }
  .sahne-zemin .kahraman { scroll-snap-align: center; }
  .k-zipir { --boy: 190px; }
  .k-citir { --boy: 180px; }
  .k-balkabagi { --boy: 240px; }
  .k-filizcik { --boy: 175px; }
  .k-kara { --boy: 170px; }
  .balon { max-width: 210px; font-size: 15px; }

  .yazar { padding-bottom: 170px; }
  .yazar-ic { grid-template-columns: 1fr; }
  .yazar-metin, .yelpaze { grid-column: auto; grid-row: auto; }
  .yelpaze { justify-content: center; padding: 10px 0 0; }

  .iletisim { grid-template-columns: 1fr; padding-top: calc(var(--bar) + 20px); }
  .iletisim-ic { padding-bottom: 10px; }
  .iletisim-koy { justify-self: end; width: 104%; margin: 0 -40px -6px 0; }
}

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