/* Public CSS for MiniCMS Blog */

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

/* Header */
header {
    background: linear-gradient(135deg, #007bff, #0056b3);
}

/* Navigation */
.navbar-brand {
    font-weight: 700;
}

.navbar-nav .nav-link {
    font-weight: 500;
    transition: color 0.3s;
}

.navbar-nav .nav-link:hover {
    color: #ffc107 !important;
}

.dropdown-menu {
    border: none;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

/* Post Cards */
.post-card {
    transition: transform 0.3s, box-shadow 0.3s;
    border: none;
    border-radius: 10px;
    overflow: hidden;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.175) !important;
}

.post-card .card-img-top {
    height: 200px;
    object-fit: cover;
}

.post-card .card-title {
    transition: color 0.3s;
    color: #212529;
}

.post-card .card-title:hover {
    color: #007bff !important;
}

/* Post Card Link */
a.text-decoration-none {
    color: inherit;
}

a.text-decoration-none:hover {
    color: inherit;
}

a.text-decoration-none .post-card {
    color: inherit;
}

/* Read More Button */
.card-footer .btn {
    background-color: transparent !important;
    border: none !important;
    color: #007bff !important;
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: color 0.3s;
}

.card-footer .btn:hover {
    color: #0056b3 !important;
    background-color: rgba(0, 123, 255, 0.1) !important;
}

/* Post Single */
.post-single .post-content {
    font-size: 1.1rem;
}

.post-single .post-content img {
    max-width: 100%;
    height: auto;
}

.post-single .post-content p {
    margin-bottom: 1.5rem;
}

.post-single .post-content h2,
.post-single .post-content h3,
.post-single .post-content h4 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.post-single .post-content ul,
.post-single .post-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.post-single .post-content li {
    margin-bottom: 0.5rem;
}

/* Breadcrumb */
.breadcrumb {
    background-color: #f8f9fa;
    border-radius: 0.375rem;
}

/* Footer */
footer a {
    transition: color 0.3s;
}

footer a:hover {
    color: #ffc107 !important;
}

/* Buttons */
.btn-primary {
    background-color: #007bff;
    border-color: #007bff;
}

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

/* Responsive */
@media (max-width: 768px) {
    .post-card .card-img-top {
        height: 180px;
    }
    
    .post-single .post-content {
        font-size: 1rem;
    }
    
    header h1 {
        font-size: 1.75rem;
    }
}

@media (max-width: 576px) {
    .post-card .card-img-top {
        height: 150px;
    }
    
    .display-5 {
        font-size: 1.5rem;
    }
}