/* =========================================================
   Alan's — tasarım sistemi
   Fikir: logodaki "ufukta batan güneş". Ufuk çizgisi sitenin
   tek imzası; geri kalan her şey sessiz ve düzenli.
   Altın renk yalnızca güneşte ve fiyatlarda kullanılır.
   ========================================================= */
:root {
  --night: #081a33;   /* zemin: gece denizi */
  --deep: #0f2c52;    /* yüzey: derin su */
  --aegean: #3b7ddd;  /* vurgu: Ege mavisi */
  --foam: #eaf1f8;    /* ana metin */
  --mist: #93a9c6;    /* ikincil metin */
  --sun: #f0b955;     /* güneş + fiyat */
  --line: rgba(147, 169, 198, 0.18);
  --line-strong: rgba(147, 169, 198, 0.34);

  --font: "Bricolage Grotesque", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --gutter: 16px;
  --maxw: 1120px;
}
@media (min-width: 768px) { :root { --gutter: 32px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--night);
  color: var(--foam);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--aegean); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(var(--maxw), 100% - var(--gutter) * 2); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Butonlar ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px;
  border-radius: 999px; border: 1px solid transparent; background: transparent;
  font-weight: 600; font-size: 16px; text-decoration: none; cursor: pointer;
  transition: background-color 0.2s ease-out, border-color 0.2s ease-out, transform 0.15s ease-out;
  -webkit-tap-highlight-color: transparent;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:active { transform: scale(0.97); }
.btn-sun { background: var(--sun); color: #1a1205; }
.btn-sun:hover { background: #f5c66f; }
.btn-line { border-color: var(--line-strong); }
.btn-line:hover { border-color: var(--foam); }

/* ---------- Üst bar ---------- */
.topbar {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: background-color 0.3s ease-out, border-color 0.3s ease-out;
  border-bottom: 1px solid transparent;
}
.topbar.solid { background: rgba(8, 26, 51, 0.92); border-color: var(--line); }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo img { width: 40px; height: 40px; }
.logo span { font-weight: 700; font-size: 20px; letter-spacing: -0.02em; }
.topnav { display: flex; align-items: center; gap: 28px; }
.topnav a:not(.btn) { color: var(--mist); text-decoration: none; font-size: 15px; transition: color 0.2s; }
.topnav a:not(.btn):hover { color: var(--foam); }
.topnav .btn { min-height: 42px; padding: 0 18px; font-size: 15px; }
@media (max-width: 720px) { .topnav a:not(.btn) { display: none; } }

/* ---------- Hero: gökyüzü / ufuk / deniz ---------- */
.hero {
  --p: 0;               /* kaydırma ilerlemesi 0→1 (JS) */
  --horizon: 60%;
  --sun-size: clamp(150px, 42vw, 300px);
  position: relative;
  height: 100svh; min-height: 620px; max-height: 1000px;
  overflow: hidden;
  isolation: isolate;
}
.sky {
  position: absolute; inset: 0 0 calc(100% - var(--horizon)) 0;
  background: linear-gradient(180deg, #0b2a55 0%, #1b4f92 55%, #5d8fcf 88%, #9dbde3 100%);
}
.sky::after { /* gece örtüsü: kaydırdıkça koyulaşır */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, #050f20 0%, #0a1f3e 70%, #12305a 100%);
  opacity: calc(var(--p) * 0.92);
}
.stars { position: absolute; inset: 0; z-index: 1; opacity: calc(var(--p) * 1.4 - 0.3); }
.stars i { position: absolute; width: 2px; height: 2px; border-radius: 50%; background: #fff; }
.sea {
  position: absolute; inset: var(--horizon) 0 0 0;
  background: linear-gradient(180deg, #123a6d 0%, #0d2b52 45%, var(--night) 100%);
}
.sea::after {
  content: ""; position: absolute; inset: 0;
  background: var(--night); opacity: calc(var(--p) * 0.55);
}

/* Güneş: ufkun üstünde, alt yarısı ufukta kesilir */
.sun-stage {
  position: absolute; left: 0; right: 0; top: 0; height: var(--horizon);
  overflow: hidden; z-index: 2; pointer-events: none;
}
.sun {
  position: absolute; left: var(--sun-x, 50%); bottom: 0;
  width: var(--sun-size); aspect-ratio: 1;
  translate: -50% 50%;
  transform: translateY(calc(var(--p) * 105%));
}
.sun .disc { position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle at 50% 40%, #ffe3a3, var(--sun) 62%); box-shadow: 0 0 80px 10px rgba(240, 185, 85, 0.35); }
.sun .rays { position: absolute; inset: -38%; }
.sun .rays line { stroke: var(--sun); stroke-width: 3.2; stroke-linecap: round; }

/* Güneşin sudaki yansıması */
.glare { position: absolute; left: var(--sun-x, 50%); top: calc(var(--horizon) + 14px); translate: -50% 0; z-index: 4; width: calc(var(--sun-size, 300px)); display: grid; gap: 9px; padding-top: 10px; opacity: calc(1 - var(--p) * 1.3); }
.glare i { display: block; height: 3px; border-radius: 3px; background: var(--sun); margin-inline: auto; opacity: 0.75; animation: glare 5s ease-in-out infinite; }
.glare i:nth-child(1) { width: 80%; }
.glare i:nth-child(2) { width: 58%; animation-delay: -1.2s; opacity: 0.6; }
.glare i:nth-child(3) { width: 40%; animation-delay: -2.4s; opacity: 0.45; }
.glare i:nth-child(4) { width: 24%; animation-delay: -3.6s; opacity: 0.3; }
@keyframes glare { 0%, 100% { transform: scaleX(1); } 50% { transform: scaleX(0.82); } }

.hero-sky-copy {
  position: absolute; z-index: 4; left: 0; right: 0; top: 0;
  padding-top: clamp(92px, 14vh, 140px);
}
.hero h1 {
  margin: 0;
  font-weight: 800;
  font-size: clamp(76px, 23vw, 200px);
  line-height: 0.85;
  letter-spacing: -0.02em;
  font-stretch: 88%;
}
.hero h1 .sub {
  display: block;
  font-weight: 400; font-stretch: 100%;
  font-size: clamp(22px, 5.4vw, 40px);
  letter-spacing: -0.02em; line-height: 1.1;
  margin-top: 14px; margin-left: 0.08em;
  color: rgba(234, 241, 248, 0.86);
}
.hero-sea-copy {
  position: absolute; z-index: 4; left: 0; right: 0; bottom: 0;
  padding-bottom: calc(28px + env(safe-area-inset-bottom));
}
.hero-sea-copy p { margin: 0 0 20px; max-width: 34ch; color: var(--mist); font-size: 17px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

@media (min-width: 900px) {
  .hero { --horizon: 64%; }
  .sun { --sun-x: 72%; }
  .glare { --sun-x: 72%; }
  .hero-sea-copy .wrap { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; }
  .hero-sea-copy p { margin: 0; }
}
@media (max-width: 899px) {
  .hero-actions { margin-top: 24px; }
  .hero-actions .btn { flex: 1 1 0; }
}
@media (max-width: 380px) {
  .hero-actions .btn { flex-basis: 100%; }
}

/* Açılış anı: güneş ufuktan yükselir, başlık gelir — sayfadaki tek koreografi */
.hero .sun .disc, .hero .sun .rays { animation: rise 1.6s var(--ease-out) both; }
.hero .sun .rays { animation: rise 1.6s var(--ease-out) both, raysIn 1.2s ease-out 0.9s both; }
.hero h1, .hero h1 .sub { animation: settle 1.1s var(--ease-out) 0.25s both; }
.hero h1 .sub { animation-delay: 0.45s; }
.hero-sea-copy { animation: fade 1s ease-out 0.8s both; }
@keyframes rise { from { transform: translateY(60%); } to { transform: none; } }
@keyframes raysIn { from { opacity: 0; scale: 0.85; } to { opacity: 1; scale: 1; } }
@keyframes settle { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Bölümler ---------- */
.block { padding-block: 80px; border-top: 1px solid var(--line); }
@media (min-width: 900px) { .block { padding-block: 112px; } }
.block h2 {
  margin: 0 0 24px;
  font-weight: 700; font-stretch: 85%;
  font-size: clamp(36px, 7vw, 64px);
  line-height: 1; letter-spacing: -0.035em;
  max-width: 14ch;
}
.lede { color: var(--mist); max-width: 58ch; margin: 0 0 16px; }

/* Hakkımızda: metin + gerçek bilgiler */
.about { display: grid; gap: 48px; }
@media (min-width: 900px) { .about { grid-template-columns: 1.3fr 1fr; gap: 96px; align-items: end; } }
.facts { margin: 0; display: grid; gap: 0; }
.facts div { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.facts div:first-child { border-top: 1px solid var(--line); }
.facts dt { color: var(--mist); }
.facts dd { margin: 0; font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.facts a { text-decoration: none; border-bottom: 1px solid var(--line-strong); }
.facts a:hover { border-color: var(--foam); }

/* Menüden seçmeler: gerçek bir menü kartı gibi */
.picks-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.picks-head h2 { margin: 0; }
.picks { list-style: none; margin: 0; padding: 0; display: grid; column-gap: 72px; }
@media (min-width: 900px) { .picks { grid-template-columns: 1fr 1fr; } }
.pick { padding: 20px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 1fr; gap: 16px; align-items: start; }
.pick:has(.pick-img) { grid-template-columns: 80px 1fr; }
.pick-img { width: 80px; height: 80px; border-radius: 14px; object-fit: cover; background: var(--deep); }
@media (min-width: 900px) { .pick:has(.pick-img) { grid-template-columns: 96px 1fr; } .pick-img { width: 96px; height: 96px; } }
.pick-line { display: flex; align-items: baseline; gap: 12px; }
.pick-name { font-weight: 600; font-size: 19px; letter-spacing: -0.01em; }
.pick-dots { flex: 1; border-bottom: 2px dotted var(--line-strong); transform: translateY(-5px); min-width: 24px; }
@media (max-width: 600px) { .pick-dots { visibility: hidden; min-width: 8px; } }
.pick-price { color: var(--sun); font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pick p { margin: 4px 0 0; color: var(--mist); font-size: 15px; max-width: 46ch; }
.pick small { display: block; color: var(--mist); font-size: 13px; margin-bottom: 4px; }

/* Ziyaret */
.visit { display: grid; gap: 48px; }
@media (min-width: 900px) { .visit { grid-template-columns: 1fr 1.15fr; gap: 72px; } }
.hours { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hours td { padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--mist); }
.hours td:last-child { text-align: right; }
.hours tr.today td { color: var(--foam); font-weight: 600; }
.hours tr.today td:first-child::after { content: "bugün"; margin-left: 10px; font-size: 12px; font-weight: 600; color: var(--night); background: var(--foam); border-radius: 999px; padding: 2px 8px; vertical-align: 2px; }
.address { margin: 28px 0 20px; font-size: 19px; line-height: 1.45; max-width: 30ch; }
.visit-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.map { border-radius: 20px; overflow: hidden; background: var(--deep); min-height: 320px; height: 100%; border: 1px solid var(--line); }
.map iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; filter: grayscale(0.4) contrast(1.05); }

/* ---------- Dalgalar (ortak) ----------
   SVG'ler sayfanın 2 katı genişlikte; yarısı kadar kaydırılınca
   desen kusursuz tekrar eder. */
.sw, .fw { max-width: none; }
@keyframes waveX { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 2px; } }

/* Ufuk: düz çizgi yerine hafifçe kıpırdayan deniz */
.swell { position: absolute; left: 0; right: 0; top: calc(var(--horizon) - 14px); height: 40px; z-index: 3; pointer-events: none; overflow: hidden; filter: brightness(calc(1 - var(--p) * 0.45)); }
.sw { position: absolute; left: 0; top: 0; width: 200%; height: 40px; }
.crest { fill: none !important; vector-effect: non-scaling-stroke; }
.sw1 path { fill: #2f62a3; }
.sw1 .crest { stroke: rgba(234, 241, 248, 0.55); stroke-width: 1.2; }
.sw2 .crest { stroke: rgba(234, 241, 248, 0.22); stroke-width: 1; }
.sw2 path { fill: #1d4a86; }
.sw3 path { fill: #123a6d; }
.sw1 { animation: waveX 34s linear infinite, bob 6s ease-in-out infinite; }
.sw2 { animation: waveX 24s linear infinite reverse, bob 5s ease-in-out -2s infinite; }
.sw3 { animation: waveX 18s linear infinite, bob 4.5s ease-in-out -1s infinite; }


/* Zıplayan balıklar: suyun içinden çıkar, kavis çizip geri dalar.
   Her balık, alt kenarı su çizgisinde olan bir kutu içinde uçar;
   böylece su altındaki kısmı görünmez. */
.fish-layer { position: absolute; inset: 0; z-index: 3; pointer-events: none; overflow: hidden; opacity: calc(1 - var(--p) * 1.6); }
.fish-box { position: absolute; overflow: hidden; }
.fish { position: absolute; left: 0; top: 0; max-width: none; width: 40px; height: 22px; }
.fish path { fill: #cfe0f2; }
.fish circle { fill: #0b2a55; }
.ripple { position: absolute; width: 36px; height: 7px; margin: -3px 0 0 -18px; border: 1.5px solid rgba(234, 241, 248, 0.7); border-radius: 50%; }
.drop { position: absolute; width: 3px; height: 3px; border-radius: 50%; background: rgba(234, 241, 248, 0.85); }

/* ---------- Alt bilgi ---------- */
.foot { position: relative; color: var(--mist); font-size: 15px; margin-top: 40px; }
.foot-horizon { position: relative; height: 72px; overflow: hidden; }
.foot-sun { position: absolute; left: 50%; bottom: 18px; translate: -50% 0; width: 96px; height: 96px; border-radius: 50%; background: radial-gradient(circle at 50% 40%, #ffe3a3, var(--sun) 62%); box-shadow: 0 0 60px rgba(240, 185, 85, 0.35); transform: translateY(55%); }
.fw { position: absolute; left: 0; bottom: 0; width: 200%; height: 48px; }
.fw1 path { fill: #0d2647; }
.fw1 .crest { stroke: rgba(234, 241, 248, 0.3); stroke-width: 1; }
.fw2 path { fill: #061428; }
.fw1 { animation: waveX 36s linear infinite reverse, bob 6s ease-in-out infinite; }
.fw2 { animation: waveX 26s linear infinite, bob 5s ease-in-out -2s infinite; }

.foot-body { background: #061428; padding: 40px 0 0; }
.foot-grid { display: grid; gap: 40px; grid-template-columns: 1fr; padding-bottom: 48px; }
@media (min-width: 360px) { .foot-grid { grid-template-columns: 1fr 1fr; column-gap: 24px; } .foot-brand { grid-column: 1 / -1; } }
@media (min-width: 1000px) { .foot-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 56px; } .foot-brand { grid-column: auto; } }

.foot-logo { display: inline-flex; align-items: center; gap: 16px; text-decoration: none; color: var(--foam); }
.foot-logo img { width: 64px; height: 64px; }
.foot-logo span { font-weight: 800; font-stretch: 88%; font-size: 34px; line-height: 1; letter-spacing: -0.02em; }
.foot-logo small { display: block; font-weight: 400; font-stretch: 100%; font-size: 15px; letter-spacing: 0; color: var(--mist); margin-top: 6px; }
.foot-brand p { margin: 20px 0 24px; max-width: 36ch; line-height: 1.6; }

.foot-col h3 { margin: 0 0 14px; font-size: 15px; font-weight: 600; color: var(--foam); }
.foot-col .foot-h-gap { margin-top: 32px; }
.foot-col p { margin: 0 0 10px; line-height: 1.55; }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot-col a { text-decoration: none; transition: color 0.2s ease-out; }
.foot-col a:hover { color: var(--foam); }
.foot-link { display: inline-flex; align-items: center; gap: 6px; color: var(--foam); border-bottom: 1px solid var(--line-strong); padding-bottom: 2px; }
.foot-link:hover { border-color: var(--sun); }

.foot-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13.5px; }
/* İmza: sayfanın en dibinde, ortada, sessiz */
.signature { display: flex; justify-content: center; align-items: baseline; gap: 6px; margin: 0; padding: 22px 0 calc(18px + env(safe-area-inset-bottom)); font-size: 12.5px; color: var(--mist); opacity: 0.75; transition: opacity 0.3s; }
.signature:hover { opacity: 1; }
.sig { font-family: "Mrs Saint Delafield", "Segoe Script", cursive; font-size: 24px; line-height: 1; color: var(--sun); transform: rotate(-4deg) translateY(1px); display: inline-block; padding-right: 6px; }
.foot-top { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; min-height: 44px; }
.foot-top:hover { color: var(--foam); }
.foot-top svg { width: 18px; height: 18px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero { --p: 0 !important; }
}
