
:root {
  --neon-primary: #0ff;
  --neon-secondary: #f0f;
  --neon-accent: #ff0;
  --neon-text-shadow: 0 0 10px var(--neon-primary),
                      0 0 20px var(--neon-primary),
                      0 0 30px var(--neon-primary);
  --neon-box-shadow: 0 0 10px var(--neon-primary),
                     0 0 20px var(--neon-primary);
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
}

/* 3D Uzay Temalı Glass Efektli Filtre Formu */
#filterForm {
  max-width: 600px; 
  margin: 0 auto 40px auto; 
  display: flex; 
  gap: 15px;
  padding: 20px;
  background: rgba(13, 17, 23, 0.4);
  border-radius: 16px;
  box-shadow: 0 4px 30px rgba(0, 255, 204, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 255, 204, 0.18);
}

#filterForm::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
  border-radius: 16px 16px 0 0;
  pointer-events: none;
}

#filterForm input {
  flex: 1; 
  padding: 12px 16px; 
  border: 1px solid rgba(0, 255, 204, 0.25); 
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05); 
  color: #e6f8ff; 
  font-family: 'Space Mono', monospace;
  letter-spacing: 0.5px;
  font-size: 14px;
  transition: all 0.3s ease;
  max-width: 70%;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

#filterForm input:focus {
  outline: none;
  border-color: rgba(0, 255, 204, 0.5);
  box-shadow: 0 0 15px rgba(0, 255, 204, 0.3);
  background: rgba(255, 255, 255, 0.08);
}

#filterForm input::placeholder {
  color: rgba(201, 209, 217, 0.6);
}

#filterForm select {
  padding: 12px 16px; 
  border: 1px solid rgba(0, 255, 204, 0.25); 
  border-radius: 12px;
  background-color: rgba(255, 255, 255, 0.05); 
  color: #e6f8ff;
  font-family: 'Space Mono', monospace;
  font-size: 14px;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%2300FFCC' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  transition: all 0.3s ease;
  max-width: 30%;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

#filterForm select:focus {
  outline: none;
  border-color: rgba(0, 255, 204, 0.5);
  box-shadow: 0 0 15px rgba(0, 255, 204, 0.3);
  background: rgba(255, 255, 255, 0.08);
}

#filterForm input:hover, #filterForm select:hover {
  border-color: rgba(0, 255, 204, 0.4);
  box-shadow: 0 0 10px rgba(0, 255, 204, 0.2);
  background: rgba(255, 255, 255, 0.07);
}

/* Özel glass effect için kenar parlaması */
#filterForm::after {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
  background: linear-gradient(
      45deg, 
      rgba(0, 255, 204, 0) 0%, 
      rgba(0, 255, 204, 0.1) 50%, 
      rgba(0, 255, 204, 0) 100%
  );
  border-radius: 17px;
  z-index: -1;
  pointer-events: none;
  animation: borderGlow 3s infinite alternate;
}

@keyframes borderGlow {
  0% { opacity: 0.3; }
  100% { opacity: 0.8; }
}

/* Glass efekt için ışık yansıması */
@keyframes glassShine {
  0% { background-position: -100% 0; }
  100% { background-position: 200% 0; }
}

#filterForm input::before, #filterForm select::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
      90deg,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.1) 50%,
      rgba(255, 255, 255, 0) 100%
  );
  background-size: 200% 100%;
  animation: glassShine 4s infinite;
  pointer-events: none;
}
#results{
    font-size: 20px;
}

.pagination{
    text-align: center;
    margin-top: 30px;
}

.pagination span{
    color: #999;
    margin: auto;
    font-size: 20px;
}


.blog-info h3 {
    color: #00ffcc;
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.blog-info p {
    color: #c9d1d9;
    font-size: 0.95rem;
    line-height: 1.6;
}

.blog-info a {
    text-decoration: none;
}


/* quill css */
.ql-editor {
    background-color: #0d1117 !important;
    color: #c9d1d9 !important;
    border-radius: 8px;
}

.ql-toolbar {
    background-color: #1a1f2c !important;
    border: 1px solid #00ffcc;
    border-radius: 8px 8px 0 0;
}

.ql-container {
    border: 1px solid #00ffcc;
    border-radius: 0 0 8px 8px;
}

.ql-editor::placeholder {
    color: #999 !important;
}

.ql-picker {
    color: #00ffcc !important;
}


.glass-form {
  background: rgba(13, 17, 23, 0.75);
  backdrop-filter: blur(12px);
  box-shadow: 0 0 30px rgba(0, 255, 255, 0.15);
}

.glass-block {
  background: rgba(20, 25, 35, 0.4);
  backdrop-filter: blur(6px);
}


  .neon-text {
    color: var(--neon-primary) !important;
    text-shadow: var(--neon-text-shadow);
    position: relative;
    display: inline-block;
  }
  
  .neon-text::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    color: var(--neon-secondary);
    filter: blur(8px);
    opacity: 0.5;
  }
  
  .blog-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    margin: 0 auto 30px auto; 
    height: 230px;
  }
  
  .blog-card::before {
    content: '';
    position: absolute;
    top: -100%;
    left: -100%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
      45deg,
      transparent,
      rgba(255, 255, 255, 0.1),
      transparent
    );
    transition: all 0.6s ease;
    transform: rotate(45deg);
  }
  
  .blog-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 
      0 10px 30px rgba(0, 255, 255, 0.1),
      0 0 0 1px var(--glass-border);
  }
  
  .blog-card:hover::before {
    top: 100%;
    left: 100%;
  }

  .blog-cover{
    height: 230px;
  }
  
  .blog-card img {
    border-radius: 20px;
    padding: 10px;
    width: 100%;
    height: 100%;
    filter: saturate(1.2) contrast(1.1);
    transition: all 0.4s ease;
  }
  
  .blog-card:hover img {
    transform: scale(1.05);
  }
  
  .blog-card .card-body {
    padding: 2rem;
    position: relative;
  }
  
  .blog-card .card-body::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 10%;
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, 
      transparent, 
      var(--neon-primary), 
      transparent
    );
  }

  .blog-card span{
    color: #999;
    margin: 10px;
  }

  .blog-info{
    max-height: min-content;
  }

  .blog-info .row:nth-child(4), 
  .blog-info .row:nth-child(3){
    border-radius: 20px;
    max-height:20%;
    margin-top: 10px;

  } 

  .blog-info img{
    width: 80px;
    height: 80px;
    border-radius: 50%;
  }


  .custom-page {
    background-color: transparent !important;
    color: #00ffcc !important;
    border: none !important;
    box-shadow: none !important;
    font-size: 1.2rem!important; 
    font-weight: 500;
    transition: color 0.3s ease;
}

.custom-page:hover {
    color: #0ff;
    text-shadow: 0 0 5px #0ff, 0 0 10px #0ff;
}

.page-item.disabled .custom-page {
    color: #bebebe !important;
    text-shadow: none !important;
}


/* Blog detay */
  
  .blog-detail {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 25px;
    backdrop-filter: blur(15px);
    padding: 3rem;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
  }
  
  .blog-detail::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
      transparent, 
      var(--neon-primary), 
      var(--neon-secondary), 
      transparent
    );
  }
  
  .blog-detail img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 20px;
    margin-bottom: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    filter: saturate(1.2) contrast(1.1);
  }
  
  .blog-detail .content {
    line-height: 1.9;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
  }
  
  .blog-detail .content p {
    margin-bottom: 1.5rem;
  }
  
  .meta-info {
    background: linear-gradient(45deg, var(--neon-primary), var(--neon-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    position: relative;
    display: inline-block;
  }
  
  .meta-info::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, var(--neon-primary), var(--neon-secondary));
    opacity: 0.5;
  }
  
  @keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
  }
  
  .blog-card {
    animation: float 6s ease-in-out infinite;
    animation-delay: calc(var(--animation-order) * 0.1s);
  }

  

  .neon-glass {
    background: rgba(13, 17, 23, 0.85);
    backdrop-filter: blur(12px);
    border-radius: 20px;
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.07);
    color: #c9d1d9;
    /* Sağdan ve soldan boşluk eklemek için padding */
    padding-left: 24px;
    padding-right: 24px;
    margin-top: 10px;
  }
  
  .neon-line {
    height: 2px;
    background: linear-gradient(90deg, transparent, #0ff, #f0f, #0ff, transparent);
    box-shadow: 0 0 15px #0ff;
    border-radius: 2px;
  }
  
  .glass-block {
    background: rgba(22, 27, 34, 0.7);
    border: 1px solid rgba(0, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border-radius: 15px;
    padding: 20px;
  }
  
  .code-glow {
    font-family: 'Fira Code', monospace;
    font-size: 0.95rem;
    color: #00ffcc;
    box-shadow: inset 0 0 10px rgba(0, 255, 255, 0.1);
    white-space: pre-wrap;
  }
  

  .comment-glass {
    background: rgba(22, 27, 34, 0.7);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(0, 255, 255, 0.08);
    box-shadow: 0 0 12px rgba(0, 255, 255, 0.05);
  }
  .btn-outline-danger {
    border-color: #ff4d4d;
    color: #ff4d4d;
  }
  .btn-outline-danger:hover {
    background-color: #ff4d4d;
    color: white;
  }
  .post-actions .btn {
    backdrop-filter: blur(6px);
    background-color: rgba(13, 17, 23, 0.5);
    border: 1px solid #00ffcc;
    color: #00ffcc;
    font-weight: bold;
    border-radius: 8px;
    transition: 0.2s ease;
  }
  
  .post-actions .btn:hover {
    background-color: #00ffcc;
    color: #0d1117;
    box-shadow: 0 0 10px #00ffcc80;
  }


  
  @media (max-width: 768px) {
    .blog-detail {
      padding: 1.5rem;
    }
    
    .blog-card .card-body {
      padding: 1.5rem;
    }
    .glass-card {
      width: 95% !important; /* Mobilde neredeyse tam genişlik */
    }
    .neon-glass {
      /* Mobilde sağ ve sol padding çok düşük */
      padding-left: 6px;
      padding-right: 6px;
    }
    .glass-block p {
      /* Mobilde paragraf yazı boyutu küçültüldü */
      font-size: 0.92rem;
    }
  }

.yeni-blog-olustur {
  width: 50%; /* Varsayılan olarak bilgisayarda yarı genişlik */
}

.glass-card {
  margin-bottom: 10px;
}

