/* Sayfa genel stil ayarları */
body {
    font-family: Arial, sans-serif;
    background-color: #121212; /* Koyu arkaplan */
    color: white; /* Yazı rengi beyaz */
    margin: 0;
    padding: 0;
    position: relative; /* Bu, ::after için gerekli */
}

/* Arka planın stil ayarları */
.arkaplan {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh; /* Tam ekran boyutunda arka plan */
    background-image: url("https://image.nttgame.com/knight/ver2018/assets/images/download/wallpaper_202211(1920x1080).jpg");
    background-size: cover; /* Resmi tam ekranda göstermek için */
    background-position: center;
    z-index: -2; /* Arka planı diğer tüm içeriklerin arkasına yerleştirir */
}

.arkaplan::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Arka planın üzerine karartma efekti */
    z-index: -1; /* Overlay'i arka plana ekler */
}




.headergiris{
        position: absolute;
        top: 15px;
        right: 15px; /* Sağ tarafa yaslama */
        background: #28a745;
        color: white;
        padding: 5px 10px;
        font-weight: bold;
        border-radius: 5px;
    
}
.hero-banner {
    height: 50vh; /* Yüksekliği kısaltıldı */
    color: white;
    text-align: center;
    padding: 80px 0; /* Padding azaltıldı */
    position: relative;
    z-index: -10;

}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-banner h2 {
    font-size: 3.5rem;
    font-weight: bold;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
}
.hero-banner p {
    font-size: 1.5rem;
}
.hero-banner .btn-lg {
    background-color: #ffcc00;
    color: #333;
    font-weight: bold;
}


.server-card {
    margin-bottom: 10px; /* Daha az boşluk */
    transition: transform 0.3s ease-in-out;
    position: relative;
    display: flex;
    flex-direction: row;
    background-color: rgba(0, 0, 0, 0.027); /* Kartın arka planı daha koyu yapıldı */
    border-radius: 10px;
    box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.3); /* Gölgelendirme arttırıldı */
    overflow: hidden;
    color: white; /* Kart metin rengi beyaz */
    margin-bottom: 0;
}

.server-card:hover {
    transform: scale(1.05);
}
.server-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(8px); /* Arka planı bulanık yapıyoruz */
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1; /* Resim yazıların altına gelsin */
}
.server-card .card-body {
    padding: 20px;
    flex-grow: 1;
    position: relative;
    z-index: 1;
    background-color: rgba(0, 0, 0, 0.7); /* Arka planı daha koyu yaparak metni ön plana çıkarttık */
    border-radius: 10px; /* Kart köşeleri yuvarlatıldı */
}

.server-card h5, .server-card p {
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7); /* Metin gölgesi eklendi */
}

.card-text{
    margin-top: 10px;
}
/* Premium, Online, Offline statüleri */
.premium-badge,  .online-status, .offline-status {
    z-index: 2; /* Etiketlerin diğer içeriklerin üstünde olmasını sağladık */
}

.premium-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #ffcc00;
    color: black;
    padding: 5px 10px;
    font-weight: bold;
    border-radius: 5px;
}


.online-status {
    position: absolute;
    top: 15px;
    right: 15px; /* Sağ tarafa yaslama */
    background: #28a745;
    color: white;
    padding: 5px 10px;
    font-weight: bold;
    border-radius: 5px;
}
.offline-status {
    position: absolute;
    top: 15px;
    right: 15px; /* Sağ tarafa yaslama */
    background: #dc3545;
    color: white;
    padding: 5px 10px;
    font-weight: bold;
    border-radius: 5px;
}
.ad-space {
    color: white;
    padding: 40px 20px;
    margin-bottom: 30px;
}
.ad-space h3 {
    font-size: 2rem;
}
.footer {
    background-color: #343a40;
    color: white;
    padding: 30px 0;
}
.footer a {
    color: white;
    text-decoration: none;
}

/* Mobil görünüm için */
@media (max-width: 768px) {
    footer {
        margin-top: 90px;
    }
}


.koyuyazi{
    color:#121212!important;
}
.acikyazi{
    color: white !important;
}
.server-details {
    font-size: 1.2rem;
    margin-top: 20px;
}


.card-body .btn {
    color: white;
    transition: background-color 0.3s ease;
}
.card-body .btn:hover {
    background-color: #0056b3;
}
.testimonials {
    display: none; /* Oyuncu yorumları kısmı kaldırıldı */
}

.girisyazi{
    color:black !important;
}


/* Sunucu detayları için şık stil */
.server-detail-card {
    border-radius: 10px;
    overflow: hidden;
    background-color: #1c1c1c;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.server-detail-card img {
    width: 100%;
    height: auto;
    border-bottom: 2px solid #ddd;
}

.server-detail-card .card-body {
    padding: 30px;
}

.server-details h4 {
    color: #007bff;
    margin-top: 20px;
}

.server-details .list-group-item {
    border: none;
    padding: 10px 20px;
    background-color:#121212;
    color: white;
}

.server-details .list-group-item strong {
    color: white;
}

.promotion-text h4 {
    color: #333;
    margin-top: 20px;
}

.promotion-text p {
    font-size: 16px;
    color: #555;
}

/* Buton stilizasyonu */
.btn-lg {
    padding: 15px 30px;
    font-size: 18px;
    text-transform: uppercase;
    border-radius: 50px;
    transition: background-color 0.3s ease;
}

/* Kayıt Ol Butonu */
.btn-primary {
    background-color: #007bff;
    border-color: #007bff;
}

.btn-primary:hover {
    background-color: #0056b3;
    border-color: #004085;
}

/* İndir Butonu */
.btn-success {
    background-color: #28a745;
    border-color: #28a745;
}

.btn-success:hover {
    background-color: #218838;
    border-color: #1e7e34;
}


/*banner

/* Dikey banner sabit pozisyon */
.vertical-banner {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    z-index: -1; /* Banner'ı tüm içeriğin arkasına alır */
    width: 200px;
    height: 100%;
    margin:10px;
}

/* Sol ve sağ bannerlar */
.vertical-banner.left {
    left: 0;
}

.vertical-banner.right {
    right: 0;
}

/* Banner görselleri */
.vertical-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Mobil ve Tablet cihazlarda banner'ları gizle */
@media (max-width: 1024px) {
    /* Tablet ve daha küçük cihazlar için banner'ı gizle */
    .vertical-banner {
        display: none;
    }
}

@media (max-width: 767px) {
    /* Mobil cihazlar için banner'ı gizle */
    .vertical-banner {
        display: none;
    }
}

/* Eğer ekran büyükse, banner'lar normal görünür */
@media (min-width: 1025px) {
    .vertical-banner {
        display: block;
    }
}


.ad-item-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px; /* Reklamlar arasına 5px boşluk ekler */
}

.ad-item {
    width: 700px; /* Her reklamın genişliği 728px */
    margin-bottom: 5px; /* Reklamlar arasındaki dikey boşluk */
}

.ad-item img {
    width: 100%; /* Resmin genişliği, div'in genişliğine göre ayarlanır */
    height: auto;  /* Yüksekliği oranlı şekilde ayarlanır */
    border-radius: 8px; /* Köşe yuvarlatma (isteğe bağlı) */
}

.ck-editor__editable {
    min-height: 250px !important;  /* Burada min-height ile yüksekliği 500px yapıyoruz */
    margin-bottom: 10px;
}

.ck-content{
    background-color: #1c1c1c !important;
}






/* Blog yazısı kartları için stil */
.blog-card {
    display: flex;
    flex-direction: column;
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

/* Resim için stil */
.blog-card-img {
    width: 100%;
    height: 250px;
    object-fit: none;
}

/* Kart hover efekti */
.blog-card:hover {
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px); /* Hafif yukarı hareket */
}

/* İçerik kısmı */
.blog-card .card-body {
    padding: 20px;
    background-color: #fff;
    height:230px ;
}

/* Başlık kısmı */
.blog-card .blog-card-title {
    font-size: 24px;
    font-weight: 700;
    color: #353849;
    margin-bottom: 10px;
    transition: color 0.3s;
}

/* Başlık hover efekti */
.blog-card .blog-card-title:hover {
    color: #007bff;
    text-decoration: underline;
}

/* Yayın Tarihi */
.post-date {
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 10px;
}

/* Açıklama metni */
.blog-card .card-text {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
}

/* Sayfalama butonları */
.pagination a.btn {
    margin: 5px;
    font-size: 1rem;
    border-radius: 5px;
    padding: 8px 16px;
}

.pagination a.btn.active {
    background-color: #007bff;
    color: white;
}

.pagination a.btn:hover {
    background-color: #0056b3;
    color: white;
}

/* Kategori filtrelemeleri */
/* Kategori etiketleri için temel stil */
.category-filter a.badge {
    margin: 5px;
    font-size: 0.9rem;
    background-color: #f1f1f1;  /* Varsayılan arka plan rengi */
    color: #353849;              /* Varsayılan yazı rengi */
    padding: 8px 15px;
    border-radius: 20px;         /* Yuvarlak köşe */
    text-decoration: none;       /* Alt çizgi kaldırıldı */
    transition: background-color 0.3s, color 0.3s;
}

/* Kategori etiketine hover efekti */
.category-filter a.badge:hover {
    background-color: #007bff;  /* Hover durumunda mavi arka plan */
    color: white;               /* Hover durumunda beyaz yazı rengi */
    transform: translateY(-3px); /* Hover durumunda hafif yukarı hareket */
    box-shadow: 0 4px 10px rgba(0, 123, 255, 0.3); /* Hafif gölge eklenmiş olur */
}


.category-description {
    font-size: 1rem;
    color: #6c757d;
    text-align: center;
    margin-top: 10px;
    line-height: 1.5;
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}


/* Responsive düzenlemeler */
@media (max-width: 768px) {
    .blog-card {
        flex-direction: column;
    }

    .blog-card-img {
        height: 180px; /* Mobilde resim boyutu küçültüldü */
    }

    .pagination a.btn {
        font-size: 0.9rem;
    }
}


.breadcrumb {
    background-color: transparent;
    padding: 0;
    font-size: 0.9rem;
    color: #6c757d;
}

.breadcrumb-item a {
    text-decoration: none;
    color: #007bff;
}

.breadcrumb-item.active {
    color: #6c757d;
}


/* Genel Stil */
form .form-group {
    margin-bottom: 20px;  /* Her bir form grubunun altına boşluk ekler */
}

form h4 {
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 1.2em;
    font-weight: bold;
    color: #333;
}

form label {
    font-weight: bold;
}

form input, form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-top: 5px;
}

form .form-control {
    display: block;
}

form .btn {
    margin-top: 5px;
    padding: 5px 10px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

form .btn:hover {
    background-color: #0056b3;
}

/* Resim önizleme */
form img {
    max-width: 150px;
    margin-top: 10px;
}

/* Küçük yazılar için */
form small {
    font-size: 0.9em;
    color: #777;
}

/* Başarı mesajı için stil */
.alert-success {
    background-color: #d4edda;
    color: #155724;
    padding: 10px;
    border-radius: 5px;
    margin-top: 20px;
}

.bg-dark{
    background-image: url(https://image.nttgame.com/knight/ver2022/assets/images/common/bg.jpg);
    background-position: bottom !important;
    height: 200px !important;
}
.d-none{
    background-color: #121212bf !important;
    padding: 15px !important;
    height: 100% !important;
}

.container{
    margin-top: 2%;
}

@media (max-width: 768px) {
    .hero-banner {
   
      margin-bottom: 200px;
    }
  }
  
  .statistics-section {
    background-color: #333;
    color: #fff;
    padding: 40px 0;
    border-radius: 8px;
    background-image: url(https://image.nttgame.com/knight/ver2022/assets/images/common/bg.jpg);
background-position: bottom;
background-repeat: no-repeat; /* Make sure background doesn't repeat on mobile */
background-size: cover; /* Ensure background covers the section on mobile */
}

@media (max-width: 768px) {
    .stat-card {
   
      margin-left: 40px !important;
      margin-top: 7px;
    }
  }
