/* ============================ BLOG STYLE ============================ */

/* Genel Ayarlar */
body {
  background-color: #fff;
  color: #111;
  line-height: 1.6;
  font-size: 16px;
  font-family: 'Montserrat', sans-serif;
  margin: 0;
  padding: 0;
}

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

/* Navbar */
.navbar {
  background-color: #0a1f44;
  position: sticky;
  top: 0;
  z-index: 999;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: auto;
  padding: 10px 20px;
}

.logo img {
  height: 60px;
  object-fit: contain;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.menu-toggle span {
  background: #fff;
  height: 3px;
  width: 25px;
  margin: 4px 0;
}

.nav-menu {
  display: flex;
  gap: 20px;
  align-items: center;
}

.nav-menu ul {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.nav-menu ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.3s;
}

.nav-menu ul li a:hover {
  color: #ffcc00;
}

/* Blog Grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  padding: 40px 20px;
  max-width: 1200px;
  margin: auto;
}

.blog-card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 20px;
  color: #333;
  text-decoration: none;
  transition: border-color 0.3s, box-shadow 0.3s;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.blog-card:hover {
  border-color: #ff6600;
  box-shadow: 0 4px 12px rgba(255,102,0,0.3);
}

.blog-card i {
  font-size: 28px;
  margin-bottom: 10px;
  color: #ff6600;
}

.blog-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.blog-card p {
  font-size: 15px;
}

.blog-card img {
  width: 100%;
  height: auto;
  max-height: 220px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 15px;
}

/* Blog Görselleri */
.blog-hero,
article.blog-post img,
.blog-post img {
  width: 100%;
  max-width: 760px;
  height: auto;
  display: block;
  margin: 30px auto;
}

/* Geri Dön Butonu */
.btn-return-blog {
  display: inline-block;
  padding: 12px 24px;
  background-color: #ff6600;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s;
}

.btn-return-blog:hover {
  background-color: #e55b00;
}

/* WhatsApp Butonu */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 20px;
  right: 20px;
  background-color: #25D366;
  color: #fff;
  border-radius: 50%;
  font-size: 28px;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background 0.3s;
}

.whatsapp-float:hover {
  background-color: #1ebe57;
}

/* Footer */
footer {
  background-color: #000;
  color: #fff;
  text-align: center;
  padding: 20px 10px;
  font-size: 15px;
}

/* Responsive */
@media (max-width: 768px) {
  .navbar .container {
    flex-direction: column;
    align-items: flex-start;
  }

  .menu-toggle {
    display: flex;
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 1000;
  }

  .nav-menu {
    flex-direction: column;
    background-color: #0a1f44;
    display: none;
    padding: 20px;
    width: 100%;
  }

  .nav-menu.active {
    display: flex !important;
  }

  .nav-menu ul {
    flex-direction: column;
    gap: 15px;
  }

  .blog-grid {
    padding: 30px 10px;
  }

  .blog-hero,
  article.blog-post img,
  .blog-post img {
    margin: 20px 0;
    max-width: 100%;
  }

  .blog-card img {
    max-height: 160px;
  }

  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 10px;
    right: 10px;
    font-size: 24px;
  }

  footer {
    font-size: 14px;
    padding: 15px 10px;
  }
}