﻿html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn {
    background: none;
    border: none;
    color: #7c7266;
    cursor: pointer;
    font-size: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: background-color 0.3s, color 0.3s, transform 0.2s;
}

    .btn:hover {
        background-color: rgba(124, 114, 102, 0.1);
        color: #5e564c;
        transform: scale(1.02);
    }

    .btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
        box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
    }

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
    background: #1a1a1a !important; /* Daha açık siyah */
    color: #e0e0e0 !important;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.card-img-top {
    object-fit: contain;
    width: 100%;
    height: 200px;
}

.card-body {
    position: relative;
    background-color: #2a2a2a !important; /* Daha açık koyu gri/siyah */
    color: #e0e0e0 !important;
}

.markdown-body {
    background-color: transparent !important;
    color: #e0e0e0 !important;
}

:root {
    --color-red: #c8102e;
    --color-black: #1a1a1a;
    --color-black-light: #2f2f2f;
    --color-white: #ffffff;
    --color-gray-light: #f5f5f5;
    --color-gray-dark: #333333;
}

h3, h5 {
    color: #ffffff !important;
    font-weight: 700;
}

a.btn-primary, button.btn-primary {
    background-color: var(--color-red);
    border-color: var(--color-red);
    color: var(--color-white);
    transition: background-color 0.3s ease;
}

    a.btn-primary:hover, button.btn-primary:hover {
        background-color: #a10e26;
        border-color: #a10e26;
        color: var(--color-white);
    }

.card {
    border: 1px solid rgba(245, 245, 245, 0.15); /* Daha yumuşak sınır */
    background-color: #2a2a2a !important;
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #e0e0e0 !important;
}

    .card:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 24px rgba(255, 255, 255, 0.1);
    }

@media (max-width: 576px) {
    .carousel-caption {
        font-size: 0.9rem;
        padding: 0.5rem;
    }

        .carousel-caption h5 {
            font-size: 1rem;
        }
}

.carousel {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 24px rgba(255, 255, 255, 0.05);
    transition: box-shadow 0.3s ease;
}

    .carousel:hover {
        box-shadow: 0 8px 32px rgba(255, 255, 255, 0.1);
    }

.carousel-caption {
    background: rgba(42, 42, 42, 0.85) !important; /* Daha açık siyah */
    padding: 1rem;
    border-radius: 8px;
    color: #e0e0e0 !important;
    transition: background 0.3s ease;
}

    .carousel-caption h5 {
        font-weight: bold;
        color: #ffcccc !important;
    }

    .carousel-caption p {
        color: #ffcccc !important;
        margin-bottom: 0.5rem;
    }

    .carousel-caption .btn {
        background: none;
        border: 1px solid #7c7266;
        color: #C75D5D;
        transition: all 0.3s ease;
        border-radius: 6px;
        padding: 0.4rem 1rem;
    }

        .carousel-caption .btn:hover {
            background-color: #7c7266;
            color: white;
            transform: scale(1.03);
        }

input.form-control {
    background-color: #2a2a2a;
    color: #e0e0e0;
    border: 1px solid #444;
}

    input.form-control:focus {
        border-color: #c8102e;
        box-shadow: 0 0 5px #c8102e;
        outline: none;
    }

.navbar {
    background-color: #2a2a2a !important;
}

    .navbar a,
    .navbar .navbar-brand,
    .navbar .nav-link {
        color: #f0f0f0 !important;
        transition: color 0.3s ease;
    }

        .navbar a:hover,
        .navbar .nav-link:hover {
            color: var(--color-red) !important;
        }

        .navbar .nav-link.active {
            color: var(--color-red) !important;
            font-weight: 700;
        }

footer {
    background-color: #2a2a2a !important;
    color: var(--color-white);
    padding: 20px 0;
    text-align: center;
}

html, body {
    height: 100%;
    margin: 0;
}

.sidebar {
    width: 0;
    overflow-x: hidden;
    transition: width 0.3s;
    background-color: #2a2a2a !important;
    height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 1050;
    color: #ffffff !important;
}

    .sidebar.open {
        width: 250px;
    }

    .sidebar a {
        color: #ffffff !important;
        text-decoration: none;
        display: block;
        padding: 10px 20px;
    }

        .sidebar a:hover {
            background-color: #c8102e !important;
            color: white !important;
        }

#sidebarToggle {
    position: fixed;
    top: 50%;
    left: 0;
    transform: translate(-50%, -50%);
    z-index: 1100;
    border-radius: 0 5px 5px 0;
    width: 30px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background-color: #c8102e !important;
    border: none;
    color: white !important;
    cursor: pointer;
}

    #sidebarToggle:focus {
        outline: none;
    }

.form-group input.form-control,
.form-control {
    background-color: #222222; /* Daha açık siyah/koyu gri */
    color: #ffffff; /* Beyaz yazı */
    border: 1px solid #444444;
}

    .form-group input.form-control::placeholder,
    .form-control::placeholder {
        color: #ffffff;
        opacity: 1;
    }

    /* Vendor prefixler (isteğe bağlı) */
    .form-group input.form-control::-webkit-input-placeholder,
    .form-control::-webkit-input-placeholder {
        color: #ffffff;
    }

    .form-group input.form-control:-moz-placeholder,
    .form-control:-moz-placeholder {
        color: #ffffff;
        opacity: 1;
    }

    .form-group input.form-control::-moz-placeholder,
    .form-control::-moz-placeholder {
        color: #ffffff;
        opacity: 1;
    }

    .form-group input.form-control:-ms-input-placeholder,
    .form-control:-ms-input-placeholder {
        color: #ffffff;
    }


.blog-card {
    background-color: #2a2a2a !important; /* Daha açık siyah ton */
    color: #ffffff !important; /* Beyaz metin */
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.05);
}

    /* Başlık renkleri */
    .blog-card h1,
    .blog-card h2,
    .blog-card h3,
    .blog-card h4,
    .blog-card h5,
    .blog-card h6 {
        color: #ffffff !important;
    }

    /* Paragraf ve diğer metinler */
    .blog-card p,
    .blog-card span,
    .blog-card li {
        color: #ffffff !important;
    }

    /* Linkler */
    .blog-card a {
        color: #c8102e !important; /* Kırmızı ton */
        text-decoration: none;
    }

        .blog-card a:hover {
            color: #a10e26 !important;
            text-decoration: underline;
        }
/* Genel body stili (istersen bunu layout.cshtml veya global başka bir yerde de yapabilirsin) */
body {
    background-color: #121212;
    color: #ddd;
    font-family: Arial, sans-serif;
}

/* Yorumlar bölümü */
.comments-section {
    background-color: #1e1e1e;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0,0,0,0.7);
    max-width: 800px;
    margin: auto;
}

    .comments-section h4 {
        color: #fff;
        margin-bottom: 10px;
    }
.comment-section {
    background-color: #1e1e1e !important;
    padding: 20px;
    border-radius: 8px;
}


.no-comments {
    color: #bbb;
    font-style: italic;
}

.comment-item {
    display: flex;
    align-items: flex-start;
    background-color: #2a2a2a;
    border: 1px solid #444;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    color: #eee;
    box-shadow: inset 0 0 5px rgba(0,0,0,0.5);
}

.profile-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #555;
    flex-shrink: 0;
}

.comment-text {
    flex: 1;
    margin-left: 15px;
}

    .comment-text strong a {
        color: #c8102e;
        text-decoration: none;
        font-weight: 600;
    }

        .comment-text strong a:hover {
            color: #ff6161;
        }

.comment-date {
    float: right;
    color: #999;
    font-size: 0.85rem;
}

.comment-text p {
    margin-top: 5px;
    color: #ddd;
    line-height: 1.4;
}

.delete-form {
    margin-top: 10px;
}

/* Sil butonu */
.btn-danger {
    background-color: #c8102e;
    border: none;
    padding: 5px 10px;
    font-size: 0.85rem;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    cursor: pointer;
}

    .btn-danger:hover {
        background-color: #a10e26;
    }

/* Yorum formu container */
.comment-form-container {
    max-width: 800px;
    margin: 30px auto;
    background-color: #1e1e1e;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0,0,0,0.7);
    color: #ddd;
}

    /* Uyarı kutuları */
    .comment-form-container .alert {
        background-color: #333;
        border: none;
        color: #ccc;
        font-size: 0.9rem;
        margin-bottom: 15px;
    }

.comment-form label {
    color: #ccc;
    font-weight: bold;
}

.comment-form .form-control {
    background-color: #2a2a2a;
    border: 1px solid #444;
    border-radius: 5px;
    padding: 10px;
    color: #eee;
    resize: vertical;
    font-size: 1rem;
}

    .comment-form .form-control::placeholder {
        color: #bbb;
    }

.comment-form button {
    background-color: #c8102e;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 10px 25px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 10px;
}

    .comment-form button:hover {
        background-color: #a10e26;
    }
/* Tüm login ve register sayfalarındaki linkleri beyaz yap */
.login-page a,
.register-page a {
    color: white !important;
    text-decoration: underline; /* İsteğe bağlı */
}
.btn-duzenle {
    background-color: #f2c94c; /* pastel sarı */
    color: #1a1a1a; /* koyu yazı rengi */
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

    .btn-duzenle:hover {
        background-color: #e0b93f; /* hafif koyu sarı hover */
        color: #000;
    }
.bg-dark-custom {
    background-color: #2c2c2c !important;
    color: #fff;
}

    .bg-dark-custom a {
        color: #ff4c4c !important; /* Yumuşak bir kırmızı */
        text-decoration: none;
        font-weight: 500;
    }

        .bg-dark-custom a:hover {
            text-decoration: underline;
            color: #ff6b6b !important; /* Hover'da biraz daha açık kırmızı */
        }


    .bg-dark-custom .list-group-item {
        background-color: #2c2c2c;
        border: none;
        color: #fff;
    }
select.form-select {
    background-color: #2a2a2a !important;
    color: #ffffff !important;
    border: 1px solid #444;
}

    select.form-select:focus {
        border-color: #c8102e;
        box-shadow: 0 0 5px #c8102e;
        outline: none;
    }

    select.form-select option {
        background-color: #2a2a2a;
        color: #ffffff;
    }
