/* Header Enhancements */
.name-title h1 {
    font-size: 2.5rem; /* Increase font size */
    color: #3fada8; /* Apply seafoam color */
    font-weight: bold; /* Make the name stand out */
    text-align: left;
    margin-bottom: 0;
    margin-left: 15px;
}

.name-title p {
    color: #555; /* Subdued color for the titles */
    text-align: left;
    margin-left: 20px;
}

header {
    /*background: url('assets/header.png');*/
    background-size: cover;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center; 
    padding: 5px 0; 
}

.social-media-links {
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    text-align: center; /* Center text alignment */
    margin-top: 40px;
}

/* Social Media Links */
.social-media-links a {
    text-decoration: none;
    color: #3fada8; /* Seafoam color */
    margin-right: 15px; /* Spacing between icons */
    font-size: 1.5rem; /* Icon size */
    text-align: center;
    align-items: center;
}


.social-media-links a:hover {
    color: #317874; /* Darker shade of seafoam for hover state */
}

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

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 10px;
    background: #fff;
    border-bottom: 3px solid #3fada8; /* Seafoam accent line at the bottom */
}

/* Home Section */
#home p {
    font-size: 1rem;
    color: #666;
}

/* Projects Section */
#projects {
    background: #fff;
    margin-top: 0;
    padding: 10px; /* Visual separation */
    text-align: center; /* Center text */
    display: flex; /* Use flexbox to center child elements */
    flex-direction: column; /* Stack children vertically */
    align-items: center; /* Center children horizontally */
}

#projects h2 {
    color: #666; /* Seafoam accent */
    margin-bottom: 10px;
}

#projects ul {
    list-style: none;
    padding: 0;
    width: 100%; /* Full width of the container */
    display: flex; /* Use flexbox for list */
    flex-direction: column; /* Stack list items vertically */
    align-items: center; /* Center list items horizontally */
    justify-content: center; /* Center list items vertically if needed */
}

#projects ul li {
    background: #f9f9f9;
    margin-bottom: 5px;
    padding: 10px;
    border-left: 4px solid #3fada8; /* Seafoam accent */
    width: 400px; /* Maximum width of list items */
    box-sizing: border-box; /* Include padding and border in the width */
    display: flex; /* Align the link text in the center */
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    text-align: center; /* Center text alignment */
}

#projects ul li a {
    text-decoration: none;
    color: #333;
    transition: color 0.3s ease;
    display: block; /* Make the link fill the list item for larger click area */
}

#projects ul li a:hover {
    color: #3fada8; /* Seafoam color on hover */
    text-decoration: underline; /* Underline for interactivity */
}


/* footer */
footer {
    /*background: url('assets/footer.png') no-repeat center center;*/
    background-size: cover;
    color: #000;
    text-align: center;
    padding: 20px 0;
}

#home .consulting-invite {
    margin-top: 20px; /* Add some space above the invitation */
    text-align: center; /* Center the text */
}

#home .consulting-invite a {
    color: #3fada8; /* Use the seafoam color for the link */
    font-weight: bold; /* Make the link bold */
    text-decoration: none;
}

#home .consulting-invite a:hover {
    color: #317874; /* Darker shade of seafoam for hover state */
}

/* Navigation */
nav ul {
    list-style: none;
    padding-top: 20px;
    display: flex;
    justify-content: right; /* Center the navigation */
    margin-top: 5px;
}

nav ul li {
    margin-top: 0;
    margin-right: 30px;
    text-align: right;
}

nav ul li a {
    text-decoration: none;
    font-weight: bold;
    color: #3fada8; /* Use the main theme color */
    text-align: right;
}

nav ul li a:hover {
    color: #317874;
}

#blog {
    margin-top: 20px;
}

.article {
    margin-bottom: 40px;
    padding: 20px;
    border-bottom: 1px solid #ccc; /* Add a subtle separator between posts */
}

.post h1 {
    font-size: 1.7rem; /* Increase font size */
    font-weight: bold; /* Make the name stand out */
}

.post-meta {
    color: #999;
    font-style: italic;
}

.main-image {
    max-width: 600px; /* Ensures the image is no wider than 800 pixels */
    height: auto; /* Maintains the aspect ratio of the image */
    display: block; /* Images are block level to center-align */
    margin: 0 auto; /* Centers the image within its container */
}

.main-image img {
    width: 100%;
    height: auto; /* Maintains the aspect ratio of the image */
    display: block; /* Images are block level to center-align */
}

.main-image figcaption {
    color: #666; /* Caption text color */
    font-style: italic; /* Styling choice for captions */
    font-size: 0.9em; /* Slightly smaller font size for captions */
    margin-top: 8px; /* Spacing between image and caption */
    text-align: center;
}

.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); /* Creates a flexible number of columns */
    gap: 10px; /* Adjusts spacing between images */
    margin: 20px 0; /* Adds some vertical spacing around the gallery */
}

.image-gallery img {
    width: 100%; /* Ensures images take up the full width of their column */
    height: auto; /* Maintains aspect ratio */
    display: block; /* Ensures there are no gaps below images */
    object-fit: cover; /* Optional: Ensures images cover the grid area without distorting */
}

.image-gallery figcaption {
    color: #666; /* Caption text color */
    font-style: italic; /* Styling choice for captions */
    font-size: 0.9em; /* Slightly smaller font size for captions */
    margin-top: 8px; /* Spacing between image and caption */
    text-align: center;
}

@media (max-width: 600px) {
    .image-gallery {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); /* Adjusts the grid for smaller screens */
    }
}

/* Style for blog titles */
.blog-summary h2 a, .blog-post h1 {
    text-decoration: none; /* Removes underline */
    color: inherit; /* Keeps the text color consistent */
}

/* Style for 'Read more' links */
.blog-summary a {
    text-decoration: none; /* Removes underline */
    color: inherit; /* Prevents color change */
}

/* Optional: Style for links on hover */
.blog-summary h2 a:hover, .blog-summary a:hover {
    text-decoration: none; /* Ensures no underline appears on hover */
    color: inherit; /* Prevents color change on hover */
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    color: #333;
}
figure {
    width: 100%;
    height: auto; /* Maintains the aspect ratio of the image */
    display: block; /* Images are block level to center-align */
}
img {
    font-style: italic;
}
blockquote {
    font-family: 'Merriweather', serif;
    font-size: 18px;
    margin: 20px;
    padding: 10px 20px;
    border-left: 5px solid #ccc;
}
.code-block {
    background: #f0f0f0;
    border: 1px solid #ccc;
    padding: 10px;
    font-family: 'Courier New', Courier, monospace;
    overflow: auto;
}
