/* AlpWare için özel CSS */

html {
    height: 100%;
}

body {
    background-color: #1a1a2e; /* Koyu morumsu arka plan */
    color: #e0e0e0; /* Açık gri metin rengi */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main.container {
    flex-grow: 1;
}

.navbar {
    padding-top: 0.01rem; /* Dikey dolguyu azalt */
    padding-bottom: 0.01rem; /* Dikey dolguyu azalt */
    background-color: #0f0f1d !important;
    border-bottom: 2px solid #ff00ff;
    box-shadow: 0 2px 10px rgba(255, 0, 255, 0.4);
}

.navbar-brand {
    color: #00ffff !important; /* Neon mavi marka */
    text-shadow: 0 0 8px rgba(0, 255, 255, 0.7); /* Neon metin gölgesi */
    font-weight: bold;
    font-size: 1.8rem;
}

.navbar-nav .nav-link {
    color: #aaffaa !important; /* Neon yeşil linkler */
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: #ff00ff !important; /* Hover'da neon pembe */
    text-shadow: 0 0 10px rgba(255, 0, 255, 0.8);
}

.container {
    background-color: #22223b; /* Koyu gri container */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.3); /* Açık neon gölge */
    margin-top: 20px;
}

h1, h2, h3, h4, h5, h6 {
    color: #00ffff; /* Başlıklar neon mavi */
    text-shadow: 0 0 5px rgba(0, 255, 255, 0.5);
    margin-bottom: 1.5rem;
}

.btn-primary {
    background-color: #ff00ff; /* Neon pembe buton */
    border-color: #ff00ff;
    box-shadow: 0 0 8px rgba(255, 0, 255, 0.6);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary:hover {
    background-color: #e600e6;
    border-color: #e600e6;
    box-shadow: 0 0 12px rgba(255, 0, 255, 0.8);
}

.btn-success {
    background-color: #00ff00; /* Neon yeşil buton */
    border-color: #00ff00;
    box-shadow: 0 0 8px rgba(0, 255, 0, 0.6);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.btn-success:hover {
    background-color: #00e600;
    border-color: #00e600;
    box-shadow: 0 0 12px rgba(0, 255, 0, 0.8);
}

.btn-secondary {
    background-color: #8888aa; /* Daha yumuşak gri */
    border-color: #8888aa;
}

.card {
    background-color: #333355; /* Kartlar için koyu gri */
    border: 1px solid #00ffff; /* Neon mavi çerçeve */
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.2);
}

.card-title a {
    color: #aaffaa; /* Blog başlıkları neon yeşil */
    text-decoration: none;
    transition: color 0.3s ease;
}

.card-title a:hover {
    color: #ff00ff; /* Hover'da neon pembe */
}

.alert-success {
    background-color: #1a4d2e; /* Daha koyu yeşil arka plan */
    color: #b3ffb3; /* Açık neon yeşil metin */
    border-color: #00ff00;
}

.alert-danger {
    background-color: #4d1a1a;
    color: #ffb3b3;
    border-color: #ff0000;
}

.alert-warning {
    background-color: #4d4d1a;
    color: #ffffb3;
    border-color: #ffff00;
}

.form-control {
    background-color: #1a1a2e;
    color: #e0e0e0;
    border: 1px solid #00ffff;
}

.form-control:focus {
    background-color: #1a1a2e;
    color: #e0e0e0;
    border-color: #ff00ff;
    box-shadow: 0 0 0 0.25rem rgba(255, 0, 255, 0.25);
}

/* Post Detay Sayfası için Resim Stilleri */
.post-image-container {
    margin-bottom: 20px;
    border: 1px solid rgba(0, 255, 255, 0.4);
    border-radius: 8px;
    overflow: hidden;
    background-color: #1a1a2e;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.2);
}

.post-image-container img {
    max-width: 100%;
    height: auto;
    display: block;
    border-bottom: 1px solid rgba(0, 255, 255, 0.4);
}

.post-image-container p {
    padding: 10px;
    margin-bottom: 0;
    font-size: 0.9em;
    color: #aaffaa;
    background-color: #22223b;
}

/* Footer (isteğe bağlı) */
footer {
    margin-top: 50px;
    padding: 20px;
    text-align: center;
    color: #888;
    border-top: 1px solid rgba(0, 255, 255, 0.8);
    opacity: 0.7;
}

.social-icons a {
    color: #aaffaa; /* İkonların varsayılan neon yeşil rengi */
    font-size: 2rem; /* İkon boyutunu büyüt */
    margin: 0 15px; /* İkonlar arasına boşluk koy */
    transition: color 0.3s ease, transform 0.3s ease; /* Yumuşak geçiş efekti */
    display: inline-block; /* Transform efektinin düzgün çalışması için */
}

/* Üzerine gelince genel efekt */
.social-icons a:hover {
    transform: scale(1.1) translateY(-3px); /* Hafifçe büyüt ve yukarı kaldır */
}

/* Instagram ikonuna özel hover rengi */
.social-icons a#instagram-icon:hover {
    color: #ff00ff; /* Neon pembe */
}

/* YouTube ikonuna özel hover rengi */
.social-icons a#youtube-icon:hover {
    color: #FF0000; /* Klasik YouTube kırmızısı */
}

/* Yeni Yazı Ekle formundaki resim ekleme alanları */
.image-upload-section {
    border: 1px dashed #00ffff;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 5px;
    background-color: #22223b;
}

.image-upload-section .form-label {
    color: #aaffaa;
}

.slideshow {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1; /* İçeriğin arkasında kalmasını sağlar */
    list-style: none;
    margin: 0;
    padding: 0;
}

.slideshow li {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    opacity: 0;
    animation: imageAnimation 25s linear infinite; /* 5 resim * 5 saniye = 25 saniye */
}

/* Kendi resimlerinizi buraya ekleyin */
.slideshow li:nth-child(1) { background-image: url('https://images.unsplash.com/photo-1510915228340-29c85a43dcfe?auto=format&fit=crop&q=80&w=2070'); }
.slideshow li:nth-child(2) { background-image: url('https://images.unsplash.com/photo-1550751827-4bd374c3f58b?auto=format&fit=crop&q=80&w=2070'); animation-delay: 5s; }
.slideshow li:nth-child(3) { background-image: url('https://images.unsplash.com/photo-1517694712202-14dd9538aa97?auto=format&fit=crop&q=80&w=2070'); animation-delay: 10s; }
.slideshow li:nth-child(4) { background-image: url('https://images.unsplash.com/photo-1542831371-29b0f74f9713?auto=format&fit=crop&q=80&w=2070'); animation-delay: 15s; }
.slideshow li:nth-child(5) { background-image: url('https://images.unsplash.com/photo-1580927752452-89d86da3fa0a?auto=format&fit=crop&q=80&w=2070'); animation-delay: 20s; }


@keyframes imageAnimation { 
    0% { opacity: 0; animation-timing-function: ease-in; }
    10% { opacity: 1; }
    20% { opacity: 1; }
    30% { opacity: 0; }
    100% { opacity: 0; }
}

/* Arka planın görünmesi için container'ı yarı saydam yapalım */
.container {
    background-color: rgba(34, 34, 59, 0.9); /* Yarı saydam arka plan */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
    margin-top: 20px;
}

/* body'nin kendi arka plan rengini kaldıralım ki slaytlar görünsün */
body {
    background-color: #1a1a2e;
    color: #e0e0e0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

p {
    color: #e0e0e0; /* Açık gri metin rengi */
    line-height: 1.7; /* Satır yüksekliğini artırarak okunurluğu iyileştir */
}

ul, ol {
    color: #e0e0e0;
}

li {
    margin-bottom: 0.5rem; /* Liste elemanları arasına boşluk ekle */
}

/* Blog içeriği için özel stiller */
/* Bu class, post.html'de kullanılacak */
.blog-content p, .blog-content li, .blog-content span, .blog-content div {
    color: #e0e0e0 !important; /* Diğer stillerin üzerine yazması için !important */
}

/* Blog içeriğindeki linkler için özel stil */
.blog-content a {
    color: #00ffff; /* Neon mavi link rengi */
    text-decoration: underline;
    transition: color 0.3s ease;
}

.blog-content a:hover {
    color: #ff00ff; /* Üzerine gelince neon pembe */
}

.text-muted {
    color: #ff0000 !important; /* Daha belirgin gri */
}

.form-control::placeholder { /* Standart ve Firefox için */
  color: #00ff15;
  opacity: 1; /* Firefox bazen opaklığı düşürür, bunu engeller */
}

.form-control::-webkit-input-placeholder { /* Chrome, Safari, Edge için */
  color: #00ff15;
}

.form-control:-ms-input-placeholder { /* Internet Explorer için */
  color: #00ff15;
}