/* =====================================================================
   manholecover.org — Logis şablonu marka + bileşenler + dil değiştirici
   ===================================================================== */
:root { --accent-color: #a22720 !important; }

.logo .sitename .marka-ikon { color: var(--accent-color); margin-right: 6px; }

/* Üst şerit + sabit başlık dizilimi (mobil çakışma düzeltmesi)
   Logis'in .header'ı saydam+fixed olarak hero üstüne biner; sonradan eklenen
   koyu üst şerit normal akıştaydı ve saydam başlık onun üstüne giriyordu
   (mobilde logo 2 satıra kayınca iyice belirgin). Üst şeridi de sabitleyip
   başlığı onun altına indiriyoruz. */
.ust-serit { position: fixed; top: 0; left: 0; right: 0; z-index: 998; }
.header.fixed-top, #header.header { top: 42px; }
.header .logo h1.sitename { white-space: nowrap; }

/* Üst şerit + dil değiştirici */
.ust-serit { background: #12233a; color: #cfd6df; font-size: .85rem; padding: 7px 0; }
.ust-serit a { color: #cfd6df; } .ust-serit a:hover { color: #fff; }
.ust-serit .sag { display: flex; align-items: center; gap: 14px; }
.dil-sec { position: relative; }
.dil-sec > button { background: rgba(255,255,255,.12); color: #fff; border: 0; border-radius: 4px; padding: 4px 10px; cursor: pointer; font-size: .82rem; display: inline-flex; align-items: center; gap: 6px; }
.dil-liste { position: absolute; right: 0; top: 110%; background: #fff; border-radius: 6px; box-shadow: 0 10px 30px rgba(0,0,0,.18); list-style: none; margin: 0; padding: 6px; min-width: 150px; display: none; z-index: 200; }
.dil-sec.acik .dil-liste { display: block; }
.dil-liste a { display: flex; align-items: center; gap: 8px; padding: 8px 10px; color: #333; border-radius: 4px; }
.dil-liste a:hover, .dil-liste a.aktif { background: #f2f4f7; color: var(--accent-color); }

/* Mega menü */
.navmenu .mega { position: static; }
.navmenu .mega-panel { position: absolute; left: 0; right: 0; top: 100%; background: #fff; box-shadow: 0 16px 40px rgba(0,0,0,.14); border-top: 3px solid var(--accent-color); padding: 26px 0; opacity: 0; visibility: hidden; transform: translateY(8px); transition: .2s; z-index: 100; }
.navmenu .mega:hover .mega-panel { opacity: 1; visibility: visible; transform: translateY(0); }
.mega-liste { list-style: none; margin: 0; padding: 0; }
.mega-liste li { margin-bottom: 4px; }
.mega-liste a { display: flex !important; align-items: center; gap: 8px; padding: 7px 12px !important; color: #453f3c !important; border-radius: 4px; }
.mega-liste a:hover { background: #f2f4f7; color: var(--accent-color) !important; }
.mega-liste a i { color: var(--accent-color); font-size: .7rem; } .mega-liste a span { flex: 1; }
.mega-liste a small { background: #eef1f5; color: #667; padding: 1px 8px; border-radius: 10px; font-size: .72rem; }
@media (max-width: 1199px) { .navmenu .mega-panel { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; display: none; padding: 0 0 10px; } .navmenu .mega.active .mega-panel { display: block; } }

/* Sayfa başı */
.sayfa-basi { padding: 130px 0 42px; background: linear-gradient(120deg, #12233a, #1f3a5f); color: #fff; }
.sayfa-basi h1 { color: #fff; font-size: 2.2rem; margin: 0 0 8px; }
.sayfa-basi .izyolu { list-style: none; display: flex; gap: 8px; padding: 0; margin: 0; font-size: .9rem; color: #b7c2d0; }
.sayfa-basi .izyolu a { color: #dbe2ea; }
.sayfa-basi .izyolu li::after { content: "/"; margin-left: 8px; color: #64748b; }
.sayfa-basi .izyolu li:last-child::after { content: ""; }

/* Ürün kartı */
.urun-kart { background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 6px 24px rgba(0,0,0,.06); height: 100%; display: flex; flex-direction: column; transition: .2s; }
.urun-kart:hover { transform: translateY(-4px); box-shadow: 0 16px 38px rgba(0,0,0,.12); }
.urun-kart .gorsel { position: relative; aspect-ratio: 4/3; background: #eef1f5; display: block; overflow: hidden; }
.urun-kart .gorsel img { width: 100%; height: 100%; object-fit: cover; transition: .3s; }
.urun-kart:hover .gorsel img { transform: scale(1.05); }
.urun-kart .rozet { position: absolute; top: 10px; left: 10px; background: var(--accent-color); color: #fff; font-weight: 700; font-size: .78rem; padding: 3px 10px; border-radius: 3px; }
.urun-kart .govde { padding: 16px; flex: 1; display: flex; flex-direction: column; }
.urun-kart .kod { color: var(--accent-color); font-weight: 600; font-size: .78rem; }
.urun-kart h3 { font-size: 1.02rem; margin: 4px 0 10px; line-height: 1.3; }
.urun-kart h3 a { color: #12233a; } .urun-kart h3 a:hover { color: var(--accent-color); }
.urun-kart .ozet { list-style: none; padding: 0; margin: 0 0 12px; font-size: .84rem; }
.urun-kart .ozet li { display: flex; justify-content: space-between; padding: 3px 0; border-bottom: 1px dashed #eee; }
.urun-kart .ozet span { color: #667; }
.urun-kart .link { margin-top: auto; font-weight: 600; font-size: .9rem; color: var(--accent-color); }

/* Yan menü */
.yan-menu { background: #fff; border-radius: 10px; box-shadow: 0 6px 24px rgba(0,0,0,.06); padding: 20px; position: sticky; top: 100px; }
.yan-menu h3 { font-size: 1.1rem; margin: 0 0 12px; }
.yan-menu ul { list-style: none; padding: 0; margin: 0 0 16px; }
.yan-menu ul a { display: flex; justify-content: space-between; padding: 9px 12px; color: #445; border-radius: 6px; }
.yan-menu ul a:hover, .yan-menu ul a.aktif { background: #f2f4f7; color: var(--accent-color); font-weight: 600; }
.yan-ara { display: flex; border: 1px solid #dde3ea; border-radius: 6px; overflow: hidden; }
.yan-ara input { flex: 1; border: 0; padding: 10px; outline: none; }
.yan-ara button { background: var(--accent-color); color: #fff; border: 0; padding: 0 14px; cursor: pointer; }

/* Ürün detay */
.detay-gorsel { border-radius: 10px; overflow: hidden; box-shadow: 0 6px 24px rgba(0,0,0,.06); background: #eef1f5; }
.detay-gorsel img { width: 100%; display: block; }
.detay-kucuk { display: flex; gap: 10px; margin-top: 12px; }
.detay-kucuk button { width: 68px; height: 68px; border: 2px solid #dde3ea; border-radius: 8px; padding: 0; overflow: hidden; cursor: pointer; background: #fff; }
.detay-kucuk button.aktif { border-color: var(--accent-color); }
.detay-kucuk img { width: 100%; height: 100%; object-fit: cover; }
.ozellik-tablo { width: 100%; border-collapse: collapse; margin: 18px 0; }
.ozellik-tablo th, .ozellik-tablo td { padding: 11px 14px; border: 1px solid #dde3ea; text-align: left; }
.ozellik-tablo th { background: #f2f4f7; width: 40%; }

/* Form */
.form-alan { margin-bottom: 16px; }
.form-alan label { display: block; font-weight: 600; font-size: .88rem; margin-bottom: 5px; }
.form-alan input, .form-alan textarea { width: 100%; border: 1px solid #dde3ea; border-radius: 6px; padding: 11px 13px; font: inherit; outline: none; }
.form-alan input:focus, .form-alan textarea:focus { border-color: var(--accent-color); }
.bildirim { padding: 13px 16px; border-radius: 8px; margin-bottom: 18px; }
.bildirim.basarili { background: #e6f7ee; color: #1e7a42; border: 1px solid #b6e2c8; }
.bildirim.hata { background: #fdecea; color: #a22720; border: 1px solid #f3c0bc; }

.btn-kirmizi { display: inline-flex; align-items: center; gap: 8px; background: var(--accent-color); color: #fff; padding: 12px 26px; border-radius: 50px; font-weight: 600; border: 0; }
.btn-kirmizi:hover { background: #7e1e19; color: #fff; }
.btn-wa { background: #25d366 !important; } .btn-wa:hover { background: #1eb757 !important; }

/* Neden biz kartları */
.neden-kart { background: #fff; border-radius: 10px; box-shadow: 0 6px 24px rgba(0,0,0,.06); padding: 26px; height: 100%; text-align: center; }
.neden-kart i { font-size: 2.2rem; color: var(--accent-color); }
.neden-kart h4 { margin: 12px 0 6px; font-size: 1.05rem; }
.neden-kart p { color: #667; font-size: .9rem; margin: 0; }

/* WhatsApp sabit */
.wa-sabit { position: fixed; left: 20px; bottom: 20px; width: 54px; height: 54px; background: #25d366; color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; box-shadow: 0 6px 20px rgba(37,211,102,.4); z-index: 999; }
.wa-sabit:hover { color: #fff; background: #1eb757; }

/* Mobil: logo tek satır, üst şerit sıkışık ama okunur (temel .ust-serit'ten sonra gelmeli) */
@media (max-width: 575px) {
  .header .logo h1.sitename { font-size: 21px; }
  .header .logo .marka-ikon { margin-right: 4px; }
  .ust-serit { font-size: .74rem; padding: 6px 0; }
  .ust-serit .sag { gap: 10px; }
  .ust-serit .sol a { white-space: nowrap; }
}
