/*
Theme Name: GB Tech
Theme URI: https://kirikhanbilgisayar.com/
Author: Kırıkhan General Bilgisayar
Description: Kırıkhan General Bilgisayar için sıfırdan yazılmış hızlı, yerel SEO uyumlu teknoloji teması. ColorNews kullanmaz.
Version: 1.6.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: gb-tech
*/

:root {
  --gb-cyan: #00aeef;
  --gb-cyan-2: #3ecfff;
  --gb-red: #00aeef;
  --gb-red-dark: #008fc4;
  --gb-ink: #07090d;
  --gb-ink-2: #10151d;
  --gb-muted: #6b7382;
  --gb-line: #e6eaf1;
  --gb-bg: #f4f7fb;
  --gb-card: #fff;
  --gb-radius: 22px;
  --gb-font: "Segoe UI", "Segoe UI Variable", system-ui, -apple-system, sans-serif;
  --gb-shadow: 0 24px 50px rgba(7, 9, 13, 0.12);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--gb-bg);
  color: var(--gb-ink);
  font-family: var(--gb-font);
  font-size: 17px;
  line-height: 1.65;
}

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

a {
  color: var(--gb-cyan);
  text-decoration: none;
}

a:hover {
  color: var(--gb-red-dark);
}

h1, h2, h3, h4 {
  line-height: 1.15;
  letter-spacing: -0.04em;
  margin: 0 0 0.55em;
}

.gb-wrap {
  width: min(1200px, calc(100% - 32px));
  margin-inline: auto;
}

.gb-skip {
  position: absolute;
  left: -999px;
}

.gb-skip:focus {
  left: 12px;
  top: 12px;
  z-index: 99;
  background: #fff;
  padding: 8px 12px;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
}

.gb-header {
  position: sticky;
  top: 0;
  z-index: 40;
}

.gb-bar {
  background: #030507;
  color: #8b95a6;
  font-size: 12px;
  letter-spacing: 0.02em;
}

.gb-bar-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 16px;
  padding: 8px 0;
}

.gb-bar a {
  color: #e8eef7;
  font-weight: 700;
  margin-left: 14px;
}

.gb-bar a:hover {
  color: var(--gb-cyan-2);
}

.gb-mast {
  background: #05070b;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.gb-mast-inner {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 16px;
  min-height: 92px;
}

.gb-brand-link {
  display: inline-flex;
  align-items: center;
  background: #000;
  border-radius: 16px;
  padding: 8px 12px;
  line-height: 0;
  box-shadow: 0 0 0 1px rgba(0, 174, 239, 0.18);
}

.gb-brand img,
.gb-brand .custom-logo,
.gb-logo {
  max-height: 68px;
  height: 68px;
  width: auto;
}

.gb-logo-footer {
  max-height: 76px;
  height: 76px;
  margin-bottom: 14px;
}

.gb-mast-search .gb-search {
  max-width: 440px;
  margin-left: auto;
}

.gb-mast .gb-search input {
  background: #10151d;
  border-color: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.gb-mast .gb-search input::placeholder {
  color: #7d8796;
}

.gb-mast-cta {
  display: flex;
  gap: 8px;
}

.gb-toggle {
  display: none;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #10151d;
  color: #fff;
  border-radius: 999px;
  padding: 9px 16px;
  font-weight: 800;
}

.gb-menubar {
  background: #0a0e14;
  position: relative;
  border-bottom: 1px solid rgba(0, 174, 239, 0.18);
}

.gb-menu > .menu {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  list-style: none;
  margin: 0;
  padding: 0;
}

.gb-menu .menu,
.gb-menu .sub-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.gb-menu > .menu > .menu-item {
  position: relative;
  display: flex;
  align-items: center;
}

.gb-menu > .menu > .menu-item > a {
  display: flex;
  align-items: center;
  color: #dce4ef;
  font-weight: 750;
  font-size: 13px;
  letter-spacing: 0.02em;
  padding: 15px 13px;
  white-space: nowrap;
  border-radius: 0;
}

.gb-menu > .menu > .menu-item > a:hover,
.gb-menu > .menu > .current-menu-item > a,
.gb-menu > .menu > .current-menu-ancestor > a {
  background: transparent;
  color: var(--gb-cyan-2);
  box-shadow: inset 0 -2px 0 var(--gb-cyan);
}

.gb-caret {
  display: none;
}

.gb-menu .sub-menu {
  display: none;
  position: absolute;
  left: 0;
  top: 100%;
  min-width: 300px;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--gb-line);
  border-radius: 0 0 18px 18px;
  box-shadow: var(--gb-shadow);
  z-index: 50;
}

.gb-menu .sub-menu a {
  display: block;
  color: var(--gb-ink);
  font-weight: 650;
  font-size: 13px;
  padding: 11px 12px;
  border-radius: 12px;
}

.gb-menu .sub-menu a:hover,
.gb-menu .sub-menu .current-menu-item > a {
  background: #f3f8fc;
  color: #0077a8;
}

.gb-menu > .menu > .menu-item.is-open > .sub-menu {
  display: block;
}

@media (hover: hover) and (min-width: 981px) {
  .gb-menu > .menu > .menu-item:hover > .sub-menu,
  .gb-menu > .menu > .menu-item:focus-within > .sub-menu {
    display: block;
  }
}

@media (min-width: 981px) and (max-width: 1180px) {
  .gb-menu > .menu > .menu-item > a {
    padding: 15px 8px;
    font-size: 12px;
  }
}

.gb-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  padding: 84px 0 92px;
  background:
    radial-gradient(900px 420px at 85% 10%, rgba(0, 174, 239, 0.28), transparent 55%),
    radial-gradient(700px 380px at 0% 100%, rgba(0, 174, 239, 0.12), transparent 50%),
    linear-gradient(165deg, #05070b 0%, #0b1220 55%, #061018 100%);
}

.gb-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, #000 20%, transparent 90%);
  pointer-events: none;
}

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

.gb-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: center;
}

.gb-kicker {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 11px;
  color: var(--gb-cyan-2);
  font-weight: 800;
  margin-bottom: 12px;
}

.gb-hero h1 {
  font-size: clamp(34px, 5.4vw, 62px);
  max-width: 14ch;
  margin-bottom: 16px;
  color: #fff;
}

.gb-lead {
  font-size: 19px;
  color: #c5d3e2;
  max-width: 46ch;
}

.gb-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 18px;
}

.gb-hero-meta {
  color: #8b93a3;
  font-size: 14px;
}

.gb-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.gb-stats li {
  min-width: 128px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
}

.gb-stats strong {
  display: block;
  color: #fff;
  font-size: 16px;
}

.gb-stats span {
  color: #93a0b2;
  font-size: 12px;
}

.gb-hero-visual {
  background: #000;
  border-radius: 28px;
  padding: 28px;
  border: 1px solid rgba(0, 174, 239, 0.28);
  box-shadow: 0 0 80px rgba(0, 174, 239, 0.18);
}

.gb-hero-visual img {
  width: 100%;
  height: auto;
}

.gb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 13px 20px;
  font-weight: 800;
  color: #fff;
  transition: transform 0.15s ease, background 0.15s ease;
}

.gb-btn:hover {
  transform: translateY(-1px);
}

.gb-btn-red {
  background: linear-gradient(180deg, #1ac4ff, var(--gb-cyan));
  color: #041018;
}

.gb-btn-red:hover {
  background: var(--gb-cyan-2);
  color: #041018;
}

.gb-btn-ink {
  background: #161c26;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.gb-btn-ink:hover {
  background: #000;
  color: #fff;
}

.gb-btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
}

.gb-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.gb-btn-outline {
  border: 1px solid var(--gb-line);
  color: var(--gb-ink);
  background: #fff;
}

.gb-btn-outline:hover {
  border-color: var(--gb-cyan);
  color: var(--gb-cyan);
}

.gb-section {
  padding: 78px 0;
}

.gb-section-alt {
  background: #fff;
  border-block: 1px solid var(--gb-line);
}

.gb-section-head {
  margin-bottom: 32px;
  max-width: 48ch;
}

.gb-section-head h2 {
  font-size: clamp(28px, 3vw, 38px);
}

.gb-cards,
.gb-posts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.gb-card {
  background: var(--gb-card);
  border: 1px solid var(--gb-line);
  border-radius: var(--gb-radius);
  padding: 16px 16px 20px;
  min-height: 100%;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.gb-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 174, 239, 0.35);
  box-shadow: var(--gb-shadow);
}

.gb-card-media {
  display: block;
  margin: -16px -16px 16px;
}

.gb-card-media img {
  width: 100%;
  height: 178px;
  object-fit: cover;
}

.gb-card h3 {
  font-size: 21px;
}

.gb-card h3 a {
  color: var(--gb-ink);
}

.gb-card h3 a:hover {
  color: #0077a8;
}

.gb-card p,
.gb-post-card p {
  color: var(--gb-muted);
  margin: 0 0 14px;
}

.gb-more {
  font-weight: 800;
  font-size: 14px;
}

.gb-thumb img {
  width: 100%;
  height: 188px;
  object-fit: cover;
}

.gb-post-card {
  padding: 0;
}

.gb-card-body {
  padding: 18px;
}

.gb-split {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 32px;
  align-items: center;
}

.gb-ticks {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.gb-ticks li {
  padding: 10px 0 10px 22px;
  position: relative;
  font-weight: 700;
}

.gb-ticks li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: var(--gb-cyan);
  position: absolute;
  left: 0;
  top: 16px;
  box-shadow: 0 0 0 4px rgba(0, 174, 239, 0.15);
}

.gb-panel {
  background:
    radial-gradient(400px 180px at 100% 0%, rgba(0, 174, 239, 0.22), transparent 60%),
    #07090d;
  color: #d5dbe6;
  border-radius: 24px;
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.gb-panel h3 {
  color: #fff;
}

.gb-article-wrap,
.gb-archive-head,
.gb-list-wrap {
  padding: 40px 0 72px;
}

.gb-faq details {
  background: #fff;
  border: 1px solid var(--gb-line);
  border-radius: 16px;
  padding: 16px 20px;
  margin-bottom: 10px;
}

.gb-faq summary {
  font-weight: 800;
  cursor: pointer;
}

.gb-faq p {
  color: var(--gb-muted);
  margin: 10px 0 0;
}

.gb-prose a {
  text-decoration: underline;
}

.gb-prose img,
.gb-prose figure {
  border-radius: 14px;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-numbers {
  display: inline-flex;
  min-width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid var(--gb-line);
  color: var(--gb-ink);
  background: #fff;
  font-weight: 700;
  padding: 0 10px;
}

.page-numbers.current,
.page-numbers:hover {
  border-color: var(--gb-cyan);
  color: var(--gb-cyan);
}

.gb-comments {
  margin-top: 40px;
  max-width: 68ch;
}

.gb-widget {
  background: #fff;
  border: 1px solid var(--gb-line);
  border-radius: var(--gb-radius);
  padding: 18px;
  margin-bottom: 16px;
}

.gb-crumbs {
  font-size: 13px;
  color: var(--gb-muted);
  margin-bottom: 18px;
}

.gb-crumbs a {
  color: var(--gb-muted);
}

.gb-article h1 {
  font-size: clamp(28px, 4vw, 44px);
}

.gb-meta {
  color: var(--gb-muted);
  font-size: 14px;
}

.gb-hero-img {
  margin: 0 0 24px;
  border-radius: var(--gb-radius);
  overflow: hidden;
}

.gb-prose {
  max-width: 68ch;
  font-size: 18px;
}

.gb-prose p,
.gb-prose ul,
.gb-prose ol {
  margin: 0 0 1.1em;
}

.gb-prose h2 {
  margin-top: 1.4em;
}

.gb-cta-box {
  margin-top: 36px;
  padding: 24px;
  border: 1px solid var(--gb-line);
  border-radius: var(--gb-radius);
  background:
    radial-gradient(500px 160px at 0% 0%, rgba(0, 174, 239, 0.08), transparent 60%),
    #fff;
}

.gb-related {
  margin-top: 48px;
}

.gb-footer {
  background: #05070b;
  color: #c5ccd8;
  padding-top: 56px;
}

.gb-footer h2 {
  color: #fff;
  font-size: 16px;
}

.gb-footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 28px;
  padding-bottom: 40px;
}

.gb-footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.gb-footer-list a,
.gb-footer a {
  color: #d7dde8;
}

.gb-footer-list a:hover,
.gb-footer a:hover {
  color: var(--gb-cyan-2);
}

.gb-linkmap {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px 24px;
  padding: 8px 0 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.gb-linkmap h2 {
  font-size: 14px;
  margin-bottom: 8px;
}

.gb-linkmap a {
  font-size: 13px;
}

.gb-copy {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 16px 0 22px;
  font-size: 13px;
  color: #8b93a3;
}

.gb-search {
  display: flex;
  gap: 8px;
}

.gb-search input {
  flex: 1;
  border: 1px solid var(--gb-line);
  border-radius: 999px;
  padding: 11px 16px;
  outline: none;
}

.gb-search input:focus {
  border-color: var(--gb-cyan);
}

.gb-search button {
  border: 0;
  border-radius: 999px;
  background: var(--gb-cyan);
  color: #041018;
  font-weight: 800;
  padding: 11px 18px;
}

.gb-pager {
  margin: 28px 0;
}

@media (max-width: 980px) {
  .gb-cards,
  .gb-posts,
  .gb-split,
  .gb-footer-grid,
  .gb-linkmap,
  .gb-hero-grid {
    grid-template-columns: 1fr;
  }

  .gb-mast-inner {
    grid-template-columns: 1fr auto;
    min-height: 72px;
  }

  .gb-mast-search,
  .gb-mast-cta {
    display: none;
  }

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

  .gb-logo {
    height: 52px;
    max-height: 52px;
  }

  .gb-menu {
    display: none;
    padding: 6px 0 14px;
  }

  .gb-menu.is-open {
    display: block;
  }

  .gb-menu > .menu {
    flex-direction: column;
    flex-wrap: wrap;
  }

  .gb-menu > .menu > .menu-item {
    flex-wrap: wrap;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .gb-menu > .menu > .menu-item > a {
    flex: 1;
    white-space: normal;
  }

  .gb-caret {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-left: auto;
    border: 0;
    background: transparent;
    color: #fff;
    cursor: pointer;
  }

  .gb-caret::before {
    content: "";
    width: 8px;
    height: 8px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(45deg);
    margin-top: -4px;
  }

  .gb-menu .sub-menu {
    position: static;
    display: none;
    min-width: 0;
    width: 100%;
    background: #121821;
    box-shadow: none;
    border: 0;
    border-radius: 0;
  }

  .gb-menu .sub-menu a {
    color: #d7dde8;
  }

  .gb-menu > .menu > .menu-item:hover > .sub-menu,
  .gb-menu > .menu > .menu-item:focus-within > .sub-menu {
    display: none;
  }

  .gb-menu > .menu > .menu-item.is-open > .sub-menu {
    display: block;
  }

  .gb-hero {
    padding: 44px 0 52px;
  }
}
