/* ----------------------------------------
   Reset dhe bazat
----------------------------------------- */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
    color: #212529;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: #0d6efd;
}

a:hover {
    color: #0a58ca;
}

/* ----------------------------------------
   Header
----------------------------------------- */
.navbar {
    background-color: #ffffff !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
    color: #198754 !important;
}

.navbar-brand span {
    color: #0d6efd;
}

/* ----------------------------------------
   Cards / Postime Kryesore
----------------------------------------- */
.card {
    border-radius: 0.5rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.card-title a {
    font-weight: 600;
    font-size: 1.25rem;
    color: #212529;
}

.card-title a:hover {
    color: #0d6efd;
}

.card-text {
    color: #495057;
}

/* Info row nėn titull */
.card .d-flex span {
    margin-right: 1rem;
    font-size: 0.875rem;
}

/* Buton */
.btn-primary {
    background-color: #198754;
    border-color: #198754;
}

.btn-primary:hover {
    background-color: #146c43;
    border-color: #146c43;
}

/* ----------------------------------------
   Sidebar
----------------------------------------- */
.list-group-item {
    border-radius: 0.25rem;
    margin-bottom: 0.25rem;
    transition: background 0.2s, color 0.2s;
}

.list-group-item:hover {
    background-color: #198754;
    color: #fff;
}

.sidebar h5 {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

/* ----------------------------------------
   Block 2 / Postime kategorish
----------------------------------------- */
.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* ----------------------------------------
   Block 3 / Artikuj tė ngjashėm
----------------------------------------- */
.list-group-item img {
    object-fit: cover;
    width: 80px;
    height: 60px;
    border-radius: 0.25rem;
}

/* ----------------------------------------
   Responsivitet
----------------------------------------- */
@media (max-width: 767px) {
    .card img {
        height: 180px;
    }
}
