/*
  GÜR-GEB tanitim sitesi.
  Palet CLAUDE.md §44 ile ayni: #CF2E25 · beyaz · siyah · yumusak gri. Yeni renk eklenmez.
  Animasyonlar kisa ve tek yonlu; `prefers-reduced-motion` acikken hepsi kapanir.
*/

:root {
  --brand: #cf2e25;
  --brand-dark: #a8241d;
  --ink: #121212;
  --ink-soft: #6b6b70;
  --line: #e2e2e6;
  --surface: #ffffff;
  --surface-soft: #f4f4f6;
  --radius: 18px;
  --page: min(1120px, 100% - 48px);
  --bar-height: 72px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--bar-height) + 12px); }

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font: 400 17px/1.65 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { margin: 0; line-height: 1.12; letter-spacing: -0.02em; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }

/* --- Ust cubuk ----------------------------------------------------------- */

.bar {
  position: fixed; inset: 0 0 auto 0; z-index: 20;
  height: var(--bar-height);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px;
  transition: height .25s ease, background .25s ease, box-shadow .25s ease;
}
.bar.stuck {
  height: 60px;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(180%) blur(14px);
  box-shadow: 0 1px 0 var(--line);
}

.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -0.01em; }
.mark {
  display: grid; place-items: center;
  width: 34px; height: 34px; border-radius: 10px;
  background: var(--brand); color: #fff; font-weight: 800;
  /* Sayfa acilirken hafif bir "yerine oturma". */
  animation: pop .5s cubic-bezier(.2, .9, .3, 1.4) both;
}
.brand-text { font-size: 19px; }

.nav { display: flex; align-items: center; gap: 26px; font-size: 15px; }
.nav a { color: var(--ink-soft); position: relative; padding: 6px 0; transition: color .2s; }
.nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0;
  height: 2px; background: var(--brand); transition: right .25s ease;
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after { right: 0; }
.nav .nav-cta {
  color: #fff; background: var(--brand); padding: 9px 18px; border-radius: 999px;
  transition: transform .2s ease, background .2s ease;
}
.nav .nav-cta::after { display: none; }
.nav .nav-cta:hover { background: var(--brand-dark); transform: translateY(-1px); }

.burger { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.burger span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 4px 0; transition: transform .25s, opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* --- Giris --------------------------------------------------------------- */

.hero {
  position: relative; overflow: hidden;
  /* Cok uzun ekranlarda giris alani gereksiz buyumesin. */
  min-height: min(92vh, 880px); display: grid; place-items: center;
  padding: calc(var(--bar-height) + 40px) 24px 80px;
  background: var(--surface-soft);
}
/* Arkada yavasca dolasan isik; dikkat dagitmayacak kadar sönük. */
.glow {
  position: absolute; width: 60vmax; height: 60vmax; border-radius: 50%;
  background: radial-gradient(circle, rgba(207, 46, 37, .20), transparent 62%);
  filter: blur(10px);
  animation: drift 22s ease-in-out infinite alternate;
}
.hero-inner { position: relative; width: var(--page); text-align: center; }

.eyebrow {
  text-transform: uppercase; letter-spacing: .16em; font-size: 12.5px; font-weight: 600;
  color: var(--brand); margin-bottom: 18px;
  animation: rise .7s ease both .05s;
}
.hero-title {
  font-size: clamp(54px, 11vw, 132px); font-weight: 800; letter-spacing: -0.04em;
  animation: rise .8s cubic-bezier(.2, .8, .2, 1) both .15s;
}
.hero-body {
  max-width: 48ch; margin: 22px auto 0; color: var(--ink-soft); font-size: clamp(17px, 2.2vw, 21px);
  animation: rise .8s ease both .3s;
}
.hero-actions { display: flex; gap: 12px; justify-content: center; margin-top: 36px; animation: rise .8s ease both .45s; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--brand); color: #fff; font-weight: 600;
  padding: 14px 26px; border-radius: 999px;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
  box-shadow: 0 8px 20px rgba(207, 46, 37, .25);
}
.btn:hover { background: var(--brand-dark); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(207, 46, 37, .3); }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: none; border: 1px solid var(--line); }
.btn.ghost:hover { background: #fff; border-color: var(--ink); }

.scroll-hint {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  width: 26px; height: 42px; border: 2px solid var(--line); border-radius: 999px;
}
.scroll-hint span {
  position: absolute; left: 50%; top: 9px; width: 4px; height: 8px; border-radius: 2px;
  background: var(--brand); transform: translateX(-50%);
  animation: wheel 1.8s ease-in-out infinite;
}

/* --- Bolumler ------------------------------------------------------------ */

.section { width: var(--page); margin: 0 auto; padding: 96px 0; }
.kicker { text-transform: uppercase; letter-spacing: .14em; font-size: 12.5px; font-weight: 600; color: var(--brand); }
.section h2 { font-size: clamp(30px, 4.4vw, 46px); font-weight: 700; margin: 10px 0 0; }
.lead { color: var(--ink-soft); max-width: 62ch; margin-top: 18px; font-size: 18px; }

/* Bolumler goruse girdiginde yukari kayarak belirir. */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1); }
[data-reveal].seen { opacity: 1; transform: none; }

.cards { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); margin-top: 34px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover { transform: translateY(-4px); border-color: transparent; box-shadow: 0 16px 36px rgba(18, 18, 18, .09); }
.card h3 { font-size: 19px; margin-bottom: 8px; }
.card p { color: var(--ink-soft); font-size: 15.5px; }
.card .hours { display: inline-block; margin-top: 12px; font-size: 13px; color: var(--brand); font-weight: 600; }
.card-icon {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(207, 46, 37, .10); color: var(--brand); margin-bottom: 16px;
}
.card-icon svg { width: 22px; height: 22px; }

.gallery { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); margin-top: 34px; }
.gallery img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; display: block;
  transition: transform .35s ease, box-shadow .35s ease;
}
.gallery img:hover { transform: scale(1.02); box-shadow: 0 18px 40px rgba(18, 18, 18, .18); }

.contact { background: var(--surface-soft); width: 100%; padding: 96px 24px; }
.contact > * { width: var(--page); margin-inline: auto; }
/* Bolum icindeki metin basliga hizali kalsin (ortalanmasin). */
.contact .lead { margin-inline: 0; }
.contact-cards .card { background: #fff; }
.contact-cards .card p { font-size: 17px; color: var(--ink); font-weight: 600; }

.foot {
  display: flex; gap: 8px; justify-content: center; align-items: center;
  padding: 34px 24px; color: var(--ink-soft); font-size: 14px; border-top: 1px solid var(--line);
}
.dot { opacity: .5; }

/* --- Hareketler ---------------------------------------------------------- */

@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes pop { from { opacity: 0; transform: scale(.7); } to { opacity: 1; transform: none; } }
@keyframes wheel { 0%, 100% { top: 9px; opacity: 1; } 60% { top: 22px; opacity: .25; } }
@keyframes drift {
  from { transform: translate(-22%, -16%) scale(1); }
  to   { transform: translate(18%, 12%) scale(1.15); }
}

/* --- Kucuk ekran --------------------------------------------------------- */

@media (max-width: 760px) {
  :root { --page: calc(100% - 32px); }
  .burger { display: block; }
  .nav {
    position: fixed; inset: var(--bar-height) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 8px 24px 20px;
    transform: translateY(-120%); transition: transform .3s cubic-bezier(.2, .8, .2, 1);
  }
  .nav.open { transform: none; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .nav .nav-cta { margin-top: 14px; text-align: center; border: 0; }
  .section { padding: 72px 0; }
}

/* Hareket hassasiyeti acikken hicbir sey oynamaz. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-reveal] { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
