/* =====================================================================
   sferodokum.com — Nova şablonu marka + ek bileşen stilleri
   (Nova'nın main.css'i temeldir; burada yalnızca renk + eksik bileşenler)
   ===================================================================== */
:root {
  --accent-color: #a22720 !important;   /* Şanlı kırmızısı */
  --heading-color: #1f1d1c;
}
:root { --nav-mega-bg: #ffffff; }

/* Logo ikonu */
.logo .sitename { font-weight: 700; }
.logo .marka-ikon { color: var(--accent-color); margin-right: 8px; }

/* Üst bilgi çubuğu (Nova'da yok, ekliyoruz) */
.ust-serit { background: #1f1d1c; color: #cfc8c2; font-size: .85rem; padding: 7px 0; }
.ust-serit a { color: #cfc8c2; }
.ust-serit a:hover { color: #fff; }
.ust-serit .sag a { margin-left: 14px; }
.header.fixed-top { top: 36px; }           /* üst şerit için pay */
@media (max-width: 575px) { .header.fixed-top { top: 0; } .ust-serit { display: none; } }

/* ---- Mega menü (Ürünler) ---- */
.navmenu .mega { position: static; }
.navmenu .mega-panel {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--nav-mega-bg); 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: #f6f4f2; 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: #f0edea; color: #6b6560; 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şı (iç sayfalar) ---- */
.sayfa-basi { padding: 130px 0 40px; background: linear-gradient(120deg, #1f1d1c, #34302d); 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: #b8b1ab; }
.sayfa-basi .izyolu a { color: #cfc8c2; }
.sayfa-basi .izyolu li::after { content: "/"; margin-left: 8px; color: #6b6560; }
.sayfa-basi .izyolu li:last-child::after { content: ""; }

/* ---- Ürün kartı (Nova yüzeyi) ---- */
.urun-kart { background: var(--surface-color); border-radius: 8px; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,.06); height: 100%; display: flex; flex-direction: column; transition: .2s; }
.urun-kart:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(0,0,0,.12); }
.urun-kart .gorsel { position: relative; aspect-ratio: 4/3; background: #f0edea; 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: var(--heading-color); }
.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: #6b6560; }
.urun-kart .link { margin-top: auto; font-weight: 600; font-size: .9rem; color: var(--accent-color); }

/* Yan kategori menüsü */
.yan-menu { background: var(--surface-color); border-radius: 8px; box-shadow: 0 4px 20px rgba(0,0,0,.06); padding: 20px; position: sticky; top: 110px; }
.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: #453f3c; border-radius: 4px; border-left: 3px solid transparent; }
.yan-menu ul a:hover, .yan-menu ul a.aktif { background: #f6f4f2; border-left-color: var(--accent-color); color: var(--accent-color); font-weight: 600; }
.yan-ara { display: flex; border: 1px solid #e3ded9; border-radius: 4px; 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: 8px; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,.06); background: #f0edea; }
.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 #e3ded9; border-radius: 6px; 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 #e3ded9; text-align: left; }
.ozellik-tablo th { background: #f6f4f2; width: 40%; }

/* İletişim formu */
.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 #e3ded9; border-radius: 5px; 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: 6px; margin-bottom: 18px; }
.bildirim.basarili { background: #e6f7ee; color: #1e7a42; border: 1px solid #b6e2c8; }
.bildirim.hata { background: #fdecea; color: #a22720; border: 1px solid #f3c0bc; }

/* Buton kırmızı (Nova accent zaten override) */
.btn-kirmizi { display: inline-flex; align-items: center; gap: 8px; background: var(--accent-color); color: #fff; padding: 11px 24px; 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; }

/* 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; }

/* Servis (kategori) ikon rengi düzelt */
.services .service-item .icon i { color: var(--accent-color) !important; }

/* Hero: ürün görseli arkaplanda; sola koyu degrade ile metin okunur kalsın */
#hero.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(90deg, rgba(20,18,17,.92) 0%, rgba(20,18,17,.78) 45%, rgba(20,18,17,.35) 100%);
}
#hero.hero img { object-fit: contain; object-position: right center; background: #14100f; }
#hero .container { position: relative; z-index: 3; }
