/* Main styles for CV website */
:root {
    --royal-blue: #4169e1;
    --off-white: #f8fafc;
    --gold-accent: #ffd166;
    --font-main: 'Atkinson Hyperlegible', Arial, sans-serif;
}
body {
    margin: 0;
    font-family: var(--font-main);
    background: var(--off-white);
    color: #222;
}
.navbar {
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--royal-blue);
    position: sticky;
    top: 0;
    z-index: 99;
    height: 56px;
}
.navbar a {
    color: #fff;
    text-decoration: none;
    padding: 0 24px;
    font-size: 1.1rem;
    position: relative;
    transition: color 0.2s;
}
.navbar a.active,
.navbar a:hover {
    color: var(--gold-accent);
}
.navbar a.active::after,
.navbar a:hover::after {
    content: '';
    display: block;
    width: 100%;
    height: 3px;
    background: var(--gold-accent);
    position: absolute;
    left: 0;
    bottom: -4px;
    border-radius: 2px;
    opacity: 1;
    transition: opacity 0.2s;
}
.split-hero {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    background: linear-gradient(90deg, var(--royal-blue) 48%, var(--off-white) 48%);
    box-shadow: 0 2px 8px rgba(65, 105, 225, 0.04);
}
.hero-left {
    flex: 1;
    text-align: center;
    color: #fff;
    padding: 48px 16px;
    background: transparent;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1.2s ease 0.08s forwards;
}
.hero-left img {
    width: 160px;
    height: 160px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 0 32px 0 rgba(50,100,255,.18);
    transition: box-shadow 0.4s;
}
.hero-left img:hover {
    box-shadow: 0 0 48px 0 var(--gold-accent);
}
.hero-right {
    flex: 1.4;
    color: #222;
    padding: 48px 36px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1.2s ease 0.22s forwards;
}
.hero-headline {
    font-size: 2.5rem;
    color: var(--royal-blue);
    font-weight: 700;
    margin-bottom: 16px;
}
.hero-summary {
    font-size: 1.18rem;
    margin-bottom: 36px;
    color: #333;
}
.main-btn {
    background: var(--gold-accent);
    border: none;
    outline: none;
    border-radius: 32px;
    padding: 16px 44px;
    color: #223;
    font-size: 1.14rem;
    font-family: var(--font-main);
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(65, 105, 225, .12);
    transition: background 0.2s, color 0.2s;
}
.main-btn:hover {
    background: #fff5cc;
    color: var(--royal-blue);
}
.section {
    max-width: 940px;
    margin: 0 auto;
    padding: 58px 20px 10px 20px;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1.2s, transform 1.2s;
}
.section.visible {
    opacity: 1;
    transform: none;
}
.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 22px;
    color: var(--royal-blue);
}
.skills-bar {
    background: #eaf2fc;
    border-radius: 15px;
    margin-bottom: 16px;
    padding: 9px 20px;
    box-shadow: 0 2px 7px rgba(65, 105, 225, .11);
}
.skills-label {
    font-size: 1.18rem;
    font-weight: 500;
    color: var(--royal-blue);
    margin-bottom: 6px;
}
.skills-level {
    height: 12px;
    background: var(--gold-accent);
    border-radius: 8px;
    transition: width 1s;
}
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: none; }
}
