/* Web Çözüm Evi — ortak stiller
   Tasarım birebir korunur; inline stiller sayfalarda; burada temel + responsive + menü. */

:root{
  --wce-red:#e30613;
  --wce-red-dark:#c40d18;
  --wce-ink:#141a24;
  --wce-navy:#10151f;
  --wce-cyan:#2fb6c9;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{margin:0;color:#141a24;font-family:'Manrope',system-ui,sans-serif;-webkit-font-smoothing:antialiased}
a{color:#c40d18;text-decoration:none}
a:hover{color:#e30613}
img{max-width:100%}
input,select,textarea{font-family:'Manrope',system-ui,sans-serif}

@keyframes wce-pulse{0%,100%{opacity:.35}50%{opacity:1}}

/* Mobil menü (hamburger) */
.wce-burger{display:none;background:none;border:0;cursor:pointer;padding:8px;flex:none}
.wce-burger span{display:block;width:22px;height:2px;background:#141a24;margin:4px 0;border-radius:2px;transition:.25s}
.wce-nav-backdrop{display:none}

/* Açılır menü (dropdown) — masaüstü */
.wce-nav .wce-has-sub{position:relative}
.wce-nav .wce-sub{position:absolute;top:calc(100% + 8px);left:0;background:#ffffff;border:1px solid #e8eaee;border-radius:10px;box-shadow:0 14px 34px rgba(20,26,36,.14);padding:8px;min-width:230px;display:none;flex-direction:column;gap:2px;z-index:60}
.wce-nav .wce-has-sub::before{content:"";position:absolute;top:100%;left:0;height:10px;width:100%}
.wce-nav .wce-has-sub:hover .wce-sub{display:flex}
.wce-nav .wce-sub a{padding:9px 12px;border-radius:7px;font-size:13.5px;font-weight:600;color:#39414f !important;white-space:nowrap}
.wce-nav .wce-sub a:hover{background:#f7f8fa;color:#c40d18 !important}

/* -------- RESPONSIVE: içerik ızgaraları -------- */
@media (max-width:1024px){
  .wce-grid-2,.wce-grid-3,.wce-grid-4,.wce-grid-6,.wce-hero-grid{
    grid-template-columns:1fr !important;
  }
  .wce-hero-visual{min-height:auto !important;margin-top:32px}
}

@media (max-width:860px){
  /* Hero kompozisyonu: masaüstünde absolute; mobilde dikey akış */
  .wce-hero-visual{display:flex !important;flex-direction:column;gap:16px;position:static !important}
  .wce-hero-visual > div{
    position:static !important;inset:auto !important;top:auto !important;right:auto !important;
    bottom:auto !important;left:auto !important;width:100% !important
  }
  .wce-h1{font-size:32px !important}
  .wce-h2{font-size:26px !important}
  .wce-pad{padding-left:20px !important;padding-right:20px !important}
  .wce-tl-2,.wce-tl-3,.wce-tl-4{grid-template-columns:1fr !important}
}

@media (max-width:560px){
  .wce-h1{font-size:27px !important}
  .wce-flex-wrap{flex-wrap:wrap}
}

/* -------- RESPONSIVE: menü kırılımı (daha erken, menü uzun) -------- */
@media (max-width:1100px){
  /* backdrop-filter, fixed alt öğeler için containing block oluşturur; off-canvas menü için kaldır */
  header{backdrop-filter:none !important;-webkit-backdrop-filter:none !important}

  .wce-burger{display:block;order:3}
  .wce-header-cta{display:none !important}
  .wce-header-inner{justify-content:space-between !important;gap:16px !important}

  .wce-nav{
    position:fixed;top:0;right:0;bottom:0;width:82%;max-width:340px;z-index:60;
    background:#ffffff;flex-direction:column !important;justify-content:flex-start !important;
    align-items:stretch !important;gap:2px !important;padding:88px 22px 28px !important;
    box-shadow:-12px 0 40px rgba(0,0,0,.18);transform:translateX(100%);transition:transform .28s ease;
    overflow-y:auto;
  }
  .wce-nav > a,.wce-nav > .wce-has-sub > a{padding:12px 6px;border-bottom:1px solid #eef0f3;font-size:16px !important;display:block}
  body.wce-nav-open .wce-nav{transform:translateX(0)}
  body.wce-nav-open .wce-nav-backdrop{display:block;position:fixed;inset:0;z-index:55;background:rgba(16,21,31,.45)}

  /* dropdown'lar mobil çekmecede açık liste olarak */
  .wce-nav .wce-has-sub{position:static}
  .wce-nav .wce-sub{position:static;display:flex !important;box-shadow:none;border:0;border-radius:0;padding:2px 0 8px 14px;min-width:0}
  .wce-nav .wce-sub a{font-size:14px !important;padding:8px 6px;border-bottom:1px solid #f4f5f7}
}

/* Yönetim paneli — mobilde sidebar üstte */
@media (max-width:860px){
  .wce-admin{flex-direction:column !important}
  .wce-admin-aside{width:100% !important}
  .wce-table-scroll{overflow-x:auto}
}

/* Yasal / prose sayfalar */
.wce-prose h2{font-family:'Space Grotesk',sans-serif;font-size:19px;font-weight:700;color:#141a24;margin:30px 0 10px}
.wce-prose p{font-size:15px;line-height:1.8;color:#39414f;margin:0 0 14px}
.wce-prose ul{margin:0 0 16px;padding-left:20px}
.wce-prose li{font-size:15px;line-height:1.8;color:#39414f;margin-bottom:6px}
