:root {
    --bg: #FFF7F3;
    --fg: #0e1320;
    --muted: #5f6b7a;
    --accent: #7c3aed;
    --accent-2: #0ea5e9;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
    margin: 0;
    font-family: 'Roboto', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
    background: var(--bg);
    color: var(--fg);
}

.container { width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 20px; }

.navbar {
    position: sticky; top: 0; z-index: 50;
    background: var(--bg);
    padding-top: 60px;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 12px; }
.logo { display: none; }
.brand-mark { display: inline-flex; align-items: center; gap: 6px; width: auto; height: auto; }
.brand-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--fg); display: block; }
.brand-mark .brand-dot:nth-child(2) { background: #E2725B; }
.brand-mark .brand-dot:nth-child(3) { background: #4B0082; }
.brand-mark .brand-dot:nth-child(4) { background: #D9FFB6; }
.brand-name { color: var(--fg); text-decoration: none; letter-spacing: .2px; font-family: 'Dancing Script', cursive; font-weight: 700; font-size: 1.8rem; }
.nav-links { display: flex; gap: 18px; }
.nav-links a { color: #332E2E; text-decoration: none; font-weight: 500; font-size: 1.1rem; }
.nav-links a:hover { color: #332E2E; }

/* Ensure nav links match Language label font */
.nav-links a, .link-to-page.internal { font-family: 'Roboto', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji"; font-weight: 500; font-size: 1.1rem; }
.link-to-page.internal { color: #332E2E; }

/* Dropdown styles */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: #332E2E;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
}

.dropdown-arrow {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.dropdown-toggle:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #D9FFB6;
    min-width: 120px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1000;
    border-radius: 4px;
    overflow: hidden;
}

.dropdown-menu.show {
    display: block;
}

.dropdown-item {
    display: block;
    padding: 12px 8px;
    text-decoration: none;
    color: #332E2E;
    font-weight: 500;
    font-size: 1.1rem;
    transition: background-color 0.3s ease;
}

.dropdown-item:hover {
    background-color: rgba(51, 46, 46, 0.1);
}

.hero { display: grid; place-items: center; padding: 100px 0 36px; position: relative; }
.text-content { display: flex; flex-direction: column; gap: 16px; }
.main-title { font-size: 64px; text-align: left; margin: 0; color: #332E2E; font-weight: 700; white-space: nowrap; }
.subtitle { font-size: 18px; color: var(--muted); margin: 0; font-weight: 400; line-height: 1.5; }
.location-title { font-size: 24px; color: #332E2E; margin: 24px 0 8px 0; font-weight: 600; }
.location-text { font-size: 16px; color: var(--muted); margin: 0; font-weight: 400; line-height: 1.4; }
.primary.centered {
    font-size: 16px;
    line-height: 1.5;
    text-align: left;
    flex-flow: row;
    justify-content: center;
    align-self: flex-start;
    align-items: center;
    padding: .7rem 2rem;
    text-decoration: none;
    display: flex;
    position: relative;
    background-color: #332E2E;
    color: var(--bg);
    border-radius: 50px;
    margin-top: 40px;
    transition: all 0.3s ease;
    grid-column-gap: 20px;
    grid-row-gap: 20px;
}
.primary.centered:hover {
    background-color: var(--bg);
    color: #332E2E;
    border: 1px solid #332E2E;
}
.hero-inner { position: relative; width: 100%; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 40px; }
.side-text { color: var(--muted); font-weight: 500; line-height: 1.4; }
.side-text.left { justify-self: end; text-align: right; }
.side-text.right { justify-self: start; }
.side-text strong { color: var(--fg); }
.photo-wrap { position: relative; width: 280px; height: 280px; justify-self: end; }
.photo { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; display: block; box-shadow: 0 24px 48px rgba(2,6,23,.18); }

.section { padding: 60px 0; }
.section h2 { margin: 0 0 12px; }
.section p { margin: 0; color: var(--muted); }

.about-section {
    background-color: #D9FFB6;
    padding: 60px 0 40px 0;
    min-height: calc(80vh - 100px);
    margin-top: 100px;
    display: flex;
    align-items: flex-start;
}

.about-section h2 {
    font-size: 48px;
    color: #332E2E;
    margin: 0 0 24px 0;
    font-weight: 700;
}

.about-section p {
    font-size: 18px;
    color: #332E2E;
    line-height: 1.6;
    margin: 0 0 40px 0;
    max-width: 600px;
}

.cv-button {
    margin-top: 0;
    display: inline-block !important;
    width: auto !important;
    padding: .7rem 2rem !important;
    border-radius: 25px !important;
    text-align: center !important;
}

@media (max-width: 860px) {
    .hero-inner { grid-template-columns: 1fr; gap: 18px; text-align: center; }
    .side-text.left, .side-text.right { justify-self: center; text-align: center; }
    .photo-wrap { justify-self: center; }
}

.footer { padding: 24px 0; color: var(--muted); }

.outro-bar {
    background-color: #332E2E;
    padding: 40px 0;
}

.outro-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.outro-text {
    color: var(--bg);
    font-size: 16px;
    margin: 0;
    font-weight: 500;
}

.outro-nav {
    display: flex;
    gap: 30px;
}

.outro-link {
    color: #FFF7F3;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: opacity 0.3s ease;
}

.outro-link:hover {
    opacity: 0.7;
}

@media (max-width: 768px) {
    .outro-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .outro-nav {
        gap: 20px;
    }
}

/* Fixed positioned image styles */
.fixed-image-container {
    position: absolute;
    bottom: 0;
    right: 60px;
    width: 500px;
    height: 500px;
    z-index: 10;
    overflow: hidden;
    pointer-events: none;
    transform: translateY(30%);
}

.fixed-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .fixed-image-container {
        width: 350px;
        height: 350px;
        right: 40px;
    }
}

@media (max-width: 480px) {
    .fixed-image-container {
        width: 280px;
        height: 280px;
        right: 20px;
    }
}

/* CV Page Styles */
.cv-main {
    padding: 40px 0;
    background-color: var(--bg);
}

.cv-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 40px 0;
    background-color: #D9FFB6;
    border-radius: 12px;
}

.cv-header h1 {
    font-size: 48px;
    color: #332E2E;
    margin: 0 0 16px 0;
    font-weight: 700;
}

.cv-header p {
    font-size: 20px;
    color: var(--muted);
    margin: 0;
    font-weight: 500;
}

.cv-content {
    max-width: 800px;
    margin: 0 auto;
}

.cv-section {
    margin-bottom: 40px;
    padding: 30px;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.cv-section h2 {
    font-size: 28px;
    color: #332E2E;
    margin: 0 0 20px 0;
    font-weight: 700;
    border-bottom: 3px solid #D9FFB6;
    padding-bottom: 10px;
}

.cv-info p {
    margin: 8px 0;
    font-size: 16px;
    color: #332E2E;
}

.cv-info strong {
    color: #332E2E;
    font-weight: 600;
    min-width: 100px;
    display: inline-block;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.skill-category {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #D9FFB6;
}

.skill-category h3 {
    font-size: 18px;
    color: #332E2E;
    margin: 0 0 12px 0;
    font-weight: 600;
}

.skill-category ul {
    margin: 0;
    padding-left: 20px;
}

.skill-category li {
    margin: 6px 0;
    color: #332E2E;
    font-size: 14px;
}

.experience-item, .education-item, .project-item {
    margin-bottom: 30px;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #D9FFB6;
}

.experience-item h3, .education-item h3, .project-item h3 {
    font-size: 20px;
    color: #332E2E;
    margin: 0 0 8px 0;
    font-weight: 600;
}

.company, .university {
    font-size: 16px;
    color: var(--muted);
    margin: 4px 0;
    font-weight: 500;
}

.duration, .graduation {
    font-size: 14px;
    color: var(--muted);
    margin: 4px 0;
    font-style: italic;
}

.experience-item ul {
    margin: 12px 0 0 0;
    padding-left: 20px;
}

.experience-item li {
    margin: 6px 0;
    color: #332E2E;
    font-size: 14px;
    line-height: 1.5;
}

.project-item p {
    margin: 8px 0 0 0;
    color: #332E2E;
    font-size: 14px;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .cv-header h1 {
        font-size: 36px;
    }
    
    .cv-header p {
        font-size: 18px;
    }
    
    .cv-section {
        padding: 20px;
        margin-bottom: 30px;
    }
    
    .cv-section h2 {
        font-size: 24px;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
}

