/* Balgat Nargile — halka açık site.
 * Hesap uygulamasıyla aynı görsel dil ("kor"): koyu zemin, turuncudan
 * kehribara giden tek vurgu, cam yüzeyler. */

:root {
  --bg: #0A0A0C;
  --bg-2: #0D0C10;
  --yzy: rgba(255, 255, 255, 0.045);
  --cizgi: rgba(255, 255, 255, 0.10);
  --cizgi-2: rgba(255, 255, 255, 0.16);
  --yazi: #F2F1F5;
  --sonuk: #8B8794;
  --vurgu: #FF7A45;
  --kor: linear-gradient(100deg, #FF7A45, #FFB03A);
}

* { box-sizing: border-box; }

/* hidden özniteliği her zaman kazansın: display veren bir kural onu ezmesin.
   .buyut ve .bilgi-link gibi display'i olan öğeler aksi halde gizlenmiyor. */
[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--yazi);
  font-family: Sora, -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
}

.kap { max-width: 1080px; margin: 0 auto; padding: 0 22px; }

a { color: inherit; }

/* ---------- üst şerit ---------- */

.ust {
  position: sticky; top: 0; z-index: 20;
  background: #0B0B0D;
  border-bottom: 1px solid var(--cizgi);
}
.ust-ic { display: flex; align-items: center; justify-content: space-between; height: 62px; gap: 18px; }
.marka { text-decoration: none; display: flex; align-items: baseline; gap: 7px; }
.marka-isim { font-weight: 800; font-size: 17px; letter-spacing: -0.04em; }
.marka-alt { color: var(--sonuk); font-size: 12px; font-weight: 500; }
.ust-menu { display: flex; gap: 22px; font-size: 14px; font-weight: 500; }
.ust-menu a { color: var(--sonuk); text-decoration: none; }
.ust-menu a:hover { color: var(--yazi); }

/* ---------- hero ---------- */

.hero { position: relative; overflow: hidden; padding: 84px 0 72px; }
/* GPU bulanıklaştırma yok: Firefox/macOS'ta büyük blur katmanı yanlış
   bileşenlenip metnin üstünü örtebiliyor. Radyal geçiş zaten yumuşak. */
.hero-kor {
  position: absolute; inset: -40% 0 auto -10%;
  height: 520px; pointer-events: none; z-index: 0;
  background: radial-gradient(50% 50% at 30% 50%, rgba(255, 122, 69, 0.24), transparent 72%);
}
.hero-ic { position: relative; z-index: 1; }
.bolum, .menu-izgara, .menu-grup { position: relative; z-index: 1; }
.etiket {
  margin: 0 0 14px; color: var(--vurgu);
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
}
h1 {
  margin: 0; font-size: clamp(2.4rem, 1.4rem + 4.2vw, 4.4rem);
  font-weight: 800; line-height: 1.02; letter-spacing: -0.045em;
  text-wrap: balance;
}
.hero-yazi { margin: 20px 0 0; max-width: 56ch; color: var(--sonuk); font-size: 17px; }
.hero-dugmeler { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 30px; }

.dugme {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 22px; border-radius: 14px; text-decoration: none;
  font-weight: 600; font-size: 14.5px;
  border: 1px solid var(--cizgi); background: var(--yzy); color: var(--yazi);
}
.dugme.birincil {
  background: var(--kor); border: 0; color: #180F08; font-weight: 700;
  box-shadow: 0 10px 26px -14px rgba(255, 122, 69, 0.9);
}

/* ---------- bölümler ---------- */

.bolum { padding: 64px 0; border-top: 1px solid var(--cizgi); }
.bolum-bas { margin-bottom: 30px; }
h2 {
  margin: 0; font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.2rem);
  font-weight: 700; letter-spacing: -0.035em;
}
.not { margin: 8px 0 0; color: var(--sonuk); font-size: 14px; max-width: 60ch; }
.yukleniyor { color: var(--sonuk); }

/* ---------- menü ---------- */

.menu-izgara { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.menu-grup {
  background: var(--yzy); border: 1px solid var(--cizgi);
  border-radius: 18px; padding: 20px 20px 12px;
}
.menu-grup h3 {
  margin: 0 0 14px; font-size: 13px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--vurgu);
}
.menu-satir {
  display: flex; align-items: baseline; gap: 12px;
  padding: 9px 0; border-bottom: 1px solid var(--cizgi);
}
.menu-grup .menu-satir:last-child { border-bottom: 0; }
/* Sınıf adı bilerek "menu-urun": "-ad" ile biten sınıfları reklam
   engelleyiciler reklam sanıp gizliyor ve ürün adları kayboluyordu.
   Ad kendi genişliğinde kalır ve sıkışmaz; boşluğu noktalı çizgi doldurur. */
.menu-urun { font-weight: 500; flex: 0 0 auto; max-width: 72%; }
.menu-nokta {
  flex: 1 1 12px; min-width: 12px; height: 1px; margin-bottom: 5px; align-self: flex-end;
  background: repeating-linear-gradient(90deg, var(--cizgi-2) 0 2px, transparent 2px 6px);
}
.menu-fiyat { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.menu-servis { display: block; color: var(--sonuk); font-size: 12px; font-weight: 500; }

/* ---------- galeri ---------- */

.galeri { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.galeri img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: 16px; border: 1px solid var(--cizgi);
  cursor: zoom-in; display: block;
}

.buyut {
  position: fixed; inset: 0; z-index: 50;
  background: rgba(4, 4, 6, 0.94);
  display: flex; align-items: center; justify-content: center; padding: 24px;
}
.buyut img { max-width: 100%; max-height: 100%; border-radius: 14px; }

/* ---------- iletişim ---------- */

.iletisim-izgara { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.bilgi-kart {
  background: var(--yzy); border: 1px solid var(--cizgi);
  border-radius: 18px; padding: 20px;
}
.bilgi-etiket {
  color: var(--sonuk); font-size: 11.5px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
}
.bilgi-kart p { margin: 8px 0 0; font-size: 16px; font-weight: 500; }
.bilgi-kart a { color: var(--yazi); }
/* Harita: ham bağlantı yerine yer işareti kısayolu */
.yer-isareti {
  display: inline-flex; align-items: center; gap: 7px;
  margin-top: 14px; padding: 8px 14px 8px 11px;
  border: 1px solid var(--cizgi-2); border-radius: 999px;
  color: var(--vurgu); font-size: 13.5px; font-weight: 600; text-decoration: none;
  background: rgba(255, 122, 69, 0.07);
}
.yer-isareti svg { width: 16px; height: 16px; }
.yer-isareti:hover { border-color: var(--vurgu); background: rgba(255, 122, 69, 0.13); }
body.duzenleme .yer-isareti { cursor: pointer; }

/* ---------- alt ---------- */

.alt { border-top: 1px solid var(--cizgi); padding: 26px 0 40px; background: var(--bg-2); }
.alt-ic { display: flex; justify-content: space-between; gap: 12px; color: var(--sonuk); font-size: 13px; }

@media (max-width: 560px) {
  .ust-menu { gap: 15px; font-size: 13px; }
  .marka-alt { display: none; }
  .hero { padding: 56px 0 48px; }
  .bolum { padding: 48px 0; }
}


/* ---------- yerinde düzenleme ---------- */

.duzenleme-serit {
  position: sticky; top: 0; z-index: 40;
  background: linear-gradient(100deg, #FF7A45, #FFB03A);
  color: #180F08; font-size: 12.5px; font-weight: 600;
  padding: 9px 18px; text-align: center;
}
body.duzenleme .ust { top: 38px; }

body.duzenleme [contenteditable] {
  outline: 1px dashed rgba(255, 122, 69, 0.45);
  outline-offset: 5px;
  border-radius: 3px;
  cursor: text;
  transition: outline-color .12s ease, background .12s ease;
}
body.duzenleme [contenteditable]:hover { outline-color: rgba(255, 122, 69, 0.9); }
body.duzenleme [contenteditable]:focus {
  outline: 2px solid var(--vurgu); outline-offset: 5px;
  background: rgba(255, 122, 69, 0.06);
}
body.duzenleme [contenteditable].bos { color: var(--sonuk); font-style: italic; }

.kayit-bildirim {
  position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 16px);
  background: #17161C; border: 1px solid var(--cizgi-2);
  color: var(--yazi); font-size: 13px; font-weight: 600;
  padding: 10px 18px; border-radius: 999px;
  opacity: 0; pointer-events: none; transition: opacity .18s ease, transform .18s ease;
  z-index: 60;
}
.kayit-bildirim.gorunur { opacity: 1; transform: translate(-50%, 0); }
.kayit-bildirim.hata { border-color: #FF4D6D; color: #FF9DAF; }
