@import url('https://fonts.googleapis.com/css2?family=Cormorant:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600&family=Nunito:wght@300;400;500;600;700&display=swap');

:root {
    --bg-oat: #fcfaf5;
    --bg-dough: #f4efe6;
    --bg-card: #ffffff;
    --crust-terracotta: #c86b3c;
    --crust-dark: #a04f28;
    --olive-green: #6b705c;
    --olive-light: #dde2d1;
    --text-espresso: #2e2825;
    --text-cocoa: #5a514b;
    --text-muted: #8c827a;
    --border-warm: rgba(200, 107, 60, 0.15);
    --border-subtle: rgba(90, 81, 75, 0.1);
    --shadow-soft: 0 10px 40px rgba(90, 81, 75, 0.05);
    --shadow-hover: 0 15px 50px rgba(200, 107, 60, 0.1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Nunito', sans-serif;
    background: var(--bg-oat);
    color: var(--text-cocoa);
    line-height: 1.7;
    overflow-x: hidden;
}

/* Organic Background Elements */
.bg-leaf {
    position: absolute;
    width: 300px;
    height: 300px;
    background: var(--olive-light);
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    filter: blur(60px);
    opacity: 0.5;
    z-index: 0;
    pointer-events: none;
}

.bg-dough-shape {
    position: absolute;
    width: 400px;
    height: 400px;
    background: #fdf5e6;
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    filter: blur(80px);
    z-index: 0;
    pointer-events: none;
}

.shape-1 {
    top: -10%;
    left: -5%;
    width: 500px;
    height: 500px;
}

.shape-2 {
    bottom: 10%;
    right: -10%;
}

.shape-3 {
    top: 40%;
    right: -5%;
    background: rgba(200, 107, 60, 0.05);
    filter: blur(100px);
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(252, 250, 245, 0.9);
    backdrop-filter: blur(12px);
    padding: 1.2rem 0;
    border-bottom: 1px solid var(--border-subtle);
}

.nav-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-family: 'Cormorant', serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-espresso);
    letter-spacing: 1px;
}

.nav-logo .accent {
    color: var(--crust-terracotta);
    font-style: italic;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-cocoa);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--crust-terracotta);
}

.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: var(--text-espresso);
    transition: 0.3s;
}

/* Hero */
.hero {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 2rem 4rem;
}

.hero-inner {
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 1.2rem;
    border-radius: 30px;
    background: var(--bg-dough);
    border: 1px solid var(--border-warm);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--crust-terracotta);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 2rem;
}

.hero-badge .leaf {
    color: var(--olive-green);
    font-size: 1rem;
}

.hero h1 {
    font-family: 'Cormorant', serif;
    font-size: 4.5rem;
    font-weight: 600;
    color: var(--text-espresso);
    line-height: 1.1;
    margin-bottom: 1rem;
}

.hero h1 span {
    font-style: italic;
    color: var(--crust-terracotta);
}

.hero-role {
    font-family: 'Nunito', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--olive-green);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 2rem;
}

.hero-bio {
    max-width: 700px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
    color: var(--text-cocoa);
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    gap: 1.2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.btn {
    padding: 0.9rem 2.2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--crust-terracotta);
    color: #fff;
}

.btn-primary:hover {
    background: var(--crust-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(200, 107, 60, 0.2);
}

.btn-outline {
    background: transparent;
    color: var(--olive-green);
    border: 2px solid var(--olive-green);
}

.btn-outline:hover {
    background: var(--olive-light);
    transform: translateY(-3px);
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.c-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.c-item svg {
    width: 16px;
    height: 16px;
    stroke: var(--crust-terracotta);
    fill: none;
    stroke-width: 2;
}

/* Image Frame */
.profile-wrap {
    position: relative;
    width: 250px;
    height: 320px;
    margin: 0 auto 3rem;
    transform: rotate(-2deg);
}

.profile-wrap::after {
    content: '';
    position: absolute;
    inset: -10px;
    border: 1px solid var(--crust-terracotta);
    border-radius: 20px 80px 30px 60px / 60px 30px 80px 20px;
    z-index: -1;
    transform: rotate(5deg);
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 30px 60px 20px 80px / 80px 20px 60px 30px;
    box-shadow: var(--shadow-soft);
}

.profile-fallback {
    width: 100%;
    height: 100%;
    background: var(--bg-dough);
    border-radius: 30px 60px 20px 80px / 80px 20px 60px 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Cormorant', serif;
    font-size: 4rem;
    color: var(--olive-green);
    box-shadow: var(--shadow-soft);
}

/* Sections */
.section {
    position: relative;
    z-index: 1;
    padding: 6rem 2rem;
}

.section-alt {
    background: var(--bg-dough);
    position: relative;
}

.section-alt::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    width: 100%;
    height: 40px;
    background: var(--bg-dough);
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}

.section-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-subtitle {
    font-family: 'Nunito', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--olive-green);
    margin-bottom: 0.5rem;
}

.section-title {
    font-family: 'Cormorant', serif;
    font-size: 3rem;
    font-weight: 600;
    color: var(--text-espresso);
}

.section-line {
    width: 60px;
    height: 2px;
    background: var(--crust-terracotta);
    margin: 1rem auto 0;
}

/* Grid Layouts */
.dual-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

/* Education & Certs (Le Cordon Bleu style) */
.edu-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 2.5rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-soft);
    transition: all 0.4s;
    position: relative;
    overflow: hidden;
}

.edu-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--border-warm);
}

.lcb-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: var(--bg-oat);
    border: 1px dashed var(--olive-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Cormorant', serif;
    font-size: 1.2rem;
    color: var(--olive-green);
    font-weight: 700;
}

.e-degree {
    font-family: 'Cormorant', serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-espresso);
    margin-bottom: 0.4rem;
    padding-right: 50px;
    line-height: 1.2;
}

.e-school {
    font-size: 1rem;
    font-weight: 700;
    color: var(--crust-terracotta);
    margin-bottom: 0.4rem;
}

.e-date {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Experience */
.exp-card {
    border-left: 2px solid var(--border-warm);
    padding-left: 2rem;
    margin-bottom: 3rem;
    position: relative;
}

.exp-card::before {
    content: '';
    position: absolute;
    left: -7px;
    top: 0;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--crust-terracotta);
    box-shadow: 0 0 0 4px var(--bg-oat);
}

.x-role {
    font-family: 'Cormorant', serif;
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--text-espresso);
    margin-bottom: 0.3rem;
    line-height: 1.2;
}

.x-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.2rem;
    flex-wrap: wrap;
}

.x-co {
    font-weight: 700;
    color: var(--olive-green);
}

.x-dur {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: var(--bg-dough);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
}

.x-desc {
    font-style: italic;
    color: var(--text-cocoa);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.x-list {
    list-style: none;
}

.x-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-cocoa);
}

.x-list li::before {
    content: '✤';
    position: absolute;
    left: 0;
    color: var(--crust-terracotta);
    font-size: 0.8rem;
    top: 2px;
}

/* Skills (Organic Tags) */
.skills-container {
    margin-top: 2rem;
}

.skill-category {
    margin-bottom: 2.5rem;
}

.s-cat-title {
    font-family: 'Cormorant', serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-espresso);
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.s-cat-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-subtle);
}

.s-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.s-tag {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    padding: 0.6rem 1.2rem;
    border-radius: 20px 5px 20px 5px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-cocoa);
    transition: all 0.3s;
}

.s-tag:hover {
    background: var(--olive-light);
    color: var(--text-espresso);
    border-color: var(--olive-green);
    transform: translateY(-3px);
    border-radius: 5px 20px 5px 20px;
}

/* Footer */
footer {
    text-align: center;
    padding: 4rem 2rem;
    position: relative;
    z-index: 1;
    background: var(--bg-dough);
    border-top: 1px solid var(--border-warm);
}

.f-logo {
    font-family: 'Cormorant', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-espresso);
    margin-bottom: 1rem;
}

.f-logo .accent {
    color: var(--crust-terracotta);
    font-style: italic;
}

footer p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 900px) {
    .dual-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero h1 {
        font-size: 3.2rem;
    }

    .profile-wrap {
        width: 200px;
        height: 260px;
    }

    .contact-info {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(252, 250, 245, 0.98);
        padding: 2rem;
        border-bottom: 1px solid var(--border-subtle);
    }

    .hero {
        padding: 7rem 1.5rem 3rem;
    }

    .section {
        padding: 4rem 1.5rem;
    }
}