/* ============================================================
   style-nova-modern.css — "quick wins" modernization layer
   Loaded LAST (after style-s3ek2nnrm-min4 + nova-baslik-v01),
   so equal-specificity rules here win. Nothing here is critical:
   without this file the site still renders the legacy way.
   v1 — 2026-09-02
   ============================================================ */

/* --- resets & fluid baseline (QW1 + QW4) --- */
*, *::before, *::after { box-sizing: border-box; }

body {
  font-size: 16px;
  line-height: 1.55;
}

img { max-width: 100%; height: auto; }

/* fixed-width layout -> fluid (QW1) */
#site_content { width: auto; max-width: 830px; padding: 20px 12px 0; }
#content      { width: auto; min-width: 0; max-width: 620px; float: left; }
.content_item { width: auto; max-width: 710px; }
.content_text { width: auto; max-width: 520px; }
.sidebar_container { width: 180px; }
.sidebar_item { width: auto; padding: 10px 12px; }

/* sidebar: unfloat inner box, center fluid button-links (fixes right lean) */
.sidebar { float: none; width: auto; padding-left: 0; margin: 0 auto; }
.sidebar h2 { text-align: center; }
a.tussal {
  display: block;
  width: auto; max-width: 100%;
  margin: 8px auto;
  padding: 10px 14px;
  line-height: 1.2;
  text-align: center;
}

/* --- headings & header block (QW4) --- */
h1, h2, h3, h4, h5, h6 { letter-spacing: normal; }
h1 { font-size: 150%; }
h2 { font-size: 140%; }

#site_heading { width: auto; height: auto; margin-bottom: 10px; padding: 6px 0 0 4px; }
#header { height: auto; }

/* logo + title row: flex instead of absolute positioning (QW4) */
div.sar {
  width: auto; height: auto;
  display: flex; align-items: center; gap: 12px;
  flex-wrap: wrap;
}
div.sar img { flex: 0 0 auto; }
div.sar h1, div.sar h2 { position: static; float: none; width: auto; }
div.sar h2 { flex-basis: 100%; }
#site_heading h1 {
  width: auto;
  font-size: clamp(1.5rem, 5vw, 2.1rem);
  letter-spacing: normal;
}
#site_heading h2 { width: auto; font-size: clamp(0.95rem, 3vw, 1.1rem); }

/* --- menu: visible and touch-friendly on every width (QW2) --- */
#menubar {
  width: auto; max-width: 780px;
  height: auto;
  padding: 8px 10px;
  border-radius: 12px;
  display: block;               /* undoes the 580px display:none */
}
ul#menu {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 2px 0;
  margin: 0;
}
ul#menu li { display: block; margin: 0; }
ul#menu li a {
  display: block;
  min-height: 44px;
  line-height: 20px;
  padding: 12px 16px;
  font-size: 105%;
  letter-spacing: normal;
  text-shadow: none;
  box-sizing: border-box;
}

/* --- CTA button: CSS instead of PNG (QW5) --- */
ol:has(> li.button) { list-style: none; padding: 0; margin: 14px auto; }
li.button, li.asasabutton {
  width: auto; height: auto;
  margin: 0 auto;
  background: none;
  list-style: none;
  display: block;
  text-align: center;
  line-height: normal;
}
li.button a {
  display: inline-block;
  background: linear-gradient(#0b7dbd, #04699b);
  color: #fff;
  font-size: 1.25rem;
  line-height: 1.25;
  padding: 18px 36px;
  border-radius: 12px;
  box-shadow: 0 3px 8px rgba(4, 105, 155, 0.35);
  text-decoration: none;
}
li.button a:hover, li.button a:focus { background: #034f75; color: #fff; }
li.button a span { color: #fff; font-family: inherit; }
#tiklatus { width: auto; max-width: 100%; }

/* --- one accent: kill yellow glow, unify blue (QW6) --- */
h1, h2, h3, h4, h5, h6 { text-shadow: none; }
#site_heading h1 { color: #04699b; }
#site_heading h2 { color: #0d3c5a; }
ul#menu li a { text-shadow: none; }
#footer { text-shadow: none; }
.sidebar h2, .sidebar h4 { text-shadow: none; }

/* footer fluid (QW1) */
#footer { width: auto; max-width: 780px; height: auto; padding: 16px 20px; border-radius: 12px; }

/* intro image behaves on narrow screens */
#introimg img { max-width: 100%; height: auto; }

/* gutter between 50% float columns (ozellikler grid) */
.sutun { padding-right: 4%; }

/* ============================================================
   Mobile: stack everything under 700px (QW3)
   ============================================================ */
@media (max-width: 700px) {
  #content {
    float: none;
    width: auto;
    max-width: none;
    padding-right: 0;
  }
  .sidebar_container {
    float: none;
    width: 100%;
    margin: 16px 0 20px;
  }
  .sidebar { float: none; width: auto; }
  .sidebar_item { padding: 12px 16px; }

  .sutun { width: 100%; float: none; padding-right: 0; }

  #introimg { float: none; text-align: center; padding-right: 0; }

  ul#menu li a { padding: 12px 10px; }

  #footer { width: auto; }

  .giris { font-size: 105%; }
}
