/* =========================================================
   The DiA — ana sayfa
   ========================================================= */

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: flex-end;
  background: var(--espresso); color: var(--cream);
  overflow: hidden;
  isolation: isolate;
}
/* Mobil: fotoğraf büyütülmeden doğal oranında en üstte durur (netlik korunur),
   alt kenarı koyu zemine yumuşakça erir; yazılar onun altında. */
.hero-media { position: absolute; inset: 0 0 auto 0; z-index: -2; overflow: hidden; }
.hero-media img {
  width: 100%; height: auto; aspect-ratio: 1179 / 1403;
  transform: scale(1.04); animation: hero-zoom 2.4s var(--ease-out) forwards;
}
.hero-media::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(26, 17, 11, .5) 0%, rgba(26, 17, 11, 0) 20%),
    linear-gradient(0deg, var(--espresso) 0%, rgba(26, 17, 11, .85) 18%, rgba(26, 17, 11, 0) 55%);
}
@keyframes hero-zoom { to { transform: none; } }

.hero-content {
  width: 100%; padding: 56vw var(--gutter) calc(52px + env(safe-area-inset-bottom));
  display: flex; flex-direction: column; align-items: flex-start;
}
.hero-status { margin-bottom: 26px; opacity: 0; animation: fade-up .8s var(--ease-out) .2s forwards; }
/* telefonda: sol üstte, hamburger menüyle aynı hizada */
@media (max-width: 959px) {
  .hero-status {
    position: absolute; z-index: 51; margin: 0;
    left: var(--gutter); top: calc(env(safe-area-inset-top) + (var(--header-h) - 34px) / 2);
    height: 34px; padding-top: 0; padding-bottom: 0;
  }
}
.hero-mark { width: min(78vw, 330px); margin: 0 0 26px -2px; }

/* logo animasyonu: dallar çizilir, sonra yazı belirir */
.brandmark { width: 100%; height: auto; overflow: visible; color: var(--cream); }
.brandmark .bm-branch { color: var(--terra-300); }
.brandmark .bm-branch path {
  fill: transparent; stroke: currentColor; stroke-width: 1.4;
  stroke-dasharray: 1; stroke-dashoffset: 1;
  animation: bm-draw 1.9s var(--ease) .35s forwards, bm-fill .9s var(--ease) 1.85s forwards;
}
.brandmark .bm-the path, .brandmark .bm-dia path {
  fill: currentColor; opacity: 0;
  transform-box: fill-box; transform-origin: 50% 100%;
  animation: bm-rise 1.1s var(--ease-out) forwards;
}
.brandmark .bm-the path { animation-delay: 1.1s; }
.brandmark .bm-the path:nth-child(2) { animation-delay: 1.18s; }
.brandmark .bm-the path:nth-child(3) { animation-delay: 1.26s; }
.brandmark .bm-dia path:nth-child(1) { animation-delay: 1.4s; }
.brandmark .bm-dia path:nth-child(2) { animation-delay: 1.52s; }
.brandmark .bm-dia path:nth-child(3) { animation-delay: 1.6s; }
.brandmark .bm-dia path:nth-child(4) { animation-delay: 1.72s; }
@keyframes bm-draw { to { stroke-dashoffset: 0; } }
@keyframes bm-fill { to { fill: currentColor; stroke-width: 0; } }
@keyframes bm-rise { from { opacity: 0; transform: translateY(18%); } to { opacity: 1; transform: none; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

.hero-tagline {
  font-family: var(--font-serif); font-weight: 500;
  font-size: clamp(30px, 8.4vw, 54px); line-height: 1.08; letter-spacing: -.005em;
  opacity: 0; animation: fade-up 1s var(--ease-out) 1.9s forwards;
}
.hero-tagline em { color: var(--terra-300); }
.hero-meta {
  margin-top: 16px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: rgba(247, 241, 232, .66);
  opacity: 0; animation: fade-up 1s var(--ease-out) 2.05s forwards;
}
.hero-meta { display: grid; gap: 4px; }
.hero-meta span { white-space: nowrap; }
@media (min-width: 600px) {
  .hero-meta { display: flex; column-gap: 14px; }
  .hero-meta span + span::before { content: '—'; margin-right: 14px; opacity: .5; }
}
.hero-actions {
  margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; width: 100%;
  opacity: 0; animation: fade-up 1s var(--ease-out) 2.2s forwards;
}
.hero-actions .btn { flex: 1 1 auto; }
.hero-scroll { display: none; }

/* ---------- KAYAN ŞERİT ---------- */
.ticker { background: var(--terra); color: var(--cream); overflow: hidden; padding: 16px 0; }
.ticker-track { display: flex; width: max-content; animation: ticker 38s linear infinite; }
.ticker-track span {
  display: inline-flex; align-items: center; gap: 28px; padding-right: 28px;
  font-size: 15px; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; white-space: nowrap;
}
.ticker-track span::after {
  content: ''; width: 18px; height: 18px; opacity: .8;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2c1 5 5 9 10 10-5 1-9 5-10 10-1-5-5-9-10-10 5-1 9-5 10-10z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2c1 5 5 9 10 10-5 1-9 5-10 10-1-5-5-9-10-10 5-1 9-5 10-10z'/%3E%3C/svg%3E") center / contain no-repeat;
}
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- HİKÂYE (gazete) ---------- */
.paper {
  position: relative; padding: 76px 0 84px;
  background-color: var(--paper);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 240 240' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .22 0 0 0 0 .12 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  color: var(--ink);
}
.np-strip {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-2);
  padding-bottom: 12px; border-bottom: 1px solid rgba(36, 24, 15, .5);
}
.np-strip span:nth-child(3) { display: none; }
.np-masthead {
  font-family: var(--font-sans); font-weight: 600; text-transform: uppercase;
  font-size: clamp(42px, 12.5vw, 150px); line-height: .92; letter-spacing: -.02em; text-align: center;
  padding: 18px 0 14px;
}
.np-rule { height: 7px; border-top: 3px solid var(--ink); border-bottom: 1px solid var(--ink); }
.np-grid { display: grid; gap: 40px; margin-top: 40px; }
.np-kicker {
  display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase;
  color: var(--white); background: var(--terra); padding: 5px 10px; margin-bottom: 16px;
}
.np-headline {
  font-family: var(--font-serif); font-weight: 600; font-size: clamp(32px, 6vw, 56px); line-height: 1.05;
  letter-spacing: -.01em; margin-bottom: 26px; text-wrap: balance;
}
.np-columns { font-size: 17px; line-height: 1.75; color: var(--ink-2); }
.np-columns p + p { margin-top: 16px; }
.np-drop::first-letter {
  float: left; font-family: var(--font-serif); font-weight: 600; color: var(--terra);
  font-size: 4.6em; line-height: .8; padding: 6px 10px 0 0;
}
.np-quote {
  margin: 26px 0; padding: 18px 0; border-top: 1px solid rgba(36, 24, 15, .35); border-bottom: 1px solid rgba(36, 24, 15, .35);
  font-family: var(--font-serif); font-style: italic; font-size: 28px; line-height: 1.25; color: var(--ink);
  break-inside: avoid;
}
.np-figure { margin: 0; }
.np-figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; filter: saturate(.92) contrast(1.02); }
.np-figure figcaption {
  margin-top: 10px; padding-top: 8px; border-top: 1px solid rgba(36, 24, 15, .35);
  font-size: 13px; font-style: italic; color: var(--ink-2);
}

/* ---------- MENÜ TANITIM ---------- */
.menu-teaser {
  position: relative; padding: 84px 0; overflow: hidden;
  background: radial-gradient(120% 70% at 85% 0%, #3a2418 0%, transparent 60%), var(--espresso);
  color: var(--cream);
}
.teaser-grid { display: grid; gap: 44px; }
.teaser-media { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; }
.teaser-media img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
.teaser-media::after { content: ''; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(247, 241, 232, .08); border-radius: inherit; }
.menu-teaser .eyebrow { color: var(--terra-300); }
.menu-teaser .display { margin-top: 18px; }
.menu-teaser .display em { color: var(--terra-300); }
.menu-teaser .lead { margin-top: 20px; color: rgba(247, 241, 232, .72); max-width: 44ch; }
.teaser-cats { margin: 30px 0 34px; display: flex; flex-wrap: wrap; gap: 8px; }
.teaser-cats a {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px 9px 11px; border-radius: 999px;
  font-size: 14px; color: var(--cream); box-shadow: inset 0 0 0 1px var(--line-dark);
  transition: background-color .3s, box-shadow .3s, transform .3s var(--ease-out);
}
.teaser-cats a .ico { width: 18px; height: 18px; color: var(--terra-300); transition: color .3s; }
.teaser-cats a:hover { background: var(--terra); box-shadow: none; transform: translateY(-2px); }
.teaser-cats a:hover .ico { color: var(--cream); }

/* ---------- GALERİ ---------- */
.gallery-sec { padding: 84px 0 92px; background: var(--cream); }
.gallery-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; }
.gallery-head .display { margin-top: 18px; font-size: clamp(38px, 6vw, 72px); }
.gallery-head .btn { color: var(--ink); }
.gallery {
  margin-top: 40px;
  display: grid; grid-auto-flow: column; grid-auto-columns: 74%; gap: 12px;
  overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--gutter) 8px; scroll-padding: 0 var(--gutter);
  scrollbar-width: none;
}
.gallery::-webkit-scrollbar { display: none; }
.g-tile { position: relative; display: block; border-radius: var(--radius); overflow: hidden; scroll-snap-align: start; aspect-ratio: 4 / 5; background: var(--paper); }
.g-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.g-tile:hover img { transform: scale(1.05); }
.g-tile:not(.g-cta)::after {
  content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(26, 17, 11, .35), transparent 40%);
  opacity: 0; transition: opacity .5s;
}
.g-tile:hover::after { opacity: 1; }
.g-cta {
  background: var(--terra); color: var(--cream); padding: 26px; display: flex; flex-direction: column; justify-content: space-between;
  transition: background-color .4s;
}
.g-cta:hover { background: var(--terra-600); }
.g-cta .ico { width: 34px; height: 34px; }
.g-cta strong { font-family: var(--font-serif); font-weight: 500; font-size: 36px; line-height: 1.05; }
.g-cta small { font-size: 14px; letter-spacing: .08em; opacity: .85; }

/* ---------- ZİYARET ---------- */
.visit { padding: 84px 0 96px; background: var(--white); }
.visit-grid { display: grid; gap: 44px; }
.visit-media { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; }
.visit-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.visit-media figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 24px 22px;
  background: linear-gradient(0deg, rgba(26, 17, 11, .82), transparent);
  color: var(--cream); font-family: var(--font-serif); font-style: italic; font-size: 30px; line-height: 1.1;
}
.visit-info .display { margin: 18px 0 22px; }
.visit-list { margin: 30px 0 0; display: grid; gap: 4px; }
.visit-list div { display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 16px 0; border-top: 1px solid var(--line); }
.visit-list div:last-child { border-bottom: 1px solid var(--line); }
.visit-list dt { width: 44px; height: 44px; border-radius: 50%; background: var(--terra-50); color: var(--terra); display: grid; place-items: center; }
.visit-list dt .ico { width: 20px; height: 20px; }
.visit-list dd { margin: 0; color: var(--ink-2); font-size: 16px; line-height: 1.55; }
.visit-list dd strong { display: block; color: var(--ink); font-weight: 500; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 2px; }
.visit-list a { color: var(--ink); border-bottom: 1px solid var(--line); transition: border-color .3s, color .3s; }
.visit-list a:hover { color: var(--terra); border-color: var(--terra); }
.visit-actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px; }
.visit-actions .btn { flex: 1 1 auto; }
.visit-actions .btn--ghost { color: var(--ink); }
.visit-actions .btn .ico { width: 18px; height: 18px; }
.visit-map { border-radius: var(--radius); overflow: hidden; box-shadow: 0 0 0 1px var(--line); aspect-ratio: 4 / 3; background: var(--paper); }
.visit-map iframe { width: 100%; height: 100%; border: 0; display: block; filter: saturate(.75) sepia(.12); }

/* ---------- MOBİL MENÜ BUTONU ---------- */
.fab {
  position: fixed; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 40;
  display: inline-flex; align-items: center; gap: 10px; padding: 0 26px; height: 54px; border-radius: 999px;
  background: var(--terra); color: var(--white); font-weight: 500; letter-spacing: .06em;
  box-shadow: 0 14px 34px -10px rgba(120, 35, 8, .7);
  transform: translate(-50%, 140%); transition: transform .6s var(--ease-out);
}
.fab .ico { width: 20px; height: 20px; }
.fab.is-visible { transform: translate(-50%, 0); }

/* =========================================================
   MASAÜSTÜ
   ========================================================= */
@media (min-width: 760px) {
  .np-strip span:nth-child(3) { display: inline; }
  .np-columns { columns: 2; column-gap: 40px; }
  .gallery { grid-auto-columns: 40%; }
  .hero-actions .btn, .visit-actions .btn { flex: 0 0 auto; }
}

@media (min-width: 960px) {
  .hero {
    display: grid; grid-template-columns: 1.04fr .96fr; align-items: stretch;
    min-height: 100vh; min-height: 100svh; max-height: 1000px;
  }
  .hero-media { position: relative; inset: auto; grid-column: 2; grid-row: 1; z-index: 0; }
  .hero-media img { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; object-fit: cover; object-position: 35% 45%; }
  .hero-media::after { background: linear-gradient(90deg, rgba(26, 17, 11, .35), transparent 30%); }
  .hero-content {
    grid-column: 1; grid-row: 1; justify-content: center;
    padding: calc(var(--header-h) + 40px) clamp(40px, 6vw, 96px) 80px max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter)));
    background: radial-gradient(90% 60% at 0% 100%, #3a2418 0%, transparent 60%);
  }
  .hero-mark { width: min(32vw, 440px); margin-bottom: 34px; }
  .hero-tagline { font-size: clamp(44px, 4.2vw, 64px); }
  .hero-scroll {
    display: block; position: absolute; left: max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter))); bottom: 34px;
    width: 1px; height: 54px; background: rgba(247, 241, 232, .2); overflow: hidden;
  }
  .hero-scroll span { display: block; width: 100%; height: 40%; background: var(--terra-300); animation: scroll-line 2.2s var(--ease) infinite; }
  @keyframes scroll-line { from { transform: translateY(-100%); } to { transform: translateY(260%); } }

  .paper { padding: 110px 0 120px; }
  .np-grid { grid-template-columns: 1.55fr 1fr; gap: 56px; margin-top: 52px; }
  .np-figure { padding-left: 56px; border-left: 1px solid rgba(36, 24, 15, .35); }

  .menu-teaser { padding: 130px 0; }
  .teaser-grid { grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: center; }
  .teaser-media img { aspect-ratio: 4 / 5; }

  .gallery-sec { padding: 130px 0; }
  .gallery {
    max-width: var(--maxw); margin: 56px auto 0; padding: 0 var(--gutter); overflow: visible;
    grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(2, minmax(0, 1fr)); grid-auto-columns: auto;
    aspect-ratio: 16 / 10; gap: 16px;
  }
  .g-tile { aspect-ratio: auto; }
  .g-a { grid-column: 1 / span 2; grid-row: 1 / span 2; }
  .g-b { grid-column: 3; grid-row: 1; }
  .g-c { grid-column: 4; grid-row: 1 / span 2; }
  .g-d { grid-column: 3; grid-row: 2; }
  .g-cta { display: none; }

  .visit { padding: 130px 0; }
  .visit-grid { grid-template-columns: .9fr 1.1fr; gap: 40px 80px; align-items: center; }
  .visit-map { grid-column: 1 / -1; aspect-ratio: 21 / 8; }

  .fab { display: none; }
}
