
/* =================================
   1. GLOBAL STYLES
================================= */

:root {
    --background: #ffffff;
    --surface: #f7f8fa;
    --text: #17191f;
    --muted: #687080;
    --accent: #2457d6;
    --border: #e5e7eb;
    --max-width: 1150px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

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

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

ul {
    list-style: none;
}

section {
    padding: 110px 7%;
}

.section-label {
    color: var(--accent);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

section h2 {
    font-size: 36px;
    line-height: 1.2;
    margin-bottom: 25px;
}

/* =================================
   2. NAVIGATION
================================= */

.site-header {
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--border);
}

.navigation {
    max-width: var(--max-width);
    min-height: 75px;
    margin: auto;
    padding: 0 7%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
}

.logo {
    font-size: 19px;
    font-weight: 800;
    letter-spacing: 1px;
    white-space: nowrap;
}

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

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

.nav-links a {
    color: var(--muted);
    font-size: 14px;
    transition: color 0.2s ease;
}

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

/* =================================
   3. HERO SECTION
================================= */

.hero {
    max-width: var(--max-width);
    min-height: 620px;
    margin: auto;
    padding: 100px 7%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.hero-content {
    flex: 1;
    max-width: 750px;
}

.hero-label {
    color: var(--accent);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 22px;
}

.hero h1 {
    max-width: 750px;
    font-size: clamp(38px, 5vw, 64px);
    line-height: 1.12;
    letter-spacing: -2px;
    margin-bottom: 25px;
}

.hero-description {
    max-width: 650px;
    color: var(--muted);
    font-size: 17px;
    margin-bottom: 32px;
}

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

.button-primary,
.button-secondary {
    display: inline-block;
    padding: 13px 23px;
    border-radius: 7px;
    font-size: 14px;
    font-weight: 600;
    transition: 0.2s ease;
}

.button-primary {
    background: var(--accent);
    color: #ffffff;
    border: 1px solid var(--accent);
}

.button-primary:hover {
    background: #1945b5;
    transform: translateY(-2px);
}

.button-secondary {
    border: 1px solid var(--border);
    color: var(--text);
}

.button-secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* Profile picture */

.hero-image {
    flex: 0 0 200px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--accent);
}

.hero-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}
/* =================================
   4. ABOUT SECTION
================================= */

.about {
    background: var(--surface);
}

.about-container {
    max-width: var(--max-width);
    margin: auto;
}

.about-description {
    max-width: 800px;
    color: var(--muted);
    font-size: 17px;
}

/* =================================
   5. TECHNICAL EXPERTISE
================================= */

.skills-container {
    max-width: var(--max-width);
    margin: auto;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 35px;
}

.skill-card {
    padding: 27px;
    border: 1px solid var(--border);
    border-radius: 9px;
    background: #ffffff;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.skill-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
}

.skill-card h3 {
    font-size: 18px;
    margin-bottom: 12px;
}

.skill-card p {
    color: var(--muted);
    font-size: 14px;
}

/* =================================
   6. FEATURED PROJECTS
================================= */

.projects {
    background: var(--surface);
}

.projects-container {
    max-width: var(--max-width);
    margin: auto;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
    margin-top: 35px;
}

.project-card {
    padding: 30px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 9px;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.project-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
}

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

.project-card p {
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 20px;
}

.project-status {
    display: inline-block;
    color: var(--accent);
    background: #edf2ff;
    padding: 5px 11px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

/* =================================
   7. ENGINEERING JOURNAL
================================= */

.journal-container {
    max-width: var(--max-width);
    margin: auto;
}

.journal-content {
    max-width: 750px;
    color: var(--muted);
}

/* =================================
   8. CURRENTLY EXPLORING
================================= */

.exploring {
    background: var(--surface);
}

.exploring-container {
    max-width: var(--max-width);
    margin: auto;
}

.exploring-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 25px;
}

.exploring-list li {
    padding: 10px 17px;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: #ffffff;
    font-size: 14px;
}

/* =================================
   9. CONTACT
================================= */

.contact-container {
    max-width: var(--max-width);
    margin: auto;
}

.contact-description {
    max-width: 650px;
    color: var(--muted);
    margin-bottom: 25px;
}

.contact-link {
    color: var(--accent);
    font-weight: 600;
}

/* =================================
   10. FOOTER
================================= */

.site-footer {
    padding: 30px 7%;
    border-top: 1px solid var(--border);
    text-align: center;
}

.site-footer p {
    color: var(--muted);
    font-size: 13px;
}

/* =================================
   11. RESPONSIVE DESIGN
================================= */

@media (max-width: 850px) {
    .navigation {
        flex-direction: column;
        justify-content: center;
        padding-top: 15px;
        padding-bottom: 15px;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 650px) {
    section {
        padding: 75px 6%;
    }

    .hero {
        min-height: auto;
        padding: 75px 6%;
        flex-direction: column-reverse;
        align-items: flex-start;
        gap: 30px;
    }

    .hero-image {
        flex-basis: 85px;
        width: 85px;
        height: 85px;
    }

    .hero h1 {
        font-size: 39px;
        letter-spacing: -1px;
    }

    .hero-description {
        font-size: 15px;
    }

    section h2 {
        font-size: 30px;
    }

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

    .nav-links {
        gap: 12px;
    }

    .nav-links a {
        font-size: 12px;
    }
}
