/* ========================================
   Kea Interactive - Blog Sitesi
   Saf CSS - Build gerektirmez
   ======================================== */

/* CSS Variables */
:root {
  /* Renkler */
  --kea-dark: #0f172a;
  --kea-darker: #0a0f1c;
  --kea-slate: #1e293b;
  --kea-gray: #334155;
  
  /* Vurgu renkleri */
  --kea-accent: #10b981;
  --kea-accent-hover: #34d399;
  --kea-orange: #f97316;
  --kea-blue: #3b82f6;
  
  /* Metin */
  --kea-text: #e2e8f0;
  --kea-text-muted: #94a3b8;
  --kea-text-dim: #64748b;
  
  /* Fontlar */
  --font-mono: 'JetBrains Mono', 'Fira Code', ui-monospace, Consolas, monospace;
  --font-display: 'Space Grotesk', 'Inter', system-ui, sans-serif;
}

/* Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Base */
html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--kea-dark);
  color: var(--kea-text);
  font-family: var(--font-mono);
  font-size: 15px;
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background-color: var(--kea-accent);
  color: var(--kea-dark);
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--kea-darker);
}

::-webkit-scrollbar-thumb {
  background: var(--kea-gray);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--kea-accent);
}

/* Links */
a {
  color: var(--kea-accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--kea-accent-hover);
}

/* ========================================
   NAVBAR
   ======================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(30, 41, 59, 0.5);
}

.navbar-inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: white;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
}

.logo:hover {
  color: var(--kea-accent);
}

.logo-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--kea-accent), var(--kea-blue));
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.logo:hover .logo-icon {
  transform: scale(1.05);
}

/* Logo Image */
.logo-img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  object-fit: cover;
  transition: transform 0.2s ease;
}

.logo:hover .logo-img {
  transform: scale(1.05);
}

.nav-links {
  display: flex;
  gap: 0.25rem;
}

.nav-link {
  padding: 0.5rem 1rem;
  border-radius: 8px;
  color: var(--kea-text-muted);
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.nav-link:hover {
  color: white;
  background: rgba(30, 41, 59, 0.5);
}

.nav-link.active {
  color: var(--kea-accent);
  background: rgba(30, 41, 59, 0.5);
}

/* Mobile menu */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--kea-text-muted);
  padding: 0.5rem;
  cursor: pointer;
}

@media (max-width: 640px) {
  .nav-links {
    display: none;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(15, 23, 42, 0.98);
    padding: 1rem;
    border-bottom: 1px solid var(--kea-slate);
  }
}

/* Navbar spacer */
.navbar-spacer {
  height: 64px;
}

/* ========================================
   MAIN CONTAINER
   ======================================== */
.container {
  max-width: 720px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
  flex: 1;
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
  margin-bottom: 3rem;
  animation: fadeInUp 0.6s ease-out;
}

.hero-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.hero-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--kea-accent), var(--kea-blue), var(--kea-orange));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 32px rgba(16, 185, 129, 0.2);
}

.hero-logo-img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 8px 32px rgba(16, 185, 129, 0.2);
}

.hero-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
}

.hero-subtitle {
  font-size: 0.875rem;
  color: var(--kea-text-muted);
}

.hero-description {
  color: var(--kea-text-muted);
  max-width: 540px;
  line-height: 1.8;
}

.hero-description .highlight {
  color: var(--kea-accent);
}

/* ========================================
   SECTION HEADER
   ======================================== */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: white;
}

.section-link {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  color: var(--kea-text-muted);
}

.section-link:hover {
  color: var(--kea-accent);
}

.section-link svg {
  transition: transform 0.2s ease;
}

.section-link:hover svg {
  transform: translateX(2px);
}

/* ========================================
   BLOG CARDS
   ======================================== */
.blog-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.blog-card {
  display: block;
  padding: 1.25rem;
  margin: 0 -1.25rem;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.blog-card:hover {
  background: rgba(30, 41, 59, 0.4);
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.75rem;
  color: var(--kea-text-dim);
  margin-bottom: 0.5rem;
}

.blog-meta svg {
  width: 14px;
  height: 14px;
}

.blog-meta-item {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.blog-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: white;
  margin-bottom: 0.5rem;
  transition: color 0.2s ease;
}

.blog-card:hover .blog-title {
  color: var(--kea-accent);
}

.blog-excerpt {
  font-size: 0.875rem;
  color: var(--kea-text-muted);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.75rem;
}

.blog-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.tag {
  font-size: 0.7rem;
  padding: 0.25rem 0.5rem;
  border-radius: 9999px;
  background: rgba(30, 41, 59, 0.7);
  color: var(--kea-text-dim);
}

.blog-read-more {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  color: var(--kea-accent);
  opacity: 0;
  transform: translateX(-4px);
  transition: all 0.3s ease;
}

.blog-card:hover .blog-read-more {
  opacity: 1;
  transform: translateX(0);
}

/* ========================================
   PROJECT CARDS
   ======================================== */
.project-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.project-card {
  padding: 1.5rem;
  border-radius: 12px;
  background: rgba(30, 41, 59, 0.3);
  border: 1px solid rgba(30, 41, 59, 0.5);
  transition: all 0.3s ease;
}

.project-card:hover {
  border-color: rgba(16, 185, 129, 0.3);
}

/* Clickable Project Card */
.project-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.project-card-link:hover {
  background: rgba(30, 41, 59, 0.5);
}

.view-steam {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.75rem;
  color: var(--kea-accent);
  opacity: 0;
  transform: translateX(-4px);
  transition: all 0.3s ease;
}

.project-card-link:hover .view-steam {
  opacity: 1;
  transform: translateX(0);
}

.project-header {
  display: flex;
  gap: 1rem;
}

.project-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(59, 130, 246, 0.2));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.project-card:hover .project-icon {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.3), rgba(59, 130, 246, 0.3));
}

.project-icon svg {
  color: var(--kea-accent);
}

.project-content {
  flex: 1;
}

.project-title-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.project-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: white;
  transition: color 0.2s ease;
}

.project-card:hover .project-title {
  color: var(--kea-accent);
}

.project-status {
  font-size: 0.7rem;
  padding: 0.25rem 0.5rem;
  border-radius: 9999px;
  background: rgba(16, 185, 129, 0.1);
  color: var(--kea-accent);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.project-description {
  font-size: 0.875rem;
  color: var(--kea-text-muted);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.project-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.project-links {
  display: flex;
  gap: 0.5rem;
}

.project-link {
  padding: 0.5rem;
  border-radius: 8px;
  color: var(--kea-text-dim);
  transition: all 0.2s ease;
}

.project-link:hover {
  color: white;
  background: rgba(30, 41, 59, 0.5);
}

/* ========================================
   ABOUT PAGE
   ======================================== */
.about-card {
  padding: 1.5rem;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.5), rgba(30, 41, 59, 0.3));
  border: 1px solid rgba(30, 41, 59, 0.5);
}

.about-header {
  display: flex;
  gap: 1.25rem;
}

.about-icon {
  width: 80px;
  height: 80px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--kea-accent), var(--kea-blue));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 8px 32px rgba(16, 185, 129, 0.2);
}

.about-logo-img {
  width: 80px;
  height: 80px;
  border-radius: 16px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 8px 32px rgba(16, 185, 129, 0.2);
}

.about-info h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.5rem;
}

.about-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--kea-text-dim);
  margin-bottom: 0.75rem;
}

.about-description {
  color: var(--kea-text-muted);
  line-height: 1.7;
}

/* Stats */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.stat-card {
  padding: 1rem;
  border-radius: 12px;
  background: rgba(30, 41, 59, 0.3);
  border: 1px solid rgba(30, 41, 59, 0.5);
  text-align: center;
}

.stat-card svg {
  color: var(--kea-accent);
  margin-bottom: 0.5rem;
}

.stat-value {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--kea-text-dim);
  margin-top: 0.25rem;
}

/* Skills */
.skills-section {
  margin-top: 2rem;
}

.skills-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: white;
  margin-bottom: 1.5rem;
}

.skill-item {
  margin-bottom: 1rem;
}

.skill-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.skill-name {
  font-size: 0.875rem;
  color: var(--kea-text);
}

.skill-percent {
  font-size: 0.75rem;
  color: var(--kea-text-dim);
}

.skill-bar {
  height: 8px;
  border-radius: 4px;
  background: var(--kea-slate);
  overflow: hidden;
}

.skill-progress {
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--kea-accent), var(--kea-blue));
}

/* Contact Card */
.contact-card {
  margin-top: 2rem;
  padding: 1.5rem;
  border-radius: 12px;
  background: rgba(30, 41, 59, 0.3);
  border: 1px solid rgba(30, 41, 59, 0.5);
}

.contact-card h3 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: white;
  margin-bottom: 0.75rem;
}

.contact-card p {
  color: var(--kea-text-muted);
  margin-bottom: 1rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1rem;
  border-radius: 8px;
  background: var(--kea-accent);
  color: var(--kea-dark);
  font-weight: 500;
  font-size: 0.875rem;
  transition: background 0.2s ease;
}

.btn-primary:hover {
  background: var(--kea-accent-hover);
  color: var(--kea-dark);
}

.btn-steam {
  background: #1b2838;
  color: white;
}

.btn-steam:hover {
  background: #2a475e;
  color: white;
}

.btn-google {
  background: #01875f;
  color: white;
}

.btn-google:hover {
  background: #019a6b;
  color: white;
}

/* Kea Note */
.kea-note {
  margin-top: 2rem;
  padding: 1rem;
  border-radius: 8px;
  background: rgba(249, 115, 22, 0.05);
  border: 1px solid rgba(249, 115, 22, 0.2);
}

.kea-note p {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--kea-text-muted);
}

.kea-note strong {
  color: var(--kea-orange);
}

/* ========================================
   BLOG POST PAGE
   ======================================== */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--kea-text-muted);
  margin-bottom: 2rem;
  transition: color 0.2s ease;
}

.back-link:hover {
  color: var(--kea-accent);
}

.back-link:hover svg {
  transform: translateX(-2px);
}

.back-link svg {
  transition: transform 0.2s ease;
}

.post-header {
  margin-bottom: 2rem;
  animation: fadeInUp 0.6s ease-out;
}

.post-tags {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.post-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.75rem;
  padding: 0.375rem 0.625rem;
  border-radius: 9999px;
  background: var(--kea-slate);
  color: var(--kea-accent);
  border: 1px solid rgba(51, 65, 85, 0.5);
}

.post-title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: white;
  line-height: 1.3;
  margin-bottom: 1rem;
}

@media (min-width: 640px) {
  .post-title {
    font-size: 2.5rem;
  }
}

.post-description {
  font-size: 1.1rem;
  color: var(--kea-text-muted);
  margin-bottom: 1rem;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  font-size: 0.875rem;
  color: var(--kea-text-dim);
}

.post-meta-item {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

/* Post Content - Prose */
.prose {
  animation: fadeInUp 0.6s ease-out 0.1s both;
}

.prose h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: white;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--kea-slate);
}

.prose h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: white;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.prose p {
  margin-bottom: 1.25rem;
}

.prose strong {
  color: white;
  font-weight: 600;
}

.prose a {
  color: var(--kea-accent);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.prose a:hover {
  border-bottom-color: var(--kea-accent);
}

.prose ul, .prose ol {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

.prose li {
  margin: 0.5rem 0;
}

.prose li::marker {
  color: var(--kea-accent);
}

.prose blockquote {
  border-left: 3px solid var(--kea-accent);
  padding-left: 1.25rem;
  font-style: italic;
  color: var(--kea-text-muted);
  margin: 1.5rem 0;
}

.prose hr {
  border: none;
  border-top: 1px solid var(--kea-slate);
  margin: 2.5rem 0;
}

.prose img {
  border-radius: 12px;
  box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.5);
  margin: 2rem auto;
  max-width: 100%;
}

/* Code blocks */
.prose code {
  background: var(--kea-slate);
  color: var(--kea-accent);
  padding: 0.2em 0.4em;
  border-radius: 4px;
  font-size: 0.9em;
}

.prose pre {
  background: var(--kea-darker) !important;
  border: 1px solid var(--kea-slate);
  border-radius: 8px;
  padding: 1.25rem;
  overflow-x: auto;
  margin: 1.5rem 0;
  font-size: 0.875rem;
}

.prose pre code {
  background: none;
  padding: 0;
  color: inherit;
}

/* Tables */
.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.875rem;
}

.prose th, .prose td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--kea-slate);
}

.prose th {
  color: white;
  font-weight: 600;
  background: rgba(30, 41, 59, 0.5);
}

.prose tr:hover {
  background: rgba(30, 41, 59, 0.3);
}

/* Post Footer */
.post-footer {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--kea-slate);
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  border-top: 1px solid rgba(30, 41, 59, 0.5);
  background: var(--kea-darker);
}

.footer-inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .footer-content {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .footer-brand {
    align-items: flex-start;
  }
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  color: white;
  font-family: var(--font-display);
  font-weight: 600;
}

.footer-logo-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--kea-accent), var(--kea-blue));
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-logo-img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  object-fit: cover;
}

.footer-tagline {
  font-size: 0.875rem;
  color: var(--kea-text-dim);
}

.footer-social {
  display: flex;
  gap: 0.5rem;
}

.social-link {
  padding: 0.5rem;
  border-radius: 8px;
  color: var(--kea-text-muted);
  transition: all 0.2s ease;
}

.social-link:hover {
  color: white;
  background: rgba(30, 41, 59, 0.5);
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(30, 41, 59, 0.3);
  text-align: center;
}

.footer-copyright {
  font-size: 0.75rem;
  color: var(--kea-text-dim);
}

/* ========================================
   EMPTY STATE
   ======================================== */
.empty-state {
  text-align: center;
  padding: 4rem 0;
}

.empty-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: rgba(30, 41, 59, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
}

.empty-icon svg {
  color: var(--kea-text-dim);
}

.empty-state p {
  color: var(--kea-text-muted);
}

.empty-state small {
  font-size: 0.875rem;
  color: var(--kea-text-dim);
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fadeInUp 0.6s ease-out;
}

.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }

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

