*{ box-sizing: border-box; }
html, body{ margin:0; padding:0; }
body{ font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; color: var(--c-navy); }

.container{
  width: min(var(--container-max), calc(100% - 48px));
  margin-inline: auto;
}
a{ color: inherit; text-decoration: none; }
img{ display:block; max-width:100%; height:auto; }


/* Hamburger button */
.hamburger{
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 0;
  background: transparent;
  cursor: pointer;
  border-radius: 10px;

  /* EKLE: çizgiler alt alta */
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}

.hamburger span{
  display: block;
  height: 3px;
  width: 100%;
  border-radius: 2px;

  /* margin kaldır, gap kullanıyoruz */
  margin: 0;

  background: var(--header-text);
}

@media (max-width: 900px){
  .hamburger{ display: flex; } /* inline-flex değil, flex yeter */

  /* nav soldan panel */
  .nav{
    display: flex !important;   /* display:none’i ezer */
    position: fixed;
    top: 0;
    left: -280px;
    width: 180px;
    height: 100vh;

    flex-direction: column;
    align-items: flex-start;
    gap: 14px;

    padding: 90px 18px 18px;
    background: var(--header-bg);
    box-shadow: 8px 0 24px rgba(0,0,0,0.22);
    transition: left .28s ease;

    z-index: 999;               /* overlay’in üstünde */
  }

  .nav.is-open{
    left: 0;
  }

  .nav a{
    width: 100%;
    padding: 10px 12px;
    border-radius: 12px;
  }

  .nav a:hover{
    background: rgba(255,255,255,0.08);
  }

  /* overlay */
  .nav-overlay{
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.40);
    opacity: 0;
    pointer-events: none;
    transition: opacity .28s ease;
    z-index: 998;
  }

  .nav-overlay.is-active{
    opacity: 1;
    pointer-events: auto;
  }
}
