/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Nunito', sans-serif;
    color: #333;
    background: #fff;
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
}

a {
    color: #D1729B;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #B8507A;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== COLOR VARIABLES ===== */
:root {
    --pink: #F9B4D2;
    --yellow: #FFE49C;
    --green: #A8DDA0;
    --blue: #A0CFF0;
    --purple: #C9B0F0;
    --accent: #D1729B;
    --bg-alt: #FFF5F8;
    --text: #333;
    --text-light: #555;
}

/* ===== NAVIGATION ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: box-shadow 0.3s ease, border-bottom 0.3s ease;
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    box-shadow: 0 2px 20px rgba(209, 114, 155, 0.08);
    border-bottom: 1px solid rgba(209, 114, 155, 0.1);
}

.nav-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 64px;
}

.nav-logo {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--accent);
    letter-spacing: -1px;
}

.nav-logo:hover {
    color: var(--accent);
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text);
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

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

.nav-links a:hover::after {
    width: 100%;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}

.bar {
    width: 28px;
    height: 3px;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.bar-pink { background: var(--pink); }
.bar-purple { background: var(--purple); }
.bar-blue { background: var(--blue); }

/* ===== HERO ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 24px 80px;
    position: relative;
    overflow: hidden;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cpath d='M40 30 Q42 26 40 22 Q38 26 40 30Z' fill='%23F4B8CC' opacity='0.08'/%3E%3Cpath d='M20 60 Q22 56 20 52 Q18 56 20 60Z' fill='%23F8C8D8' opacity='0.06'/%3E%3Cpath d='M65 55 Q67 51 65 47 Q63 51 65 55Z' fill='%23F4B8CC' opacity='0.07'/%3E%3C/svg%3E");
}

.section-alt {
    background-color: var(--bg-alt);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cpath d='M40 30 Q42 26 40 22 Q38 26 40 30Z' fill='%23F4B8CC' opacity='0.06'/%3E%3Cpath d='M20 60 Q22 56 20 52 Q18 56 20 60Z' fill='%23F8C8D8' opacity='0.04'/%3E%3Cpath d='M65 55 Q67 51 65 47 Q63 51 65 55Z' fill='%23F4B8CC' opacity='0.05'/%3E%3C/svg%3E");
}

/* ===== CHERRY BLOSSOM PETALS ===== */
.petals {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.petal {
    position: absolute;
    top: -20px;
    width: 14px;
    height: 16px;
    background: #F4B8CC;
    border-radius: 50% 0 50% 50%;
    opacity: 0.6;
    animation: petalFall linear infinite;
}

.petal::before {
    content: '';
    position: absolute;
    top: 40%;
    left: 50%;
    width: 2px;
    height: 50%;
    background: rgba(209, 114, 155, 0.25);
    border-radius: 1px;
    transform: translateX(-50%);
}

.petal:nth-child(1)  { left: 8%;  animation-duration: 9s;  animation-delay: 0s;   width: 12px; height: 14px; }
.petal:nth-child(2)  { left: 30%; animation-duration: 11s; animation-delay: 3s;   width: 16px; height: 18px; opacity: 0.5; }
.petal:nth-child(3)  { left: 50%; animation-duration: 8.5s; animation-delay: 1s;  width: 10px; height: 12px; }
.petal:nth-child(4)  { left: 70%; animation-duration: 10s; animation-delay: 4s;   width: 14px; height: 16px; opacity: 0.45; }
.petal:nth-child(5)  { left: 88%; animation-duration: 9.5s; animation-delay: 2s;  width: 12px; height: 14px; }
.petal:nth-child(6)  { left: 42%; animation-duration: 12s; animation-delay: 6s;   width: 10px; height: 12px; opacity: 0.4; }

@keyframes petalFall {
    0% {
        transform: translateY(0) rotate(0deg) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(100vh) rotate(360deg) translateX(80px);
        opacity: 0;
    }
}

.sakura-flower {
    position: absolute;
    top: -30px;
    pointer-events: none;
    opacity: 0.45;
    animation: petalFall linear infinite;
}

.sakura-flower:nth-of-type(1) { left: 10%; width: 30px; height: 30px; animation-duration: 11s; animation-delay: 1s; }
.sakura-flower:nth-of-type(2) { left: 25%; width: 24px; height: 24px; animation-duration: 13s; animation-delay: 4s; opacity: 0.4; }
.sakura-flower:nth-of-type(3) { left: 40%; width: 28px; height: 28px; animation-duration: 10s; animation-delay: 7s; }
.sakura-flower:nth-of-type(4) { left: 58%; width: 22px; height: 22px; animation-duration: 14s; animation-delay: 2.5s; opacity: 0.35; }
.sakura-flower:nth-of-type(5) { left: 72%; width: 26px; height: 26px; animation-duration: 12s; animation-delay: 5.5s; }
.sakura-flower:nth-of-type(6) { left: 88%; width: 24px; height: 24px; animation-duration: 11.5s; animation-delay: 8s; opacity: 0.4; }

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
}

.hero-photo {
    margin: 0 auto 24px;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid rgba(244, 184, 204, 0.6);
    box-shadow: 0 4px 24px rgba(209, 114, 155, 0.15);
}

.hero-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-greeting {
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--text-light);
    margin-bottom: 8px;
}

.hero-name {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 16px;
    line-height: 1.2;
}

.hero-tagline {
    font-size: 1.1rem;
    font-weight: 300;
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 12px;
    line-height: 1.6;
}

.hero-role {
    font-family: 'Poppins', sans-serif;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 8px;
}

.hero-location {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 28px;
}

.hero-location svg {
    color: var(--accent);
}

.hero-socials {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.hero-socials a {
    color: var(--text-light);
    transition: color 0.3s ease, transform 0.3s ease;
}

.hero-socials a:hover {
    color: var(--accent);
    transform: translateY(-3px);
}

/* ===== SCROLL ARROW ===== */
.scroll-arrow {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounceDown 2s ease-in-out infinite;
    opacity: 1;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.scroll-arrow:hover {
    opacity: 0.8;
}

.scroll-arrow svg {
    width: 40px;
    height: 40px;
    filter: drop-shadow(0 2px 6px rgba(209, 114, 155, 0.25));
}

@keyframes bounceDown {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

/* ===== SECTIONS ===== */
.section {
    padding: 100px 0;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 56px;
    color: var(--text);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 200px;
    height: 30px;
    margin: 16px auto 0;
    background: url("images/cherry-blossom-divider.svg") no-repeat center;
    background-size: contain;
}

/* ===== ABOUT ===== */
.about-grid {
    display: flex;
    flex-direction: column;
    gap: 48px;
    align-items: center;
}

.about-text {
    text-align: center;
    max-width: 750px;
}

.about-text p {
    font-size: 1.05rem;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    width: 100%;
}

.about-card {
    background: #fff;
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 4px 24px rgba(209, 114, 155, 0.06);
    border: 1px solid rgba(209, 114, 155, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(209, 114, 155, 0.12);
}

.about-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text);
}

.about-card h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 4px;
}

.about-card p {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 8px;
}

.about-card ul {
    padding-left: 0;
}

.about-card ul li {
    font-size: 0.9rem;
    color: var(--text-light);
    padding: 3px 0;
    padding-left: 16px;
    position: relative;
}

.about-card ul li::before {
    content: '•';
    color: var(--accent);
    position: absolute;
    left: 0;
    font-weight: 700;
}

/* Skills */
.skills-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.skill-tag {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #444;
}

.skill-tag:nth-child(5n+1) { background: var(--pink); }
.skill-tag:nth-child(5n+2) { background: var(--yellow); }
.skill-tag:nth-child(5n+3) { background: var(--green); }
.skill-tag:nth-child(5n+4) { background: var(--blue); }
.skill-tag:nth-child(5n+5) { background: var(--purple); }

/* ===== LINKEDIN FEED ===== */
.linkedin-feed {
    width: 100%;
    text-align: center;
    background: var(--bg-alt);
    border-radius: 20px;
    padding: 36px 28px;
    border: 1px solid rgba(209, 114, 155, 0.08);
}

.linkedin-feed h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.linkedin-feed h3::before {
    content: '';
}

.linkedin-feed-row {
    display: flex;
    gap: 28px;
    justify-content: center;
}

.linkedin-card {
    flex: 1;
    min-width: 0;
    max-width: 480px;
    width: 100%;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(209, 114, 155, 0.08);
    box-shadow: 0 4px 24px rgba(209, 114, 155, 0.06);
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.linkedin-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(209, 114, 155, 0.14);
    color: inherit;
}

.linkedin-card-carousel {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.linkedin-card-carousel::-webkit-scrollbar {
    display: none;
}

.linkedin-card-carousel img {
    flex: 0 0 100%;
    width: 100%;
    height: 220px;
    object-fit: cover;
    scroll-snap-align: start;
}

.linkedin-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    padding: 16px 24px 0;
}

.linkedin-card-date {
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 500;
}

.linkedin-card-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 10px;
    text-align: left;
    padding: 0 24px;
}

.linkedin-card-excerpt {
    font-size: 0.92rem;
    color: var(--text-light);
    line-height: 1.7;
    flex: 1;
    text-align: left;
    padding: 0 24px;
}

.linkedin-card-cta {
    display: inline-block;
    margin-top: 16px;
    padding: 0 24px 24px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent);
    text-align: left;
}

/* ===== EXPERIENCE / TIMELINE ===== */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--pink), var(--yellow), var(--green), var(--blue), var(--purple));
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin-bottom: 48px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: -33px;
    top: 6px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 0 0 3px currentColor;
}

.marker-pink { background: var(--pink); box-shadow: 0 0 0 3px var(--pink); }
.marker-yellow { background: var(--yellow); box-shadow: 0 0 0 3px var(--yellow); }
.marker-green { background: var(--green); box-shadow: 0 0 0 3px var(--green); }
.marker-blue { background: var(--blue); box-shadow: 0 0 0 3px var(--blue); }
.marker-purple { background: var(--purple); box-shadow: 0 0 0 3px var(--purple); }

.timeline-content {
    background: #fff;
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 4px 24px rgba(209, 114, 155, 0.06);
    border: 1px solid rgba(209, 114, 155, 0.08);
}

.timeline-header {
    margin-bottom: 16px;
}

.timeline-header h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 4px;
}

.timeline-company {
    display: block;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--accent);
    margin-bottom: 2px;
}

.timeline-date {
    display: block;
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 400;
}

.experience-sub-block {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid rgba(209, 114, 155, 0.08);
}

.experience-sub-block h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 10px;
    line-height: 1.5;
}

.experience-sub-block h4 a {
    font-weight: 500;
}

.timeline-content ul {
    padding-left: 0;
}

.timeline-content ul li {
    font-size: 0.93rem;
    color: var(--text-light);
    padding: 5px 0;
    padding-left: 24px;
    position: relative;
    line-height: 1.6;
}

.arrow {
    color: var(--accent);
    font-weight: 700;
    position: absolute;
    left: 0;
}

/* ===== PROJECTS ===== */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.project-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(209, 114, 155, 0.06);
    border: 1px solid rgba(209, 114, 155, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(209, 114, 155, 0.15);
}

.project-card-top {
    height: 6px;
    background: var(--card-accent, var(--pink));
}

.project-card-body {
    padding: 24px;
}

.project-card-body h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
}

.project-tech {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 14px;
}

.project-link-note {
    margin-bottom: 14px;
}

.project-link-note a {
    font-size: 0.9rem;
    font-weight: 600;
}

.project-card-body ul li {
    font-size: 0.9rem;
    color: var(--text-light);
    padding: 4px 0 4px 16px;
    position: relative;
    line-height: 1.6;
}

.project-card-body ul li::before {
    content: '•';
    color: var(--accent);
    position: absolute;
    left: 0;
    font-weight: 700;
}

/* ===== LEADERSHIP ===== */
.leadership-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.leadership-card {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    border-left: 5px solid var(--card-border);
    box-shadow: 0 4px 24px rgba(209, 114, 155, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.leadership-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(209, 114, 155, 0.12);
}

.leadership-card h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
}

.leadership-org {
    display: block;
    font-size: 0.9rem;
    color: var(--accent);
    font-weight: 500;
    margin-bottom: 4px;
}

.leadership-date {
    display: block;
    font-size: 0.82rem;
    color: var(--text-light);
    margin-bottom: 10px;
}

.leadership-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
}

.leadership-link {
    color: var(--accent);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.leadership-link:hover {
    color: var(--primary);
}

/* ===== CONTACT ===== */
.contact {
    text-align: center;
}

.contact-text {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 550px;
    margin: 0 auto 36px;
    line-height: 1.7;
}

.contact-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 12px 32px;
    border-radius: 30px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-filled {
    background: var(--accent);
    color: #fff;
}

.btn-filled:hover {
    background: #B8507A;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(209, 114, 155, 0.3);
}

.btn-outlined {
    background: transparent;
    color: var(--accent);
    border: 2px solid var(--accent);
}

.btn-outlined:hover {
    background: var(--accent);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(209, 114, 155, 0.3);
}

.resume-download {
    text-align: center;
    margin-top: 48px;
}

/* ===== FOOTER ===== */
.footer {
    text-align: center;
    padding: 32px 24px;
    border-top: 1px solid rgba(209, 114, 155, 0.08);
    color: var(--text-light);
    font-size: 0.9rem;
}

/* ===== ANIMATIONS ===== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        max-width: 300px;
        height: 100vh;
        background: rgba(255, 255, 255, 0.97);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        flex-direction: column;
        justify-content: center;
        gap: 28px;
        transition: right 0.4s ease;
        box-shadow: -4px 0 24px rgba(124, 92, 252, 0.08);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 1.15rem;
    }

    .hero-name {
        font-size: 2.4rem;
    }

    .scroll-arrow {
        bottom: 20px;
    }

    .scroll-arrow svg {
        width: 32px;
        height: 32px;
    }

    .about-cards {
        grid-template-columns: 1fr;
    }

    .linkedin-feed-row {
        flex-direction: column;
        align-items: stretch;
    }

    .linkedin-card {
        max-width: 100%;
    }

    .linkedin-feed {
        padding: 28px 16px;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .leadership-grid {
        grid-template-columns: 1fr;
    }

    .timeline {
        padding-left: 32px;
    }

    .timeline::before {
        left: 10px;
    }

    .timeline-marker {
        left: -28px;
        width: 14px;
        height: 14px;
    }
}

@media (max-width: 480px) {
    .hero-name {
        font-size: 2rem;
    }

    .scroll-arrow {
        bottom: 12px;
    }

    .scroll-arrow svg {
        width: 28px;
        height: 28px;
    }

    .hero-tagline {
        font-size: 0.95rem;
    }

    .hero-role {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .section {
        padding: 64px 0;
    }

    .timeline-content {
        padding: 20px;
    }

    .project-card-body {
        padding: 18px;
    }

    .btn {
        padding: 10px 24px;
        font-size: 0.9rem;
    }
}
