/* For using standardized icons in my HTML */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css');

:root {
    --deep-blue: #2C5784;
    --vibrant-blue: #4A9EF7;
    --slate-blue: #6784A2;
    --muted-slate: #606B78;
    --dark-charcoal: #40474D;
    --deep-charcoal: #222A33;
    --white: #ffffff;
    --light-bg: #F4F7FA;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--light-bg);
    color: var(--deep-charcoal);
    font-family: 'Proxima Nova', sans-serif;
    font-size: 18px; 
    display: flex;
    min-height: 100vh;
}

h1 {
    font-family: 'Bauer Bodoni', serif;
    font-weight: bold;
    font-size: 64px;
    margin-bottom: 25px;
    color: var(--deep-charcoal);
}

h2 {
    font-family: 'Proxima Nova', sans-serif;
    font-weight: bold;
    font-size: 36px;
    margin-bottom: 20px;
    color: var(--deep-charcoal);
    display: flex;
    align-items: center;
}

h2 i {
    font-size: 28px;
    margin-right: 15px;
    color: var(--vibrant-blue); 
}

p {
    line-height: 1.8;
    margin-bottom: 20px;
}

.accent-text {
    font-family: 'Bauer Bodoni', serif;
    font-style: italic;
    font-size: 14px;
}

a {
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}

nav#sidebar {
    width: 250px;
    background-color: var(--deep-blue);
    position: fixed;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 40px;
    border-right: 1px solid var(--dark-charcoal);
    z-index: 100;
}

.sidebar-logo {
    margin-bottom: 20px;
    background-color: var(--white); 
    padding: 15px;
    border-radius: 12px; 
    filter: drop-shadow(0px 4px 8px rgba(0, 0, 0, 0.3)); 
    object-fit: contain; 
}

nav#sidebar ul {
    list-style: none;
}

nav#sidebar ul li {
    margin: 20px 0;
}

nav#sidebar ul li a {
    color: var(--white);
    font-size: 19px;
    font-weight: bold;
}

nav#sidebar ul li a:hover,
nav#sidebar ul li a.active {
    color: var(--vibrant-blue);
}

nav#sidebar ul li a.active {
    text-decoration: underline;
    text-underline-offset: 6px;
    text-decoration-thickness: 2px;
}

#main-wrapper {
    margin-left: 250px;
    width: calc(100% - 250px);
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
    padding: 80px; 
}

.content-section {
    margin-bottom: 60px;
    padding-bottom: 30px;
    border-bottom: 2px solid var(--slate-blue); 
}

.section-content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px; 
    align-items: flex-start;
}

.section-text-side {
    display: flex;
    flex-direction: column;
}

.section-image-box {
    width: 100%;
    aspect-ratio: 1 / 1;
    border: 3px solid var(--slate-blue);
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    overflow: hidden; 
}

.section-image-box img {
    width: 100%;
    height: 100%;
}

.cover-img {
    object-fit: cover;
}

.logo-img {
    object-fit: contain;
    padding: 20px;
    background-color: var(--white); 
}

.contact-link i {
    font-size: 20px;
    margin-right: 12px;
    color: var(--vibrant-blue);
    vertical-align: middle;
}

footer#contact-footer {
    background-color: var(--dark-charcoal);
    color: var(--white);
    padding: 60px 80px;
    border-top: 4px solid var(--vibrant-blue);
}

.footer-container {
    max-width: 1100px;
    margin: 0 auto;
}

/* Override header colors specifically for the dark footer */
.footer-container h2 {
    color: var(--white);
}

.footer-contact-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 50px;
}

.contact-form {
    display: flex;
    flex-direction: column;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.form-group label {
    font-weight: bold;
    color: var(--vibrant-blue);
    margin-bottom: 8px;
}

.form-group input, .form-group textarea {
    padding: 12px;
    font-family: 'Proxima Nova', sans-serif;
    border: 1px solid var(--slate-blue);
    border-radius: 6px;
    font-size: 16px;
    background-color: var(--white);
    color: var(--deep-charcoal);
}

button[type="submit"] {
    background-color: var(--vibrant-blue);
    color: var(--white);
    border: none;
    padding: 12px 25px;
    font-family: 'Proxima Nova', sans-serif;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 6px;
    align-self: flex-start;
    transition: background-color 0.2s;
}

button[type="submit"]:hover {
    background-color: var(--deep-blue);
}

.contact-info-side h3 {
    margin-bottom: 25px;
    color: var(--vibrant-blue);
}

.contact-link {
    display: block;
    margin-bottom: 15px;
    font-size: 18px;
    color: var(--white);
}

.contact-link:hover {
    color: var(--vibrant-blue);
}

.footer-legal {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--slate-blue);
    text-align: right;
    font-family: 'Bauer Bodoni', serif;
    color: var(--muted-slate);
}

.blog-meta {
    margin-bottom: 40px;
    border-bottom: 2px solid var(--slate-blue);
    padding-bottom: 15px;
}

.blog-meta .accent-text {
    font-size: 16px;
    color: var(--vibrant-blue);
    font-family: 'Proxima Nova', sans-serif;
    font-weight: bold;
    font-style: normal;
}

.blog-post-content p {
    font-size: 19px; 
}

.image-caption {
    font-size: 14px;
    color: var(--muted-slate);
    text-align: center;
    margin-top: 12px;
    font-style: italic;
    font-family: 'Bauer Bodoni', serif;
}

.ai-attribution-box {
    background-color: var(--white);
    border-left: 6px solid var(--deep-blue);
    padding: 25px;
    margin-top: 30px;
    border-radius: 6px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.ai-attribution-box.bonus-reflection {
    border-left-color: var(--vibrant-blue);
}

.ai-attribution-box h3 {
    font-family: 'Bauer Bodoni', serif;
    color: var(--deep-blue);
    margin-bottom: 15px;
    font-size: 28px;
    font-weight: bold;
}

.section-text-full {
    display: flex;
    flex-direction: column;
}

.full-width-media {
    width: 100%;
    margin: 30px 0 5px 0; /* Creates space around the image */
    border: 3px solid var(--slate-blue);
    border-radius: 8px;
    overflow: hidden;
    background: var(--deep-charcoal); /* Provides a nice dark backdrop for UI screenshots */
    display: flex;
    align-items: center;
    justify-content: center;
}

.ui-screenshot {
    width: 100%;
    height: auto; /* Allows the image to maintain its natural rectangular shape */
    object-fit: contain;
    display: block;
}

/* Responsive Design - Mobile Adjustments */
@media (max-width: 850px) {
    body {
        flex-direction: column; /* Stacks the sidebar and main content vertically */
    }

    nav#sidebar {
        width: 100%;
        height: auto;
        position: relative; /* Removes the fixed sidebar to allow scrolling */
        padding: 30px 20px;
        border-right: none;
        border-bottom: 2px solid var(--dark-charcoal);
        align-items: center; /* Centers the logo and links for mobile */
    }

    .sidebar-logo {
        max-width: 150px;
        margin-bottom: 15px;
    }

    nav#sidebar ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    nav#sidebar ul li {
        margin: 5px 0;
    }

    #main-wrapper {
        margin-left: 0; /* Removes the 250px gap used for the desktop sidebar */
        width: 100%;
    }

    .container {
        padding: 40px 20px; /* Reduces large paddings for smaller screens */
    }

    h1 {
        font-size: 38px; /* Scales down massive headers */
        text-align: center;
    }

    h2 {
        font-size: 28px;
    }

    .section-content-grid, 
    .footer-contact-layout {
        grid-template-columns: 1fr; /* Forces images and text to stack */
        gap: 30px;
    }

    .section-image-side {
        order: -1; /* Moves images above text for better mobile flow */
    }

    .section-image-box {
        max-width: 300px;
        margin: 0 auto; /* Centers images in stack mode */
    }

    footer#contact-footer {
        padding: 40px 20px;
    }

    button[type="submit"] {
        width: 100%; /* Makes the button easier to tap on mobile */
    }
}