/* Solmayan Bahçe — karşılama */

@font-face {
  font-family: "Playfair Kitap";
  src: url("../kitap/fonts/PlayfairDisplay-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #4b3a2b;
  --ink-soft: rgba(75, 58, 43, .62);
  --ink-faint: rgba(75, 58, 43, .14);
  --desk: #eee2c8;
  --olive: #5d6a2a;
  --olive-deep: #4a5520;
  --accent: #d97a2b;
  --serif: "Playfair Kitap", Georgia, "Times New Roman", serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  font-family: var(--serif);
  font-feature-settings: "locl" 0;
  color: var(--ink);
  background: var(--desk);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
img { -webkit-user-drag: none; user-select: none; }

/* zemin: kitaptaki krem kâğıt, lif dokusu, vinyet */
.desk {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-color: var(--desk);
  background-image:
    radial-gradient(ellipse 75% 70% at 50% 46%, rgba(255, 248, 232, .75) 0%, rgba(255, 248, 232, 0) 62%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .36 0 0 0 0 .26 0 0 0 0 .15 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='900' height='900'%3E%3Cfilter id='m'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.006 .012' numOctaves='4' seed='7'/%3E%3CfeColorMatrix values='0 0 0 0 .55 0 0 0 0 .4 0 0 0 0 .22 0 0 0 .1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23m)'/%3E%3C/svg%3E");
  background-size: auto, 300px 300px, 900px 900px;
}
.desk::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 120% 95% at 50% 45%, rgba(0, 0, 0, 0) 58%, rgba(92, 62, 30, .2) 100%);
}

/* ---------- düzen ---------- */
.wrap {
  flex: 1;
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding: 40px 56px 16px;
  display: grid;
  grid-template-columns: minmax(300px, 430px) minmax(0, 1fr);
  grid-template-rows: 1fr auto auto auto 1fr;
  column-gap: 76px;
  justify-items: center;
  text-align: center;
}
.cover { grid-column: 1; grid-row: 2; }
.head  { grid-column: 1; grid-row: 3; display: flex; flex-direction: column; align-items: center; }
.cta   { grid-column: 1; grid-row: 4; }
.film  { grid-column: 2; grid-row: 2 / span 3; align-self: center; justify-self: stretch; text-align: left; }

.cover {
  display: block;
  width: 100%;
  max-width: 400px;
  margin-bottom: 30px;
  border-radius: 2px 4px 4px 2px;
  box-shadow:
    0 1px 1px rgba(70, 45, 20, .12),
    0 6px 12px -4px rgba(70, 45, 20, .22),
    0 24px 44px -16px rgba(70, 45, 20, .42);
  transition: transform .5s cubic-bezier(.3, .9, .3, 1), box-shadow .5s;
  position: relative;
}
.cover img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: inherit;
}
/* sırt: sol kenarda ince cilt kıvrımı */
.cover::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5%;
  border-radius: 2px 0 0 2px;
  background: linear-gradient(to right, rgba(60, 40, 15, .22), rgba(255, 252, 240, .18) 35%, rgba(60, 40, 15, 0));
  pointer-events: none;
}
.cover:hover { transform: translateY(-3px); box-shadow: 0 1px 1px rgba(70, 45, 20, .12), 0 10px 18px -6px rgba(70, 45, 20, .24), 0 34px 56px -18px rgba(70, 45, 20, .45); }

.title {
  margin: 0;
  font-weight: 400;
  font-size: 40px;
  line-height: 1.1;
  letter-spacing: .01em;
}
.author {
  margin: 12px 0 0;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.author::before, .author::after {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
  opacity: .5;
}
.tagline {
  margin: 22px 0 0;
  max-width: 22em;
  font-size: 18px;
  line-height: 1.5;
  color: var(--accent);
  color: #c86a22;
}

.cta {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.read {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 56px;
  padding: 0 30px 0 34px;
  border-radius: 999px;
  background: var(--olive);
  color: #fbf4e4;
  font-size: 18px;
  letter-spacing: .02em;
  text-decoration: none;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .18) inset, 0 12px 26px -12px rgba(60, 70, 20, .7);
  transition: background-color .25s, transform .25s, box-shadow .25s;
}
.read svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s; }
.read:hover { background: var(--olive-deep); transform: translateY(-1px); box-shadow: 0 1px 0 rgba(255, 255, 255, .18) inset, 0 16px 30px -12px rgba(60, 70, 20, .75); }
.read:hover svg { transform: translateX(3px); }
.read:active { transform: none; }
.cta__hint {
  margin: 0;
  font-size: 13px;
  letter-spacing: .02em;
  color: var(--ink-soft);
}
:focus-visible { outline: 2px solid color-mix(in srgb, var(--accent) 70%, transparent); outline-offset: 3px; }

/* ---------- film ---------- */
.film { min-width: 0; }
.film__title {
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 400;
  font-size: 13px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.film__title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--ink-faint);
}
.film__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  background: #f6edd6;
  box-shadow:
    0 0 0 1px rgba(120, 90, 55, .12),
    0 8px 16px -6px rgba(70, 45, 20, .2),
    0 30px 60px -24px rgba(70, 45, 20, .45);
}
.film__frame video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #f6edd6;
}

/* ---------- alt satır ---------- */
.foot {
  padding: 8px 24px max(18px, env(safe-area-inset-bottom));
  text-align: center;
  font-size: 11px;
  letter-spacing: .14em;
  color: rgba(75, 58, 43, .5);
}

/* ---------- orta ekran ---------- */
@media (max-width: 1100px) {
  .wrap { column-gap: 44px; padding: 40px 32px 20px; grid-template-columns: minmax(260px, 360px) minmax(0, 1fr); }
  .title { font-size: 34px; }
}

/* ---------- telefon / dikey: tek sütun ---------- */
@media (max-width: 820px) {
  .wrap {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    align-content: center;
    gap: 0;
    padding: 32px 20px 8px;
    max-width: 560px;
  }
  .cover, .head, .cta, .film { grid-column: 1; grid-row: auto; }
  .cover { max-width: 300px; margin-bottom: 24px; }
  .title { font-size: 32px; }
  .tagline { font-size: 16px; margin-top: 14px; max-width: 18em; }
  .film { order: 3; margin-top: 34px; width: 100%; }
  .cta { order: 4; margin-top: 30px; }
  .film__title { justify-content: center; }
  .film__title::before { content: ""; flex: 1; height: 1px; background: var(--ink-faint); }
  .film__frame { border-radius: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .cover, .read, .read svg { transition: none; }
}
