/* Portfolio landing page styling */

:root {
    --dark: #071017;
    --dark-2: #0b1720;
    --light: #f5f8fa;
    --text-dark: #111827;
    --text-light: #f9fafb;
    --muted-dark: #4b5563;
    --muted-light: #cbd5e1;
    --line-dark: rgba(255, 255, 255, 0.16);
    --line-light: #d9e2e8;
    --green: #34d399;
    --green-dark: #059669;
    --green-soft: rgba(52, 211, 153, 0.14);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, Arial, sans-serif;
    color: var(--text-dark);
    background: var(--light);
}

a {
    color: inherit;
    text-decoration: none;
}

/* Navbar */

.site-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1vw;
    background: rgba(7, 16, 23, 0.86);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(16px);
}

.brand {
    color: var(--text-light);
    font-size: 25px;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.brand span {
    color: var(--green);
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 28px;
}

.nav-link,
.dropdown-button {
    position: relative;
    background: transparent;
    border: 0;
    color: var(--text-light);
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    padding: 28px 0;
}

.nav-link.active::after,
.nav-link:hover::after,
.dropdown-button:hover::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 16px;
    height: 3px;
    background: var(--green);
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 70px;
    right: 0;
    display: none;
    min-width: 280px;
    padding: 10px;
    background: #101923;
    border: 1px solid var(--line-dark);
    border-radius: 14px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
}

.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
    display: block;
}

.dropdown-menu a {
    display: block;
    padding: 12px 14px;
    border-radius: 10px;
    color: var(--muted-light);
    font-size: 14px;
    font-weight: 700;
}

.dropdown-menu a:hover {
    color: var(--text-light);
    background: rgba(255, 255, 255, 0.06);
}

/* Shared layout */

.page-shell {
    width: min(1160px, calc(100% - 72px));
    margin: 0 auto;
}

section,
article {
    scroll-margin-top: 100px;
}

/* Hero */

.hero-section {
    position: relative;
    overflow: hidden;
    min-height: 980px;
    padding-top: 78px;
    padding-bottom: 60px;
    color: var(--text-light);
    background:
        linear-gradient(
            180deg,
            #061018 10%,
            #07131c 46%,
            #182532 70%,
            #eef3f6 98%
        );
}

.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;

    background-image:
        radial-gradient(circle, rgba(255,255,255,0.92) 0 1.2px, transparent 2px),
        radial-gradient(circle, rgba(33,240,160,0.82) 0 1px, transparent 1.8px),
        radial-gradient(circle, rgba(0,214,255,0.75) 0 1px, transparent 1.8px),
        radial-gradient(circle, rgba(255,255,255,0.45) 0 0.75px, transparent 1.5px);

    background-size:
        520px 420px,
        610px 480px,
        560px 430px,
        460px 360px;

    background-position:
        79% 31%,
        88% 42%,
        73% 49%,
        92% 27%;

    opacity: 0.92;

    filter:
        drop-shadow(0 0 5px rgba(255,255,255,0.32))
        drop-shadow(0 0 9px rgba(33,240,160,0.18));

    mask-image:
        radial-gradient(
            ellipse at 84% 39%,
            black 0%,
            black 15%,
            rgba(0,0,0,0.76) 31%,
            rgba(0,0,0,0.24) 44%,
            transparent 54%
        );
}

.wave-bg {
    position: absolute;
    top: 70px;
    right: -90px;
    width: min(1500px, 64vw);
    height: 620px;
    pointer-events: none;
    opacity: 0.95;
    z-index: 1;
    filter: drop-shadow(0 0 18px rgba(33, 240, 160, 0.33));
}

.wave-bg::before {
    content: "";
    position: absolute;
    inset: -6% -8% -12% 34%;
    pointer-events: none;

    background:
        radial-gradient(
            circle at 88% 46%,
            rgba(33, 240, 160, 0.34) 0%,
            rgba(33, 240, 160, 0.24) 10%,
            rgba(23, 245, 181, 0.16) 22%,
            rgba(0, 214, 255, 0.09) 36%,
            transparent 62%
        ),

        radial-gradient(
            ellipse at 78% 52%,
            rgba(23, 245, 181, 0.16) 0%,
            rgba(23, 245, 181, 0.08) 30%,
            transparent 68%
        ),

        radial-gradient(
            ellipse at 92% 40%,
            rgba(255,255,255,0.10) 0%,
            transparent 24%
        );

    filter: blur(58px);
    opacity: 1;
}

.wave-bg::after {
    content: "";
    position: absolute;
    inset: -30px 0 0 0;
    background-image:
        radial-gradient(circle, rgba(13, 228, 193, 0.42) 0 1px, transparent 1.8px),
        radial-gradient(circle, rgba(0, 168, 200, 0.35) 0 1px, transparent 1.6px);
    background-size: 92px 92px, 136px 136px;
    background-position: 16px 18px, 64px 0;
    mask-image: linear-gradient(90deg, transparent 0%, black 32%, black 86%, transparent 100%);
    opacity: 0.38;
}

.wave-bg svg {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.wave-lines path {
    vector-effect: non-scaling-stroke;
}

.wave-bright-line {
    fill: none;
    stroke: #21f0a0;
    stroke-opacity: 0.78;
    stroke-width: 2.1;
    stroke-linecap: round;
    vector-effect: non-scaling-stroke;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 78px;
}

.hero-layout {
    display: grid;
    grid-template-columns: 610px 1fr;
    align-items: center;
}

.hero-photo {
    width: 320px;
    height: 320px;

    justify-self: center;

    padding: 4px;
    border-radius: 50%;

    background: linear-gradient(
        135deg,
        #006d7d 0%,
        #00d6b9 55%,
        #21f0a0 100%
    );

    box-shadow:
        0 0 18px rgba(33, 240, 160, 0.10),
        0 0 42px rgba(33, 240, 160, 0.08);
}

.hero-photo img {
    width: 100%;
    height: 100%;
    display: block;

    border-radius: 50%;

    object-fit: cover;
    object-position: center 20%;

    border: 6px solid #071017;
}


.hero-copy {
    flex: 1;
    max-width: 640px;
}

.intro-line {
    margin: 0 0 14px;
    color: var(--green);
    font-size: 23px;
    font-weight: 900;
}

.hero-copy h1 {
    margin: 0;
    font-size: clamp(52px, 7vw, 80px);
    line-height: 0.96;
    letter-spacing: -0.07em;
}

.hero-copy h1 span {
    color: var(--green);
}

.hero-tagline {
    margin: 24px 0 0;
    color: #e5e7eb;
    font-size: 20px;
}

.hero-description {
    max-width: 560px;
    margin: 32px 0 0;
    color: #e2e8f0;
    font-size: 17px;
    line-height: 1.7;
}

.skill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 26px;
    margin-top: 34px;
}

.skill-row span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
    font-size: 14px;
    font-weight: 800;
}

.skill-row span::first-letter {
    color: var(--green);
}

/* Featured panel */

.featured-project-panel {
    display: grid;
    grid-template-columns: 0.76fr 1.24fr;
    gap: 34px;
    align-items: center;
    margin-top: 58px;
    padding: 32px;
    border-radius: 14px;
    border: 1px solid rgba(226, 232, 240, 0.22);
    background:
        linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03)),
        rgba(13, 23, 32, 0.72);
    box-shadow: 0 7px 65px rgba(0, 0, 0, 0.26);
    backdrop-filter: blur(8px);
}

.featured-project-image {
    min-height: 300px;
    border-radius: 10px;
    overflow: hidden;
    background: #071017;
    border: 1px solid rgba(226, 232, 240, 0.18);
}

.featured-project-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    padding: 12px;
}

.eyebrow {
    margin: 0 0 20px;
    color: var(--green);
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.featured-copy h2 {
    margin: 0;
    font-size: clamp(28px, 4vw, 40px);
    letter-spacing: -0.04em;
}

.featured-copy p {
    max-width: 420px;
    margin: 22px 0 0;
    color: #e2e8f0;
    font-size: 17px;
    line-height: 1.65;
}

.outline-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 28px;
    min-height: 52px;
    padding: 0 22px;
    border-radius: 8px;
    border: 1px solid var(--green);
    color: var(--green);
    font-weight: 900;
    transition: 0.18s ease;
}

.outline-button:hover {
    background: var(--green);
    color: #062015;
}

/* Dashboard mockup */

.dashboard-mockup {
    min-height: 300px;
    overflow: hidden;
    border-radius: 10px;
    border: 1px solid rgba(226, 232, 240, 0.18);
    background: #101820;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}

.mockup-titlebar {
    display: flex;
    justify-content: space-between;
    padding: 13px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    color: #f8fafc;
    font-size: 13px;
    font-weight: 800;
}

.mockup-toolbar {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 14px;
    padding: 16px;
}

.mockup-toolbar div {
    border-radius: 7px;
    background: #1b2530;
    padding: 10px;
}

.mockup-toolbar small {
    display: block;
    color: #94a3b8;
    font-size: 10px;
}

.mockup-toolbar span {
    display: block;
    margin-top: 5px;
    color: #e2e8f0;
    font-size: 11px;
}

.mock-table {
    width: calc(100% - 32px);
    margin: 0 16px 16px;
    border-collapse: collapse;
    color: #e2e8f0;
    font-size: 12px;
}

.mock-table th,
.mock-table td {
    padding: 10px 9px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    text-align: right;
}

.mock-table th:first-child,
.mock-table td:first-child {
    text-align: left;
}

.mock-table th {
    color: #cbd5e1;
    background: #1b2530;
}

/* Projects */

.projects-section {
    background: linear-gradient(180deg, #eef3f6 0%, #f7fafb 100%);
}

.section-title h2 {
    margin: 0;
    color: var(--text-dark);
    font-size: 36px;
    letter-spacing: -0.04em;
}

.section-title span {
    display: block;
    width: 42px;
    height: 3px;
    margin-top: 14px;
    background: var(--green-dark);
}

.project-row {
    display: grid;
    grid-template-columns: 520px minmax(0, 1fr) 160px;
    gap: 48px;
    align-items: center;
    margin-top: 28px;
    padding: 32px;
    border-radius: 16px;
    background: white;
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow:
        0 4px 10px rgba(15, 23, 42, 0.03),
        0 12px 40px rgba(15, 23, 42, 0.06);
    transition: transform .25s ease, box-shadow .25s ease;
}

.project-image {
    height: 300px;
    border-radius: 12px;
    overflow: hidden;
    background: #071017;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 15px 40px rgba(15, 23, 42, 0.12);
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    padding: 10px;
    transition: transform .35s ease;
}

.project-info h3 {
    margin: 0;
    color: var(--text-dark);
    font-size: 24px;
    letter-spacing: -0.03em;
}

.project-info p {
    max-width: 610px;
    margin: 14px 0 0;
    color: var(--muted-dark);
    font-size: 16px;
    line-height: 1.6;
}

.chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
}

.chip-row span {
    padding: 7px 13px;
    border-radius: 7px;
    background: #edf1f4;
    color: #1f2937;
    font-size: 13px;
}

.project-link {
    color: var(--green-dark);
    font-weight: 900;
}

/* Resume */

.resume-section {
    padding: 72px 0 96px;
    background: #f7fafb;
}

.resume-card {
    display: block;
    width: 100%;
    padding: 42px;
    border: 1px solid var(--line-light);
    border-radius: 14px;
    background:
        linear-gradient(135deg, rgba(52, 211, 153, 0.06), rgba(255,255,255,0.95)),
        #ffffff;
    box-shadow: 0 18px 55px rgba(15, 23, 42, 0.08);
}

.resume-card p {
    margin: 14px 0 0;
    color: var(--muted-dark);
    font-size: 16px;
    line-height: 1.7;
}

.resume-content {
    margin-top: 36px;
}

.resume-block {
    margin-top: 42px;
}

.resume-block h3 {
    margin: 0 0 22px;
    color: var(--text-dark);
    font-size: 24px;
    font-weight: 900;
    letter-spacing: -0.03em;
}

.resume-entry {
    padding: 28px 0;
    border-top: 1px solid var(--line-light);
}

.resume-entry-header {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 16px;
}

.resume-company {
    margin: 0;
    color: var(--text-dark);
    font-size: 18px;
    font-weight: 900;
}

.resume-location,
.resume-date {
    margin: 4px 0 0;
    color: var(--muted-dark);
    font-size: 14px;
    font-weight: 700;
}

.resume-role {
    margin: 10px 0 0;
    color: var(--text-dark);
    font-size: 18px;
    font-weight: 800;
}

.resume-entry ul {
    margin: 16px 0 0;
    padding-left: 1.25rem;
}

.resume-entry li {
    margin-bottom: 10px;
    color: var(--muted-dark);
    font-size: 15px;
    line-height: 1.65;
    font-style: normal;
    text-transform: none;
    letter-spacing: normal;
}

.resume-skill-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.resume-skill-card {
    padding: 20px;
    border: 1px solid var(--line-light);
    border-radius: 12px;
    background: rgba(255,255,255,0.72);
}

.resume-skill-card h4 {
    margin: 0 0 10px;
    color: var(--text-dark);
    font-size: 16px;
    font-weight: 900;
}

.resume-skill-card p {
    margin: 0;
    font-size: 15px;
    line-height: 1.65;
}

.outline-button.light {
    color: var(--green-dark);
    border-color: var(--green-dark);
}

.outline-button.light:hover {
    color: white;
    background: var(--green-dark);
}

@media (max-width: 900px) {
    .site-nav {
        padding: 0 24px;
    }

    .nav-links {
        gap: 16px;
    }

    .page-shell {
        width: min(100% - 36px, 1160px);
    }

    .hero-section {
        min-height: auto;
        padding-bottom: 80px;
    }

    .wave-bg {
        z-index: 2;
        top: 120px;
        right: -260px;
        width: 940px;
        height: 430px;
        opacity: 0.45;
    }

    .featured-project-panel,
    .project-row {
        grid-template-columns: 1fr;
    }

    .resume-entry-header {
        flex-direction: column;
        gap: 6px;
    }

    .resume-skill-grid {
        grid-template-columns: 1fr;
    }
    .project-row {
        padding: 24px;
    }

    .project-image {
        height: 220px;
    }

    .project-link {
        justify-self: start;
    }
}
