/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
}

/* Blog Post Styles */
.blog-post {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
}

.post-meta {
    font-size: 0.9rem;
    color: #666;
}

.post-meta span {
    margin-right: 15px;
}

.post-content {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-top: 20px;
}

.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.post-content h2,
.post-content h3,
.post-content h4 {
    margin-top: 25px;
    margin-bottom: 15px;
    color: #2c3e50;
}

.post-content p {
    margin-bottom: 15px;
}

.post-content ul,
.post-content ol {
    margin-left: 20px;
    margin-bottom: 15px;
}

.post-content blockquote {
    border-left: 4px solid #007bff;
    padding-left: 20px;
    margin: 20px 0;
    font-style: italic;
    color: #555;
}

/* Card Styles */
.card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 20px;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.12);
}

.card-img-top {
    border-radius: 10px 10px 0 0;
    height: 200px;
    object-fit: cover;
}

.card-body {
    padding: 25px;
}

.card-title a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s;
}

.card-title a:hover {
    color: #007bff;
}

/* Sidebar Styles */
.sidebar-widget {
    background: white;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.widget-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
}

/* Navbar Styles */
.navbar {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.8rem;
    color: #2c3e50 !important;
}

.nav-link {
    font-weight: 500;
    padding: 8px 15px !important;
    border-radius: 5px;
    transition: all 0.3s;
}

.nav-link:hover {
    background-color: #f8f9fa;
    color: #007bff !important;
}

/* Footer Styles */
footer {
    background: linear-gradient(135deg, #2c3e50 0%, #1a1a2e 100%);
    margin-top: 50px;
}

footer a {
    transition: color 0.3s;
}

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

.social-links a {
    transition: transform 0.3s;
}

.social-links a:hover {
    transform: translateY(-3px);
}

/* Admin Styles */
.admin-sidebar {
    background: #f8f9fa;
    min-height: calc(100vh - 56px);
    border-right: 1px solid #dee2e6;
}

.admin-content {
    padding: 20px;
}

/* Buttons */
.btn {
    border-radius: 5px;
    padding: 8px 20px;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    background: linear-gradient(135deg, #868e96 0%, #495057 100%);
    border: none;
}

/* Table Styles */
.table {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.table thead th {
    background: #2c3e50;
    color/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
}

/* Blog Post Styles */
.blog-post {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
}

.post-meta {
    font-size: 0.9rem;
    color: #666;
}

.post-meta span {
    margin-right: 15px;
}

.post-content {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-top: 20px;
}

.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.post-content h2,
.post-content h3,
.post-content h4 {
    margin-top: 25px;
    margin-bottom: 15px;
    color: #2c3e50;
}

.post-content p {
    margin-bottom: 15px;
}

.post-content ul,
.post-content ol {
    margin-left: 20px;
    margin-bottom: 15px;
}

.post-content blockquote {
    border-left: 4px solid #007bff;
    padding-left: 20px;
    margin: 20px 0;
    font-style: italic;
    color: #555;
}

/* Card Styles */
.card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 20px;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.12);
}

.card-img-top {
    border-radius: 10px 10px 0 0;
    height: 200px;
    object-fit: cover;
}

.card-body {
    padding: 25px;
}

.card-title a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s;
}

.card-title a:hover {
    color: #007bff;
}

/* Sidebar Styles */
.sidebar-widget {
    background: white;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.widget-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
}

/* Navbar Styles */
.navbar {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.8rem;
    color: #2c3e50 !important;
}

.nav-link {
    font-weight: 500;
    padding: 8px 15px !important;
    border-radius: 5px;
    transition: all 0.3s;
}

.nav-link:hover {
    background-color: #f8f9fa;
    color: #007bff !important;
}

/* Footer Styles */
footer {
    background: linear-gradient(135deg, #2c3e50 0%, #1a1a2e 100%);
    margin-top: 50px;
}

footer a {
    transition: color 0.3s;
}

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

.social-links a {
    transition: transform 0.3s;
}

.social-links a:hover {
    transform: translateY(-3px);
}

/* Admin Styles */
.admin-sidebar {
    background: #f8f9fa;
    min-height: calc(100vh - 56px);
    border-right: 1px solid #dee2e6;
}

.admin-content {
    padding: 20px;
}

/* Buttons */
.btn {
    border-radius: 5px;
    padding: 8px 20px;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    background: linear-gradient(135deg, #868e96 0%, #495057 100%);
    border: none;
}

/* Table Styles */
.table {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.table thead th {
    background: #2c3e50;
    color: white;
    border: none;
    font-weight: 600;
    padding: 15px;
}

.table tbody tr:hover {
    background-color: rgba(0, 123, 255, 0.05);
}

/* Alert Styles */
.alert {
    border-radius: 8px;
    border: none;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

/* Responsive Design */
@media (max-width: 768px) {
    .blog-post {
        padding: 20px;
    }
    
    .card-body {
        padding: 15px;
    }
    
    .sidebar-widget {
        padding: 20px;
    }
    
    .post-content {
        font-size: 1rem;
    }
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.blog-post, .card {
    animation: fadeIn 0.5s ease-out;
}

/* Utility Classes */
.text-shadow {
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.box-shadow {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.rounded-lg {
    border-radius: 15px;
}

/* Code Block Styles */
pre {
    background: #f8f9fa;
    border-left: 4px solid #007bff;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
    margin: 20px 0;
}

code {
    background: #f8f9fa;
    padding: 2px 6px;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
}