/* Özaltın Turizm · Hakkımızda: "Adana'dan kartpostal" (önek hk-)
   Koyu düz renk sahnede tek nesne: kartpostalın önü ve arkası üst üste.
   Pul tabakası kartların altında, renkli alanın içinde durur; pul oradan kalkıp karta yapışır. */

.hk-simgeler { position: absolute; width: 0; height: 0; overflow: hidden; }
.oz-ust-beyaz .oz-menu a[aria-current="page"] { color: #fff; font-weight: 700; }

/* Kartlar ile pul tabakası aynı genişlikte: sol ve sağ kenarları aynı çizgide */
.hk { --kume: min(86vw, 1760px, max(1380px, calc((100svh - 470px) * 2.4))); }

/* ---------- Sahne ---------- */
.hk {
  --yarim: clamp(60px, 3.5vw, 88px);
  position: relative;
  overflow: hidden; overflow: clip;
  padding: var(--icerik-ust) 0 clamp(26px, 1.8vw, 48px);
  color: #fff;
}
/* Damganın vurduğu yerden yayılan renk */
.hk-renkler { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.hk-renkler span { position: absolute; border-radius: 50%; transform: scale(0); will-change: transform; }

.hk-giris { position: relative; padding: 0 20px; text-align: center; }
.hk-giris h1 { font-size: clamp(27px, 1.8vw, 46px); line-height: 1.1; letter-spacing: -.03em; font-weight: 700; text-wrap: balance; }
.hk-giris p { margin-top: 10px; font-size: clamp(14px, .8vw, 18px); line-height: 1.5; color: rgba(255, 255, 255, .68); }

.hk-kap {
  position: relative;
  width: var(--kume);
  margin: clamp(28px, 2.2vw, 56px) auto 0;
  container-type: inline-size;
}
.hk-sahne {
  position: relative;
  aspect-ratio: 2.4;
  font-size: 16px;
  font-size: max(13px, calc(100cqw / 97));
  touch-action: pan-y;
}

/* ---------- Adana simgeleri: iki yanda üçer, serpiştirilmiş ve silik ----------
   --x kartların dışında kalan boşluğun oranıdır; boşluk daralınca simge karta binmez. */
.hk-adana {
  position: absolute; top: 0; bottom: 0; left: 50%;
  width: 100vw; margin-left: -50vw;
  pointer-events: none;
}
.hk-simge {
  --bos: calc((100vw - var(--kume)) / 2 + var(--kume) * .07 - 26px);
  --x: .5; --y: 50%; --a: 0deg;
  position: absolute; top: var(--y);
  width: var(--w, 56px); height: auto;
  opacity: var(--o, .32);
}
.hk-simge-sol { left: calc(var(--bos) * var(--x)); transform: translate(-50%, -50%) rotate(var(--a)); }
.hk-simge-sag { right: calc(var(--bos) * var(--x)); transform: translate(50%, -50%) rotate(var(--a)); }

.hk-simge-buyuk-saat { --x: .68; --y: 6%;  --a: -9deg;  --w: clamp(38px, 2.8vw, 74px);  --o: .32; }
.hk-simge-pamuk      { --x: .25; --y: 37%; --a: 15deg;  --w: clamp(28px, 1.85vw, 50px); --o: .25; }
.hk-simge-kebap      { --x: .57; --y: 77%; --a: -7deg;  --w: clamp(36px, 2.6vw, 70px);  --o: .29; }

.hk-simge-taskopru   { --x: .38; --y: 19%; --a: 6deg;   --w: clamp(40px, 3.1vw, 82px);  --o: .3; }
.hk-simge-portakal   { --x: .74; --y: 55%; --a: -17deg; --w: clamp(26px, 1.65vw, 44px); --o: .25; }
.hk-simge-karpuz     { --x: .27; --y: 91%; --a: 13deg;  --w: clamp(32px, 2.2vw, 60px);  --o: .28; }

/* ---------- Kartpostalın önü ---------- */
.hk-on {
  position: absolute; left: 7%; top: 1%; width: 55%; height: 88%;
  transform: rotate(-3deg);
  user-select: none; -webkit-user-select: none;
  cursor: grab;
}
.hk-on:active { cursor: grabbing; }
.hk-f {
  position: absolute; inset: 0; margin: 0;
  display: flex; flex-direction: column;
  padding: .75em .75em 0; border-radius: .7em;
  background: #fff; color: var(--lac);
  box-shadow: 0 2.4em 3.6em -2em rgba(0, 0, 0, .6);
  opacity: 0; transform: translate3d(-3.5%, 1%, 0) rotate(-2.5deg);
  transition: opacity .65s var(--e), transform .85s var(--e);
}
.hk-f.is-on { z-index: 1; opacity: 1; transform: none; }
.hk-f-foto { position: relative; flex: 1; min-height: 0; overflow: hidden; border-radius: .35em; }
.hk-f-foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* Öndeki kart sağ tarafı örter: konusu sağda olan fotoğraf görünen tarafa kayar */
@media (min-width: 1101px) {
  .hk-f[data-foto="buyuk-saat"] img { transform: scale(1.4); transform-origin: 100% 0; }
  .hk-f[data-foto="yilankale"] img { transform: scale(1.25); transform-origin: 100% 55%; }
}
.hk-f figcaption { flex: none; height: 3em; display: flex; align-items: center; padding: 0 .4em; font-size: .95em; font-weight: 600; }

/* ---------- Kartpostalın arkası ---------- */
.hk-arka {
  position: absolute; z-index: 2; left: 37%; top: 6%; width: 56%; height: 88%;
  display: grid; grid-template-columns: minmax(0, 1.22fr) minmax(0, 1fr);
  padding: 2em 0;
  border-radius: .7em;
  background: #fbfaf6; color: var(--lac);
  box-shadow: 0 2.4em 3.6em -2em rgba(0, 0, 0, .62);
  transform: rotate(1deg);
}
/* Kartpostalın orta çizgisi */
.hk-sol { position: relative; min-width: 0; display: flex; flex-direction: column; padding: 0 2.1em; }
.hk-sol::after { content: ""; position: absolute; right: 0; top: .4em; bottom: .4em; width: 1px; background: #cdd3dc; }

.hk-antet { display: flex; align-items: baseline; justify-content: space-between; gap: 1em; }
.hk-antet b { font-size: 1.3em; letter-spacing: -.035em; font-weight: 800; }
.hk-antet span { font-size: .82em; color: var(--soluk); }

.hk-yazilar { flex: 1; display: grid; margin-top: 1.4em; padding-bottom: 3em; }
.hk-m {
  grid-area: 1 / 1; min-width: 0;
  display: flex; flex-direction: column; align-items: flex-start; justify-content: center;
  opacity: 0; visibility: hidden; transform: translate3d(0, .7em, 0);
  transition: opacity .4s ease, transform .55s var(--e), visibility 0s linear .55s;
}
.hk-m.is-on {
  opacity: 1; visibility: visible; transform: none;
  transition: opacity .7s var(--e) .3s, transform .8s var(--e) .3s, visibility 0s;
}
.hk-m h2 { font-size: 2.35em; line-height: 1.06; letter-spacing: -.035em; font-weight: 800; text-wrap: balance; }
.hk-m > p { margin-top: .9em; font-size: 1.06em; line-height: 1.6; color: #3d4860; }
.hk-m .hk-unvan { font-size: max(11px, .78em); line-height: 1.5; font-weight: 600; color: var(--lac); }
.hk-unvan span { display: block; margin-bottom: .2em; font-weight: 400; color: var(--soluk); }
.hk-git {
  display: inline-flex; align-items: center; gap: .6em;
  margin-top: 1.5em; height: 3.2em; min-height: 40px; padding: 0 1.25em; border-radius: 14px;
  background: var(--renk); color: #fff; white-space: nowrap;
  text-decoration: none; font-weight: 700;
  transition: background-color 1s var(--e), translate .55s var(--e);
}
.hk-git:hover { translate: 0 -2px; }
.hk-git svg { width: 1.15em; height: 1.15em; fill: currentColor; }

.hk-sag { min-width: 0; display: flex; flex-direction: column; justify-content: space-between; padding: 0 2em; }
.hk-pul-yeri { position: relative; align-self: flex-end; width: 9.6em; height: 12em; }

.hk-gonderen { display: grid; font-size: .86em; line-height: 1.3; }
.hk-gonderen > span { padding: .72em 0 .42em; border-bottom: 1px solid #cdd3dc; }
.hk-gonderen .hk-gonderen-ad { padding: 0; border: 0; color: var(--soluk); }
.hk-gonderen a { font-weight: 600; text-decoration: none; }

/* ---------- Pul: kenarı gerçek tırtıklı (12 x 15 diş) ---------- */
.hk-pul {
  position: relative; display: block;
  width: 100%; aspect-ratio: 12 / 15;
  background: #fff;
  container-type: inline-size;
  -webkit-mask:
    linear-gradient(#000 0 0) center / 91.67% 93.34% no-repeat,
    radial-gradient(circle closest-side, #0000 56%, #000 62%) -4.5455% -3.5714% / 8.3333% 6.6667% repeat;
  mask:
    linear-gradient(#000 0 0) center / 91.67% 93.34% no-repeat,
    radial-gradient(circle closest-side, #0000 56%, #000 62%) -4.5455% -3.5714% / 8.3333% 6.6667% repeat;
}
.hk-pul-ic { position: absolute; inset: 7% 8.75%; overflow: hidden; background: #dfe6ee; }
.hk-pul-ic img { width: 100%; height: 100%; object-fit: cover; }
.hk-pul-ic b {
  position: absolute; left: 0; bottom: 0;
  padding: 3cqw 6cqw;
  background: #fff; color: var(--lac);
  font-size: 11cqw; line-height: 1; font-weight: 800; letter-spacing: -.02em;
}
/* Kartın kâğıdından ayrılsın diye pulun altı hafif koyu */
.hk-pul-yeri::before { content: ""; position: absolute; inset: .3em; background: #eceae3; }
.hk-kartta { position: absolute; left: 0; top: 0; transform: rotate(2deg); opacity: 0; }
.hk-kartta.is-on { z-index: 1; opacity: 1; }

.hk-damga {
  position: absolute; z-index: 2; left: -7.4em; top: 4.2em;
  width: 16.4em; height: auto; max-width: none;
  color: #24407f; pointer-events: none;
  opacity: 0; transform: rotate(-4deg) scale(1.28);
  transition: opacity .3s ease, transform .5s var(--e);
}
.hk-damga.is-on { opacity: .85; transform: rotate(-9deg) scale(1); }
html:not(.js) .hk-damga { opacity: .85; transform: rotate(-9deg); }
html.js .hk:not(.is-hazir) .hk-kartta { opacity: 0; }

/* Tabaka ile kart arasında uçan pul */
.hk-ucan { position: absolute; z-index: 15; pointer-events: none; will-change: transform; }

/* ---------- Pul tabakası ---------- */
.hk-tabaka {
  position: relative; z-index: 1;
  width: var(--kume);
  margin: clamp(30px, 2.4vw, 60px) auto 0; padding: 0; list-style: none;
  color: #fff;
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr));
}
.hk-tabaka li { position: relative; min-width: 0; }
/* Tabakanın delik sırası */
.hk-tabaka li + li::before {
  content: ""; position: absolute; z-index: 1; left: -4px; top: 0; bottom: 0; width: 8px;
  background: radial-gradient(circle, rgba(255, 255, 255, .17) 0 1.8px, transparent 2.4px) center top / 8px 12px repeat-y;
  pointer-events: none;
}
.hk-sec {
  width: 100%; height: calc(var(--yarim) * 2 + 16px);
  display: flex; align-items: center; gap: clamp(10px, .9vw, 22px);
  padding: 0 clamp(12px, 1.2vw, 30px);
  border: 0; border-radius: 12px; background: none; color: inherit;
  text-align: left; cursor: pointer;
}
.hk-yuva { position: relative; flex: none; width: clamp(62px, 4.2vw, 108px); aspect-ratio: 12 / 15; transform: rotate(var(--egim, 0deg)); }
/* Yalnız pullar elle dizilmiş gibi çok hafif eğik; yazılar düz */
.hk-tabaka li:nth-child(1) { --egim: -2.5deg; }
.hk-tabaka li:nth-child(2) { --egim: 2deg; }
.hk-tabaka li:nth-child(3) { --egim: -1.5deg; }
.hk-tabaka li:nth-child(4) { --egim: 2.5deg; }
.hk-tabaka li:nth-child(5) { --egim: -2deg; }
.hk-tabaka li:nth-child(6) { --egim: 1.5deg; }
/* Pul kalkınca kalan boş yer, sahne renginin açık tonu */
.hk-yuva::before { content: ""; position: absolute; inset: 6%; border-radius: 3px; background: #fff; opacity: .12; }
.hk-yuva .hk-pul {
  position: relative; background: #fff;
  transition: opacity .35s ease, transform .6s var(--e);
}
.hk-sec:hover .hk-yuva .hk-pul { transform: translate3d(0, -4px, 0) rotate(-2deg); }
.hk-yuva .hk-pul.is-yok { opacity: 0; transition: none; }
.hk-sec-yazi { min-width: 0; display: grid; gap: 5px; line-height: 1.22; }
.hk-sec-yazi b { font-size: clamp(14px, .8vw, 19px); font-weight: 700; transition: color .6s var(--e); }
.hk-sec-yazi small { font-size: clamp(11.5px, .6vw, 14px); color: rgba(255, 255, 255, .64); }
.hk-sec.is-sec .hk-sec-yazi b { color: var(--altin); }
.hk-sec:focus-visible { outline-offset: -3px; }

.hk-kaynak { position: relative; width: var(--kume); margin: 0 auto; padding-top: 22px; font-size: 12px; line-height: 1.7; color: rgba(255, 255, 255, .64); }
.hk-kaynak summary { width: fit-content; cursor: pointer; }
.hk-kaynak p { margin-top: 10px; }
.hk-kaynak ul { margin: 6px 0 0; padding: 0; list-style: none; columns: 3 300px; column-gap: 32px; }
.hk-kaynak[open] > div { animation: hk-belir .6s var(--e); }
@keyframes hk-belir { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Ekranlar ---------- */
@media (min-width: 1401px) and (max-width: 2000px) {
  .hk-sec { gap: 12px; padding: 0 14px; }
  .hk-yuva { width: 64px; }
}
@media (max-width: 1400px) {
  /* Yanlarda yer kalmayınca simgeler kartlara binmesin */
  .hk-adana { display: none; }
  .hk { --kume: 92vw; }
  .hk-sahne { aspect-ratio: 2.25; }
  .hk-arka { left: 36%; width: 57%; }
  .hk-sec { flex-direction: column; justify-content: center; gap: 8px; height: auto; padding: 14px 8px; text-align: center; }
  .hk-sec-yazi small { display: none; }
}
@media (max-width: 1100px) {
  .hk { padding-top: var(--icerik-ust); --kume: min(620px, calc(100% - 32px)); }
  .hk-sahne { aspect-ratio: auto; font-size: 15px; }
  .hk-on { position: relative; left: auto; top: auto; width: 92%; height: auto; margin: 0 auto; aspect-ratio: 4 / 3; }
  .hk-arka {
    position: relative; left: auto; top: auto; width: 100%; height: auto;
    margin-top: -24px; padding: 22px 0 24px;
    grid-template-columns: minmax(0, 1fr);
  }
  .hk-sag { order: -1; padding: 0 20px; }
  .hk-pul-yeri { width: 6.4em; height: 8em; }
  .hk-damga { left: -5.2em; top: 2.4em; width: 11em; }
  .hk-gonderen { display: none; }
  .hk-sol { padding: 0 22px; margin-top: 4px; }
  .hk-sol::after { display: none; }
  .hk-antet { position: absolute; left: 22px; top: -8em; display: grid; }
  .hk-yazilar { margin-top: 12px; padding-bottom: 0; }
  .hk-m { justify-content: flex-start; }
  .hk-m h2 { font-size: 28px; }
  .hk-m > p { font-size: 16px; }
}
@media (max-width: 700px) {
  .hk-tabaka {
    display: flex; overflow-x: auto; scrollbar-width: none;
  }
  .hk-tabaka::-webkit-scrollbar { display: none; }
  .hk-tabaka li { flex: none; width: 124px; }
}
