/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  height: 100%;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  overflow-x: hidden;
  overflow-y: auto;
  background-color: #121212; /* Dark mode arka plan */
  color: #eee;
  scroll-behavior: smooth; /* Yumuşak kaydırma */
  min-height: 100vh;
}

body {
  min-height: 850vh; /* Sayfayı %50 daha uzun yapar */
  overflow: visible;
}

/* Scrollbar (WebKit tarayıcılar için) */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: #1a1a1a; /* Koyu arka plan */
  border-left: 1px solid #111;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(#ff4c4c, #a00);
  border-radius: 10px;
  border: 2px solid #1a1a1a;
  box-shadow: 0 0 10px #ff4c4c;
  transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(#ff0000, #8b0000);
  box-shadow: 0 0 15px #ff1e1e;
}


/* Navbar */
.navbar {
  position: fixed;
  width: 100%;
  background: transparent;
  z-index: 10000;
  padding: 20px 10px; /* Daha az padding */
  top: 0;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  user-select: none;
}

.nav-container {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  justify-content: flex-start;
  gap: 220px; /* Logo ile nav-links arası boşluk */
}

.logo-link {
  font-weight: 900;
  font-size: 26px;
  color: white;
  text-decoration: none;
  letter-spacing: 2px;
  position: relative;
  left: -55px;
  padding-left: 0px;
  text-shadow:
    0 0 5px #064907,
    0 0 10px #09761a,
    0 0 20px #14853f,
    0 0 30px #2c9728,
    0 0 40px #4dea74;
  transition: color 0.3s ease;
}

.logo-link:hover {
  color: #e80b0b;
  text-shadow:
    0 0 8px #620505,
    0 0 15px #b11c1c,
    0 0 30px #b11e1e,
    0 0 40px #b83535,
    0 0 50px #d85c5c;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 25px;
  margin-left: auto;
  margin-right: 0;
}

.nav-links li a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s;
}

.nav-links li a:hover {
  color: #ff4c4c;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 28px;
  color: #ff4c4c;
  cursor: pointer;
}

/* Hero Section */
.hero-section {
  height: 100vh;
  background-image: url('diablo-bg.jpg');
  background-size: cover;
  background-position: center;
  position: relative;
  padding: 0 60px 0 60px;
  overflow: hidden;
}

/* Sağ alt köşedeki kart */
.card-container {
  position: absolute;
  bottom: 60px;
  right: 60px;
}

.game-card {
  width: 400px;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

/* Character Section */
.character-section {
  padding: 80px 20px 500px 20px; /* Alt boşluk genişletildi */
  background-color: #181818;
  text-align: center;
  border-top: 2px solid #ff4c4c;
}

.character-section h2 {
  font-size: 36px;
  color: #ff4c4c;
  margin-bottom: 50px;
  text-shadow: 0 0 5px #c60000;
  font-family: 'Georgia', serif;
  letter-spacing: 1px;
}

.character-grid {
  position: relative;
  display: flex;
  justify-content: center;
  gap: 120px;
  flex-wrap: wrap;
  padding-bottom: 200px; /* Alt kartlar için boşluk */
}

.character-card {
  background-color: #1e1e1e;
  border-radius: 62px;
  padding: 65px;
  width: 280px;
  box-shadow: 0 25px 62px rgba(255, 76, 76, 0.2);
  transition: transform 0.3s, box-shadow 0.3s;
  color: #eee;
  border: 1px solid #2c2c2c;
}

.character-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(255, 76, 76, 0.4);
}

.character-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 25px;
  margin-bottom: 35px;
  border: 1px solid #444;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.character-card h3 {
  margin: 0 0 10px;
  color: #ff4c4c;
  font-size: 20px;
  font-weight: bold;
}

.character-card p {
  font-size: 15px;
  color: #ccc;
  line-height: 1.5;
}

.extra-card {
  position: absolute;
}

.card-4 {
  top: 640px;
  left: calc(50% - 420px);
}

.card-5 {
  top: 640px;
  left: calc(50% + 120px);
}

@media (max-width: 900px) {
  .extra-card {
    position: static;
  }
}

/* About Section */
.about-section {
  background-color: #111;
  padding: 100px 20px;
  border-top: 2px solid #ff4c4c;
  color: #eee;
}

.about-container {
  display: flex;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
  gap: 60px;
  flex-wrap: wrap;
}

.about-image img {
  width: 500px;
  border-radius: 20px;
  box-shadow: 0 0 20px rgba(255, 76, 76, 0.4);
}

.about-text {
  flex: 1;
}

.about-text h2 {
  font-size: 36px;
  color: #ff4c4c;
  margin-bottom: 20px;
  text-shadow: 0 0 10px #a00;
}

.about-text p {
  font-size: 17px;
  line-height: 1.8;
  color: #ccc;
}

/* Bölüm ayırıcı çizgi (en soldan en sağa) */
.section-divider {
  height: 3px;
  width: 100vw;
  background: linear-gradient(90deg, #ff4c4c, #a00, #ff4c4c);
  margin: 80px 0 60px 0;
  border: none;
  box-shadow: 0 0 15px #ff4c4c;
}

/* Blog bölümü */
.personal-blog-section {
  background-color: #111;
  padding: 0 20px 120px 20px;
  color: #eee;
  max-width: 1200px;
  margin: 0 auto;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Başlık */
.personal-blog-title {
  font-size: 38px;
  color: #ff4c4c;
  text-align: center;
  margin-bottom: 10px;
  text-shadow: 0 0 10px #a00;
  font-weight: 800;
}

/* Giriş paragrafı */
.personal-blog-intro {
  max-width: 720px;
  margin: 0 auto 50px auto;
  font-size: 18px;
  line-height: 1.7;
  color: #ccc;
  font-style: italic;
  text-align: center;
}

/* Her blog yazısı */
.personal-blog-post {
  background-color: #1e1e1e;
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(255, 76, 76, 0.6);
  margin-bottom: 60px;
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  color: #eee;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.personal-blog-post:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 40px rgba(255, 76, 76, 0.85);
}

/* Görsel */
.blog-post-image {
  flex: 1 1 320px;
  max-width: 420px;
  object-fit: cover;
  border-radius: 20px 0 0 20px;
  height: 280px;
  box-shadow: 0 0 25px rgba(255, 76, 76, 0.5);
}

/* Blog içeriği (başlık + paragraflar) */
.blog-post-content {
  flex: 2 1 400px;
  padding: 30px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #eee;
}

/* Blog başlıkları */
.blog-post-heading {
  color: #ff6060;
  font-family: 'Georgia', serif;
  font-size: 24px;
  margin-bottom: 15px;
  text-shadow: 0 0 8px #b80000;
}

/* Paragraflar */
.blog-post-content p {
  font-size: 16px;
  line-height: 1.7;
  color: #ccc;
  margin-bottom: 12px;
  font-style: normal;
}

/* Responsive */
@media (max-width: 900px) {
  .personal-blog-post {
    flex-direction: column;
  }
  .blog-post-image {
    border-radius: 20px 20px 0 0;
    width: 100%;
    height: 220px;
  }
  .blog-post-content {
    padding: 20px 25px;
  }
  .personal-blog-title {
    font-size: 32px;
  }
  .personal-blog-intro {
    font-size: 16px;
  }
}

/* Navbar için animasyon stilleri */
.navbar {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 10000;
  transition: transform 0.4s ease-in-out;
}

/* Aşağı kayınca gizlenir */
.navbar.hide-navbar {
  transform: translateY(-100%);
}

/* Yukarı kayınca görünür */
.navbar.show-navbar {
  transform: translateY(0);
}

/* Sağ üst menü gizleme animasyonu */
.nav-links.hide-menu,
.nav-toggle.hide-menu {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease-in-out;
}

/* Navbar gizleme ve gösterme için */
.navbar.hide-navbar {
  transform: translateY(-100%);
  transition: transform 0.4s ease-in-out;
}

.navbar.show-navbar {
  transform: translateY(0);
  transition: transform 0.4s ease-in-out;
}

.site-footer {
  background-color: #111;
  color: #bbb;
  padding: 20px 0;
  border-top: 2px solid #ff4c4c;
  box-shadow: 0 -5px 15px rgba(255, 76, 76, 0.3);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  text-align: center;
  position: relative;
  bottom: 0;
  width: 100%;
  user-select: none;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.site-footer p {
  margin: 0;
  font-size: 14px;
  color: #aaa;
}

.footer-links a {
  color: #ff4c4c;
  text-decoration: none;
  margin: 0 12px;
  font-weight: 600;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #ff8080;
}

@media (max-width: 600px) {
  .footer-container {
    flex-direction: column;
    gap: 8px;
  }
}

.hero-section {
  background: url("../images1/diablo-bg.jpg") no-repeat center center/cover;
  height: 100vh; /* Tüm ekranı kaplasın istiyorsan */
  position: relative;
}

.personal-blog-post{
  content-visibility: auto;
  contain-intrinsic-size: 600px 400px; /* ölçü tahmini */
}

.blog-post-image {
  display: block;
  width: 100%;
  height: auto;
  background: #111;          /* resim yüklenene kadar koyu arka plan */
  border-radius: 12px;       /* sitenin radius diliyle eşleştir */
}

/* İstersen elde ettiğin kazanımı korumak için: */
.personal-blog-post {
  content-visibility: auto;
  contain-intrinsic-size: 600px 400px; /* senin kullandığın tahmin gayet iyi */
}

.blog-post-image { filter: blur(0); transition: filter .25s ease; }
.blog-post-image[lazyloaded] { filter: none; }


#container {
    width: 90%;
    margin: auto;
}
#header {
    height: auto;
}
#navigation {
    background-color: #eb9b74 ;
    text-align: center;
    padding: 1%;
    border: 1px solid #6a2d26;
    font-size: large;
}
#content {
    background-color: #f4f1f1;
    padding: 2%;
    overflow: hidden;
}
.img-left {
    float: left;
    padding: 1%;
    border: 1 px solid #808080;
    margin-right: 10px;
}