/* CSS Stylesheet - Fabian André Klumbies Landingpage */

:root {
    --navy-dark: #0a192f;
    --navy-medium: #112240;
    --navy-light: #233554;
    --navy-bg: #0f172a;
    --text-main: #e2e8f0;
    --text-muted: #94a3b8;
    --orange-contrast: #ff6b00;
    --orange-hover: #e05e00;
    --white: #ffffff;
    --light-bg: #f8fafc;
    --light-text: #1e293b;
    --light-muted: #64748b;
    --border-color: #334155;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    background-color: var(--navy-bg);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navbar */
.navbar {
    background-color: rgba(10, 25, 47, 0.85);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(51, 65, 85, 0.5);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}
/* Container für die beiden Spalten */
.timeline-container {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Teilt den Platz in zwei gleich große Spalten */
    gap: 40px; /* Abstand zwischen den beiden Spalten */
    align-items: start;
}

/* Stil für die einzelnen Spalten */
.timeline-column {
    display: flex;
    flex-direction: column;
}

/* Verkleinert den Abstand der Überschriften innerhalb der Spalten */
.timeline-column .section-header {
    margin-bottom: 25px;
    text-align: left; /* Richtet die Titel linksbündig aus */
}

/* Responsives Design: Auf kleineren Bildschirmen (Tablets/Smartphones) untereinander anzeigen */
@media (max-width: 992px) {
    .timeline-container {
        grid-template-columns: 1fr; /* Schaltet auf eine Spalte um */
        gap: 50px; /* Größerer Abstand nach unten, wenn sie untereinander stehen */
    }
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.logo .dot {
    color: var(--orange-contrast);
}

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

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

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

.nav-links .btn-nav {
    border: 1px solid var(--orange-contrast);
    color: var(--orange-contrast);
    padding: 8px 16px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.nav-links .btn-nav:hover {
    background-color: rgba(255, 107, 0, 0.1);
    color: var(--white);
}

/* Hero Section */
.hero {
    padding: 160px 0 80px 0;
    background: radial-gradient(circle at top right, rgba(255, 107, 0, 0.05), transparent 45%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 64px;
    align-items: center;
}

@media (max-width: 968px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    .hero-image-container {
        order: -1;
        max-width: 320px;
        margin: 0 auto;
    }
}

.badge {
    display: inline-block;
    background-color: rgba(255, 107, 0, 0.1);
    color: var(--orange-contrast);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.hero-text h1 {
    font-size: 48px;
    font-weight: 700;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 12px;
}

.hero-text h2 {
    font-size: 22px;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.lead {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 640px;
}

.hero-cta {
    display: flex;
    gap: 16px;
}

@media (max-width: 968px) {
    .hero-cta {
        justify-content: center;
    }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--orange-contrast);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--orange-hover);
}

.btn-secondary {
    border: 1px solid var(--border-color);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: var(--text-muted);
}

.btn-block {
    display: block;
    text-align: center;
    width: 100%;
}

/* Hero Image */
.hero-image-container {
    position: relative;
}

.hero-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    filter: grayscale(20%) contrast(110%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    z-index: 2;
    position: relative;
}

.image-accent {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid var(--orange-contrast);
    top: 16px;
    left: 16px;
    border-radius: 8px;
    z-index: 1;
}

/* Stats Section */
.stats {
    background-color: var(--navy-dark);
    padding: 40px 0;
    border-top: 1px solid rgba(51, 65, 85, 0.3);
    border-bottom: 1px solid rgba(51, 65, 85, 0.3);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
}

.stat-number {
    display: block;
    font-size: 36px;
    font-weight: 700;
    color: var(--orange-contrast);
    margin-bottom: 4px;
}

.stat-label {
    font-size: 13px;
    color: var(--text-muted);
}

/* Sections */
.section {
    padding: 100px 0;
}

.section-light {
    background-color: var(--light-bg);
    color: var(--light-text);
}

.section-header {
    margin-bottom: 60px;
}

.section-subtitle {
    display: block;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--orange-contrast);
    font-weight: 600;
    margin-bottom: 8px;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--white);
}

.section-light .section-title {
    color: var(--light-text);
}

/* Profile Grid */
.profile-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

@media (max-width: 768px) {
    .profile-grid {
        grid-template-columns: 1fr;
    }
}

.profile-card {
    background-color: var(--white);
    padding: 32px;
    border-radius: 6px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    border-top: 4px solid var(--navy-dark);
}

.profile-card h3 {
    font-size: 18px;
    color: var(--light-text);
    margin-bottom: 16px;
}

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

/* Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 160px;
    height: 100%;
    width: 2px;
    background-color: var(--navy-light);
}

@media (max-width: 768px) {
    .timeline::before {
        left: 16px;
    }
}

.timeline-item {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 40px;
    margin-bottom: 56px;
    position: relative;
}

@media (max-width: 768px) {
    .timeline-item {
        grid-template-columns: 1fr;
        gap: 12px;
        padding-left: 40px;
    }
}

.timeline-date {
    font-size: 14px;
    font-weight: 600;
    color: var(--orange-contrast);
    text-align: right;
    padding-top: 2px;
}

@media (max-width: 768px) {
    .timeline-date {
        text-align: left;
    }
}

.timeline-content h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 4px;
}

.timeline-content h4 {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.timeline-content p {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.timeline-content ul {
    list-style: none;
}

.timeline-content li {
    font-size: 14px;
    color: var(--text-muted);
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
}

.timeline-content li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--orange-contrast);
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }
}

.project-card {
    background-color: var(--white);
    padding: 32px;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.02);
    transition: transform 0.2s ease;
}

.project-card:hover {
    transform: translateY(-4px);
}

.project-tag {
    display: inline-block;
    background-color: var(--light-bg);
    color: var(--navy-light);
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.project-card h3 {
    font-size: 18px;
    color: var(--light-text);
    margin-bottom: 8px;
}

.project-card p {
    font-size: 13px;
    color: var(--light-muted);
    margin-bottom: 12px;
}

.project-card .project-desc {
    font-size: 14px;
    color: var(--light-text);
    border-top: 1px solid #edf2f7;
    padding-top: 12px;
    margin-top: 12px;
}

/* Skills Section */
.skills-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

@media (max-width: 968px) {
    .skills-container {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

.skills-block h3 {
    font-size: 18px;
    margin-bottom: 24px;
    border-left: 3px solid var(--orange-contrast);
    padding-left: 12px;
}

.skills-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skills-tags span {
    background-color: var(--navy-medium);
    border: 1px solid var(--border-color);
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 13px;
    color: var(--text-main);
}

.basic-tags span {
    display: block;
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--border-color);
    padding: 10px 0;
    border-radius: 0;
}

/* Contact Section */
.section-dark {
    background-color: var(--navy-dark);
    border-top: 1px solid var(--border-color);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 64px;
    align-items: center;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.contact-text h2 {
    font-size: 32px;
    color: var(--white);
    margin-bottom: 16px;
}

.contact-text p {
    color: var(--text-muted);
    margin-bottom: 32px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.contact-item .icon {
    font-size: 20px;
    color: var(--orange-contrast);
}

.contact-item a {
    color: var(--text-main);
    text-decoration: none;
    font-size: 16px;
}

.contact-item a:hover {
    color: var(--orange-contrast);
}

.action-box {
    background-color: var(--navy-medium);
    padding: 40px;
    border-radius: 6px;
    border: 1px solid var(--border-color);
}

.action-box h3 {
    font-size: 20px;
    color: var(--white);
    margin-bottom: 12px;
}

.action-box p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 24px;
}

/* Footer */
footer {
    background-color: #050c16;
    padding: 32px 0;
    border-top: 1px solid rgba(51, 65, 85, 0.2);
    font-size: 13px;
    color: var(--text-muted);
}

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

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

.footer-meta {
    display: flex;
    gap: 24px;
}
