/* HOU Sanat · Geliyoruz (tek ekran) */
:root {
  --cream: #efe6d8;
  --ink: #3b2b20;
  --ink-soft: #6b5848;
  --dark: #2f241c;
  --gold-1: #e6cc9c;
  --gold-2: #8f6c43;
  --gold: #b8935f;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;
  --g: clamp(18px, 4vw, 56px);
  --ease: cubic-bezier(.22, .61, .36, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  background: var(--cream); color: var(--ink);
  font-family: var(--sans); font-weight: 300; font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
figure { margin: 0; }

.page {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column;
  background: radial-gradient(1000px 640px at 50% 50%, rgba(230, 204, 156, .30), rgba(230, 204, 156, 0) 70%), var(--cream);
}
.page::before { /* kâğıt dokusu */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .55; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .55 0 0 0 0 .45 0 0 0 0 .35 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.leaf { /* logodaki gerçek yaprak gölgesi, hafifçe sallanır */
  position: absolute; z-index: -1; pointer-events: none;
  left: -6vw; top: -14vh; width: min(38vw, 480px); height: 110vh;
  background: url("/assets/img/leaf-shadow.png") left top / 100% 100% no-repeat;
  opacity: .28; transform-origin: 0 0; filter: blur(2px);
  animation: sway 9s ease-in-out infinite alternate;
}

/* üst çubuk */
.bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: max(18px, env(safe-area-inset-top)) var(--g) 0;
  animation: fade 1.2s .1s both;
}
.bar__tag { font-family: var(--serif); font-size: 12px; letter-spacing: .42em; text-transform: uppercase; color: var(--ink-soft); }
.bar__ig { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; font-size: 13.5px; letter-spacing: .08em; font-weight: 400; padding: 6px 0; }
.bar__ig svg { width: 18px; height: 18px; color: var(--gold-2); }
.bar__ig span { border-bottom: 1px solid rgba(59, 43, 32, .25); padding-bottom: 2px; }

/* sahne */
.stage {
  flex: 1; width: 100%; max-width: 1280px; margin: 0 auto;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: clamp(18px, 3.2vh, 34px);
  padding: clamp(14px, 3vh, 32px) var(--g);
  text-align: center;
}

/* orijinal logo görseli */
.card {
  width: 100%; max-width: min(560px, calc((100svh - 470px) * 1.5));
  border-radius: 3px; overflow: hidden;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .5) inset, 0 34px 70px -36px rgba(47, 36, 28, .55), 0 10px 26px -16px rgba(47, 36, 28, .35);
  animation: rise 1.4s var(--ease) both;
}
.card__img {
  width: 100%; height: 0; padding-top: 66.6667%;
  background: #8f7c6a url("/assets/img/logo-foto.jpg?v=6") center / cover no-repeat;
  animation: breathe 16s ease-in-out infinite alternate;
}

.info { display: flex; flex-direction: column; align-items: center; animation: rise 1.4s .25s var(--ease) both; }

.moonrow { display: flex; align-items: center; gap: 14px; }
.moon__art { position: relative; width: clamp(54px, 7vh, 76px); aspect-ratio: 1; flex: none; }
#moon-canvas { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 50%; cursor: grab; touch-action: pan-y; }
.moon__glow {
  position: absolute; inset: -18%; border-radius: 50%;
  background: radial-gradient(circle at calc(50% + var(--gx, 20%)) 50%, rgba(230, 196, 140, .6), rgba(230, 196, 140, 0) 62%);
  filter: blur(10px); opacity: calc(.4 + var(--p, .2) * .6);
}
.moonrow__txt { margin: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 3px; text-align: left; }
.eyebrow { font-size: 11px; letter-spacing: .38em; text-transform: uppercase; color: var(--gold-2); font-weight: 400; }
.moon__phase { font-family: var(--serif); font-style: italic; font-size: 16px; color: var(--ink-soft); }

.title {
  margin: clamp(4px, 1vh, 10px) 0 0;
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: clamp(54px, 9.5vh, 104px); line-height: 1; letter-spacing: -.01em;
}
.dot { color: var(--gold); }
.lead { margin: 10px 0 0; color: var(--ink-soft); font-size: clamp(14.5px, 1.9vh, 17px); max-width: 30em; }

.count { display: flex; justify-content: center; margin-top: clamp(14px, 2.6vh, 26px); }
.count > div { display: flex; flex-direction: column; align-items: center; min-width: 64px; padding: 0 clamp(10px, 1.8vw, 22px); }
.count > div + div { border-left: 1px solid rgba(59, 43, 32, .16); }
.count b {
  display: block; height: 1.05em; overflow: hidden;
  font-family: var(--serif); font-weight: 300; font-size: clamp(34px, 6vh, 56px); line-height: 1;
  font-variant-numeric: lining-nums tabular-nums;
}
.count b > span { display: block; }
.count b > span.tick { animation: tick .55s var(--ease); }
.count small { margin-top: 8px; font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--ink-soft); font-weight: 400; padding-left: .3em; }

.days { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: clamp(12px, 2vh, 18px); max-width: 300px; }
.days i { width: 7px; height: 7px; border-radius: 50%; border: 1px solid rgba(143, 108, 67, .45); }
.days i.done { background: linear-gradient(135deg, var(--gold-1), var(--gold-2)); border-color: transparent; }
.days i.today { border-color: var(--gold); animation: pulse 2s ease-in-out infinite; }
.note { margin: 8px 0 0; font-family: var(--serif); font-style: italic; font-size: 15.5px; color: var(--ink-soft); }

.btn {
  margin-top: clamp(14px, 2.6vh, 26px);
  display: inline-flex; align-items: center; gap: 11px;
  padding: 13px 24px 13px 20px; border-radius: 999px;
  border: 1px solid rgba(59, 43, 32, .3); color: var(--ink); text-decoration: none;
  font-size: 14px; letter-spacing: .06em; font-weight: 400;
  transition: background .35s, color .35s, border-color .35s, transform .35s var(--ease);
}
.btn svg { width: 19px; height: 19px; color: var(--gold-2); }
.btn:hover { background: var(--dark); color: var(--cream); border-color: var(--dark); transform: translateY(-2px); }
.btn:hover svg { color: var(--gold-1); }
a:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }

.foot { text-align: center; font-size: 11.5px; letter-spacing: .1em; color: rgba(59, 43, 32, .5); padding: 0 var(--g) max(16px, env(safe-area-inset-bottom)); }

/* geniş ekran: logo solda, yazılar sağda */
@media (min-width: 960px) {
  .stage { flex-direction: row; gap: clamp(48px, 6vw, 96px); text-align: left; }
  .card { flex: 0 1 auto; width: min(52vw, 680px); max-width: calc((100vh - 200px) * 1.5); }
  .info { align-items: flex-start; flex: 0 0 auto; }
  .count { justify-content: flex-start; }
  .count > div:first-child { padding-left: 0; }
  .days { justify-content: flex-start; }
  .moon__art { width: 80px; }
}
/* kısa telefonlar: açıklama yazısını gizle */
@media (max-width: 959px) and (max-height: 760px) { .lead, .note { display: none; } }

@keyframes sway { 0% { transform: rotate(-1.2deg) skewX(1deg); } 100% { transform: rotate(1.4deg) skewX(-1.5deg) translateX(6px); } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes breathe { from { transform: scale(1); } to { transform: scale(1.035); } }
@keyframes tick { from { transform: translateY(-70%); opacity: 0; filter: blur(2px); } to { transform: none; opacity: 1; filter: none; } }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(184, 147, 95, .5); } 50% { box-shadow: 0 0 0 5px rgba(184, 147, 95, 0); background: rgba(184, 147, 95, .5); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
