/* =========================================================
   RESET
   ========================================================= */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #0a0a0a;
    color: #f5f5f5;
    line-height: 1.6;
}


/* =========================================================
   NAVIGATION
   ========================================================= */

.navbar {
    position: fixed;
    top: 0;
    left: 0;

    width: 100%;
    height: 70px;

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

    padding: 0 6vw;

    background: rgba(10, 10, 10, 0.75);

    backdrop-filter: blur(12px);

    z-index: 1000;
}

.nav-logo {
    color: white;
    text-decoration: none;

    font-size: 1.2rem;
    font-weight: bold;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: #aaa;
    text-decoration: none;

    font-size: 0.9rem;

    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: white;
}


/* =========================================================
   GENERAL SECTIONS
   ========================================================= */

.section {
    min-height: 100vh;

    padding: 140px 10vw;

    display: flex;
    flex-direction: column;
    justify-content: center;
}

.section-heading {
    display: flex;
    align-items: center;

    gap: 20px;

    margin-bottom: 70px;
}

.section-heading span,
.section-number {
    color: #777;
    font-family: monospace;
}

.section-heading h2 {
    font-size: clamp(2rem, 5vw, 4rem);
}


/* =========================================================
   HERO
   ========================================================= */

.hero {
    min-height: 100vh;

    display: flex;
    align-items: center;

    padding: 0 10vw;

    position: relative;
    overflow: hidden;
}

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

.hero-subtitle {
    color: #888;

    font-family: monospace;

    margin-bottom: 20px;
}

.hero h1 {
    font-size: clamp(4rem, 10vw, 9rem);

    line-height: 0.9;

    letter-spacing: -0.05em;

    margin-bottom: 40px;
}

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

    color: #aaa;

    font-size: 1.2rem;

    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.button {
    display: inline-block;

    padding: 14px 28px;

    background: white;
    color: black;

    text-decoration: none;

    border-radius: 4px;

    transition:
        transform 0.3s ease,
        background 0.3s ease;
}

.button:hover {
    transform: translateY(-3px);
}

.button-secondary {
    background: transparent;
    color: white;

    border: 1px solid #444;
}


/* =========================================================
   PROFILE
   ========================================================= */

.profile-content {
    display: grid;

    grid-template-columns: 1.5fr 1fr;

    gap: 100px;
}

.profile-text h3 {
    font-size: 2.2rem;

    line-height: 1.2;

    margin-bottom: 30px;
}

.profile-text p {
    color: #aaa;

    margin-bottom: 20px;

    max-width: 650px;
}

.profile-details {
    border-top: 1px solid #333;
}

.detail {
    padding: 20px 0;

    border-bottom: 1px solid #333;

    display: flex;
    flex-direction: column;
}

.detail span {
    color: #666;

    font-size: 0.8rem;

    text-transform: uppercase;

    letter-spacing: 0.1em;
}


/* =========================================================
   INTERESTS
   ========================================================= */

.interest-grid {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 20px;
}

.interest-card {
    padding: 40px;

    border: 1px solid #292929;

    transition:
        transform 0.4s ease,
        border-color 0.4s ease;
}

.interest-card:hover {
    transform: translateY(-8px);

    border-color: #666;
}

.card-number {
    color: #555;

    font-family: monospace;
}

.interest-card h3 {
    font-size: 1.6rem;

    margin: 30px 0 15px;
}

.interest-card p {
    color: #888;
}


/* =========================================================
   PROJECTS
   ========================================================= */

.projects-container {
    display: flex;
    flex-direction: column;

    gap: 2px;
}

.project-card {
    padding: 45px;

    background: #111;

    transition:
        transform 0.4s ease,
        background 0.4s ease;
}

.project-card:hover {
    transform: translateX(10px);

    background: #171717;
}

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

    color: #666;

    font-family: monospace;

    margin-bottom: 25px;
}

.project-card h3 {
    font-size: 2rem;

    margin-bottom: 15px;
}

.project-card p {
    color: #999;

    max-width: 700px;

    margin-bottom: 25px;
}

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

    gap: 8px;
}

.project-tags span {
    padding: 5px 10px;

    border: 1px solid #333;

    color: #777;

    font-size: 0.75rem;
}


/* =========================================================
   EXPERIENCE TIMELINE
   ========================================================= */

.timeline {
    border-left: 1px solid #333;

    margin-left: 20px;
}

.timeline-item {
    position: relative;

    padding: 0 0 70px 60px;
}

.timeline-item::before {
    content: "";

    position: absolute;

    left: -5px;
    top: 5px;

    width: 9px;
    height: 9px;

    border-radius: 50%;

    background: white;
}

.timeline-date {
    color: #666;

    font-family: monospace;

    margin-bottom: 10px;
}

.timeline-content h3 {
    font-size: 2rem;

    margin-bottom: 5px;
}

.timeline-role {
    color: #aaa;

    margin-bottom: 20px;
}

.timeline-content p {
    color: #888;

    max-width: 650px;
}

.placeholder {
    opacity: 0.35;
}


/* =========================================================
   CONTACT
   ========================================================= */

.contact-section {
    min-height: 80vh;

    display: flex;
    align-items: center;

    padding: 120px 10vw;

    background: #111;
}

.contact-content h2 {
    font-size: clamp(3rem, 8vw, 7rem);

    line-height: 0.95;

    margin: 20px 0 30px;
}

.contact-content p {
    color: #888;

    margin-bottom: 30px;
}

.contact-links {
    display: flex;

    gap: 30px;
}

.contact-links a {
    color: white;

    text-decoration: none;

    border-bottom: 1px solid #555;

    padding-bottom: 5px;
}


/* =========================================================
   FOOTER
   ========================================================= */

footer {
    display: flex;

    justify-content: space-between;

    padding: 30px 10vw;

    color: #555;

    font-size: 0.8rem;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {

    .nav-links {
        display: none;
    }

    .section {
        padding: 100px 7vw;
    }

    .hero {
        padding: 0 7vw;
    }

    .profile-content {
        grid-template-columns: 1fr;

        gap: 50px;
    }

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

    .project-card {
        padding: 30px;
    }

    .contact-section {
        padding: 100px 7vw;
    }

    footer {
        padding: 25px 7vw;

        flex-direction: column;

        gap: 10px;
    }
}


/* =========================================================
   SCROLL REVEAL ANIMATIONS
   ========================================================= */

.reveal {
    opacity: 0;

    transform: translateY(60px);

    transition:
        opacity 0.8s ease,
        transform 0.8s ease;
}

.reveal.visible {
    opacity: 1;

    transform: translateY(0);
}
