/* ==================================================================
   LİMAN PASTANESİ — gerçekçi, fotoğraflı sahil pastanesi (HAYALİ, dmenu.tr örneği)
   ================================================================== */
:root {
  --navy: #1F3A5F;
  --navy-deep: #142840;
  --navy-soft: rgba(31, 58, 95, .7);
  --cream: #FBF4E8;
  --paper: #FFFDF8;
  --pink: #F2B5C0;
  --rose: #D9435E;
  --mint: #A8DCCB;
  --butter: #F5D98B;
  --sea: #7FB3D5;
  --serif: 'DM Serif Display', Georgia, serif;
  --script: 'Dancing Script', cursive;
  --sans: 'Figtree', system-ui, sans-serif;
}

body {
  background: var(--cream);
  color: var(--navy);
  font: 400 16.5px/1.5 var(--sans);
  padding-bottom: calc(84px + env(safe-area-inset-bottom));
}
.grain { opacity: .05; }
img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- açılış: yaşayan vitrin ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: max(14px, env(safe-area-inset-top)) 18px 28px;
  color: var(--cream);
  overflow: hidden;
  background: var(--navy-deep);
}
.hero__media { position: absolute; inset: 0; touch-action: manipulation; }
.hero__media::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(20, 40, 64, .55) 0%, rgba(20, 40, 64, 0) 22%),
    linear-gradient(0deg, rgba(20, 40, 64, .96) 0%, rgba(20, 40, 64, .7) 30%, rgba(20, 40, 64, 0) 58%);
}
.hero__svg { width: 100%; height: 100%; display: block; }
.led {
  mix-blend-mode: screen;
  transform-box: fill-box;
  transform-origin: center;
  opacity: calc(var(--s) * .55);
  animation: breathe var(--t) ease-in-out var(--d) infinite alternate;
}
@keyframes breathe { to { opacity: var(--s); transform: scale(1.22); } }
.led.is-flick { animation: flick .55s steps(1) 1, breathe var(--t) ease-in-out .55s infinite alternate; }
@keyframes flick { 0% { opacity: .08; } 20% { opacity: 1; } 40% { opacity: .15; } 60% { opacity: .9; } 100% { opacity: 1; } }
.led.is-glow { animation: glow 1.3s ease-out var(--delay, 0s) 1 both, breathe var(--t) ease-in-out 1.3s infinite alternate; }
@keyframes glow { 0% { opacity: 1; transform: scale(1.8); } 100% { opacity: calc(var(--s) * .8); transform: scale(1.1); } }
.glint { animation: glint 8s ease-in-out 2.5s infinite; }
@keyframes glint { 0%, 55% { transform: skewX(-24deg) translateX(0); } 100% { transform: skewX(-24deg) translateX(2000px); } }
.hero.is-off .led, .hero.is-off .glint { animation-play-state: paused; }
.tagtext { font: 700 25px var(--script); fill: var(--navy); opacity: .88; }

.hero__bar { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 14px; }
.status { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-weight: 600; }
.hero__bar .status { padding: 6px 12px 6px 10px; border-radius: 999px; background: rgba(20, 40, 64, .55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.status i { width: 9px; height: 9px; border-radius: 50%; background: var(--rose); flex: none; }
.status.is-open i { background: #3CC28F; box-shadow: 0 0 0 3px rgba(60, 194, 143, .25); animation: pulse 2.4s ease-in-out infinite; }
.status.is-soon i { background: #E8B400; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(60, 194, 143, 0); } }
.demo-pill { text-decoration: none; font-size: 13px; padding: 6px 12px; border-radius: 999px; background: rgba(251, 244, 232, .9); color: var(--navy); }
.demo-pill b { color: var(--rose); }

.hero__inner { position: relative; z-index: 2; max-width: 560px; }
.hero__since { margin: 0 0 6px; font: 600 12.5px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--butter); }
.hero__name { margin: 0; display: flex; flex-direction: column; }
.hero__a { font: 400 clamp(76px, 25vw, 132px)/.9 var(--serif); letter-spacing: -.01em; }
.hero__a .word { padding-bottom: .08em; }
.hero__b { font: 700 clamp(40px, 13vw, 66px)/1 var(--script); color: var(--pink); margin: -6px 0 0 4px; }
.hero__tag { margin: 12px 0 0; font: italic 400 20px/1.35 var(--serif); color: rgba(251, 244, 232, .9); }
.hero__go { display: inline-flex; gap: 8px; align-items: center; margin-top: 18px; padding: 10px 18px; border-radius: 999px; background: var(--cream); color: var(--navy); text-decoration: none; font-weight: 700; font-size: 15px; }
.hero__go span { animation: nudge 2.2s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateY(3px); } }

/* ---------- içindekiler ---------- */
.toc { max-width: 560px; margin: 0 auto; padding: 56px 20px 8px; text-align: center; }
.toc__title { font: 400 44px/1 var(--serif); margin: 0 0 24px; }
.bubbles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px 10px; }
.bubbles li { grid-column: span 2; }
.bubbles li:nth-child(4) { grid-column: 2 / span 2; }
.bubble { display: grid; justify-items: center; gap: 6px; text-decoration: none; }
.bubble__img { width: 88px; height: 88px; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 3px var(--cream), 0 0 0 5px var(--navy), 0 10px 20px -8px rgba(31, 58, 95, .5); transition: transform .35s cubic-bezier(.3, 1.6, .5, 1); }
.bubble:hover .bubble__img, .bubble:focus-visible .bubble__img { transform: translateY(-4px) scale(1.04); }
.bubble__label { font: 400 19px/1.1 var(--serif); }
.bubble__count { font-size: 13px; color: var(--navy-soft); margin-top: -4px; }

/* ---------- bölümler ---------- */
.sec { max-width: 620px; margin: 0 auto; padding: 72px 20px 28px; }
.sec--navy, .sec--sea {
  max-width: none;
  padding-left: max(20px, calc((100% - 620px) / 2 + 20px));
  padding-right: max(20px, calc((100% - 620px) / 2 + 20px));
  margin-top: 56px;
}
.sec--navy { background: var(--navy); color: var(--cream); padding-bottom: 48px; }
.sec--sea { background: #E6F0F6; }
.shead { margin-bottom: 28px; }
.shead__k { display: flex; align-items: center; gap: 10px; margin: 0 0 8px; font: 700 12.5px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--rose); }
.sec--navy .shead__k { color: var(--pink); }
.shead__n { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid currentColor; letter-spacing: 0; font-size: 12px; }
.stitle { font: 400 clamp(44px, 13vw, 64px)/1 var(--serif); margin: 0; letter-spacing: -.005em; }
.shead__sub { margin: 10px 0 0; color: var(--navy-soft); font-size: 16.5px; }
.sec--navy .shead__sub { color: rgba(251, 244, 232, .75); }

.rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.row { display: grid; gap: 1px; }
.row__top { display: flex; align-items: baseline; gap: 8px; }
.row__name { font: 400 21px/1.2 var(--serif); }
.row__top i { flex: 1; border-bottom: 2px dotted rgba(31, 58, 95, .28); transform: translateY(-5px); min-width: 14px; }
.price { font: 700 17px var(--sans); color: var(--rose); white-space: nowrap; }
.price small { font-size: .8em; font-weight: 600; }
.row__desc { font-size: 15px; color: var(--navy-soft); }
.note { margin: 22px 0 0; font-size: 14.5px; color: var(--navy-soft); text-align: center; }

/* vitrin etiketi */
.vtag {
  position: relative;
  display: inline-grid;
  gap: 1px;
  padding: 8px 13px 9px;
  background: #fff;
  color: var(--navy);
  border-radius: 3px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, .06), 0 10px 18px -8px rgba(0, 0, 0, .45);
  transform: rotate(-2deg);
}
.vtag::after {   /* metal etiket tutucu */
  content: '';
  position: absolute;
  left: 50%;
  bottom: -16px;
  width: 3px;
  height: 16px;
  margin-left: -1.5px;
  border-radius: 2px;
  background: linear-gradient(90deg, #8D949C, #E8ECEF 50%, #8D949C);
}
.vtag__name { font: 400 19px/1.1 var(--serif); }
.vtag .price { font-size: 15px; }

/* ---------- 01 pasta destesi ---------- */
.deck { display: grid; justify-items: center; gap: 18px; margin: 0 auto 40px; }
.deck__stack { position: relative; width: min(300px, 74vw); aspect-ratio: 4 / 5; margin-top: 40px; }
.dcard {
  position: absolute;
  inset: 0;
  margin: 0;
  border: 8px solid #fff;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 22px 40px -18px rgba(31, 58, 95, .55);
  transform-origin: 50% 0;
  will-change: transform;
}
.dcard img { border-radius: 7px; }
.dcard .vtag { position: absolute; left: 14px; bottom: 22px; }
.reel { overflow: hidden; width: 100%; max-width: 420px; }
.reel__list { display: flex; flex-direction: column; will-change: transform; }
.reel--desc { height: 46px; text-align: center; }
.reel--desc span { height: 46px; font-size: 15.5px; line-height: 1.45; color: var(--navy-soft); display: flex; align-items: center; justify-content: center; padding: 0 16px; }
.deck__dots { display: flex; gap: 4px; }
.pdot { width: 32px; height: 32px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.pdot::before { content: ''; width: 12px; height: 12px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 2px var(--cream), 0 0 0 3.5px var(--navy); transition: transform .2s; }
.pdot.is-on::before { transform: scale(1.35); }

/* ---------- 02 cam raf ---------- */
.shelf { position: relative; margin: 0 calc(-1 * max(20px, calc((100vw - 620px) / 2 + 20px))); }
.shelf__track {
  list-style: none;
  margin: 0;
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 8px calc(50% - 110px) 22px;
  perspective: 900px;
}
.shelf__track::-webkit-scrollbar { display: none; }
.shelf__track:focus-visible { outline: 2px solid var(--pink); outline-offset: -4px; }
.treat {
  flex: 0 0 220px;
  scroll-snap-align: center;
  display: grid;
  justify-items: start;
  gap: 18px;
  transform: rotateY(calc(var(--d, 0) * -24deg)) scale(calc(1 - max(var(--d, 0), calc(var(--d, 0) * -1)) * .14));
  opacity: calc(1 - max(var(--d, 0), calc(var(--d, 0) * -1)) * .45);
  transition: transform .12s linear, opacity .12s linear;
}
.treat__photo { position: relative; margin: 0; width: 100%; aspect-ratio: 4 / 5; border-radius: 14px; overflow: hidden; box-shadow: 0 24px 34px -16px rgba(0, 0, 0, .6); }
.treat__shine {
  position: absolute;
  inset: -20% -60%;
  background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, .28) 50%, transparent 60%);
  transform: translateX(calc(var(--d, 0) * 260%));
  pointer-events: none;
}
.treat .vtag { margin: -48px 0 0 12px; }
.treat__desc { margin: 0; font-size: 14.5px; color: rgba(251, 244, 232, .75); }
.shelf__edge { height: 10px; margin: -6px 0 0; background: linear-gradient(180deg, rgba(168, 220, 203, .55), rgba(168, 220, 203, .05)); box-shadow: 0 -1px 0 rgba(255, 255, 255, .35); }
.shelf__nav { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 16px; }
.shelf__btn { width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid rgba(251, 244, 232, .5); background: none; color: var(--cream); font-size: 18px; cursor: pointer; }
.shelf__btn:hover { background: rgba(251, 244, 232, .1); }
.shelf__bar { width: 120px; height: 3px; border-radius: 3px; background: rgba(251, 244, 232, .2); overflow: hidden; }
.shelf__bar i { display: block; height: 100%; background: var(--pink); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- 03 terazi ---------- */
.scale { position: relative; margin-bottom: 30px; }
.scale__photo { margin: 0; aspect-ratio: 3 / 2; border-radius: 20px; overflow: hidden; box-shadow: 0 20px 36px -18px rgba(31, 58, 95, .55); }
.scale__photo img { transition: transform .35s cubic-bezier(.3, 1.4, .5, 1); }
.lcd {
  position: absolute;
  right: 14px;
  bottom: -18px;
  display: grid;
  grid-template-columns: auto auto;
  column-gap: 6px;
  align-items: end;
  padding: 8px 14px 9px;
  border-radius: 10px;
  background: linear-gradient(180deg, #C5D3AE, #A9BC8E);
  border: 6px solid #2B3036;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, .25), 0 14px 24px -10px rgba(0, 0, 0, .55);
  color: #1D2A19;
}
.lcd__label { grid-column: 1 / -1; font: 700 9.5px/1 var(--sans); letter-spacing: .2em; opacity: .65; }
.lcd__val { font: 700 34px/1 ui-monospace, 'SF Mono', Menlo, monospace; letter-spacing: .02em; font-variant-numeric: tabular-nums; text-shadow: 1px 1px 0 rgba(0, 0, 0, .12); }
.lcd__unit { font: 700 14px/1.6 var(--sans); }
.calc { display: grid; gap: 12px; text-align: center; max-width: 380px; margin: 0 auto 24px; }
.calc__g { margin: 0; font: 400 44px/1 var(--serif); }
.calc__g span { font: 600 16px var(--sans); color: var(--navy-soft); }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 34px; background: none; cursor: pointer; }
input[type="range"]::-webkit-slider-runnable-track { height: 8px; border-radius: 99px; background: linear-gradient(90deg, var(--rose) var(--fill, 44%), rgba(31, 58, 95, .15) var(--fill, 44%)); }
input[type="range"]::-moz-range-track { height: 8px; border-radius: 99px; background: rgba(31, 58, 95, .15); }
input[type="range"]::-moz-range-progress { height: 8px; border-radius: 99px; background: var(--rose); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; margin-top: -10px; border-radius: 50%; background: var(--paper); border: 3px solid var(--navy); box-shadow: 0 4px 10px -2px rgba(31, 58, 95, .5); }
input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--paper); border: 3px solid var(--navy); }
input[type="range"]:focus-visible { outline: 2px solid var(--navy); outline-offset: 4px; border-radius: 99px; }
.presets { display: flex; justify-content: center; gap: 8px; }
.presets button { padding: 8px 16px; border-radius: 999px; border: 1.5px solid var(--navy); background: var(--paper); font-weight: 700; font-size: 14px; color: var(--navy); cursor: pointer; }
.presets button.is-on { background: var(--navy); color: var(--cream); }
.kg { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.kg__row { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px; padding: 12px 16px; background: var(--paper); border-radius: 14px; box-shadow: 0 0 0 1px rgba(31, 58, 95, .12), 0 6px 14px -10px rgba(31, 58, 95, .4); }
.kg__name { font: 400 19px/1.2 var(--serif); display: grid; }
.kg__name small { font: 400 13.5px/1.35 var(--sans); color: var(--navy-soft); margin-top: 2px; }
.kg__price { font: 700 18px var(--sans); color: var(--rose); white-space: nowrap; font-variant-numeric: tabular-nums; }

/* ---------- 04 canlı fotoğraflar ---------- */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 10px 0 30px; }
.live { position: relative; }
.live__frame { position: relative; margin: 0; aspect-ratio: 4 / 5; border-radius: 22px; overflow: hidden; box-shadow: 0 20px 34px -18px rgba(31, 58, 95, .6); }
.live__steam { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 140%; pointer-events: none; z-index: 2; }
.live__drops { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.live--lemon { margin-top: 38px; }

/* ---------- bilgi ---------- */
.info__hero { position: relative; margin-top: 56px; height: min(68vh, 560px); overflow: hidden; color: var(--cream); }
.info__hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20, 40, 64, .92) 0%, rgba(20, 40, 64, .35) 45%, rgba(20, 40, 64, 0) 70%); }
.info__over { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; max-width: 620px; margin: 0 auto; padding: 0 20px 30px; }
.info__over .shead__k { color: var(--pink); }
.info__over .shead__sub { color: rgba(251, 244, 232, .85); }
.info .sec { padding-top: 32px; }
.cards { display: grid; gap: 14px; }
.card {
  display: block;
  padding: 16px 18px;
  text-decoration: none;
  background: var(--paper);
  border-radius: 18px;
  box-shadow: 0 0 0 1px rgba(31, 58, 95, .12), 0 8px 18px -12px rgba(31, 58, 95, .45);
  border-top: 8px solid var(--c);
}
.card__label { margin: 0 0 4px; font-weight: 700; font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--navy-soft); }
.card__value { margin: 0; font: 400 20px/1.3 var(--serif); }
.card__cta { display: inline-block; margin-top: 6px; font-weight: 700; color: var(--rose); font-size: 14.5px; }
.hours { list-style: none; margin: 10px 0 0; padding: 0; font-size: 14.5px; color: var(--navy-soft); }
.hours li { display: flex; justify-content: space-between; padding: 2px 0; }
.hours .is-today { color: var(--navy); font-weight: 700; }
.copy { margin-top: 10px; display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 10px 14px; background: #EAF3F8; border: 1.5px solid var(--navy); border-radius: 12px; cursor: pointer; color: var(--navy); }
.copy__pw { font-weight: 700; letter-spacing: .02em; }
.copy__hint { font-size: 13.5px; font-weight: 700; color: var(--rose); }
.copy.is-done { background: #DFF2EA; }
.copy.is-done .copy__hint { color: #2E8B73; }
.stars { display: flex; gap: 3px; margin: 4px 0 6px; }
.stars svg { width: 22px; height: 22px; fill: var(--butter); stroke: var(--navy); stroke-width: 1.4; stroke-linejoin: round; }
@media (min-width: 560px) { .cards { grid-template-columns: 1fr 1fr; } }
.demo-note { margin: 40px 0 0; padding: 18px; text-align: center; border-radius: 18px; background: var(--navy); color: var(--cream); }
.demo-note p { margin: 0 0 8px; }
.demo-note__cta { color: var(--pink); font-weight: 700; }
.info__foot { text-align: center; margin: 22px 0 0; font-size: 13px; color: var(--navy-soft); }

/* ---------- alt menü ---------- */
.dock {
  position: fixed;
  left: 50%;
  bottom: calc(12px + env(safe-area-inset-bottom));
  z-index: 50;
  width: min(600px, calc(100% - 24px));
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255, 253, 248, .94);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 0 0 1px rgba(31, 58, 95, .2), 0 12px 26px -10px rgba(31, 58, 95, .5);
  transform: translate(-50%, 160%);
  transition: transform .5s cubic-bezier(.3, 1.3, .5, 1);
}
.dock.is-visible { transform: translate(-50%, 0); }
.dock__sea { position: absolute; left: 22px; right: 22px; top: -20px; height: 22px; pointer-events: none; }
.dock__boat { position: absolute; bottom: 0; left: calc(var(--p, 0) * (100% - 30px)); width: 30px; animation: rock 2.4s ease-in-out infinite; }
.dock__boat svg { width: 100%; height: auto; }
@keyframes rock { 50% { transform: rotate(-6deg) translateY(-1px); } }
.dock__top { flex: none; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--navy); color: var(--cream); text-decoration: none; font-size: 18px; }
.dock__track { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.dock__track::-webkit-scrollbar { display: none; }
.chip { flex: none; padding: 8px 14px; border-radius: 999px; text-decoration: none; font-size: 14.5px; font-weight: 600; white-space: nowrap; transition: background .25s, color .25s; }
.chip.is-active { background: var(--navy); color: var(--cream); }

.toast {
  position: fixed;
  left: 50%;
  bottom: calc(80px + env(safe-area-inset-bottom));
  z-index: 60;
  width: min(420px, calc(100% - 32px));
  margin: 0;
  padding: 12px 16px;
  border-radius: 14px;
  background: var(--navy);
  color: var(--cream);
  font-size: 14.5px;
  line-height: 1.4;
  box-shadow: 0 12px 30px -8px rgba(31, 58, 95, .6);
  transform: translate(-50%, 20px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s, transform .3s;
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

@media (min-width: 900px) {
  .hero { padding: 24px max(32px, calc((100% - 1100px) / 2)) 56px; }
  .deck__stack { width: 340px; }
  .treat { flex-basis: 250px; }
  .shelf__track { padding-inline: calc(50% - 125px); }
}
@media (prefers-reduced-motion: reduce) {
  .led, .glint { animation: none; }
  .treat { transition: none; }
}
