/* ============================================================================
   BLOG SECTION CSS - MAHSUNALTUN PREFIX
   ============================================================================ */

/* Ana Bölüm */
.mahsunaltun-blog-section {
  background: #000;
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  padding: 80px 0;
}

.mahsunaltun-blog-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(255, 255, 255, 0.02) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.mahsunaltun-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

/* Section Title */
.mahsunaltun-section-title {
  text-align: center;
  margin-bottom: 60px;
  opacity: 0;
  animation: mahsunaltun-fadeInUp 0.8s ease forwards 0.2s;
}

.mahsunaltun-section-title h1 {
  font-size: 48px;
  font-weight: 300;
  color: #fff;
  font-style: italic;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.mahsunaltun-section-subtitle {
  font-size: 16px;
  color: #888;
  font-weight: 300;
  letter-spacing: 1px;
}

/* Blog Grid */
.mahsunaltun-blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.mahsunaltun-blog-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  overflow: hidden;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.4s ease;
  opacity: 0;
  position: relative;
}

.mahsunaltun-blog-card:nth-child(1) {
  animation: mahsunaltun-fadeInUp 0.8s ease forwards 0.4s;
}
.mahsunaltun-blog-card:nth-child(2) {
  animation: mahsunaltun-fadeInUp 0.8s ease forwards 0.6s;
}
.mahsunaltun-blog-card:nth-child(3) {
  animation: mahsunaltun-fadeInUp 0.8s ease forwards 0.8s;
}
.mahsunaltun-blog-card:nth-child(4) {
  animation: mahsunaltun-fadeInUp 0.8s ease forwards 1s;
}
.mahsunaltun-blog-card:nth-child(5) {
  animation: mahsunaltun-fadeInUp 0.8s ease forwards 1.2s;
}
.mahsunaltun-blog-card:nth-child(6) {
  animation: mahsunaltun-fadeInUp 0.8s ease forwards 1.4s;
}

.mahsunaltun-blog-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.08);
}

.mahsunaltun-blog-image {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.mahsunaltun-blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.4s ease;
}

.mahsunaltun-blog-card:hover .mahsunaltun-blog-image img {
  transform: scale(1.05);
}

.mahsunaltun-blog-category {
  position: absolute;
  top: 15px;
  left: 15px;
  background: linear-gradient(135deg, #fff, #ccc);
  color: #000;
  padding: 5px 12px;
  border-radius: 15px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.mahsunaltun-blog-content {
  padding: 25px;
}

.mahsunaltun-blog-meta {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
  font-size: 12px;
  color: #888;
}

.mahsunaltun-blog-meta i {
  color: #fff;
}

.mahsunaltun-blog-title {
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 12px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.mahsunaltun-blog-title a {
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
}

.mahsunaltun-blog-title a:hover {
  color: #ccc;
}

.mahsunaltun-blog-excerpt {
  font-size: 14px;
  color: #ccc;
  line-height: 1.6;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.mahsunaltun-blog-read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.mahsunaltun-blog-read-more:hover {
  color: #ccc;
  text-decoration: none;
  gap: 12px;
}

.mahsunaltun-blog-read-more i {
  transition: all 0.3s ease;
}

/* Pagination */
.mahsunaltun-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 50px;
  opacity: 0;
  animation: mahsunaltun-fadeInUp 0.8s ease forwards 1.6s;
}

.mahsunaltun-pagination a,
.mahsunaltun-pagination span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  text-decoration: none;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  font-weight: 500;
}

.mahsunaltun-pagination a:hover {
  background: rgba(255, 255, 255, 0.1);
  text-decoration: none;
  color: #fff;
}

.mahsunaltun-pagination .active {
  background: linear-gradient(135deg, #fff, #ccc);
  color: #000;
}

/* Blog Detail Styles */
.mahsunaltun-blog-detail {
  background: #000;
  min-height: 100vh;
  padding: 80px 0;
}

.mahsunaltun-blog-detail::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(255, 255, 255, 0.02) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.mahsunaltun-blog-detail-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

.mahsunaltun-blog-header {
  text-align: center;
  margin-bottom: 40px;
  opacity: 0;
  animation: mahsunaltun-fadeInUp 0.8s ease forwards 0.2s;
}

.mahsunaltun-blog-breadcrumb {
  margin-bottom: 20px;
}

.mahsunaltun-blog-breadcrumb a {
  color: #888;
  text-decoration: none;
  font-size: 14px;
}

.mahsunaltun-blog-breadcrumb a:hover {
  color: #fff;
}

.mahsunaltun-blog-detail-title {
  font-size: 42px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
  line-height: 1.2;
}

.mahsunaltun-blog-detail-meta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  color: #888;
  font-size: 14px;
  margin-bottom: 30px;
}

.mahsunaltun-blog-detail-meta i {
  color: #fff;
}

.mahsunaltun-blog-featured-image {
  margin-bottom: 40px;
  border-radius: 20px;
  overflow: hidden;
  opacity: 0;
  animation: mahsunaltun-fadeInUp 0.8s ease forwards 0.4s;
}

.mahsunaltun-blog-featured-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.mahsunaltun-blog-detail-content {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 40px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 40px;
  opacity: 0;
  animation: mahsunaltun-fadeInUp 0.8s ease forwards 0.6s;
}

.mahsunaltun-blog-detail-content h2 {
  color: #fff;
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 20px;
  margin-top: 30px;
}

.mahsunaltun-blog-detail-content h2:first-child {
  margin-top: 0;
}

.mahsunaltun-blog-detail-content h3 {
  color: #fff;
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 15px;
  margin-top: 25px;
}

.mahsunaltun-blog-detail-content p {
  color: #ccc;
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.mahsunaltun-blog-detail-content ul,
.mahsunaltun-blog-detail-content ol {
  color: #ccc;
  margin-bottom: 20px;
  padding-left: 25px;
}

.mahsunaltun-blog-detail-content li {
  margin-bottom: 8px;
  line-height: 1.6;
}

.mahsunaltun-blog-detail-content strong {
  color: #fff;
}

.mahsunaltun-blog-detail-content blockquote {
  background: rgba(255, 255, 255, 0.05);
  border-left: 4px solid #fff;
  padding: 20px;
  margin: 25px 0;
  border-radius: 10px;
  color: #fff;
  font-style: italic;
}

/* Related Posts */
.mahsunaltun-related-posts {
  margin-top: 60px;
  opacity: 0;
  animation: mahsunaltun-fadeInUp 0.8s ease forwards 0.8s;
}

.mahsunaltun-related-title {
  font-size: 28px;
  font-weight: 600;
  color: #fff;
  text-align: center;
  margin-bottom: 40px;
}

.mahsunaltun-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.mahsunaltun-related-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.mahsunaltun-related-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.08);
}

.mahsunaltun-related-image {
  height: 150px;
  overflow: hidden;
}

.mahsunaltun-related-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.3s ease;
}

.mahsunaltun-related-card:hover .mahsunaltun-related-image img {
  transform: scale(1.05);
}

.mahsunaltun-related-content {
  padding: 20px;
}

.mahsunaltun-related-title-text {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
  line-height: 1.3;
}

.mahsunaltun-related-title-text a {
  color: #fff;
  text-decoration: none;
}

.mahsunaltun-related-title-text a:hover {
  color: #ccc;
}

.mahsunaltun-related-date {
  font-size: 12px;
  color: #888;
}

/* Animations */
@keyframes mahsunaltun-fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .mahsunaltun-blog-section,
  .mahsunaltun-blog-detail {
    padding: 60px 0;
  }

  .mahsunaltun-container,
  .mahsunaltun-blog-detail-container {
    padding: 0 15px;
  }

  .mahsunaltun-section-title h1,
  .mahsunaltun-blog-detail-title {
    font-size: 36px;
  }

  .mahsunaltun-blog-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .mahsunaltun-blog-card {
    margin-bottom: 20px;
  }

  .mahsunaltun-blog-image {
    height: 200px;
  }

  .mahsunaltun-blog-content {
    padding: 20px;
  }

  .mahsunaltun-blog-title {
    font-size: 18px;
  }

  .mahsunaltun-blog-detail-content {
    padding: 25px 20px;
  }

  .mahsunaltun-blog-featured-image img {
    height: 250px;
  }

  .mahsunaltun-blog-detail-content h2 {
    font-size: 24px;
  }

  .mahsunaltun-blog-detail-content h3 {
    font-size: 20px;
  }

  .mahsunaltun-blog-detail-content p {
    font-size: 15px;
  }

  .mahsunaltun-related-grid {
    grid-template-columns: 1fr;
  }

  .mahsunaltun-pagination {
    flex-wrap: wrap;
    gap: 8px;
  }

  .mahsunaltun-pagination a,
  .mahsunaltun-pagination span {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 576px) {
  .mahsunaltun-section-title h1,
  .mahsunaltun-blog-detail-title {
    font-size: 28px;
  }

  .mahsunaltun-blog-detail-meta {
    flex-direction: column;
    gap: 10px;
  }

  .mahsunaltun-blog-content {
    padding: 15px;
  }

  .mahsunaltun-blog-detail-content {
    padding: 20px 15px;
  }

  .mahsunaltun-related-title {
    font-size: 24px;
  }
}
