/* You can move these specific styles to your main stylesheet */
:root {
    --deep-blue: #1a1a2e;
    --purple-main: #301b3f;
    --purple-light: #4d2d60;
    --white-text: #f0f0f0;
    --accent: #7b68ee;
}
body {
    background: linear-gradient(135deg, var(--deep-blue), var(--purple-main));
    color: var(--white-text);
    line-height: 1.6;
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.container {
    width: 90%;
    /* UPDATED: Increased max-width for a wider layout */
    max-width: 960px; 
    margin: 0 auto;
    padding: 2rem 0;
}
.site-header {
    background-color: rgba(26, 26, 46, 0.8);
    padding: 1rem 0;
    border-bottom: 1px solid var(--purple-light);
}
.site-header .container nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.site-header .logo-link {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white-text);
    text-decoration: none;
}
.site-header .nav-links {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}
.site-header .nav-links li { margin-left: 2rem; }
.site-header .nav-links a {
    color: var(--white-text);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}
.site-header .nav-links a:hover { color: var(--accent); }

.bio-container {
    margin-top: 3rem;
}
.bio-header {
    text-align: center;
    margin-bottom: 3rem;
}
.bio-title {
    font-size: 2.8rem;
    color: var(--accent);
    margin-bottom: 0.5rem;
}
.bio-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}
.bio-content {
    background-color: rgba(26, 26, 46, 0.8);
    border-radius: 15px;
    padding: 2.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem; /* Added margin between content blocks */
}
.bio-content h3 {
    color: var(--accent);
    margin-top: 2rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--purple-light);
    padding-bottom: 0.5rem;
    font-size: 1.5rem;
}
.bio-content > h3:first-child {
    margin-top: 0;
}
.bio-content p {
    margin-bottom: 1.5rem;
}
.bio-content blockquote {
    border-left: 4px solid var(--accent);
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    font-size: 1.2rem;
    opacity: 0.9;
}

/* --- STYLES FOR IMAGE LAYOUT --- */
.personal-photo-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}
@media (min-width: 768px) {
    .personal-photo-section {
        flex-direction: row;
        text-align: left;
    }
}
.personal-photo {
    width: 350px;
    height: 282px;
    border-radius: 15px;
    object-fit: cover;
    border: 3px solid var(--accent);
    flex-shrink: 0;
}

/* UPDATED: Simplified style for the code screenshot */
.prominent-code-image {
    width: 100%; /* Reduced size */
    height: auto;
    display: block;
    margin: 2rem 0; /* Centered with vertical space */
    border-radius: 10px;
}

figure {
    margin: 0; /* Reset browser default margin */
}
figcaption {
    text-align: center;
    font-size: 0.9rem;
    font-style: italic;
    opacity: 0.8;
    margin-top: 0.75rem;
}