/* Yachting Master — the single home page of a signed-in person (tek-ana.js) and the premium side menu (app.js openMenu).
   Loaded after tema.css and before rtl.css. Navy + gold, Georgia-style display headings (var(--f-display)); logical properties only (RTL ready);
   motion only where prefers-reduced-motion allows it; 44 px touch targets. Colours come from the tema.css tokens (light and dark theme). */

/* ---------- home: the one hero ---------- */
.tek-ana{gap:0}
/* the hero below is full-bleed (100vw): the clip sits on the page, NOT on .tek-ana (that would cut the hero at the 1120 px column) */
body:has(.tek-ana){overflow-x:clip}
.tek-ana .tk-hero{margin-block-start:0;border-radius:0;min-block-size:0;border:0;box-shadow:none;inline-size:100vw;max-inline-size:100vw;margin-inline:calc(50% - 50vw)}
.tek-ana .tk-hero .kfoto{object-position:72% 60%}
.tek-ana .tk-hero .kperde{background:linear-gradient(90deg,rgba(6,17,30,.94) 0%,rgba(6,17,30,.78) 42%,rgba(6,17,30,.28) 78%,rgba(6,17,30,.1) 100%)}
[dir=rtl] .tek-ana .tk-hero .kperde{background:linear-gradient(270deg,rgba(6,17,30,.94) 0%,rgba(6,17,30,.78) 42%,rgba(6,17,30,.28) 78%,rgba(6,17,30,.1) 100%)}
.tek-ana .kyazi{max-inline-size:none;padding:34px clamp(20px,4vw,44px) 30px}
.tek-ana .kyazi .selam{color:var(--brass-bright)}
.tek-ana .kyazi h1{font-family:var(--f-display);font-weight:600;font-size:clamp(30px,4.4vw,46px);line-height:1.08;margin:12px 0 4px;max-inline-size:26ch}
.tek-ana .kyazi p.kad{margin:4px 0 0}
.tek-ana .kyazi p.tk-alt{margin:0;font-size:calc(15px*var(--yz,1))}
.tk-hizli{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-block-start:24px;max-inline-size:820px}
.tk-dugme{display:flex;align-items:center;gap:12px;min-block-size:76px;padding:12px 16px;border-radius:14px;border:1px solid rgba(244,240,231,.22);background:rgba(244,240,231,.09);color:#fff;font:inherit;text-align:start;cursor:pointer;
  backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);transition:background .18s,border-color .18s,transform .18s}
.tk-dugme:hover{background:rgba(244,240,231,.17);border-color:rgba(205,167,94,.7)}
.tk-dugme:active{transform:scale(.98)}
.tk-dugme:focus-visible{outline:2px solid var(--brass-bright);outline-offset:2px}
.tk-ik{flex:none;display:flex;align-items:center;justify-content:center;inline-size:44px;block-size:44px;border-radius:12px;background:rgba(205,167,94,.16);color:var(--brass-bright)}
.tk-yazi{display:flex;flex-direction:column;min-inline-size:0;line-height:1.25}
.tk-yazi b{font:700 calc(16px*var(--yz,1))/1.2 var(--f-body);color:#fff}
.tk-yazi small{margin-block-start:2px;font-size:calc(12.5px*var(--yz,1));color:var(--on-hull-2)}
.tk-jurnal{background:linear-gradient(180deg,rgba(232,208,150,.96),rgba(206,170,95,.96));border:1px solid rgba(244,226,176,.7);color:#0A1B2C;border-radius:18px;box-shadow:0 6px 22px rgba(0,0,0,.28),inset 0 1px 0 rgba(255,255,255,.35)}
.tk-hizli:has(.tk-jurnal){display:flex;max-inline-size:none}
.tk-dugme.tk-jurnal{min-block-size:52px;padding:8px 22px 8px 14px;gap:10px;border-radius:999px}
.tk-dugme.tk-jurnal .tk-ik{inline-size:34px;block-size:34px}
.tk-jurnal:hover{background:linear-gradient(180deg,#EFD9A3,#D4B06A);border-color:rgba(250,236,196,.9)}
.tk-jurnal .tk-ik{background:rgba(10,27,44,.10);color:#0A1B2C;border-radius:50%}
.tk-jurnal .tk-yazi b{color:#0A1B2C;font-weight:600;letter-spacing:.2px}.tk-jurnal .tk-yazi small{color:rgba(10,27,44,.72)}
@media (min-width:721px){.tek-ana .tk-hero{min-block-size:360px;display:flex;align-items:center}.tek-ana .kyazi{inline-size:100%}.tk-hizli{grid-template-columns:repeat(2,minmax(0,1fr));max-inline-size:500px}}
@media (max-width:720px){.tk-hizli{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:720px){
  .tek-ana .tk-hero .kfoto{inset:0;height:100%;object-position:78% 62%}
  .tek-ana .tk-hero .kperde{background:linear-gradient(180deg,rgba(6,17,30,.9) 0%,rgba(6,17,30,.78) 55%,rgba(6,17,30,.6) 100%)}
  [dir=rtl] .tek-ana .tk-hero .kperde{background:linear-gradient(180deg,rgba(6,17,30,.9) 0%,rgba(6,17,30,.78) 55%,rgba(6,17,30,.6) 100%)}
  .tek-ana .kyazi{padding:22px 16px 18px}
  .tek-ana .kyazi h1{font-size:clamp(28px,8.4vw,34px)}
  .tk-hizli{gap:10px;margin-block-start:18px}
  .tk-dugme{min-block-size:68px;padding:10px 12px;gap:10px}
  .tk-ik{inline-size:36px;block-size:36px;border-radius:10px}
  .tk-yazi b{font-size:calc(15px*var(--yz,1))}
}
@media (max-width:380px){.tk-yazi small{display:none}.tk-dugme{min-block-size:60px}}

/* ---------- home: the shared sections below the hero (breathing room, one rhythm) ---------- */
.tek-ana .ah.ah-govde{margin-block-start:8px}
.tek-ana .ah-govde .ah-kusak{padding-block:clamp(40px,6vw,72px)}
.tek-ana .ah-govde .ah-bas h2{font-family:var(--f-display)}
.tek-ana .ah-govde .ah-ic-genis{padding-inline:clamp(4px,2vw,24px)}
.tek-ana .ah-govde .ah-sss-bolum{padding-block-end:clamp(24px,4vw,40px)}

/* ---------- menu page "Paketler ve fiyatlar" ---------- */
.paketalt{margin-block-start:14px}
.paketsayfa>.panel>h3:first-child{display:none}   /* the page title (sayfaBas) already says "Paketler ve fiyatlar" */

/* ---------- premium side menu: navy, fine gold rules, gold edge on the active row ---------- */
.drawer{background:linear-gradient(180deg,#0E2740 0%,#0A1B2C 100%);color:#E9EEF4;border-inline-end:1px solid rgba(205,167,94,.4);gap:0;padding-inline:10px}
.drawer .dbas{align-items:center;gap:14px;padding:8px 12px 18px;margin:0 0 6px;border-block-end:0;position:relative}
.drawer .dbas::after{content:"";position:absolute;inset-inline:12px;inset-block-end:0;block-size:1px;background:linear-gradient(90deg,rgba(205,167,94,.75),rgba(205,167,94,.12))}
[dir=rtl] .drawer .dbas::after{background:linear-gradient(270deg,rgba(205,167,94,.75),rgba(205,167,94,.12))}
.drawer .dbas img{inline-size:46px;block-size:46px;border-radius:12px;box-shadow:0 0 0 1px rgba(205,167,94,.45)}
.drawer .dbas b{font-family:var(--f-display),Georgia,serif;font-weight:600;font-size:calc(21px*var(--yz,1));letter-spacing:.01em;color:#fff}
.drawer .dbas span{color:var(--on-hull-2)}
.drawer .dbas .dhesap{overflow-wrap:anywhere}
.drawer .dgrup{display:flex;flex-direction:column;gap:1px}
.drawer .dbaslik{margin:0;padding:14px 14px 6px;font:700 calc(11px*var(--yz,1))/1 var(--f-body);letter-spacing:.2em;text-transform:uppercase;color:var(--brass-bright)}
.drawer .dayrac{border:0;block-size:1px;margin:10px 12px 0;background:linear-gradient(90deg,rgba(205,167,94,.55),rgba(205,167,94,.08))}
[dir=rtl] .drawer .dayrac{background:linear-gradient(270deg,rgba(205,167,94,.55),rgba(205,167,94,.08))}
.drawer .ditem{position:relative;min-block-size:46px;border-radius:10px;color:#E9EEF4;font-weight:500;padding-block:10px;transition:background .16s,color .16s}
.drawer .ditem svg{inline-size:20px;block-size:20px;color:var(--brass-bright);opacity:.85;stroke-width:1.6;transition:opacity .16s}
.drawer .ditem::before{content:"";position:absolute;inset-inline-start:0;inset-block:9px;inline-size:3px;border-radius:3px;background:var(--brass-bright);transform:scaleY(0);transition:transform .18s ease}
.drawer .ditem:hover,.drawer .ditem:focus-visible{background:rgba(244,240,231,.07);color:#fff}
.drawer .ditem:hover svg,.drawer .ditem.on svg{opacity:1}
.drawer .ditem:hover::before,.drawer .ditem:focus-visible::before,.drawer .ditem.on::before{transform:scaleY(1)}
.drawer .ditem:focus-visible{outline:2px solid var(--brass-bright);outline-offset:-2px}
.drawer .ditem.on{background:linear-gradient(90deg,rgba(205,167,94,.2),rgba(205,167,94,.05));color:#fff;font-weight:600}
[dir=rtl] .drawer .ditem.on{background:linear-gradient(270deg,rgba(205,167,94,.2),rgba(205,167,94,.05))}
.drawer .ditem[data-menu="#cikis"],.drawer .ditem[data-menu="#cikis"] svg{color:#FFB4A3}
.drawer .drozet{background:var(--brass-bright);color:#0A1B2C}
.drawer .dsurum{color:var(--on-hull-2);padding:16px 14px 4px}
@media (pointer:coarse){.drawer .ditem{min-block-size:48px}}
@media (prefers-reduced-motion:no-preference){
  .drawer{animation:menuAc .26s cubic-bezier(.2,.8,.2,1)}
  .drawer .dbas,.drawer .dbaslik,.drawer .ditem{animation:menuOge .34s cubic-bezier(.2,.8,.2,1) both}
  .drawer .ditem{animation-delay:calc(60ms + var(--i,0) * 18ms)}
  @keyframes menuAc{from{transform:translateX(-28px);opacity:.4}to{transform:none;opacity:1}}
  @keyframes menuOge{from{opacity:0;transform:translateX(-8px)}to{opacity:1;transform:none}}
  html[dir="rtl"] .drawer{animation-name:menuAcRtl}
  html[dir="rtl"] .drawer .dbas,html[dir="rtl"] .drawer .dbaslik,html[dir="rtl"] .drawer .ditem{animation-name:menuOgeRtl}
  @keyframes menuAcRtl{from{transform:translateX(28px);opacity:.4}to{transform:none;opacity:1}}
  @keyframes menuOgeRtl{from{opacity:0;transform:translateX(8px)}to{opacity:1;transform:none}}
}
@media (prefers-reduced-motion:reduce){.tk-dugme,.drawer .ditem,.drawer .ditem::before{transition:none}.tk-dugme:active{transform:none}}

/* the hero picture is a vector scene (tek-ana.js SAHNE): it sits behind the veil and the text */
.tek-ana .tk-hero .kperde{z-index:1}
.tek-ana .tk-hero .kyazi{position:relative;z-index:2}

/* the hero text starts exactly where the sections below start (page column 1120 px, 24 px page padding, then the section padding) */
.tek-ana .tk-hero .kyazi{padding-inline:max(calc(24px + clamp(4px,2vw,24px)),calc((100vw - 1024px)/2))}
@media (max-width:520px){.tek-ana .tk-hero .kyazi{padding-inline:calc(14px + clamp(4px,2vw,24px))}}
/* ---------- HERO (Alper + ekip ortak kararı, 4 Dec): real, very sharp sunset yacht photo; the hero fills the screen (no empty band); the photo melts into a dusk sky
   that carries the greeting (text never sits on the yacht); one slim gold button in the thumb zone; very light motion ---------- */
.tek-ana .tk-hero{position:relative;overflow:hidden;isolation:isolate;
  background:linear-gradient(180deg,#0A1A30 0%,#14294A 28%,#3A4E73 50%,#1B2D4B 72%,#071423 100%)}
.tek-ana .tk-hero .tk-foto{position:absolute;inset:0;overflow:hidden;z-index:0}
.tek-ana .tk-hero .tk-img{display:block;inline-size:100%;block-size:100%;object-fit:cover;object-position:50% 82%;transform-origin:62% 74%;backface-visibility:hidden;will-change:transform}
/* soft warm light on the water: a plain low-opacity gradient that only slides (no blend mode, no big blur) */
.tek-ana .tk-hero .tk-parilti{position:absolute;inset-block:40% 0;inset-inline:-30%;pointer-events:none;opacity:.5;
  background:linear-gradient(105deg,rgba(255,226,170,0) 40%,rgba(255,226,170,.28) 50%,rgba(255,226,170,0) 60%)}
.tek-ana .tk-hero .kperde,[dir=rtl] .tek-ana .tk-hero .kperde{background:none}
@media (max-width:720px){
  /* phone: the hero fills the screen under the header; text on the dusk sky at the top, the WIDE photo (4:3, whole yacht) above a dark button band at the bottom; it melts into the sky above and into the band below, so nothing is drawn over the yacht */
  .tek-ana .tk-hero{display:block;min-block-size:clamp(500px,calc(100svh - 330px),660px)}
  .tek-ana .tk-hero .tk-foto{inset-block:auto 92px;inset-inline:0;block-size:auto;aspect-ratio:4/3;-webkit-mask-image:linear-gradient(180deg,transparent 0,#000 30%,#000 90%,transparent 100%);mask-image:linear-gradient(180deg,transparent 0,#000 30%,#000 90%,transparent 100%)}
  .tek-ana .tk-hero .kyazi{position:absolute;inset:0;z-index:2;display:flex;flex-direction:column;padding:26px 16px 22px;inline-size:auto}
  .tek-ana .tk-hero .tk-hizli{margin-block-start:auto;justify-content:center}
}
@media (min-width:721px){
  .tek-ana .tk-hero{min-block-size:clamp(440px,72svh,720px)}
  /* wide screens: the photo fills the end side (right in LTR, left in RTL) and fades into the dark side where the text is */
  .tek-ana .tk-hero .tk-foto{inset-inline-start:auto;inset-inline-end:0;inline-size:68%;-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 24%),linear-gradient(180deg,transparent 0,#000 20%,#000 80%,transparent 100%);mask-image:linear-gradient(90deg,transparent 0,#000 24%),linear-gradient(180deg,transparent 0,#000 20%,#000 80%,transparent 100%);-webkit-mask-composite:source-in;mask-composite:intersect}
  [dir=rtl] .tek-ana .tk-hero .tk-foto{-webkit-mask-image:linear-gradient(270deg,transparent 0,#000 24%),linear-gradient(180deg,transparent 0,#000 20%,#000 80%,transparent 100%);mask-image:linear-gradient(270deg,transparent 0,#000 24%),linear-gradient(180deg,transparent 0,#000 20%,#000 80%,transparent 100%);-webkit-mask-composite:source-in;mask-composite:intersect}
  .tek-ana .tk-hero{background:#0A1A2B}
  .tek-ana .tk-hero .kperde{background:linear-gradient(90deg,rgba(6,16,28,.9) 0%,rgba(6,16,28,.6) 30%,rgba(6,16,28,0) 62%)}
  [dir=rtl] .tek-ana .tk-hero .kperde{background:linear-gradient(270deg,rgba(6,16,28,.9) 0%,rgba(6,16,28,.6) 30%,rgba(6,16,28,0) 62%)}
}
/* the slim button: solid gold, flat (no glow), thumb zone on phones */
.tk-hizli:has(.tk-jurnal){display:flex;max-inline-size:none;margin-block-start:20px}
.tk-dugme.tk-jurnal{position:relative;overflow:hidden;display:inline-flex;align-items:center;justify-content:center;gap:10px;min-block-size:52px;padding:0 26px;border-radius:999px;border:0;
  background:linear-gradient(180deg,#F0D18A,#D8AC5A);color:#0A1B2C;font:600 calc(16px*var(--yz,1))/1 var(--f-body);letter-spacing:.2px;
  box-shadow:0 4px 14px rgba(0,0,0,.28);backdrop-filter:none;-webkit-backdrop-filter:none;transition:transform .16s,background .16s}
@media (max-width:720px){.tk-dugme.tk-jurnal{min-inline-size:min(72%,300px)}}
.tk-dugme.tk-jurnal:hover{background:linear-gradient(180deg,#F6DDA0,#E0B764)}
.tk-dugme.tk-jurnal:active{transform:scale(.97)}
.tk-jurnal .tk-yazi b{color:#0A1B2C;font:inherit}
.tk-jurnal .tk-ok{display:inline-flex;align-items:center}
[dir=rtl] .tk-jurnal .tk-ok svg{transform:scaleX(-1)}
/* motion (transform / opacity only, whole pixels where possible); "reduce motion" = the same photo, still */
@media (prefers-reduced-motion:no-preference){
  .tek-ana .tk-hero .tk-img{animation:tk-yaklas 40s ease-in-out infinite alternate}
  .tek-ana .tk-hero .tk-parilti{animation:tk-gez 15s ease-in-out infinite alternate}
}
@keyframes tk-yaklas{from{transform:scale(1)}to{transform:scale(1.04)}}
@keyframes tk-gez{from{transform:translateX(-20%)}to{transform:translateX(20%)}}
