:root {
    --bg: #0b1120;
    --bg-soft: #111827;
    --card: #172033;
    --text: #f8fafc;
    --muted: #94a3b8;
    --accent: #60a5fa;
    --accent-dark: #2563eb;
    --border: rgba(148, 163, 184, 0.16);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

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

.container {
    width: min(1100px, 90%);
    margin: 0 auto;
}


/* NAVBAR */

.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;

    background: rgba(11, 17, 32, 0.92);
    backdrop-filter: blur(12px);

    border-bottom: 1px solid var(--border);
}

.nav-content {
    height: 72px;

    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.25rem;
    font-weight: 700;
}

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

.nav-links {
    display: flex;
    gap: 28px;
}

.nav-links a {
    color: var(--muted);
    transition: 0.2s;
}

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


/* HERO */

.hero {
    min-height: 85vh;

    display: flex;
    align-items: center;

    padding: 70px 0;
}

.hero-grid {
    width: min(1100px, 90%);
    margin: 0 auto;

    display: grid;
    grid-template-columns: minmax(0, 1.4fr) 320px;
    gap: 70px;

    align-items: center;
}

.hero-content {
    max-width: 720px;
}

.eyebrow {
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 14px;
}

.hero h1 {
    font-size: clamp(3rem, 6vw, 5rem);
    line-height: 1;

    margin-bottom: 18px;
}

.hero h2 {
    color: var(--muted);

    font-size: clamp(1.4rem, 3vw, 2.3rem);
    font-weight: 500;

    margin-bottom: 24px;
}

.hero-description {
    max-width: 700px;

    color: var(--muted);
    font-size: 1.08rem;
}

.hero-info {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;

    margin-top: 24px;

    color: var(--muted);
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;

    margin-top: 32px;
}


/* PROFILE IMAGE */

.hero-image-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image {
    width: 260px;
    height: 320px;

    display: block;

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

    border-radius: 18px;

    border: 3px solid rgba(96, 165, 250, 0.25);

    box-shadow:
            0 0 0 8px rgba(96, 165, 250, 0.04),
            0 25px 60px rgba(0, 0, 0, 0.35);
}


/* BUTTONS */

.btn {
    display: inline-block;

    padding: 12px 22px;

    border-radius: 8px;

    font-weight: 600;

    transition: 0.2s;
}

.btn-primary {
    background: var(--accent-dark);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
}

.btn-outline {
    border: 1px solid var(--border);
}

.btn-outline:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
}


/* GENERAL */

.section {
    padding: 90px 0;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 12px;
}

.section-description {
    color: var(--muted);

    max-width: 750px;

    margin-bottom: 40px;
}

.section-alt {
    background: var(--bg-soft);
}


/* SKILLS */

.skills-grid {
    display: grid;

    grid-template-columns:
        repeat(auto-fit, minmax(220px, 1fr));

    gap: 18px;
}

.skill-card {
    background: var(--card);

    border: 1px solid var(--border);
    border-radius: 14px;

    padding: 24px;
}

.skill-card h3 {
    color: var(--accent);
    margin-bottom: 12px;
}

.skill-card p {
    color: var(--muted);
}


/* EXPERIENCE */

.timeline {
    display: grid;
    gap: 22px;
}

.experience-card {
    padding: 28px;

    background: var(--card);

    border: 1px solid var(--border);
    border-radius: 14px;
}

.experience-header {
    display: flex;
    justify-content: space-between;

    gap: 20px;

    margin-bottom: 10px;
}

.experience-card h3 {
    font-size: 1.2rem;
}

.experience-card .date {
    color: var(--accent);
    white-space: nowrap;
}

.experience-card p {
    color: var(--muted);
}


/* PROJECT */

.project-card {
    background:
            linear-gradient(
                    135deg,
                    #172033,
                    #111827
            );

    border: 1px solid var(--border);
    border-radius: 16px;

    padding: 30px;
}

.project-card h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.project-card p {
    color: var(--muted);
}

.tags {
    display: flex;
    flex-wrap: wrap;

    gap: 9px;

    margin-top: 20px;
}

.tag {
    border: 1px solid var(--border);

    color: var(--accent);

    padding: 6px 10px;

    border-radius: 999px;

    font-size: 0.85rem;
}


/* EDUCATION */

.education-card {
    background: var(--card);

    border: 1px solid var(--border);
    border-radius: 14px;

    padding: 28px;
}

.education-card p {
    color: var(--muted);
}


/* CONTACT */

.contact-grid {
    display: grid;

    grid-template-columns:
        repeat(auto-fit, minmax(230px, 1fr));

    gap: 18px;
}

.contact-item {
    background: var(--card);

    border: 1px solid var(--border);
    border-radius: 12px;

    padding: 20px;

    transition: 0.2s;
}

a.contact-item:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
}

.contact-item span {
    display: block;

    color: var(--muted);

    font-size: 0.85rem;

    margin-bottom: 6px;
}


/* FOOTER */

footer {
    border-top: 1px solid var(--border);

    padding: 30px 0;

    color: var(--muted);

    text-align: center;
}


/* TABLET */

@media (max-width: 900px) {

    .hero-grid {
        grid-template-columns: 1fr;

        gap: 40px;

        text-align: center;
    }

    .hero-image-wrapper {
        order: -1;
    }

    .hero-image {
        width: 230px;
        height: 280px;
    }

    .hero-info {
        justify-content: center;
    }

    .hero-buttons {
        justify-content: center;
    }

}


/* MOBILE */

@media (max-width: 700px) {

    .nav-links {
        display: none;
    }

    .hero {
        min-height: auto;
        padding: 60px 0;
    }

    .hero h1 {
        font-size: clamp(2.6rem, 13vw, 4rem);
    }

    .hero-image {
        width: 200px;
        height: 245px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-buttons .btn {
        text-align: center;
    }

    .experience-header {
        flex-direction: column;
        gap: 5px;
    }

    .section {
        padding: 65px 0;
    }

}