/* Minimalist & Elegant Styling - inspired by jasonpmorrison.com */
:root {
    --text-primary: #151515;
    --text-secondary: #5a5a5a;
    --bg-primary: #ffffff;
    --link-color: #0c0cc7; /* subtle blue */
    --link-hover: #080882;
    --accent: #eee;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    line-height: 1.6;
    color: var(--text-primary);
    -webkit-font-smoothing: antialiased;
    max-width: 720px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
    position: relative;
    min-height: 100vh;
}

/* Page Themes */
body.theme-home { background: linear-gradient(135deg, #e0f2f1 0%, #b2dfdb 100%); background-attachment: fixed; }
body.theme-about { background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%); background-attachment: fixed; }
body.theme-resume { background: linear-gradient(135deg, #f3e5f5 0%, #e1bee7 100%); background-attachment: fixed; }

/* Soft Glowing Orbs Background */
.bg-shapes {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}
.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px); 
    opacity: 0.6; 
}
.shape:nth-child(1) {
    width: 500px; height: 500px;
    background: rgba(255, 255, 255, 0.5); 
    top: -100px; left: -100px;
    animation: floatOrb1 15s infinite alternate ease-in-out;
}
.shape:nth-child(2) {
    width: 600px; height: 600px;
    background: rgba(255, 255, 255, 0.3); 
    bottom: -150px; right: -50px;
    animation: floatOrb2 18s infinite alternate ease-in-out;
}
.shape:nth-child(3) {
    width: 450px; height: 450px;
    background: rgba(255, 255, 255, 0.4); 
    top: 40%; left: 40%;
    animation: floatOrb3 20s infinite alternate ease-in-out;
}

@keyframes floatOrb1 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(250px, 150px) scale(1.2); }
}
@keyframes floatOrb2 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-200px, -150px) scale(1.1); }
}
@keyframes floatOrb3 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(200px, -200px) scale(1.3); }
}

nav {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 4rem;
    font-size: 1rem;
    border-bottom: 2px solid var(--accent);
    padding-bottom: 1rem;
}

nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

nav a:hover, nav a.active {
    color: var(--text-primary);
}

h1 {
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 3rem;
    margin-bottom: 1rem;
}

p {
    font-size: 1.1rem;
    margin-bottom: 1.2rem;
    color: var(--text-secondary);
}

a {
    color: var(--link-color);
    text-decoration: none;
    transition: border-bottom 0.15s, color 0.15s;
    border-bottom: 1px solid transparent;
}

a:hover {
    color: var(--link-hover);
    border-bottom: 1px solid var(--link-hover);
}

ul {
    margin-bottom: 1.5rem;
    padding-left: 1.25rem;
}

li {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    font-size: 1.1rem;
}

footer {
    margin-top: 5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--accent);
    color: var(--text-secondary);
    font-size: 0.9rem;
    display: flex;
    justify-content: space-between;
}

/* Resume Preview Container */
.resume-preview {
    margin: 2rem 0;
    border: 1px solid var(--accent);
    border-radius: 6px;
    overflow: hidden;
    background: #fdfdfd;
}

.resume-preview iframe {
    width: 100%;
    height: 700px;
    border: none;
    display: block;
}

.download-btn {
    display: inline-block;
    background: var(--text-primary);
    color: var(--bg-primary);
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s;
    border: none;
}

.download-btn:hover {
    background: #333;
    border-bottom: none;
    color: var(--bg-primary);
}

img.profile {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 2rem;
}
