/* GLOBAL RESET & VARIABLES */
* {
    box-sizing: border-box; /* Makes size elements logical */
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #fff1e7;
    color: #333; /* Dark gray text for better reading contrast */
    line-height: 1.6;
    padding-bottom: 50px;
}

/* LAYOUT CONTAINER */
/* This keeps everything centered like a document */
header, main, footer {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

/* TYPOGRAPHY */
h1, h2, h3 {
    color: #326080;
    font-family: 'Roboto', sans-serif;
    margin-bottom: 10px;
}

h1 {
    font-size: 2.5rem;
    text-align: center;
    margin-top: 40px;
}

#role {
    text-align: center;
    font-size: 1.2rem;
    color: #555;
    letter-spacing: 2px;
    margin-bottom: 40px;
}

#heading {
    text-align: center;
    font-style: italic;
    margin-bottom: 30px;
}

a {
    color: #326080;
    text-decoration: none;
    font-weight: bold;
}

a:hover {
    text-decoration: underline;
}

/* NAVIGATION */
nav {
    padding: 20px 0;
    border-bottom: 2px solid #b5d2e6;
}

nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 20px;
}

nav a {
    font-family: 'Roboto Mono', monospace;
    text-transform: uppercase;
}

/* SECTION AND CARDS */
section {
    margin-top: 40px;
    margin-bottom: 40px;
}

/* PROFILE IMAGE */
#profile-image {
    display: block;
    margin: 0 auto 20px auto;
    border-radius: 50%;
    border: 4px solid #b5d2e6;
    max-width: 100%;
}

/* STYLING THE BLOGS AND PROJECTS AS "CARDS" */
article, .project-title + p {
    background-color: white;
    border-left: 5px solid #b5d2e6;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

/* CONTACT & FOOTER */
aside {
    text-align: center;
    margin-top: 50px;
    padding: 20px;
    background-color: #b5d2e6;
    border-radius: 8px;
}

aside ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 10px;
}

footer {
    text-align: center;
    margin-top: 40px;
    font-size: 0.9rem;
    color: #666;
}

/* SOCIAL MEDIA ICONS CONTAINER */
.social-links {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-top: 15px;
    padding: 0;
}

/* STYLING THE ICONS */
.social-links a {
    font-size: 2rem;
    color: #326080;
}

.social-links a:hover {
    color: #1a3c55;
    transform: translate(-3px);
}

/* BLOG THUMBNAIL CONTAINER */
.blog-thumbnail {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    max-width: 600px;
    
}

/* Main Blog Title */
.blog-title {
    font-size: 24px;
    margin-bottom: 20px;
}
/* IMAGE CONTAINER FOR OVERLAY */
.image-container {
    position: relative;
    width: 100%;
    border-radius: 4px;
    overflow: hidden;
}

/* THE ILLUSTRATION IMAGE */
.blog-image {
    width: 100%;
    height: auto;
    display: block;
}

/* MOBILE RESPONSIVENESS */
@media (max-width: 600px) {
    /* Stack navigation links vertically on small screens */
    nav ul {
        flex-direction: column;
        gap: 10px;
    }

    /* Adjust Typography */
    h1 {
        font-size: 1.8rem;
        margin-top: 20px;
    }

    h2 {
        font-size: 1.2rem;
    }

    header, main, footer {
        padding: 0 15px;
        width: 100%;
    }

    img {
        width: 180px;
        height: 180px;
        border-width: 3px;
    }

    article, .project-title + p {
        padding: 15px;
    }
}