/* Kerge (main.css) üzerine okanakcay.com eklemeleri.
   Tema dosyasına dokunmadan statik çok sayfalı yapıya uyarlama burada yapılır. */

/* Başlık hiyerarşisi: tema .block-title içinde h3 bekliyor; sayfalarda h2 kullanılıyor. */
.block-title h2,
.block-title .h3 {
  display: inline-block;
  font-size: 21px;
  margin: 0 0 20px;
  padding-bottom: 3px;
}

.block-title h2:after {
  content: '';
  display: block;
  width: 100%;
  height: 2px;
  margin-top: -1px;
  background-color: #2ad482;
}

.ajax-page-wrapper .block-title h2 {
  font-size: 18px;
  margin-bottom: 15px;
}

.site-title a,
.site-title a:hover {
  color: inherit;
}

/* Mobil menü butonu artık <button>; tarayıcı varsayılanlarını sıfırla. */
button.menu-toggle {
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

/* Alt köşe ok butonları artık gerçek link (önceki/sonraki sayfa). */
.lmpixels-arrows-nav > a,
.lmpixels-arrows-nav > span {
  display: inline-block;
  height: 40px;
  width: 40px;
  margin-left: 3px;
  text-align: center;
  line-height: 40px;
  font-size: 18px;
  color: #333;
  background-color: #fafafa;
  border: 1px solid #e5e5e5;
  box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease-in-out;
}

.lmpixels-arrows-nav > a:hover {
  color: #2ad482;
}

.lmpixels-arrows-nav > .is-disabled {
  color: #ccc;
  cursor: default;
}

@media only screen and (max-width: 991px) {
  .lmpixels-arrows-nav {
    position: fixed;
  }
}

@media only screen and (max-width: 480px) {
  .lmpixels-arrows-nav > a,
  .lmpixels-arrows-nav > span {
    height: 34px;
    width: 34px;
    line-height: 34px;
  }
}

/* Gruplu yetenek etiketleri (yüzdeli çubukların yerine). */
.skill-group {
  margin-bottom: 25px;
}

.skill-group .block-title h2 {
  margin-bottom: 12px;
}

.tags .tag {
  display: inline-block;
  font-size: 12px;
  line-height: 1.5em;
  color: #666;
  padding: 2px 7px;
  background-color: #fff;
  border-radius: 3px;
  border: 1px solid #e5e5e5;
  margin: 3px 2px 2px 0;
}

/* Portfolyo filtreleri: shuffle.js yerine basit gizle/göster. */
.portfolio-filters button.filter {
  color: #888;
  font-size: 12px;
  line-height: 1.5;
  padding: 5px 10px;
  border-radius: 0;
  background-color: #fff;
  border: 2px solid #fff;
  cursor: pointer;
}

.portfolio-filters button.filter:hover {
  border-color: #eee;
}

.portfolio-filters li.active button.filter {
  border-color: #2ad482;
  color: #222;
}

.portfolio-grid figure[hidden] {
  display: none;
}

.portfolio-grid::after {
  content: '';
  display: block;
  clear: both;
}

/* Klavye ile gezinmede kart üzerindeki bilgiler de görünsün. */
.portfolio-grid figure:focus-within i,
.portfolio-grid figure:focus-within .name,
.portfolio-grid figure:focus-within .category {
  opacity: 1;
}

@media only screen and (max-width: 991px) {
  .portfolio-grid.four-columns figure {
    width: 50%;
  }
}

@media only screen and (max-width: 480px) {
  .portfolio-grid.four-columns figure {
    width: 100%;
  }
}

/* Proje detayı: owl carousel yerine kaydırmalı (scroll-snap) galeri. */
.project-gallery {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  margin-bottom: 20px;
  padding-bottom: 8px;
}

.project-gallery img {
  flex: 0 0 100%;
  width: 100%;
  height: auto;
  scroll-snap-align: start;
  border: 1px solid #eee;
}

.project-gallery-hint {
  font-size: 12px;
  color: #aaa;
  margin: -10px 0 20px;
}

.project-body p {
  font-size: 14px;
}

.ajax-page-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.portfolio-page-image img {
  max-width: 100%;
  height: auto;
}

/* Proje detay sayfası tema içinde normal sayfa olarak açılıyor (ajax overlay yok). */
.pt-page .ajax-page-wrapper {
  padding: 0;
  max-width: none;
}

.ajax-page-title h1 {
  font-size: 30px;
}

/* ---------- İçerik güncellemesi (2026-11) ---------- */

/* Hakkımda */
.hp-tagline {
  font-size: 18px;
  line-height: 1.6em;
  color: #333;
  font-weight: 500;
}

.hp-links a {
  font-weight: 500;
}

.info-block-w-icon .ci-text p {
  font-size: 13px;
  line-height: 1.7em;
  margin: 0;
}

/* Öz geçmiş */
.experience-highlights {
  padding-left: 18px;
  margin: 0 0 12px;
}

.experience-highlights li {
  font-size: 0.92em;
  line-height: 1.7em;
  margin-bottom: 4px;
}

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

.language-list li {
  font-size: 13px;
  margin-bottom: 6px;
}

.cv-download {
  display: inline-block;
  background-color: #2ad482;
  border-color: #2ad482;
  color: #fff;
  padding: 8px 16px;
  font-size: 13px;
}

.cv-download:hover,
.cv-download:focus {
  background-color: #22b06c;
  border-color: #22b06c;
  color: #fff;
}

/* Projeler: vaka çalışması kartları */
.case-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
  margin-bottom: 40px;
}

.case-card {
  display: flex;
  flex-direction: column;
  padding: 20px 22px;
  background-color: #fcfcfc;
  border: 1px solid #eee;
  border-left: 3px solid #2ad482;
  color: #666;
  transition: all 0.2s ease-in-out;
}

.case-card:hover,
.case-card:focus {
  color: #666;
  border-color: #2ad482;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

.case-card-meta {
  font-size: 12px;
  color: #999;
  margin-bottom: 6px;
}

.case-card-meta .fa {
  color: #2ad482;
}

.case-card-title {
  font-size: 16px;
  line-height: 1.45em;
  margin: 0 0 8px;
}

.case-card-summary {
  font-size: 13px;
  line-height: 1.7em;
  margin: 0 0 12px;
  flex: 1;
}

.case-card-more {
  font-size: 12px;
  font-weight: 500;
  color: #2ad482;
}

.project-section {
  margin-bottom: 30px;
}

.portfolio-grid .name {
  font-size: 16px;
}

@media only screen and (max-width: 991px) {
  .portfolio-grid.three-columns figure {
    width: 50%;
  }
}

@media only screen and (max-width: 480px) {
  .portfolio-grid.three-columns figure {
    width: 100%;
  }
}

/* Vaka çalışması ve proje detay metni */
.case-eyebrow {
  display: block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #2ad482;
  margin-bottom: 4px;
}

.case-body h2 {
  font-size: 20px;
  margin: 28px 0 10px;
}

.case-body h2:first-child {
  margin-top: 0;
}

.case-body ul,
.case-body ol,
.project-body ul {
  padding-left: 20px;
}

.case-body li,
.project-body li {
  font-size: 14px;
  line-height: 1.8em;
  margin-bottom: 6px;
}

.case-body code {
  font-size: 12px;
  color: #333;
  background-color: #f3f3f3;
  padding: 1px 5px;
  border-radius: 3px;
}

.project-body {
  margin-top: 10px;
}

.project-parts {
  margin-top: 25px;
}

.project-parts ul {
  list-style: none;
  padding: 0;
}

.project-parts li {
  margin-bottom: 6px;
}

.project-parts li span {
  font-size: 12px;
  color: #aaa;
}

/* Şu sıralar (/now) */
.now-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.now-list li {
  padding: 16px 0;
  border-bottom: 1px solid #eee;
}

.now-list li:last-child {
  border-bottom: 0;
}

.now-list h3 {
  font-size: 16px;
  margin: 0 0 6px;
}

.now-list p {
  margin: 0;
}

.now-updated {
  font-size: 12px;
  color: #999;
}


.project-gallery {
  align-items: flex-start;
}

.project-gallery img {
  object-fit: contain;
  max-height: 520px;
  background-color: #fff;
}
