/* Gökseven Arıcılık
   Renkler işletmenin adından gelir: sayfa gökte başlar, balda biter.
   Yazı: başlıklarda Fraunces (zarif, yumuşak uçlu serif), metinde Figtree. */

/* Yazı dosyaları sitenin içinde durur; internet olmadan da doğru görünür */
@font-face {
  font-family: "Fraunces"; font-style: normal; font-weight: 300 600; font-display: swap;
  src: url("../assets/fonts/fraunces-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Fraunces"; font-style: normal; font-weight: 300 600; font-display: swap;
  src: url("../assets/fonts/fraunces-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: "Figtree"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("../assets/fonts/figtree-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Figtree"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("../assets/fonts/figtree-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 {
  --gok: #16395C;
  --gok-koyu: #0F2A45;
  --gok-acik: #DCE9F2;
  --zemin: #F6F9FB;
  --bal: #E9A820;
  --balmumu: #F7E3A6;
  --metin: #16395C;
  --metin-yumusak: #3F5B76;
  --cizgi: rgba(22, 57, 92, 0.16);
  --wa: #128C4A;

  --baslik: "Fraunces", "Iowan Old Style", Georgia, serif;
  --govde: "Figtree", "Segoe UI", system-ui, sans-serif;

  /* Yazı rolleri */
  --y-acilis: clamp(2.75rem, 1.3rem + 5.7vw, 6rem);
  --y-bolum: clamp(2.125rem, 1.5rem + 2.6vw, 3.5rem);
  --y-urun: clamp(1.875rem, 1.45rem + 1.7vw, 2.75rem);
  --y-soz: clamp(1.5rem, 1.15rem + 1.5vw, 2.25rem);
  --y-adim: clamp(1.3125rem, 1.2rem + 0.45vw, 1.5rem);
  --y-giris: clamp(1.1875rem, 1.1rem + 0.42vw, 1.4375rem);
  --y-metin: clamp(1.0625rem, 1.02rem + 0.2vw, 1.1875rem);
  --y-kucuk: 0.9375rem;

  --kenar: clamp(20px, 5vw, 56px);
  --bosluk: clamp(72px, 10vw, 136px);
  --yumusak-cikis: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scrollbar-color: #9DB4C9 var(--zemin); }

body {
  margin: 0;
  background: var(--zemin);
  color: var(--metin);
  font-family: var(--govde);
  font-size: var(--y-metin);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--bal); color: var(--gok-koyu); }

img { display: block; max-width: 100%; height: auto; }

h1, h2, h3, p, ul, ol, dl, dd, address { margin: 0; }
ul, ol { padding: 0; list-style: none; }
address { font-style: normal; }

h1, h2, h3 { font-family: var(--baslik); font-weight: 400; text-wrap: balance; }
h2 { font-size: var(--y-bolum); line-height: 1.06; letter-spacing: -0.018em; }

a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 0.07em; }

:focus-visible { outline: 3px solid var(--gok); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: var(--kenar); }

.sprite { position: absolute; }

.skip {
  position: absolute; left: 12px; top: -80px; z-index: 40;
  padding: 10px 16px; border-radius: 6px;
  background: var(--bal); color: var(--gok-koyu); font-weight: 600;
}
.skip:focus { top: 12px; }

/* Marka yazısı (üst çubuk ve alt bilgi) */

.brand {
  font-family: var(--baslik); font-weight: 600; font-size: 1.5rem; line-height: 1; letter-spacing: -0.012em;
  text-decoration: none; white-space: nowrap;
}
.brand span { font-weight: 300; }

/* Butonlar */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
  min-height: 54px; padding: 0.5em 1.6em;
  border: 1.5px solid transparent; border-radius: 999px;
  font-weight: 600; font-size: 1.0625rem; line-height: 1.1; text-decoration: none; white-space: nowrap;
  font-variant-numeric: tabular-nums;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.btn-honey { background: var(--bal); color: var(--gok-koyu); }
.btn-honey:hover { background: var(--balmumu); }
.btn-light { background: #fff; color: var(--gok-koyu); }
.btn-light:hover { background: var(--gok-acik); }
.btn-navy { background: var(--gok-koyu); color: #fff; }
.btn-navy:hover { background: var(--gok); }
.btn-line { border-color: var(--gok-koyu); color: var(--gok-koyu); }
.btn-line:hover { background: var(--gok-koyu); color: #fff; }

.icon { width: 1.15em; height: 1.15em; flex: none; }
.icon-wa { color: var(--wa); }

.actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Üst çubuk: açılışın üstünde saydam, açılış geçilince sabit ve dolu */

.head { position: absolute; inset: 0 0 auto; z-index: 30; color: #fff; }
.head :focus-visible { outline-color: var(--bal); }
.head-row { display: flex; align-items: center; gap: clamp(20px, 3vw, 44px); padding-block: 22px; }
.head .brand { margin-right: auto; }
.menu { display: flex; gap: clamp(18px, 2.6vw, 36px); font-weight: 500; font-size: 1rem; }
.menu a { text-decoration: none; padding-block: 6px; background: linear-gradient(currentColor, currentColor) left bottom / 0 1.5px no-repeat; transition: background-size 0.3s var(--yumusak-cikis); }
.menu a:hover { background-size: 100% 1.5px; }
.head-call {
  display: inline-flex; align-items: center; gap: 0.5em;
  padding: 0.6em 1.15em; border: 1.5px solid rgba(255, 255, 255, 0.72); border-radius: 999px;
  font-weight: 600; font-size: 1rem; line-height: 1; text-decoration: none; white-space: nowrap; font-variant-numeric: tabular-nums;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.head-call:hover { background: #fff; border-color: #fff; color: var(--gok-koyu); }

/* Açılış */

.hero {
  position: relative; isolation: isolate;
  display: grid; grid-template-rows: 1fr auto;
  min-height: clamp(600px, 100svh, 920px);
  /* Fotoğraf yüklenmezse beyaz yazı yine okunsun */
  background: var(--gok);
  color: #fff; overflow: hidden;
}
.hero :focus-visible { outline-color: var(--bal); }
.hero-photo { position: absolute; inset: 0; z-index: -2; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 100%; }
/* Yazı gökyüzünün üstünde okunaklı kalsın diye üstten, soldan ve alttan koyu gök perdesi */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(15, 42, 69, 0.58) 0%, rgba(15, 42, 69, 0) 32%),
    linear-gradient(0deg, rgba(15, 42, 69, 0.66) 0%, rgba(15, 42, 69, 0) 20%),
    linear-gradient(98deg, rgba(15, 42, 69, 0.72) 0%, rgba(15, 42, 69, 0.4) 40%, rgba(15, 42, 69, 0) 70%);
}

.hero-body { padding-block: clamp(128px, 21vh, 210px) clamp(40px, 7vh, 80px); }
.hero h1 { max-width: 10.4em; font-size: var(--y-acilis); line-height: 1; letter-spacing: -0.024em; }
.hero-lead { max-width: 25em; margin-top: 1.1em; font-size: var(--y-giris); line-height: 1.45; }
.hero-actions { margin-top: clamp(26px, 4.4vh, 44px); }

.hero-foot {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 32px;
  padding: 18px 0 22px; border-top: 1px solid rgba(255, 255, 255, 0.3);
  font-size: var(--y-kucuk); font-weight: 500; letter-spacing: 0.005em;
}

/* Bölümler */

.band { padding-block: var(--bosluk); scroll-margin-top: 56px; }
.band-sky { background: var(--gok-acik); }
.band-deep { background: var(--gok); color: #fff; }
.band-deep :focus-visible { outline-color: var(--bal); }
.band-honey { background: var(--bal); color: var(--gok-koyu); }
.band-honey :focus-visible { outline-color: var(--gok-koyu); }

/* Ballar */

.opener { display: grid; grid-template-columns: 4fr 7fr; gap: clamp(20px, 5vw, 80px); align-items: end; }
.statement { max-width: 21em; font-family: var(--baslik); font-weight: 300; font-size: var(--y-soz); line-height: 1.3; letter-spacing: -0.012em; text-wrap: balance; }

.plate { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 6vw, 96px); align-items: center; margin-top: clamp(56px, 8vw, 112px); }
.plate-photo { overflow: hidden; border-radius: 20px; }
.plate-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform 1.4s var(--yumusak-cikis); }
.plate:hover .plate-photo img { transform: scale(1.035); }
.plate-flip { grid-template-columns: 5fr 7fr; }
.plate-flip .plate-photo { order: 2; }

.plate-text h3 { font-size: var(--y-urun); line-height: 1.06; letter-spacing: -0.018em; }
.plate-lead { margin-top: 0.7em; font-size: var(--y-giris); line-height: 1.45; color: var(--metin-yumusak); }
.facts { margin-top: 1.7em; border-top: 1px solid var(--cizgi); }
.facts div { display: grid; grid-template-columns: 6.6em 1fr; gap: 18px; padding: 0.85em 0; border-bottom: 1px solid var(--cizgi); }
.facts dt { font-size: var(--y-kucuk); line-height: 1.9; color: var(--metin-yumusak); }
.textlink { display: inline-block; margin-top: 1.7em; font-weight: 600; text-decoration-color: var(--bal); text-decoration-thickness: 0.14em; text-underline-offset: 0.28em; transition: text-decoration-color 0.2s ease; }
.textlink:hover { text-decoration-color: currentColor; }

/* Görüntüler: solda dikey video, yanında fotoğraflar. Fotoğrafların yüksekliğini video belirler. */

.gallery { display: grid; grid-template-columns: 320px 1fr; gap: 20px; margin-top: clamp(40px, 5.5vw, 72px); }
/* Video 478 px genişliğinde çekilmiş; daha büyük gösterilirse bulanıklaşır */
.gallery-video { display: block; width: 100%; height: auto; aspect-ratio: 478 / 850; border-radius: 20px; background: var(--gok-koyu); }
.gallery-grid { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1.3fr 1fr; gap: 20px; }
.gallery-grid picture { position: relative; overflow: hidden; border-radius: 16px; }
.gallery-grid img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gallery-wide { grid-column: 1 / -1; }

/* Hikâye */

.story { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
/* Koyu zeminde açık yazı: bir tık fazla satır aralığı ve harf aralığı */
.story-text p { max-width: 28em; margin-top: 1.1em; color: var(--gok-acik); line-height: 1.7; letter-spacing: 0.004em; }
.story-photos { position: relative; padding-bottom: clamp(40px, 7vw, 96px); padding-left: clamp(28px, 5vw, 72px); }
.story-main img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 20px; }
.story-inset { position: absolute; left: 0; bottom: 0; width: 34%; }
.story-inset img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 16px; border: 6px solid var(--gok); }
.closing { margin-top: clamp(56px, 8vw, 112px); padding-top: clamp(32px, 4.5vw, 56px); border-top: 1px solid rgba(255, 255, 255, 0.22); }
.motto {
  max-width: 19em;
  font-family: var(--baslik); font-weight: 300; font-size: clamp(1.75rem, 1.2rem + 2.5vw, 3.25rem); line-height: 1.3; letter-spacing: -0.016em;
  color: var(--balmumu); text-wrap: balance;
}

/* Sipariş adımları: gerçekten sıralı olduğu için numaralı */

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 56px); margin-top: clamp(40px, 5.5vw, 72px); counter-reset: adim; }
.steps li { counter-increment: adim; padding-top: 18px; border-top: 2px solid var(--bal); }
.steps li::before {
  content: counter(adim); display: block; margin-bottom: 0.28em;
  font-family: var(--baslik); font-weight: 300; font-size: clamp(3rem, 2.4rem + 2.2vw, 4.25rem); line-height: 1; font-variant-numeric: lining-nums;
}
.steps h3 { font-weight: 500; font-size: var(--y-adim); line-height: 1.2; letter-spacing: -0.008em; }
.steps p { margin-top: 0.55em; color: var(--metin-yumusak); }
.steps a { color: var(--metin); font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }

/* İletişim: sayfa balda biter */

.contact { display: grid; grid-template-columns: 7fr 4fr; gap: clamp(36px, 6vw, 96px); align-items: end; }
.bignum {
  display: inline-block; margin-block: 0.22em 0.42em;
  font-family: var(--baslik); font-weight: 400;
  font-size: clamp(2.5rem, 1rem + 7.4vw, 6rem); line-height: 1; letter-spacing: -0.022em;
  font-variant-numeric: lining-nums tabular-nums;
  text-decoration: none; white-space: nowrap;
  background: linear-gradient(currentColor, currentColor) left 96% / 0 2px no-repeat;
  transition: background-size 0.5s var(--yumusak-cikis);
}
.bignum:hover { background-size: 100% 2px; }
.contact-where h3 { font-weight: 500; font-size: var(--y-adim); line-height: 1.2; }
.contact-where address { margin-top: 0.5em; font-size: var(--y-giris); line-height: 1.45; }
.maplink { display: inline-block; margin-top: 0.9em; font-weight: 600; text-decoration-thickness: 0.1em; text-underline-offset: 0.28em; }

/* Alt bilgi */

.foot { background: var(--gok-koyu); color: var(--gok-acik); padding-block: 34px; font-size: var(--y-kucuk); }
.foot :focus-visible { outline-color: var(--bal); }
.foot-row { display: flex; flex-wrap: wrap; gap: 8px 36px; align-items: baseline; }
.foot .brand { margin-right: auto; color: #fff; font-size: 1.375rem; }
.foot a { text-decoration: none; font-variant-numeric: tabular-nums; }
.foot a:hover { text-decoration: underline; }

/* Mobilde sabit arama çubuğu */

.callbar { display: none; }

/* Hareket: tek bir açılış anı */

@media (prefers-reduced-motion: no-preference) {
  .hero-photo img { animation: yerles 2s var(--yumusak-cikis) both; }
  .hero h1, .hero-lead, .hero-actions, .hero-foot { animation: yuksel 1.1s var(--yumusak-cikis) both; }
  .hero-lead { animation-delay: 0.12s; }
  .hero-actions { animation-delay: 0.22s; }
  .hero-foot { animation-delay: 0.4s; }
}
@keyframes yerles { from { transform: scale(1.06); } to { transform: none; } }
@keyframes yuksel { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes in { from { transform: translateY(-100%); } to { transform: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .bignum, .menu a, .head-call, .textlink, .plate-photo img { transition: none; }
  .plate:hover .plate-photo img { transform: none; }
}

/* Geniş ekranda, açılış geçilince üst çubuk sabitlenir */

@media (min-width: 721px) {
  .gecti .head {
    position: fixed; background: var(--zemin); color: var(--gok);
    border-bottom: 1px solid var(--cizgi);
  }
  .gecti .head :focus-visible { outline-color: var(--gok); }
  .gecti .head-row { padding-block: 12px; }
  .gecti .head-call { background: var(--bal); border-color: var(--bal); color: var(--gok-koyu); }
  .gecti .head-call:hover { background: var(--balmumu); border-color: var(--balmumu); }
}
@media (min-width: 721px) and (prefers-reduced-motion: no-preference) {
  .gecti .head { animation: in 0.5s var(--yumusak-cikis) both; }
}

/* Dar ekranlar */

@media (max-width: 980px) {
  .menu { display: none; }
}

@media (max-width: 860px) {
  .opener { grid-template-columns: 1fr; }
  .plate, .plate-flip { grid-template-columns: 1fr; gap: 26px; }
  .plate-flip .plate-photo { order: 0; }

  .gallery { grid-template-columns: 1fr; gap: 12px; }
  .gallery-video { width: min(100%, 300px); margin-inline: auto; }
  .gallery-grid { grid-template-rows: auto; gap: 12px; }
  .gallery-grid picture { aspect-ratio: 1; }
  .gallery-grid .gallery-wide { aspect-ratio: 3 / 2; }

  .story { grid-template-columns: 1fr; }
  .story-photos { padding-left: 0; padding-bottom: 56px; }
  .story-inset { left: auto; right: 16px; width: 36%; }

  .steps { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; align-items: start; }
}

@media (max-width: 720px) {
  body { padding-bottom: 78px; }
  .head-call, .hero-actions, .hero-foot { display: none; }
  .head-row { padding-block: 18px; }
  .hero { min-height: clamp(560px, 100svh, 820px); }
  .hero-photo img { object-position: 50% 100%; }
  .hero::before {
    background: linear-gradient(180deg, rgba(15, 42, 69, 0.66) 0%, rgba(15, 42, 69, 0.36) 46%, rgba(15, 42, 69, 0) 70%);
  }
  .hero-body { padding-top: clamp(104px, 17vh, 150px); }
  .facts div { grid-template-columns: 5.6em 1fr; }

  .callbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: var(--gok-koyu);
  }
  .callbar :focus-visible { outline-color: var(--bal); }
  .callbar .btn { min-height: 52px; padding-inline: 0.6em; }
}
