/* =============================================
   style.css - TÜM SAYFALAR İÇİN TEK CSS DOSYASI
   (Hizalama sorunları düzeltildi)
   ============================================= */

/* Google Fonts */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap");

/* =============================================
   1. TEMA DEĞİŞKENLERİ
   ============================================= */
:root {
  --bg-color: #18181b;
  --text-color: #ccc;
  --heading-color: #fff;
  --card-bg: rgba(255, 255, 255, 0.03);
  --card-border: rgba(255, 255, 255, 0.1);
  --primary-color: rgb(128, 0, 255);
  --nav-hover: rgb(128, 0, 255);
  --input-bg: rgba(255, 255, 255, 0.05);
  --input-border: rgba(255, 255, 255, 0.1);
  --input-text: #fff;
  --footer-bg: #111;
  --dropdown-bg: rgba(30, 30, 35, 0.95);
  --text-stroke: #fff;
  --slider-bg: rgba(255, 255, 255, 0.02);
  --table-header: rgba(128, 0, 255, 0.2);
  --result-bg: rgba(0, 0, 0, 0.3);
  --cursor-color: rgb(128, 0, 255);
  --link-color: rgb(128, 0, 255);
  --social-btn-bg: rgba(255, 255, 255, 0.05);
  --social-btn-border: rgba(255, 255, 255, 0.2);
  --social-btn-text: #fff;
  --divider-color: rgba(255, 255, 255, 0.2);
  --filter-btn-bg: rgba(255, 255, 255, 0.05);
  --filter-btn-text: #ccc;
  --new-post-bg: rgba(255, 255, 255, 0.05);
  --comment-bg: rgba(255, 255, 255, 0.03);
  --item-bg: rgba(255, 255, 255, 0.05);
  --contact-btn-bg: rgba(128, 0, 255, 0.2);
  --contact-btn-border: rgba(128, 0, 255, 0.3);
  --contact-btn-hover: rgba(128, 0, 255, 0.4);
  --skill-card-bg: rgba(255, 255, 255, 0.05);
  --pdf-btn-bg: rgba(128, 0, 255, 0.15);
  --pdf-btn-hover: rgba(128, 0, 255, 0.3);
  --modal-overlay: rgba(0, 0, 0, 0.8);
  --success-color: #22c55e;
  --error-color: #ef4444;
}

body.light-mode {
  --bg-color: #f3f4f6;
  --text-color: #4b5563;
  --heading-color: #111827;
  --card-bg: #ffffff;
  --card-border: #e5e7eb;
  --input-bg: #f9fafb;
  --input-border: #d1d5db;
  --input-text: #1f2937;
  --footer-bg: #ffffff;
  --dropdown-bg: #ffffff;
  --text-stroke: #1f2937;
  --slider-bg: #e5e7eb;
  --table-header: rgba(128, 0, 255, 0.1);
  --result-bg: #e4e4e7;
  --cursor-color: rgb(128, 0, 255);
  --link-color: rgb(128, 0, 255);
  --social-btn-bg: #ffffff;
  --social-btn-border: #d1d5db;
  --social-btn-text: #4b5563;
  --divider-color: #e5e7eb;
  --filter-btn-bg: #ffffff;
  --filter-btn-text: #4b5563;
  --new-post-bg: rgba(255, 255, 255, 0.7);
  --comment-bg: #f9fafb;
  --item-bg: #f9fafb;
  --contact-btn-bg: #ffffff;
  --contact-btn-border: #d1d5db;
  --contact-btn-hover: #f3f4f6;
  --skill-card-bg: #ffffff;
  --pdf-btn-bg: #f0f0f0;
  --pdf-btn-hover: #e0e0e0;
  --modal-overlay: rgba(0, 0, 0, 0.5);
}

/* =============================================
   2. SIFIRLAMA & TEMEL ETİKETLER
   ============================================= */
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  border: none;
  outline: none;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  transition:
    background-color 0.3s ease,
    color 0.3s ease;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

*:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* =============================================
   3. SCROLLBAR
   ============================================= */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-color);
}
::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgb(100, 0, 200);
}

/* =============================================
   4. NAVBAR (ORTAK)
   ============================================= */
nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 100;
  width: 100%;
}

.logo {
  display: flex;
  align-items: center;
  height: 100%;
  filter: drop-shadow(0px 2px 2px rgb(0, 0, 0));
}
.logo img {
  height: 150px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}
.logo:hover img {
  transform: scale(1.05);
  filter: drop-shadow(0 0 5px var(--primary-color));
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  position: relative;
  padding-bottom: 0.5rem;
  color: var(--heading-color);
  font-weight: 500;
  transition: color 0.3s ease;
}
.nav-links a::after {
  content: "";
  position: absolute;
  height: 2px;
  width: 0;
  bottom: 0;
  left: 0;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--nav-hover);
}
.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* Profil Menüsü */
.profile-menu {
  position: relative;
}
.profile-trigger {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  padding: 5px 10px;
  border-radius: 20px;
  transition: background-color 0.3s ease;
  color: var(--heading-color);
}
.profile-trigger:hover {
  background-color: rgba(128, 0, 255, 0.1);
}
.avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid var(--primary-color);
  object-fit: cover;
}
.profile-dropdown {
  position: absolute;
  top: 50px;
  right: 0;
  background: var(--dropdown-bg);
  border: 1px solid var(--card-border);
  border-radius: 10px;
  padding: 15px;
  min-width: 180px;
  display: none;
  flex-direction: column;
  backdrop-filter: blur(20px);
  z-index: 1000;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}
.profile-dropdown.show {
  display: flex;
}
.profile-dropdown p {
  border-bottom: 1px solid var(--card-border);
  padding-bottom: 8px;
  margin-bottom: 8px;
  color: var(--heading-color);
  font-size: 0.9rem;
  font-weight: 600;
}
.profile-dropdown a,
.profile-dropdown button {
  padding: 8px 0;
  font-size: 0.9rem;
  text-align: left;
  background: none;
  color: var(--text-color);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s ease;
  font-family: "Poppins", sans-serif;
}
.profile-dropdown a:hover,
.profile-dropdown button:hover {
  color: var(--primary-color);
}

/* Mobil Menü Butonu */
.menu-btn {
  display: none;
  font-size: 1.5rem;
  color: var(--heading-color);
  cursor: pointer;
  background: none;
}

/* Tema Butonu */
#theme-toggle {
  background: transparent;
  color: var(--heading-color);
  font-size: 1.2rem;
  cursor: pointer;
  transition:
    transform 0.3s ease,
    color 0.3s ease;
  padding: 5px;
  margin-left: 10px;
}
#theme-toggle:hover {
  color: var(--primary-color);
  transform: rotate(15deg);
}

/* Auth Linkleri */
#logged-out-links,
#logged-in-links {
  display: none;
}

/* Auth Yükleniyor */
.auth-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  color: var(--primary-color);
  font-size: 1.2rem;
  animation: spin 1s linear infinite;
}

/* =============================================
   5. ORTAK CONTAINER
   ============================================= */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  flex: 1;
  width: 100%;
}

/* =============================================
   6. ORTAK BUTONLAR
   ============================================= */
.btn {
  background: linear-gradient(45deg, rgb(128, 0, 255), rgb(80, 3, 157));
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 25px;
  cursor: pointer;
  font-size: 16px;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-family: "Poppins", sans-serif;
  margin: 5px 5px 5px 0;
  text-align: center;
  justify-content: center;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(128, 0, 255, 0.5);
}
.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* =============================================
   7. ORTAK FOOTER
   ============================================= */
footer {
  background: var(--footer-bg);
  padding: 3rem 2rem;
  text-align: center;
  border-top: 1px solid var(--card-border);
  margin-top: auto;
  width: 100%;
  transition: background-color 0.3s ease;
}
.footer-content h3 {
  color: var(--heading-color);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}
.socials,
.socials-footer {
  margin: 1.5rem 0;
}
.socials a,
.socials-footer a {
  color: var(--text-color);
  font-size: 1.5rem;
  margin: 0 15px;
  transition: all 0.3s ease;
  display: inline-block;
}
.socials a:hover,
.socials-footer a:hover {
  color: var(--primary-color);
  transform: scale(1.2);
}
footer p {
  font-size: 0.9rem;
  opacity: 0.8;
  color: var(--text-color);
}

/* =============================================
   8. YUKARI ÇIK BUTONU
   ============================================= */
#back-to-top {
  display: none;
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 99;
  font-size: 1.2rem;
  background-color: var(--primary-color);
  color: white;
  cursor: pointer;
  padding: 15px;
  border-radius: 50%;
  transition: all 0.3s ease;
  border: none;
  box-shadow: 0 4px 15px rgba(128, 0, 255, 0.4);
  width: 50px;
  height: 50px;
  align-items: center;
  justify-content: center;
}
#back-to-top.show {
  display: flex;
}
#back-to-top:hover {
  background-color: rgb(100, 0, 200);
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 8px 25px rgba(128, 0, 255, 0.6);
}

/* =============================================
   9. BLUR EFEKTLERİ (ORTAK)
   ============================================= */
.blur {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: var(--primary-color);
  filter: blur(100px);
  opacity: 0.4;
  z-index: -1;
  pointer-events: none;
}
body.light-mode .blur {
  opacity: 0.25;
}

/* =============================================
   10. ANA SAYFA (HOME) ÖZEL STİLLERİ
   ============================================= */

/* Header */
header {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  align-items: center;
  gap: 2rem;
  position: relative;
}

/* Header içindeki blur */
header .blur:nth-child(1) {
  top: 10%;
  left: 10%;
}
header .blur:nth-child(2) {
  bottom: 10%;
  right: 10%;
}

/* Header içerik */
header .content {
  text-align: left;
}
header .content p {
  margin-bottom: 2rem;
  color: var(--text-color);
  font-size: 1.1rem;
  line-height: 1.6;
  text-align: center;
}
header .buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Yazı Stilleri */
.typing-container {
  color: var(--heading-color);
  margin-bottom: 1rem;
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.3;
  min-height: 120px;
  display: flex;
  align-items: center;
}
.highlight-text {
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 1px var(--text-stroke);
  background: transparent;
  background-clip: text;
  -webkit-background-clip: text;
  font-weight: 800;
}
.sub-heading-text {
  display: block;
  font-size: 1.1rem;
  font-weight: 600;
  color: #10b981;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-top: 10px;
}
.typed-cursor {
  color: #10b981;
  font-size: 3rem;
  font-weight: 300;
}

/* Profil Resmi (Anasayfa) */
header .image {
  display: flex;
  justify-content: center;
  align-items: center;
}
/* Profil resmi - masaüstü */
.img {
  width: 100%;
  max-width: 400px;
  border-radius: 50%;
  display: block;
  filter: drop-shadow(1px 1px 30px rgba(128, 0, 255, 0.6));
  margin: 0 auto;
  animation: floatImage 4s ease-in-out infinite;
}

@keyframes floatImage {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
  100% {
    transform: translateY(0);
  }
}

/* Mobil uyumluluk */
@media (max-width: 768px) {
  .img {
    display: inline-block;
    max-width: 250px; /* küçük ekranlarda daha dar */
    animation-duration: 5s; /* animasyon biraz yavaşlasın */
    filter: drop-shadow(
      1px 1px 20px rgba(128, 0, 255, 0.5)
    ); /* gölge hafifletildi */
  }

  @keyframes floatImage {
    0% {
      transform: translateY(0);
    }
    50% {
      transform: translateY(-12px); /* daha az sıçrama */
    }
    100% {
      transform: translateY(0);
    }
  }
}

/* Çok küçük ekranlar (opsiyonel) */
@media (max-width: 480px) {
  .img {
    max-width: 200px;
  }
}

/* Reveal Animasyonu */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease-out;
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Beceri Kaydırıcı */
.skills-slider {
  width: 100%;
  background-color: var(--slider-bg);
  padding: 2rem 0;
  overflow: hidden;
  margin-bottom: 4rem;
  white-space: nowrap;
  position: relative;
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
}
.skills-track {
  display: inline-block;
  animation: scroll 10s linear infinite;
}
.skills-track i {
  font-size: 3rem;
  margin: 0 40px;
  color: var(--text-color);
  transition:
    color 0.3s,
    transform 0.3s;
  display: inline-block;
}
.skills-track i:hover {
  color: var(--primary-color);
  transform: scale(1.2);
}
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Ana Sayfa Section Title */
.section-title {
  font-size: 2rem;
  color: var(--heading-color);
  margin-bottom: 1.5rem;
  border-left: 5px solid var(--primary-color);
  padding-left: 15px;
}

/* Ana Sayfa Blog Grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 3rem;
}
.blog-card-item {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(15px);
  border-radius: 15px;
  overflow: hidden;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
  cursor: pointer;
}
.blog-card-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  border-color: var(--primary-color);
}
.card-img-placeholder {
  width: 100%;
  height: 180px;
  background: linear-gradient(45deg, #2d2d3a, #1f1f25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 3rem;
}
.card-content {
  padding: 1.5rem;
}
.card-content h3 {
  color: var(--heading-color);
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}
.card-content p {
  font-size: 0.9rem;
  margin-bottom: 1rem;
  color: var(--text-color);
  line-height: 1.5;
}

/* =============================================
   11. BLOG SAYFASI ÖZEL STİLLERİ
   ============================================= */

/* Blog Header */
.blog-header {
  text-align: center;
  margin: 2rem 0;
}
.blog-header h1 {
  color: var(--heading-color);
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.blog-header p {
  color: var(--text-color);
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto;
}

/* Login Uyarısı */
#loginWarning {
  text-align: center;
  background: var(--card-bg);
  border: 1px solid var(--primary-color);
  padding: 2rem;
  border-radius: 15px;
  margin: 2rem auto;
  max-width: 600px;
  display: none;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}
#loginWarning h3 {
  color: var(--heading-color);
  margin-bottom: 10px;
}
#loginWarning a {
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: underline;
}

/* Yeni Gönderi */
.new-post-section {
  margin: 2rem auto;
  max-width: 800px;
  display: none;
}
.new-post-card {
  background: var(--new-post-bg);
  border-radius: 20px;
  padding: 2rem;
  backdrop-filter: blur(10px);
  border: 1px solid var(--card-border);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}
.new-post-card:hover {
  border-color: rgba(128, 0, 255, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(128, 0, 255, 0.1);
}
.post-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.profile-photo {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary-color);
  box-shadow: 0 0 10px rgba(128, 0, 255, 0.3);
}
.post-user-info h4 {
  color: var(--heading-color);
  font-size: 1.1rem;
  margin-bottom: 5px;
}
.post-user-info p {
  color: var(--text-color);
  font-size: 0.9rem;
  opacity: 0.8;
}

.post-form .form-group {
  margin-bottom: 1rem;
}
.post-form input,
.post-form textarea,
.post-form select {
  width: 100%;
  padding: 12px;
  border: 2px solid var(--input-border);
  border-radius: 8px;
  background: var(--input-bg);
  color: var(--heading-color);
  font-family: "Poppins", sans-serif;
  transition: all 0.3s ease;
}
.post-form input:focus,
.post-form textarea:focus,
.post-form select:focus {
  border-color: var(--primary-color);
  background: var(--bg-color);
  box-shadow: 0 0 0 3px rgba(128, 0, 255, 0.1);
}
.post-form select option {
  background-color: var(--card-bg);
  color: var(--heading-color);
}
body.light-mode .post-form select option {
  background-color: #ffffff;
  color: #333333;
}
.post-form textarea {
  height: 120px;
  resize: vertical;
  min-height: 100px;
  max-height: 300px;
}

.file-input-group {
  margin-bottom: 1rem;
}
.file-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(128, 0, 255, 0.15);
  padding: 10px 16px;
  border-radius: 30px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 1px solid var(--card-border);
  color: var(--primary-color);
}
.file-label:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-2px);
}
.file-label i {
  font-size: 1.1rem;
}
#mediaFileInput {
  display: none;
}

.media-preview {
  margin-top: 12px;
  padding: 12px;
  background: rgba(128, 0, 255, 0.05);
  border-radius: 16px;
  display: none;
  position: relative;
}
.media-preview.active {
  display: block;
}
.media-preview img,
.media-preview video {
  max-width: 100%;
  max-height: 220px;
  border-radius: 12px;
  border: 1px solid var(--card-border);
}
.remove-media-btn {
  background: rgba(239, 68, 68, 0.9);
  color: white;
  border: none;
  border-radius: 30px;
  padding: 6px 14px;
  font-size: 12px;
  cursor: pointer;
  margin-top: 10px;
  transition: 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.remove-media-btn:hover {
  background: #ef4444;
}
.upload-progress {
  font-size: 0.8rem;
  margin-top: 8px;
  color: var(--primary-color);
}
.post-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 1.5rem;
}

/* Blog Kartları */
.blog-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
  margin-bottom: 4rem;
}

.card {
  background-color: var(--card-bg);
  padding: 1.5rem;
  border-radius: 20px;
  transition: all 0.3s ease;
  border: 1px solid var(--card-border);
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}
.card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-color);
  box-shadow: 0 15px 35px rgba(128, 0, 255, 0.2);
}

.card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}
.card-profile-photo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary-color);
  box-shadow: 0 0 8px rgba(128, 0, 255, 0.3);
}
.card-user-info h4 {
  color: var(--heading-color);
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
}
.card-user-info .card-date {
  color: var(--text-color);
  font-size: 0.7rem;
  opacity: 0.7;
}
.card-category {
  margin-left: auto;
}
.category-badge {
  background: rgba(128, 0, 255, 0.15);
  color: var(--primary-color);
  padding: 4px 12px;
  border-radius: 15px;
  font-size: 0.7rem;
  font-weight: 500;
  border: 1px solid rgba(128, 0, 255, 0.3);
  white-space: nowrap;
  text-transform: uppercase;
}

.card-content {
  flex-grow: 1;
}
.card-content h3 {
  color: var(--heading-color);
  margin-bottom: 0.8rem;
  font-size: 1.3rem;
  line-height: 1.4;
  font-weight: 700;
}
.card-content p {
  color: var(--text-color);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  word-wrap: break-word;
  opacity: 0.9;
}

.card-media {
  margin: 1rem 0;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.2);
}
.card-media img,
.card-media video {
  width: 100%;
  max-height: 260px;
  object-fit: cover;
  display: block;
  border-radius: 16px;
  transition: transform 0.2s ease;
}
.card-media img:hover {
  transform: scale(1.02);
}

/* Etkileşim Çubuğu */
.interaction-bar {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin: 0.75rem 0;
  padding: 0.5rem 0;
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
}
.like-btn,
.comment-toggle-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  color: var(--text-color);
  font-size: 0.9rem;
  cursor: pointer;
  padding: 6px 12px;
  border-radius: 30px;
  transition: all 0.2s ease;
  font-weight: 500;
}
.like-btn i,
.comment-toggle-btn i {
  font-size: 1.1rem;
  transition: transform 0.2s;
}
.like-btn:hover {
  background: rgba(128, 0, 255, 0.1);
  color: var(--primary-color);
}
.like-btn.liked {
  color: var(--primary-color);
}
.like-btn.liked i {
  transform: scale(1.1);
}
.comment-toggle-btn:hover {
  background: rgba(128, 0, 255, 0.1);
  color: var(--primary-color);
}
.like-count,
.comment-count {
  font-weight: 600;
}

/* Yorumlar */
.comments-section {
  display: none;
  margin-top: 1rem;
  padding: 1rem;
  background: var(--comment-bg);
  border-radius: 16px;
}
.comments-section.show {
  display: block;
}
.comment-item {
  padding: 0.75rem;
  border-bottom: 1px solid var(--card-border);
  font-size: 0.85rem;
}
.comment-item:last-child {
  border-bottom: none;
}
.comment-author {
  font-weight: 600;
  color: var(--primary-color);
  margin-right: 8px;
}
.comment-text {
  color: var(--text-color);
  word-break: break-word;
}
.comment-date {
  font-size: 0.7rem;
  opacity: 0.6;
  margin-left: 8px;
}
.comment-form {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.8rem;
}
.comment-input {
  flex: 1;
  padding: 8px 12px;
  background: var(--input-bg);
  border: 1px solid var(--input-border);
  border-radius: 30px;
  color: var(--heading-color);
  font-size: 0.85rem;
}
.comment-submit {
  background: var(--primary-color);
  border: none;
  color: white;
  padding: 6px 14px;
  border-radius: 30px;
  cursor: pointer;
  font-size: 0.8rem;
  transition: 0.2s;
}
.comment-submit:hover {
  opacity: 0.9;
  transform: scale(0.98);
}
.no-comments {
  text-align: center;
  font-size: 0.8rem;
  padding: 0.5rem;
  opacity: 0.6;
}
.card-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 0.5rem;
}
.post-info {
  font-size: 0.7rem;
  opacity: 0.7;
  color: var(--text-color);
}
.delete-btn {
  color: #ef4444;
  background: transparent;
  cursor: pointer;
  padding: 6px;
  font-size: 0.9rem;
  opacity: 0.7;
  transition: all 0.3s ease;
  border-radius: 8px;
}
.delete-btn:hover {
  opacity: 1;
  background: rgba(239, 68, 68, 0.1);
  transform: scale(1.05);
}

/* Yükleniyor */
.loading {
  display: none;
  text-align: center;
  color: var(--primary-color);
  font-weight: 500;
  margin: 3rem 0;
  font-size: 1.1rem;
}
.loading.show {
  display: block;
}

/* Filtre */
.filter-section {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 2rem 0;
  flex-wrap: wrap;
}
.filter-btn {
  padding: 8px 20px;
  background: var(--filter-btn-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  color: var(--filter-btn-text);
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
}
.filter-btn:hover,
.filter-btn.active {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

/* =============================================
   12. HAKKIMDA SAYFASI ÖZEL STİLLERİ
   ============================================= */

.hakkimda-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  flex: 1;
  width: 100%;
  position: relative;
}

/* Hakkımda Kart */
.hakkimda-card {
  background: var(--card-bg);
  backdrop-filter: blur(15px);
  padding: 3rem 2rem;
  border-radius: 15px;
  border: 1px solid var(--card-border);
  color: var(--text-color);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition:
    transform 0.3s ease,
    border-color 0.3s ease;
  margin-top: 2rem;
}
.hakkimda-card:hover {
  border-color: rgba(128, 0, 255, 0.3);
}

.hakkimda-icerik {
  display: flex;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
}
.hakkimda-resim {
  max-width: 300px;
  min-width: 250px;
  flex-basis: 30%;
  margin: 0 auto;
  display: flex;
  justify-content: center;
}
.hakkimda-resim img {
  border-radius: 50%;
  border: 4px solid var(--primary-color);
  width: 100%;
  height: 300px;
  object-fit: cover;
  box-shadow: 0 0 20px rgba(128, 0, 255, 0.4);
  transition: box-shadow 0.3s ease;
}
.hakkimda-resim img:hover {
  box-shadow: 0 0 35px rgba(128, 0, 255, 0.7);
}
.hakkimda-yazi {
  flex-basis: 65%;
  flex-grow: 1;
}
.hakkimda-yazi h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  color: var(--heading-color);
  font-weight: 700;
}
.hakkimda-yazi h2 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.hakkimda-yazi p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-color);
  margin-bottom: 1.5rem;
}

.cv-btn-container {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 2rem;
}
.btn-cv {
  background: var(--primary-color);
  color: #fff;
  padding: 10px 25px;
  border-radius: 25px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: 0.3s;
  box-shadow: 0 5px 15px rgba(128, 0, 255, 0.3);
}
.btn-cv:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(128, 0, 255, 0.5);
}

.sosyal-medya {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.sosyal-medya a {
  color: var(--heading-color);
  font-size: 1.8rem;
  margin-right: 1.5rem;
  transition: all 0.3s ease;
  display: inline-block;
}
.sosyal-medya a:hover {
  color: var(--primary-color);
  transform: translateY(-5px) scale(1.1);
}

/* Yetenekler */
.skills-section {
  margin: 4rem 0;
}
.section-title.center {
  text-align: center;
  border-left: none;
  padding-left: 0;
  width: 100%;
  display: block;
}
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  justify-items: center;
}
.skill-card {
  background: var(--skill-card-bg);
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
  border: 1px solid var(--card-border);
  backdrop-filter: blur(5px);
  opacity: 0;
  transform: translateY(30px);
  width: 100%;
}
.skill-card.revealed {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}
.skill-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary-color);
  box-shadow: 0 10px 20px rgba(128, 0, 255, 0.15);
}
.skill-card i {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}
.skill-card h4 {
  color: var(--heading-color);
  margin-bottom: 1rem;
  font-size: 1.3rem;
}
.skill-card p {
  color: var(--text-color);
  line-height: 1.6;
  font-size: 0.9rem;
}

/* Zaman Çizelgesi */
.timeline-section {
  margin: 4rem 0;
}
.timeline-items {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  position: relative;
}
.timeline-items::before {
  content: "";
  position: absolute;
  width: 3px;
  height: 100%;
  background: linear-gradient(
    to bottom,
    transparent,
    var(--primary-color),
    transparent
  );
  left: 50%;
  top: 0;
  transform: translateX(-50%);
}
.timeline-item {
  width: 100%;
  margin-bottom: 50px;
  position: relative;
  opacity: 0;
  transform: translateY(40px);
}
.timeline-item.revealed {
  animation: fadeInUp 0.6s forwards;
}
.timeline-item:nth-child(1).revealed {
  animation-delay: 0.1s;
}
.timeline-item:nth-child(2).revealed {
  animation-delay: 0.2s;
}
.timeline-item:nth-child(3).revealed {
  animation-delay: 0.3s;
}
.timeline-item:nth-child(4).revealed {
  animation-delay: 0.4s;
}
.timeline-item:nth-child(5).revealed {
  animation-delay: 0.5s;
}
.timeline-item:nth-child(6).revealed {
  animation-delay: 0.6s;
}
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.timeline-dot {
  width: 18px;
  height: 18px;
  background: var(--primary-color);
  position: absolute;
  left: 50%;
  top: 15px;
  border-radius: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 15px var(--primary-color);
  transition: 0.3s;
  z-index: 2;
}
.timeline-content {
  width: 45%;
  padding: 25px;
  border-radius: 15px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(10px);
  transition: 0.3s;
}
.timeline-item:nth-child(odd) .timeline-content {
  float: left;
  text-align: right;
}
.timeline-item:nth-child(even) .timeline-content {
  float: right;
  text-align: left;
}
.timeline-item:hover .timeline-content {
  transform: scale(1.05);
  border-color: var(--primary-color);
  box-shadow: 0 15px 35px rgba(128, 0, 255, 0.3);
}
.timeline-item:hover .timeline-dot {
  transform: translateX(-50%) scale(1.4);
  background: #fff;
}
.timeline-date {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 10px;
}
.timeline-content h3 {
  color: var(--heading-color);
  margin-bottom: 10px;
  font-size: 1.2rem;
}
.timeline-content p {
  color: var(--text-color);
  line-height: 1.6;
  font-size: 0.95rem;
}

.tech-stack {
  margin-top: 10px;
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}
.timeline-item:nth-child(odd) .tech-stack {
  justify-content: flex-end;
}
.timeline-item:nth-child(even) .tech-stack {
  justify-content: flex-start;
}
.tech-badge {
  background: rgba(128, 0, 255, 0.1);
  color: var(--primary-color);
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  border: 1px solid rgba(128, 0, 255, 0.2);
}
.project-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 15px;
  color: var(--heading-color);
  font-size: 0.9rem;
  font-weight: 600;
  transition: 0.3s;
  border-bottom: 1px solid var(--primary-color);
  padding-bottom: 2px;
}
.project-link:hover {
  color: var(--primary-color);
}

/* PDF */
.pdf-viewer {
  margin-top: 20px;
  text-align: left;
}
.pdf-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
  justify-content: flex-start;
}
.pdf-btn {
  background: var(--pdf-btn-bg);
  color: var(--heading-color);
  border: 1px solid var(--card-border);
  padding: 8px 18px;
  border-radius: 40px;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: "Poppins", sans-serif;
  backdrop-filter: blur(4px);
}
.pdf-btn:hover,
.pdf-btn.active {
  background: var(--pdf-btn-hover);
  transform: translateY(-2px);
  border-color: var(--primary-color);
  color: var(--primary-color);
}
.pdf-btn.active {
  background: var(--primary-color);
  color: #fff;
}
.pdf-display {
  width: 100%;
  background: var(--card-bg);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--card-border);
  transition: 0.2s;
}
.pdf-display iframe {
  width: 100%;
  height: 500px;
  border: none;
  display: block;
  background: #fff;
}

/* İstatistikler */
.stats-section {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 20px;
  margin: 4rem 0;
  padding: 2rem;
  background: var(--card-bg);
  border-radius: 20px;
  border: 1px solid var(--card-border);
}
.stat-item {
  text-align: center;
}
.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  display: block;
}
.stat-text {
  color: var(--text-color);
  font-size: 1rem;
  margin-top: 5px;
}

/* Hakkımda İletişim */
.hakkimda-contact {
  background: var(--card-bg);
  border-radius: 20px;
  padding: 3rem;
  margin: 4rem 0;
  backdrop-filter: blur(10px);
  border: 1px solid var(--card-border);
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}
.contact-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}
.contact-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--heading-color);
  padding: 12px 24px;
  background: var(--contact-btn-bg);
  border-radius: 50px;
  transition: all 0.3s ease;
  border: 1px solid var(--contact-btn-border);
  font-weight: 500;
}
.contact-link:hover {
  background: var(--contact-btn-hover);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(128, 0, 255, 0.2);
  border-color: var(--primary-color);
}

/* =============================================
   13. İLETİŞİM SAYFASI ÖZEL STİLLERİ
   ============================================= */

.contact-page-section {
  background: var(--card-bg);
  border-radius: 20px;
  padding: 3rem;
  margin: 2rem 0;
  backdrop-filter: blur(10px);
  border: 1px solid var(--card-border);
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}
.contact-page-section:hover {
  border-color: rgba(128, 0, 255, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(128, 0, 255, 0.1);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h2 {
  color: var(--heading-color);
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
}
.contact-info p {
  color: var(--text-color);
  line-height: 1.8;
  margin-bottom: 2rem;
  font-size: 1.1rem;
  opacity: 0.9;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  padding: 1.5rem;
  background: var(--item-bg);
  border-radius: 15px;
  transition: all 0.3s ease;
  border: 1px solid var(--card-border);
}
.contact-item:hover {
  transform: translateX(10px);
  border-color: var(--primary-color);
  box-shadow: 0 5px 15px rgba(128, 0, 255, 0.1);
}
.contact-item i {
  font-size: 1.8rem;
  color: var(--primary-color);
  min-width: 40px;
  text-align: center;
}
.contact-item div h4 {
  color: var(--heading-color);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
  font-weight: 600;
}
.contact-item div p {
  color: var(--text-color);
  margin: 0;
  font-size: 0.95rem;
}

/* Form */
.form-group {
  margin-bottom: 1.5rem;
}
.form-group label {
  display: block;
  color: var(--heading-color);
  margin-bottom: 0.5rem;
  font-weight: 500;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px;
  border: 2px solid var(--input-border);
  border-radius: 10px;
  background: var(--input-bg);
  color: var(--heading-color);
  font-family: "Poppins", sans-serif;
  transition: all 0.3s ease;
  font-size: 1rem;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(128, 0, 255, 0.1);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-color);
  opacity: 0.6;
}
.form-group textarea {
  height: 160px;
  resize: vertical;
  min-height: 120px;
  max-height: 250px;
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* Mesajlar */
.success-message,
.error-message {
  padding: 1rem;
  border-radius: 8px;
  margin-top: 1rem;
  display: none;
  text-align: center;
  animation: fadeIn 0.3s ease;
}
.success-message {
  background: rgba(34, 197, 94, 0.2);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #22c55e;
}
.error-message {
  background: rgba(239, 68, 68, 0.2);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #ef4444;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Sosyal Linkler (İletişim) */
.social-contact {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--card-border);
}
.social-contact h4 {
  color: var(--heading-color);
  margin-bottom: 1rem;
  font-size: 1.2rem;
}
.social-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.social-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--item-bg);
  border-radius: 12px;
  color: var(--heading-color);
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid var(--card-border);
  font-weight: 500;
}
.social-link:hover {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
  transform: translateY(-3px);
}
.social-link i {
  font-size: 1.2rem;
}

/* =============================================
   14. LOGIN & REGISTER SAYFALARI ÖZEL STİLLERİ
   ============================================= */

.login-container,
.register-container {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  position: relative;
  width: 100%;
}

.login-container .blur:nth-child(1),
.register-container .blur:nth-child(1) {
  top: 10%;
  left: 10%;
}
.login-container .blur:nth-child(2),
.register-container .blur:nth-child(2) {
  bottom: 10%;
  right: 10%;
}

.login-card,
.register-card {
  background: var(--card-bg);
  border-radius: 20px;
  padding: 3rem;
  backdrop-filter: blur(10px);
  border: 1px solid var(--card-border);
  width: 100%;
  max-width: 450px;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition:
    background-color 0.3s ease,
    border-color 0.3s ease;
}
.login-card h2,
.register-card h2 {
  color: var(--heading-color);
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
}
.login-card p,
.register-card p {
  color: var(--text-color);
  margin-bottom: 2rem;
  font-size: 1rem;
}

.input-wrapper {
  position: relative;
  width: 100%;
}
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"] {
  width: 100%;
  padding: 12px;
  border: 2px solid var(--input-border);
  border-radius: 8px;
  background: var(--input-bg);
  color: var(--input-text);
  font-family: "Poppins", sans-serif;
  transition:
    border-color 0.3s ease,
    background-color 0.3s ease,
    color 0.3s ease;
}
.form-group input:focus {
  outline: none;
  border-color: var(--primary-color);
}
.form-group input::placeholder {
  color: var(--text-color);
  opacity: 0.7;
}

.toggle-password {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-color);
  cursor: pointer;
  font-size: 0.9rem;
  transition: color 0.3s;
}
.toggle-password:hover {
  color: var(--primary-color);
}

.form-links {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.form-links a {
  color: var(--link-color);
  font-size: 0.9rem;
  transition: color 0.3s ease;
}
.form-links a:hover {
  color: var(--heading-color);
  text-decoration: underline;
}

/* Ayırıcı */
.divider {
  display: flex;
  align-items: center;
  margin: 2rem 0;
  color: var(--text-color);
  font-size: 0.9rem;
}
.divider::before,
.divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--divider-color);
}
.divider span {
  padding: 0 1rem;
}

.social-login {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}
.social-btn {
  flex: 1;
  padding: 10px;
  border: 2px solid var(--social-btn-border);
  border-radius: 8px;
  background: var(--social-btn-bg);
  color: var(--social-btn-text);
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.9rem;
}
.social-btn:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
  background: transparent;
}

/* Şifre Gücü */
.password-strength {
  margin-top: 0.5rem;
  font-size: 0.8rem;
  text-align: left;
  min-height: 1.2em;
  font-weight: 500;
}
.strength-weak {
  color: #ef4444;
}
.strength-medium {
  color: #f59e0b;
}
.strength-strong {
  color: #22c55e;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-top: 1rem;
  text-align: left;
  margin-bottom: 1.5rem;
}
.checkbox-group input[type="checkbox"] {
  width: auto;
  margin-top: 3px;
  accent-color: var(--primary-color);
  transform: scale(1.1);
}
.checkbox-group label {
  font-size: 0.85rem;
  line-height: 1.4;
  cursor: pointer;
  color: var(--text-color);
}
.checkbox-group a {
  color: var(--link-color);
  font-weight: 500;
}

/* =============================================
   15. MODAL
   ============================================= */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: var(--modal-overlay);
  backdrop-filter: blur(5px);
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.modal-content {
  background-color: var(--bg-color);
  color: var(--text-color);
  border: 1px solid var(--card-border);
  border-radius: 15px;
  width: 100%;
  max-width: 600px;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
  padding: 2rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  text-align: left;
  animation: modalFadeIn 0.3s ease;
}
@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
.modal-content h3 {
  color: var(--heading-color);
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--divider-color);
  padding-bottom: 10px;
  font-size: 1.5rem;
}
.modal-content p {
  line-height: 1.6;
  font-size: 0.95rem;
  margin-bottom: 1rem;
  color: var(--text-color);
}
.modal-content strong {
  color: var(--heading-color);
}
.close-modal {
  position: absolute;
  top: 15px;
  right: 20px;
  color: var(--text-color);
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s;
  line-height: 1;
}
.close-modal:hover {
  color: var(--primary-color);
}

/* =============================================
   16. PROFİL DÜZENLEME SAYFASI
   ============================================= */
.edit-page {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 20px;
}
.edit-card {
  background: var(--card-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--card-border);
  width: 100%;
  max-width: 500px;
  padding: 40px;
  border-radius: 25px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
  margin: 0 auto;
}
.edit-card h2 {
  text-align: center;
  color: var(--heading-color);
  margin-bottom: 30px;
  font-size: 1.8rem;
}

.photo-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 30px;
}
.avatar-wrapper {
  position: relative;
  width: 120px;
  height: 120px;
  margin-bottom: 15px;
}
.avatar-wrapper img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary-color);
  filter: drop-shadow(0 0 10px var(--primary-color));
  transition: filter 0.3s ease;
}
.upload-label {
  background: var(--primary-color);
  color: white;
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 0.8rem;
  cursor: pointer;
  transition: 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.upload-label:hover {
  transform: scale(1.05);
  opacity: 0.9;
}

.input-group {
  margin-bottom: 20px;
}
.input-group label {
  display: block;
  margin-bottom: 8px;
  color: var(--heading-color);
  font-size: 0.9rem;
  font-weight: 500;
}
.input-group input,
.input-group textarea {
  width: 100%;
  padding: 12px 15px;
  background: var(--input-bg);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  color: var(--heading-color);
  outline: none;
  transition: 0.3s;
  font-family: "Poppins", sans-serif;
}
.input-group input:focus,
.input-group textarea:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 10px rgba(128, 0, 255, 0.2);
}

.actions {
  display: flex;
  gap: 15px;
  margin-top: 10px;
}
.save-btn {
  flex: 1;
  background: linear-gradient(45deg, var(--primary-color), #50039d);
  color: white;
  padding: 13px;
  border: none;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  font-family: "Poppins", sans-serif;
  font-size: 0.95rem;
}
.save-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.cancel-btn {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-color);
  border: 1px solid var(--card-border);
  padding: 13px;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  font-family: "Poppins", sans-serif;
  font-size: 0.95rem;
}
.btn:hover:not(:disabled) {
  transform: translateY(-3px);
  opacity: 0.9;
}

/* =============================================
   17. ANİMASYONLAR
   ============================================= */
@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
.ri-spin {
  display: inline-block;
  animation: spin 1s linear infinite;
}

/* =============================================
   18. RESPONSIVE (MOBİL)
   ============================================= */
@media (max-width: 768px) {
  /* Navbar */
  .menu-btn {
    display: block;
  }
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background: var(--bg-color);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: 0.4s ease;
    border-left: 1px solid var(--card-border);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.5);
    z-index: 200;
    gap: 2.5rem;
  }
  .nav-links.active {
    right: 0;
  }
  .profile-dropdown {
    position: fixed;
    top: 80px;
    right: 20px;
    left: 20px;
    width: calc(100% - 40px);
  }

  /* Ana Sayfa */
  header {
    padding-top: 4rem;
    min-height: auto;
    text-align: center;
  }
  header .content {
    text-align: center;
  }
  header .buttons {
    justify-content: center;
  }
  .typing-container {
    font-size: 2rem;
    min-height: 90px;
    justify-content: center;
  }
  .sub-heading-text {
    font-size: 0.9rem;
  }
  .typed-cursor {
    font-size: 2rem;
  }
  header .btn {
    width: 100%;
    justify-content: center;
    margin: 5px 0;
  }

  /* Blog */
  .blog-section {
    grid-template-columns: 1fr;
  }
  .blog-header h1 {
    font-size: 2rem;
  }
  .filter-section {
    justify-content: flex-start;
    overflow-x: auto;
    padding: 10px 0;
  }

  /* Hakkımda */
  .hakkimda-icerik {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }
  .hakkimda-yazi h1 {
    font-size: 1.8rem;
  }
  .sosyal-medya {
    justify-content: center;
  }
  .cv-btn-container {
    justify-content: center;
  }
  .contact-links {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }
  .contact-link {
    width: 100%;
    justify-content: center;
  }
  .timeline-items::before {
    left: 10px;
  }
  .timeline-dot {
    left: 10px;
  }
  .timeline-content {
    width: calc(100% - 40px);
    float: right !important;
    text-align: left !important;
  }
  .timeline-item:nth-child(odd) .tech-stack,
  .timeline-item:nth-child(even) .tech-stack {
    justify-content: flex-start;
  }
  .pdf-buttons {
    justify-content: center;
  }
  .pdf-display iframe {
    height: 350px;
  }
  .stats-section {
    flex-direction: column;
    align-items: center;
  }

  /* İletişim */
  .contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .contact-page-section {
    padding: 2rem;
  }
  .contact-info h2 {
    font-size: 2rem;
  }
  .social-links {
    justify-content: center;
  }

  /* Login & Register */
  .login-card,
  .register-card {
    padding: 2rem;
  }
  .social-login {
    flex-direction: column;
  }

  /* Back to Top */
  #back-to-top {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    padding: 12px;
    font-size: 1rem;
  }
}
