/* Global styles */
body {
    font-family: 'Roboto', sans-serif;
    background-color: #f4f6f9;
    color: #333;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

a:hover {
    color: #0a58ca;
}

/* Navbar styles */
.navbar {
    background-color: #007bff; /* Slightly lighter blue */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); /* Soft shadow */
    padding: 1rem;
}

.navbar .navbar-brand {
    font-size: 1.75rem;
    font-weight: 700;
    color: #000000;
    text-transform: uppercase;
}

.navbar .nav-link {
    color: #000000 !important;
    font-size: 1rem;
    margin-left: 20px;
    position: relative;
    padding-bottom: 5px;
}

.navbar .nav-link:hover {
    color: #ffd700 !important;
    text-decoration: none;
}

.navbar .nav-link::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background: #ffd700;
    bottom: 0;
    left: 0;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.navbar .nav-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.image-container img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 20px;
}



/* Sidebar styles */
aside {
    background-color: #afafaf;
    padding: 20px;
    border-radius: 0px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    position: sticky;
    top: 0px;
    z-index: 2;
}

aside h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 25px;
    color: #007bff;
}

aside ul {
    list-style-type: none;
    padding-left: 0;
}

aside ul li {
    margin-bottom: 15px;
}

aside ul li a {
    color: #007bff;
    font-weight: 500;
    transition: color 0.3s ease;
}

aside ul li a:hover {
    color: #0056b3;
    font-weight: bold;
    text-decoration: underline;
}

/* Blog post content styles */
.blog-post {
    background-color: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.blog-post h1 {
    font-size: 2.25rem;
    font-weight: 700;
    color: #007bff;
    margin-bottom: 20px;
}

.blog-post p {
    font-size: 1.125rem;
    color: #555;
    line-height: 1.8;
}

/* Footer styles */
footer {
    background-color: #007bff;
    color: #fff;
    padding: 20px 0;
    text-align: center;
}

footer p {
    margin: 0;
    font-size: 0.9rem;
}

footer a {
    color: #ffd700;
    text-decoration: underline;
}

/* Responsive styles */
@media (max-width: 768px) {
    .navbar {
        padding: 0.8rem;
    }

    .navbar .navbar-brand {
        font-size: 1.5rem;
    }

    .navbar .nav-link {
        font-size: 0.9rem;
    }

    aside {
        margin-bottom: 0px;
        padding: 15px;
        z-index: 2;
    }

    .blog-post {
        padding: 25px;
    }

    .blog-post h1 {
        font-size: 1.75rem;
    }

    .blog-post p {
        font-size: 1rem;
    }
}


.comment-section {
    background-color: #f9f9f9;
    padding: 20px;
    margin-top: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.comment-section form {
    margin-bottom: 20px;
}

.comment-section input, .comment-section textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.comment-section button {
    background-color: #007bff;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
}

.comment-section button:hover {
    background-color: #0056b3;
}
