/*
Theme Name: AimsDesk
Theme URI: https://aimsdesk.com
Author: AimsDesk
Description: AimsDesk tanıtım sitesi teması. Tek sayfa (single page) yerleşim; anasayfada etiket tabanlı Haberler ve Blog blokları, ISO/IEC 42001 – ISO/IEC 27001 danışmanlık, eğitim ve platform bölümleri.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: aimsdesk
Tags: single-page, business, custom-logo, custom-menu, translation-ready
*/

/* ==========================================================================
   1. Değişkenler
   ========================================================================== */

:root {
  --navy: #0b1d3a;
  --navy-700: #12294c;
  --navy-600: #1b3762;
  --teal: #009688;
  --teal-dark: #00796b;
  --teal-soft: #e6f4f2;
  --gray: #6b7280;
  --gray-300: #d7dce3;
  --gray-200: #e7ebf0;
  --gray-100: #f2f5f8;
  --paper: #f7f9fb;
  --white: #ffffff;
  --ink: #0b1d3a;

  --font: "Montserrat", "Segoe UI", "Helvetica Neue", Arial, sans-serif;

  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(11, 29, 58, 0.06), 0 12px 32px -18px rgba(11, 29, 58, 0.28);
  --shadow-lg: 0 2px 4px rgba(11, 29, 58, 0.06), 0 28px 60px -30px rgba(11, 29, 58, 0.45);

  --wrap: 1160px;
  --gap: 28px;
  --section-y: 96px;
}

/* ==========================================================================
   2. Temel
   ========================================================================== */

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

html { scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: var(--teal-dark); text-decoration: none; }
a:hover { color: var(--teal); }

h1, h2, h3, h4 {
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -0.01em;
  margin: 0 0 0.6em;
  color: var(--navy);
}

h1 { font-size: clamp(2.1rem, 4.4vw, 3.3rem); }
h2 { font-size: clamp(1.65rem, 3vw, 2.35rem); }
h3 { font-size: 1.18rem; }
h4 { font-size: 1rem; }

p { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.2em; }
strong { font-weight: 600; }

hr { border: 0; border-top: 1px solid var(--gray-200); margin: 2.5rem 0; }

blockquote {
  margin: 1.6rem 0;
  padding: 0.2rem 0 0.2rem 1.4rem;
  border-left: 3px solid var(--teal);
  color: var(--gray);
}

code, pre {
  font-family: "SFMono-Regular", "Consolas", "Liberation Mono", monospace;
  font-size: 0.9em;
}

pre {
  background: var(--gray-100);
  padding: 1rem 1.2rem;
  border-radius: var(--radius-sm);
  overflow-x: auto;
}

table { width: 100%; border-collapse: collapse; margin-bottom: 1.4rem; }
th, td { text-align: left; padding: 0.7rem 0.9rem; border-bottom: 1px solid var(--gray-200); }
th { font-weight: 600; }

:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 2px;
  border-radius: 4px;
}

.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 12px; top: -60px;
  z-index: 999;
  background: var(--navy);
  color: #fff;
  padding: 10px 18px;
  border-radius: 0 0 8px 8px;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 0; color: #fff; }

/* ==========================================================================
   3. Yerleşim
   ========================================================================== */

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 24px;
}

.section { padding-block: var(--section-y); }
.section--tight { padding-block: 72px; }
.section--paper { background: var(--paper); }
.section--navy { background: var(--navy); color: #cfd8e6; }
.section--navy h2,
.section--navy h3 { color: #fff; }

.section__head { max-width: 720px; margin-bottom: 52px; }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head p { color: var(--gray); font-size: 1.06rem; margin-bottom: 0; }
.section--navy .section__head p { color: #a9b7cd; }

.eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal-dark);
  margin-bottom: 14px;
}
.section--navy .eyebrow { color: #4db6ac; }

.grid { display: grid; gap: var(--gap); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ==========================================================================
   4. Marka / logo kilidi
   ========================================================================== */

.brand { display: inline-flex; align-items: center; gap: 12px; color: inherit; }
.brand:hover { color: inherit; }
.brand__mark { flex: 0 0 auto; width: 40px; height: 40px; display: block; }
.brand__mark svg { width: 100%; height: 100%; display: block; }
.brand__type { display: flex; flex-direction: column; line-height: 1; }

.brand__name {
  font-size: 1.32rem;
  color: var(--navy);
  white-space: nowrap;
}
.brand__name b { font-weight: 600; letter-spacing: 0.01em; }
.brand__name i {
  font-style: normal;
  font-weight: 300;
  letter-spacing: 0.2em;
  margin-left: 0.34em;
}

.brand__tagline {
  margin-top: 7px;
  font-size: 0.55rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray);
  white-space: nowrap;
}

.brand--light .brand__name { color: #fff; }
.brand--light .brand__tagline { color: #93a3bd; }

/* ==========================================================================
   5. Başlık / gezinme
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--gray-200);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 76px;
}

.site-nav { margin-left: auto; }
.site-nav ul {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav ul a {
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--navy);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.site-nav ul a:hover,
.site-nav .current-menu-item > a,
.site-nav li.is-active > a {
  color: var(--teal-dark);
  border-bottom-color: var(--teal);
}

.header-actions { display: flex; align-items: center; gap: 12px; }

/* Mobil menü içindeki çağrı düğmeleri; masaüstünde gizli. */
.site-nav__cta { display: none; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-sm);
  background: #fff;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 18px; height: 2px;
  background: var(--navy);
  position: relative;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px; height: 2px;
  background: var(--navy);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

/* ==========================================================================
   6. Düğmeler
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1;
  padding: 14px 22px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.16s ease, color 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
}
.btn:hover { transform: translateY(-1px); }

.btn--primary { background: var(--teal); color: #fff; }
.btn--primary:hover { background: var(--teal-dark); color: #fff; }

.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-600); color: #fff; }

.btn--ghost { background: transparent; color: var(--navy); border-color: var(--gray-300); }
.btn--ghost:hover { border-color: var(--navy); color: var(--navy); }

.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { background: var(--teal-soft); color: var(--navy); }

.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.4); }
.btn--outline-light:hover { border-color: #fff; color: #fff; }

.btn--sm { padding: 10px 16px; font-size: 0.88rem; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 600;
  font-size: 0.94rem;
}
.link-arrow::after { content: "→"; transition: transform 0.16s ease; }
.link-arrow:hover::after { transform: translateX(3px); }

/* ==========================================================================
   7. Hero
   ========================================================================== */

.hero {
  position: relative;
  background: var(--navy);
  color: #cfd8e6;
  overflow: hidden;
  padding-block: 108px 92px;
}

/* Marka motifi: dağınık düğümlerin düzenli ızgaraya oturması */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(120% 90% at 78% 18%, #000 0%, transparent 72%);
  -webkit-mask-image: radial-gradient(120% 90% at 78% 18%, #000 0%, transparent 72%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  right: -160px; top: -140px;
  width: 620px; height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 150, 136, 0.32) 0%, transparent 66%);
  pointer-events: none;
}

.hero .wrap { position: relative; z-index: 1; }

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 64px;
  align-items: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #b6ede6;
  background: rgba(0, 150, 136, 0.16);
  border: 1px solid rgba(0, 150, 136, 0.42);
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 26px;
}
.hero__badge span {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--teal);
}

.hero h1 { color: #fff; margin-bottom: 22px; }
.hero h1 em { font-style: normal; color: #4db6ac; }

.hero__lead {
  font-size: 1.12rem;
  color: #b3c1d6;
  max-width: 34em;
  margin-bottom: 32px;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }

.hero__note { font-size: 0.86rem; color: #8fa1bd; margin: 0; }

/* Kanıt kartı */
.evidence-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 26px 28px;
  backdrop-filter: blur(6px);
}
.evidence-card__title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8fa1bd;
  padding-bottom: 14px;
  margin-bottom: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.evidence-card__title span { color: #4db6ac; letter-spacing: 0.04em; text-transform: none; }

.evidence-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
}
.evidence-row:last-child { border-bottom: 0; padding-bottom: 0; }
.evidence-row__label { font-size: 0.93rem; color: #dbe3ef; flex: 1; }
.evidence-row__meta { font-size: 0.78rem; color: #8fa1bd; }

.tick {
  flex: 0 0 auto;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(0, 150, 136, 0.18);
  border: 1px solid rgba(0, 150, 136, 0.55);
  display: grid;
  place-items: center;
  color: #4db6ac;
  font-size: 0.7rem;
  font-weight: 700;
}

/* Standart şeridi */
.standards {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 64px;
  padding-top: 26px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 34px;
}
.standards__label {
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7f92b0;
}
.standards ul {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.standards li {
  font-size: 0.92rem;
  font-weight: 500;
  color: #cfd8e6;
}

/* ==========================================================================
   8. Kartlar
   ========================================================================== */

.card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 30px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}
.card:hover { border-color: var(--gray-300); box-shadow: var(--shadow); transform: translateY(-2px); }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--gray); font-size: 0.97rem; margin-bottom: 0; }
.card ul { color: var(--gray); font-size: 0.95rem; margin: 14px 0 0; padding-left: 1.1em; }
.card ul li { margin-bottom: 5px; }
.card__foot { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--gray-200); }

.icon-badge {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--teal-soft);
  color: var(--teal-dark);
  display: grid;
  place-items: center;
  margin-bottom: 20px;
}
.icon-badge svg { width: 22px; height: 22px; }

.pillar { display: flex; flex-direction: column; height: 100%; }
.pillar .card__foot { margin-top: auto; }

/* Hizmet kartları */
.service {
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  padding-top: 34px;
}
.service__step {
  position: absolute;
  top: 26px; right: 28px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--gray-300);
}
.service__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}
.tagpill {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.74rem;
  font-weight: 500;
  color: var(--navy);
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: 999px;
  padding: 4px 11px;
}
.tagpill--teal { background: var(--teal-soft); border-color: rgba(0, 150, 136, 0.24); color: var(--teal-dark); }

/* ==========================================================================
   9. Platform bölümü
   ========================================================================== */

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 34px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.feature-list li {
  display: flex;
  gap: 13px;
  font-size: 0.97rem;
  color: #b3c1d6;
}
.feature-list b { display: block; color: #fff; font-weight: 600; margin-bottom: 2px; }
.feature-list .tick { margin-top: 3px; }

.stat-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.stat__num {
  font-size: 2.1rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.stat__label { font-size: 0.88rem; color: #8fa1bd; margin-top: 6px; }

/* ==========================================================================
   10. Süreç
   ========================================================================== */

.steps { counter-reset: step; display: grid; gap: 0; }
.step {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 26px;
  padding: 28px 0;
  border-top: 1px solid var(--gray-200);
}
.step:last-child { border-bottom: 1px solid var(--gray-200); }
.step__num {
  counter-increment: step;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--teal-dark);
  padding-top: 4px;
}
.step__num::before { content: "0" counter(step); }
.step h3 { margin-bottom: 6px; }
.step p { color: var(--gray); margin-bottom: 0; font-size: 0.98rem; }

/* Takvim şeridi */
.timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 46px;
}
.timeline__item {
  border-left: 3px solid var(--teal);
  padding: 4px 0 4px 18px;
}
.timeline__date {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--teal-dark);
  text-transform: uppercase;
}
.timeline__text { font-size: 0.95rem; color: var(--gray); margin: 6px 0 0; }

/* ==========================================================================
   11. Yazı kartları (haber / blog)
   ========================================================================== */

.posts-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
}
.posts-head .section__head { margin-bottom: 0; }

.post-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}
.post-card:hover { border-color: var(--gray-300); box-shadow: var(--shadow); transform: translateY(-2px); }

.post-card__media { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--gray-100); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; }
.post-card__media--empty {
  background:
    linear-gradient(135deg, var(--navy) 0%, var(--navy-600) 100%);
  position: relative;
}
.post-card__media--empty::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 30px 30px;
}

.post-card__body { padding: 24px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.post-card__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  color: var(--gray);
  margin-bottom: 10px;
}
.post-card__meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--gray-300); }
.post-card__title { font-size: 1.1rem; margin-bottom: 10px; }
.post-card__title a { color: var(--navy); }
.post-card__title a:hover { color: var(--teal-dark); }
.post-card__excerpt { font-size: 0.95rem; color: var(--gray); margin-bottom: 18px; }
.post-card__foot { margin-top: auto; }

.empty-note {
  border: 1px dashed var(--gray-300);
  border-radius: var(--radius);
  padding: 34px;
  text-align: center;
  color: var(--gray);
  font-size: 0.96rem;
  background: #fff;
}

/* ==========================================================================
   12. SSS
   ========================================================================== */

.faq { border-top: 1px solid var(--gray-200); }
.faq details {
  border-bottom: 1px solid var(--gray-200);
  padding: 20px 0;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  font-size: 1.04rem;
  color: var(--navy);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex: 0 0 auto;
  font-weight: 400;
  font-size: 1.4rem;
  line-height: 1;
  color: var(--teal);
}
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--gray); font-size: 0.98rem; margin: 14px 0 0; max-width: 74ch; }

/* ==========================================================================
   13. İletişim
   ========================================================================== */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 56px;
  align-items: start;
}

.contact-points { list-style: none; margin: 28px 0 0; padding: 0; }
.contact-points li {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.97rem;
}
.contact-points b { display: block; color: #fff; font-weight: 600; }
.contact-points a { color: #4db6ac; }
.contact-points a:hover { color: #7fd6cb; }

.form-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: var(--shadow-lg);
}
.form-card h3 { margin-bottom: 6px; }
.form-card > p { color: var(--gray); font-size: 0.94rem; margin-bottom: 24px; }

.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 7px;
}
.field .req { color: var(--teal-dark); }

.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 0.97rem;
  color: var(--ink);
  padding: 12px 14px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-sm);
  background: #fff;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(0, 150, 136, 0.15);
}

.field--row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }

.field--check { display: flex; gap: 10px; align-items: flex-start; font-size: 0.85rem; color: var(--gray); }
.field--check input { width: auto; margin-top: 3px; }
.field--check label { font-weight: 400; font-size: 0.85rem; color: var(--gray); margin: 0; }

.hp { position: absolute !important; left: -9999px; }

.form-note { font-size: 0.8rem; color: var(--gray); margin: 16px 0 0; }

.alert {
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-size: 0.92rem;
  margin-bottom: 22px;
}
.alert--ok { background: var(--teal-soft); border: 1px solid rgba(0, 150, 136, 0.3); color: var(--teal-dark); }
.alert--err { background: #fdecec; border: 1px solid #f3c2c2; color: #a12626; }

/* ==========================================================================
   14. CTA şeridi
   ========================================================================== */

.cta-band {
  background: var(--teal);
  color: #fff;
  border-radius: var(--radius);
  padding: 44px 48px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.cta-band h2 { color: #fff; margin-bottom: 6px; font-size: 1.6rem; }
.cta-band p { color: rgba(255, 255, 255, 0.85); margin: 0; font-size: 1rem; }
.cta-band .btn--light { color: var(--teal-dark); }

/* ==========================================================================
   15. Altbilgi
   ========================================================================== */

.site-footer {
  background: var(--navy);
  color: #8fa1bd;
  padding-block: 66px 30px;
  font-size: 0.93rem;
}
.site-footer a { color: #b3c1d6; }
.site-footer a:hover { color: #fff; }

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 40px;
  padding-bottom: 44px;
}
.footer-about { max-width: 34ch; margin: 22px 0 0; color: #8fa1bd; }
.footer-col h4 {
  color: #fff;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 9px; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: #7f92b0;
}
.footer-bottom ul { display: flex; gap: 20px; list-style: none; margin: 0; padding: 0; }

/* ==========================================================================
   16. İç sayfalar (arşiv, tekil, sayfa)
   ========================================================================== */

.page-hero {
  background: var(--navy);
  color: #b3c1d6;
  padding-block: 78px 62px;
}
.page-hero h1 { color: #fff; margin-bottom: 12px; }
.page-hero p { color: #a9b7cd; margin: 0; max-width: 60ch; }

.breadcrumb {
  font-size: 0.85rem;
  color: #7f92b0;
  margin-bottom: 18px;
}
.breadcrumb a { color: #7f92b0; }
.breadcrumb a:hover { color: #fff; }

.entry {
  max-width: 760px;
  margin-inline: auto;
  padding-block: 72px;
}
.entry__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--gray);
  margin-bottom: 28px;
}
.entry__thumb { border-radius: var(--radius); overflow: hidden; margin-bottom: 34px; }
.entry__content h2 { margin-top: 2em; }
.entry__content h3 { margin-top: 1.7em; }
.entry__content img { border-radius: var(--radius-sm); }
.entry__tags { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--gray-200); display: flex; flex-wrap: wrap; gap: 8px; }

.pagination {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 52px;
}
.pagination .page-numbers {
  min-width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  padding: 0 12px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  color: var(--navy);
  font-size: 0.92rem;
  font-weight: 500;
}
.pagination .page-numbers.current { background: var(--navy); border-color: var(--navy); color: #fff; }
.pagination a.page-numbers:hover { border-color: var(--teal); color: var(--teal-dark); }

.post-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--gray-200);
}
.post-nav a {
  display: block;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  color: var(--navy);
}
.post-nav a:hover { border-color: var(--teal); }
.post-nav span { display: block; font-size: 0.76rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gray); margin-bottom: 6px; }
.post-nav .is-next { text-align: right; }

.search-form { display: flex; gap: 10px; max-width: 460px; }
.search-form input[type="search"] {
  flex: 1;
  font-family: inherit;
  font-size: 0.97rem;
  padding: 12px 14px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-sm);
}

/* ==========================================================================
   17. WordPress hizalama sınıfları
   ========================================================================== */

.alignleft { float: left; margin: 0.4em 1.6em 1em 0; }
.alignright { float: right; margin: 0.4em 0 1em 1.6em; }
.aligncenter { margin-inline: auto; }
.alignwide, .alignfull { margin-inline: 0; }
.wp-caption { max-width: 100%; }
.wp-caption-text, figcaption { font-size: 0.85rem; color: var(--gray); margin-top: 8px; }
.sticky .post-card { border-color: var(--teal); }

/* ==========================================================================
   18. Duyarlılık
   ========================================================================== */

@media (max-width: 1024px) {
  :root { --section-y: 76px; }
  .hero__grid { grid-template-columns: 1fr; gap: 44px; }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .timeline { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .header-actions .btn--ghost { display: none; }

  .site-nav {
    position: absolute;
    left: 0; right: 0; top: 100%;
    background: #fff;
    border-bottom: 1px solid var(--gray-200);
    box-shadow: var(--shadow);
    display: none;
    padding: 8px 24px 20px;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav li { border-bottom: 1px solid var(--gray-100); }
  .site-nav li:last-child { border-bottom: 0; }
  .site-nav ul a { display: block; padding: 13px 0; border-bottom: 0; }

  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .feature-list { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .posts-head { flex-direction: column; align-items: flex-start; }
  .cta-band { padding: 32px; }
  .post-nav { grid-template-columns: 1fr; }
  .post-nav .is-next { text-align: left; }
  .field--row { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  /* Başlıkta yalnızca logo ve menü düğmesi kalır; çağrılar menünün içine taşınır. */
  .header-actions .btn { display: none; }
  .site-nav__cta {
    display: grid;
    gap: 10px;
    padding-top: 16px;
  }
  .site-nav__cta .btn { width: 100%; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  :root { --section-y: 60px; --gap: 20px; }
  .hero { padding-block: 72px 64px; }
  .brand__mark { width: 34px; height: 34px; }
  .brand__name { font-size: 1.15rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .form-card { padding: 26px 22px; }
  .step { grid-template-columns: 1fr; gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  .site-header, .site-footer, .hero__actions, .form-card, .nav-toggle { display: none !important; }
  body { color: #000; font-size: 12pt; }
}
