/*
 * Birleştirilmiş CSS
 *
 * Sıralama: mevcut temel CSS önce, yeni tasarımın site.css dosyası sonra.
 * Böylece yeni tasarımın kuralları aynı seçicilerde öncelik kazanır.
 */

/* ===== Mevcut temel CSS (css/style.css) ===== */

/*! HTML5 Boilerplate v9.0.1 | MIT License | https://html5boilerplate.com/ */

/* main.css 3.0.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
  color: #222;
  font-size: 1em;
  line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden,
[hidden] {
  display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.visually-hidden {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  /* 1 */
}

/*
 * Extends the .visually-hidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visually-hidden.focusable:active,
.visually-hidden.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
  visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * The use of `table` rather than `block` is only necessary if using
 * `::before` to contain the top-margins of child elements.
 */

.clearfix::before,
.clearfix::after {
  content: "";
  display: table;
}

.clearfix::after {
  clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
  /* Style adjustments for viewports that meet the condition */
}

@media print,
  (-webkit-min-device-pixel-ratio: 1.25),
  (min-resolution: 1.25dppx),
  (min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
  *,
  *::before,
  *::after {
    background: #fff !important;
    color: #000 !important;
    /* Black prints faster */
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]::after {
    content: " (" attr(href) ")";
  }

  abbr[title]::after {
    content: " (" attr(title) ")";
  }

  /*
   * Don't show links that are fragment identifiers,
   * or use the `javascript:` pseudo protocol
   */
  a[href^="#"]::after,
  a[href^="javascript:"]::after {
    content: "";
  }

  pre {
    white-space: pre-wrap !important;
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}



/* ===== Yeni tasarım CSS'i (site.css) ===== */

:root {
  --ink: #111111;
  --muted: #666666;
  --line: #e8e8e8;
  --paper: #f7f7f7;
  --paper-soft: #fafafa;
  --white: #ffffff;
  --green: #25d366;
  --header-height: 78px;
  --container: 1180px;
  --reading: 760px;
  --radius: 16px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 28px);
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: "Inter", Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button,
input,
textarea,
select {
  font: inherit;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  transform: translateY(-150%);
  border-radius: 8px;
  background: var(--ink);
  color: var(--white);
  font-size: 13px;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(calc(100% - 80px), var(--container));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  height: var(--header-height);
  border-bottom: 1px solid rgba(17, 17, 17, 0.06);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  padding: 18px 60px;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  min-width: 158px;
  min-height: 38px;
}

.brand::before {
  width: 158px;
  height: 38px;
  background: url("/images/balatlogo.png") left center / contain no-repeat;
  content: "";
}

.brand-mark,
.brand-name {
  display: none;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(15px, 1.55vw, 26px);
  white-space: nowrap;
}

.site-nav a {
  position: relative;
  color: #333333;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.2;
  transition: color 180ms ease;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: -9px;
  left: 0;
  height: 1px;
  transform: scaleX(0);
  transform-origin: center;
  background: var(--ink);
  content: "";
  transition: transform 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"] {
  color: var(--ink);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.site-nav .nav-cta {
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: #333333;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 18px;
  height: 1px;
  background: currentColor;
  content: "";
  transition: transform 180ms ease;
}

.menu-toggle span::before {
  transform: translateY(-6px);
}

.menu-toggle span::after {
  transform: translateY(5px);
}

.menu-toggle[aria-expanded="true"] span {
  background: transparent;
}

.menu-toggle[aria-expanded="true"] span::before {
  transform: translateY(0) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span::after {
  transform: translateY(-1px) rotate(-45deg);
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #7a7a7a;
  font-size: 13px;
}

.breadcrumbs > * + *::before {
  margin-right: 9px;
  color: #b9b9b9;
  content: "/";
}

.breadcrumbs a {
  transition: color 180ms ease;
}

.breadcrumbs a:hover {
  color: var(--ink);
}

.page-hero {
  display: flex;
  min-height: 590px;
  align-items: center;
  padding: 76px 0 92px;
  text-align: center;
}

.page-hero .container {
  max-width: 1000px;
}

.page-hero .breadcrumbs {
  justify-content: center;
  margin-bottom: 64px;
}

.eyebrow,
.article-kicker,
.category {
  display: block;
  margin: 0 0 20px;
  color: #777777;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
}

.page-title {
  max-width: 920px;
  margin: 0 auto;
  font-size: clamp(44px, 5vw, 64px);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.page-lede {
  max-width: 760px;
  margin: 28px auto 0;
  color: var(--muted);
  font-size: clamp(17px, 1.65vw, 20px);
  line-height: 1.7;
}

.section {
  padding: 110px 0;
}

.section-paper {
  background: var(--paper-soft);
}

.news-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.news-row {
  position: relative;
  display: grid;
  min-height: 330px;
  grid-template-rows: auto 1fr auto;
  padding: 38px 40px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--paper);
  transition: background 200ms ease, transform 200ms ease;
}

.news-row:hover {
  transform: translateY(-4px);
  background: #f1f1f1;
}

.news-row time {
  color: #888888;
  font-size: 13px;
}

.news-row > div {
  align-self: center;
  padding: 36px 0 28px;
}

.news-row .category {
  margin-bottom: 15px;
}

.news-row h2 {
  max-width: 520px;
  margin: 0;
  font-size: clamp(25px, 2.2vw, 34px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.16;
}

.news-row p {
  max-width: 550px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.row-arrow {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  justify-self: end;
  border: 1px solid #dddddd;
  border-radius: 50%;
  background: var(--white);
  font-size: 17px;
  transition: background 180ms ease, color 180ms ease;
}

.news-row:hover .row-arrow {
  background: var(--ink);
  color: var(--white);
}

.cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: 90px;
  align-items: start;
}

.cta-panel h2 {
  max-width: 670px;
  margin: 0;
  font-size: clamp(38px, 4vw, 56px);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.cta-panel p {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.button-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border: 1px solid var(--ink);
  border-radius: 30px;
  background: var(--ink);
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
  transition: background 180ms ease, color 180ms ease;
}

.button-dark:hover {
  background: transparent;
  color: var(--ink);
}

.article-hero {
  padding: 54px 0 86px;
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.article-hero .breadcrumbs {
  margin-bottom: 70px;
}

.article-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 215px;
  gap: 78px;
  align-items: end;
}

.article-kicker {
  margin-bottom: 22px;
}

.article-title {
  max-width: 930px;
  margin: 0;
  font-size: clamp(42px, 5.1vw, 68px);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 1.04;
}

.article-meta {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.article-meta span {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.article-meta strong {
  color: var(--ink);
  font-weight: 500;
}

.article-layout {
  display: grid;
  grid-template-columns: 210px minmax(0, var(--reading)) 190px;
  gap: 50px;
  align-items: start;
  justify-content: center;
  padding-top: 90px;
  padding-bottom: 120px;
}

.article-aside,
.article-rail {
  position: sticky;
  top: calc(var(--header-height) + 34px);
  display: grid;
  gap: 0;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--paper);
}

.article-aside strong,
.article-rail strong {
  margin-bottom: 13px;
  font-size: 13px;
  font-weight: 600;
}

.article-aside a,
.article-rail a {
  padding: 9px 0;
  border-top: 1px solid #e3e3e3;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
  transition: color 180ms ease;
}

.article-aside a:hover,
.article-rail a:hover {
  color: var(--ink);
}

.article-body {
  min-width: 0;
  color: #333333;
  font-size: 17px;
  line-height: 1.85;
}

.article-body > :first-child {
  margin-top: 0;
}

.article-body p {
  margin: 0 0 25px;
}

.article-body .lead {
  margin-bottom: 52px;
  color: var(--ink);
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 400;
  letter-spacing: -0.018em;
  line-height: 1.6;
}

.article-body h2 {
  margin: 76px 0 24px;
  color: var(--ink);
  font-size: clamp(30px, 3vw, 40px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.15;
}

.article-body h3 {
  margin: 42px 0 16px;
  color: var(--ink);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.article-body ul,
.article-body ol {
  margin: 0 0 30px;
  padding-left: 24px;
}

.article-body li {
  margin: 9px 0;
  padding-left: 5px;
}

.article-body a {
  text-decoration: underline;
  text-decoration-color: #b9b9b9;
  text-underline-offset: 4px;
}

.article-body a:hover {
  text-decoration-color: var(--ink);
}

.article-body blockquote {
  margin: 48px 0;
  padding: 30px 34px;
  border: 0;
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  font-size: 20px;
  line-height: 1.65;
}

.article-body blockquote p:last-child {
  margin-bottom: 0;
}

.fact-box,
.warning-box,
.source-box {
  margin: 44px 0;
  padding: 30px 34px;
  border: 0;
  border-radius: var(--radius);
  background: var(--paper);
}

.fact-box > strong,
.warning-box > strong,
.source-box > strong {
  display: block;
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
}

.fact-box p:last-child,
.warning-box p:last-child,
.source-box p:last-child,
.source-box ul:last-child {
  margin-bottom: 0;
}

.warning-box {
  border-left: 3px solid var(--ink);
}

.source-box {
  border: 1px solid var(--line);
  background: var(--white);
}

.article-body small {
  display: block;
  margin-top: 52px;
  color: #888888;
  font-size: 12px;
  line-height: 1.7;
}

.site-footer {
  padding: 64px 0 32px;
  border-top: 1px solid var(--line);
  background: var(--white);
  color: #777777;
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(250px, 1fr) 170px 200px;
  gap: 80px;
}

.site-footer .brand {
  margin-bottom: 26px;
  opacity: 0.86;
}

.footer-statement {
  max-width: 370px;
  margin: 0;
  line-height: 1.7;
}

.footer-col {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-col h2 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
}

.footer-col a {
  transition: color 180ms ease;
}

.footer-col a:hover {
  color: var(--ink);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 60px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  font-size: 12px;
}

.whatsapp {
  position: fixed;
  z-index: 90;
  right: 24px;
  bottom: 24px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 18px;
  border-radius: 50px;
  background: var(--green);
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.16);
  transition: transform 180ms ease;
}

.whatsapp:hover {
  transform: translateY(-2px);
}

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 4px;
}

@media (max-width: 1220px) {
  .header-inner {
    padding-inline: 40px;
  }

  .site-nav {
    gap: 15px;
  }

  .article-layout {
    grid-template-columns: 190px minmax(0, var(--reading));
    gap: 46px;
  }

  .article-rail {
    position: static;
    grid-column: 2;
    grid-template-columns: repeat(3, 1fr);
    margin-top: -20px;
  }

  .article-rail strong {
    grid-column: 1 / -1;
  }
}

@media (max-width: 1040px) {
  :root {
    --header-height: 72px;
  }

  .header-inner {
    padding: 15px 30px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    top: var(--header-height);
    right: 0;
    left: 0;
    display: grid;
    max-height: calc(100vh - var(--header-height));
    gap: 0;
    padding: 18px 30px 30px;
    overflow-y: auto;
    visibility: hidden;
    transform: translateY(-12px);
    background: rgba(255, 255, 255, 0.98);
    opacity: 0;
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms;
  }

  .site-nav.is-open {
    visibility: visible;
    transform: translateY(0);
    opacity: 1;
  }

  .site-nav a {
    padding: 15px 0;
    border-bottom: 1px solid var(--line);
    font-size: 16px;
  }

  .site-nav a::after {
    display: none;
  }

  .article-header {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .article-meta {
    grid-template-columns: repeat(3, 1fr);
    border-bottom: 1px solid var(--line);
  }

  .article-meta span {
    border-bottom: 0;
  }

  .article-layout {
    grid-template-columns: minmax(0, var(--reading));
  }

  .article-aside {
    position: static;
    grid-template-columns: repeat(3, 1fr);
  }

  .article-aside strong {
    grid-column: 1 / -1;
  }

  .article-rail {
    grid-column: auto;
  }
}

@media (max-width: 780px) {
  .container {
    width: min(calc(100% - 40px), var(--container));
  }

  .header-inner {
    padding-inline: 20px;
  }

  .brand,
  .brand::before {
    width: 135px;
    min-width: 135px;
    height: 34px;
  }

  .page-hero {
    min-height: auto;
    padding: 60px 0 80px;
  }

  .page-hero .breadcrumbs,
  .article-hero .breadcrumbs {
    margin-bottom: 48px;
  }

  .page-title {
    font-size: clamp(40px, 12vw, 54px);
  }

  .section {
    padding: 76px 0;
  }

  .news-list {
    grid-template-columns: 1fr;
  }

  .news-row {
    min-height: 290px;
    padding: 30px;
  }

  .cta-panel {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .article-hero {
    padding: 42px 0 62px;
  }

  .article-title {
    font-size: clamp(39px, 11vw, 56px);
  }

  .article-meta {
    grid-template-columns: 1fr;
    border-bottom: 0;
  }

  .article-meta span {
    border-bottom: 1px solid var(--line);
  }

  .article-layout {
    gap: 34px;
    padding-top: 56px;
    padding-bottom: 84px;
  }

  .article-aside,
  .article-rail {
    display: none;
  }

  .article-body {
    font-size: 16px;
  }

  .article-body .lead {
    font-size: 20px;
  }

  .article-body h2 {
    margin-top: 58px;
  }

  .fact-box,
  .warning-box,
  .source-box,
  .article-body blockquote {
    padding: 25px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .footer-bottom {
    flex-direction: column;
    margin-top: 44px;
  }

  .whatsapp {
    right: 16px;
    bottom: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

