/* =========================================
   PATRICK-JORDAN.DE
   VERSION 0.1
========================================= */

:root {
    --background: #07101c;
    --background-light: #0b1625;
    --card: #0d1a2b;
    --card-hover: #11243a;

    --text: #f4f7fb;
    --text-muted: #9baabc;

    --accent: #36a9ff;
    --accent-light: #67c1ff;

    --border: rgba(255, 255, 255, 0.10);

    --max-width: 1180px;
}


/* RESET */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--background);
    color: var(--text);

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    line-height: 1.6;
}


/* ALLGEMEIN */

.container {
    width: min(90%, var(--max-width));
    margin: 0 auto;
}

a {
    color: inherit;
    text-decoration: none;
}

span {
    color: var(--accent);
}


/* =========================================
   NAVIGATION
========================================= */

.header {
    position: sticky;
    top: 0;
    z-index: 100;

    background: rgba(7, 16, 28, 0.92);
    border-bottom: 1px solid var(--border);
}

.navigation {
    min-height: 75px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.logo span {
    color: var(--accent);
}

nav {
    display: flex;
    gap: 32px;
}

nav a {
    color: var(--text-muted);
    font-size: 0.9rem;

    transition: 0.2s;
}

nav a:hover {
    color: var(--accent);
}


/* =========================================
   HERO
========================================= */

.hero {
    min-height: calc(100vh - 75px);

    display: flex;
    align-items: center;

    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";

    position: absolute;

    width: 650px;
    height: 650px;

    right: -250px;
    top: 0;

    background:
        radial-gradient(
            circle,
            rgba(54, 169, 255, 0.15),
            transparent 65%
        );

    pointer-events: none;
}

.hero-content {
    padding: 110px 0;
}

.version {
    display: inline-block;

    color: var(--text-muted);

    border: 1px solid var(--border);

    padding: 8px 13px;
    margin-bottom: 45px;

    font-family: monospace;
    font-size: 0.8rem;
}

.eyebrow {
    color: var(--accent);

    font-size: 0.78rem;
    font-weight: bold;

    letter-spacing: 2px;

    margin-bottom: 20px;
}

h1 {
    max-width: 950px;

    font-size: clamp(3rem, 7vw, 6.5rem);

    line-height: 0.98;
    letter-spacing: -4px;

    margin-bottom: 35px;
}

h1 span {
    color: var(--text-muted);
}

.hero-text {
    max-width: 700px;

    color: var(--text-muted);

    font-size: 1.15rem;

    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}


/* BUTTONS */

.button {
    display: inline-block;

    padding: 14px 23px;

    border-radius: 4px;

    font-size: 0.9rem;
    font-weight: bold;

    transition: 0.2s;
}

.primary {
    background: var(--accent);
    color: #03101b;
}

.primary:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
}

.secondary {
    border: 1px solid var(--border);
    color: var(--text);
}

.secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
}


/* =========================================
   SEKTIONEN
========================================= */

.section {
    padding: 130px 0;
}

.section-dark {
    background: var(--background-light);
}

.section-number {
    color: var(--accent);

    font-family: monospace;

    font-size: 0.8rem;

    letter-spacing: 1px;

    margin-bottom: 25px;
}

h2 {
    max-width: 850px;

    font-size: clamp(2.5rem, 5vw, 4.8rem);

    line-height: 1.05;

    letter-spacing: -2px;

    margin-bottom: 50px;
}

h2 span {
    color: var(--text-muted);
}

.section-intro {
    max-width: 680px;

    color: var(--text-muted);

    font-size: 1.05rem;

    margin-bottom: 50px;
}


/* =========================================
   ÜBER MICH
========================================= */

.text-grid {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 60px;

    max-width: 950px;
}

.text-grid p {
    color: var(--text-muted);
    font-size: 1.05rem;
}


/* =========================================
   TIMELINE
========================================= */

.timeline {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 15px;
}

.timeline-card {
    min-height: 270px;

    padding: 30px;

    border: 1px solid var(--border);

    background: var(--card);

    transition: 0.25s;
}

.timeline-card:hover {
    transform: translateY(-5px);
    border-color: rgba(54, 169, 255, 0.5);
}

.timeline-card.active {
    border-color: var(--accent);
}

.timeline-year {
    display: block;

    font-family: monospace;

    margin-bottom: 55px;
}

.timeline-card h3 {
    font-size: 1.3rem;

    margin-bottom: 15px;
}

.timeline-card p {
    color: var(--text-muted);

    font-size: 0.9rem;
}


/* =========================================
   PROJEKTE
========================================= */

.project-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 20px;
}

.project-card {
    position: relative;

    min-height: 420px;

    padding: 35px;

    background: var(--card);

    border: 1px solid var(--border);

    transition: 0.25s;
}

.project-card:hover {
    background: var(--card-hover);

    transform: translateY(-5px);

    border-color:
        rgba(54, 169, 255, 0.5);
}

.status {
    display: inline-block;

    color: var(--accent);

    border:
        1px solid rgba(54, 169, 255, 0.4);

    padding: 5px 9px;

    font-family: monospace;

    font-size: 0.7rem;

    margin-bottom: 55px;
}

.status.learning {
    color: #c4ccd6;

    border-color:
        rgba(255, 255, 255, 0.15);
}

.project-number {
    color: var(--text-muted);

    font-family: monospace;

    font-size: 0.75rem;

    margin-bottom: 10px;
}

.project-card h3 {
    font-size: 2rem;

    margin-bottom: 20px;
}

.project-card > p:not(.project-number) {
    color: var(--text-muted);
}

.tags {
    position: absolute;

    bottom: 30px;
    left: 35px;
    right: 35px;

    display: flex;

    gap: 7px;

    flex-wrap: wrap;
}

.tags span {
    padding: 5px 8px;

    background:
        rgba(54, 169, 255, 0.08);

    border:
        1px solid rgba(54, 169, 255, 0.15);

    color: var(--text-muted);

    font-size: 0.7rem;
}


/* =========================================
   HOMELAB
========================================= */

.homelab-grid {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 80px;

    align-items: center;
}

.terminal {
    background: #030810;

    border:
        1px solid rgba(54, 169, 255, 0.35);

    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.3);
}

.terminal-header {
    height: 45px;

    display: flex;

    align-items: center;

    gap: 7px;

    padding: 0 15px;

    border-bottom:
        1px solid var(--border);
}

.terminal-header span {
    width: 9px;
    height: 9px;

    border-radius: 50%;

    background: #506070;
}

.terminal-header p {
    margin-left: auto;

    color: var(--text-muted);

    font-family: monospace;

    font-size: 0.7rem;
}

.terminal-body {
    padding: 30px;

    font-family: monospace;

    font-size: 0.9rem;
}

.terminal-body p {
    display: flex;

    justify-content: space-between;

    padding: 9px 0;

    color: #b9c8d7;
}

.terminal-body strong {
    color: var(--accent);
}

.terminal-body span {
    color: #65d895;
}

.terminal-body .cursor {
    justify-content: flex-start;

    gap: 10px;

    margin-top: 20px;
}


/* =========================================
   LERNEN
========================================= */

.learning-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    border-top:
        1px solid var(--border);

    border-bottom:
        1px solid var(--border);
}

.learning-grid div {
    padding: 35px 25px;

    border-right:
        1px solid var(--border);
}

.learning-grid div:last-child {
    border-right: none;
}

.learning-grid strong {
    color: var(--accent);

    font-family: monospace;

    font-size: 0.75rem;
}

.learning-grid p {
    margin-top: 25px;

    font-weight: bold;
}


/* =========================================
   KONTAKT
========================================= */

.contact {
    padding: 140px 0;

    background:
        linear-gradient(
            135deg,
            #081525,
            #07101c
        );

    border-top:
        1px solid var(--border);
}

.contact p:not(.section-number) {
    color: var(--text-muted);

    margin-bottom: 35px;

    max-width: 550px;
}


/* =========================================
   FOOTER
========================================= */

footer {
    padding: 30px 0;

    border-top:
        1px solid var(--border);
}

.footer-content {
    display: flex;

    justify-content: space-between;

    color: var(--text-muted);

    font-family: monospace;

    font-size: 0.75rem;
}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 900px) {

    nav {
        display: none;
    }

    .timeline {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .project-grid {
        grid-template-columns: 1fr;
    }

    .homelab-grid {
        grid-template-columns: 1fr;
    }

    .learning-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .text-grid {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 600px) {

    h1 {
        letter-spacing: -2px;
    }

    .section {
        padding: 90px 0;
    }

    .timeline {
        grid-template-columns: 1fr;
    }

    .learning-grid {
        grid-template-columns: 1fr;
    }

    .learning-grid div {
        border-right: none;

        border-bottom:
            1px solid var(--border);
    }

    .footer-content {
        flex-direction: column;

        gap: 10px;
    }

}