:root {
    --bg-color: #0f172a;
    --bg-alt: #1e293b;
    --primary: #38bdf8;
    --secondary: #818cf8;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --accent: #22d3ee;

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Outfit', sans-serif;

    --transition: all 0.3s ease;
    --radius: 12px;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    cursor: none;
    /* Custom cursor */
}

/* Custom Cursor */
.cursor-dot,
.cursor-outline {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9999;
    pointer-events: none;
}

.cursor-dot {
    width: 5px;
    height: 5px;
    background-color: var(--primary);
}

.cursor-outline {
    width: 30px;
    height: 30px;
    border: 1px solid var(--primary);
    transition: transform 0.1s;
}

a,
button {
    cursor: none;
    /* Hide default cursor to use custom one consistently */
}

/* Layout Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 100px 0;
}

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

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 60px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 0;
    backdrop-filter: blur(10px);
    background: rgba(15, 23, 42, 0.8);
    z-index: 1000;
    transition: var(--transition);
}

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

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-main);
    text-decoration: none;
    letter-spacing: -1px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

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

.hamburger {
    display: none;
    cursor: pointer;
}

/* Buttons */
.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--bg-color);
    box-shadow: 0 4px 15px rgba(56, 189, 248, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(56, 189, 248, 0.4);
}

.btn-secondary {
    border: 2px solid var(--text-muted);
    color: var(--text-main);
    margin-left: 15px;
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    /* header.png was removed by user, reverting to clean dark theme */
}

/* ... existing styles ... */

.hero-text {
    max-width: 600px;
}

.greeting {
    color: var(--primary);
    font-weight: 600;
    font-size: 1.2rem;
    display: block;
    margin-bottom: 10px;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 20px;
    font-weight: 700;
}

.subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

/* Note: decorative shapes might be less visible or needed with a background image, 
   but we can keep them for a subtle effect or remove them. 
   Let's reduce their opacity to make the text stand out more against the photo. */
.hero-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    z-index: 1;
    opacity: 0.5;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: var(--primary);
    top: -100px;
    right: -100px;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: var(--secondary);
    bottom: -50px;
    left: -50px;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

/* Profile Image Styling */
.profile-img {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: var(--radius);
    border: 2px solid var(--primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: var(--transition);
    display: block;
    margin: 0 auto;
    object-fit: cover;
}

.profile-img:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 40px rgba(56, 189, 248, 0.3);
}

/* Removed .img-placeholder as it is replaced by .profile-img, 
   but keeping the class definition doesn't hurt if we revert. */
.img-placeholder {
    width: 100%;
    height: 400px;
    background: var(--bg-alt);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: var(--text-muted);
    border: 1px dashed var(--text-muted);
}

.about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

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

.highlight-text {
    border-left: 3px solid var(--primary);
    padding-left: 15px;
    font-style: italic;
    background: rgba(56, 189, 248, 0.05);
    padding: 10px;
    border-radius: 0 8px 8px 0;
}

.stats {
    display: flex;
    gap: 40px;
    margin-top: 30px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
}

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

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

.timeline::before {
    content: '';
    position: absolute;
    left: 50px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--bg-color);
}

.timeline-item {
    margin-bottom: 50px;
    position: relative;
    padding-left: 80px;
}

.timeline-dot {
    position: absolute;
    left: 41px;
    top: 0;
    width: 20px;
    height: 20px;
    background: var(--primary);
    border-radius: 50%;
    border: 4px solid var(--bg-alt);
}

.timeline-date {
    font-size: 0.9rem;
    color: var(--primary);
    margin-bottom: 5px;
}

.timeline-content {
    background: var(--bg-color);
    padding: 25px;
    border-radius: var(--radius);
    transition: var(--transition);
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Cards (Education) */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: var(--bg-alt);
    padding: 30px;
    border-radius: var(--radius);
    transition: var(--transition);
    border: 1px solid transparent;
}

.card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
}

.card-icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.card .date {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 5px 0 15px;
}

/* Skills */
.skill-category h3 {
    margin-bottom: 20px;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.skill-tags span {
    background: rgba(56, 189, 248, 0.1);
    color: var(--primary);
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 0.95rem;
    border: 1px solid rgba(56, 189, 248, 0.2);
    transition: var(--transition);
}

.skill-tags span:hover {
    background: var(--primary);
    color: var(--bg-color);
}

/* Contact */
.contact-section {
    text-align: center;
}

.contact-intro {
    max-width: 600px;
    margin: 0 auto 50px;
    color: var(--text-muted);
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.contact-card {
    background: var(--bg-alt);
    padding: 30px 50px;
    border-radius: var(--radius);
    color: var(--text-main);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    transition: var(--transition);
    border: 1px solid transparent;
}

.contact-card:hover {
    border-color: var(--primary);
    background: rgba(56, 189, 248, 0.05);
}

.contact-card i {
    font-size: 2rem;
    color: var(--primary);
}

/* LinkedIn Badge */
.linkedin-badge {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

.LI-profile-badge {
    border-radius: var(--radius);
    overflow: hidden;
}

/* Impressum */
.impressum-content {
    max-width: 800px;
    margin: 0 auto;
}

.impressum-section {
    background: var(--bg-alt);
    padding: 30px;
    border-radius: var(--radius);
    margin-bottom: 30px;
    border: 1px solid transparent;
    transition: var(--transition);
}

.impressum-section:hover {
    border-color: var(--primary);
}

.impressum-section h3 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.impressum-section p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 10px;
}

.impressum-section a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

.impressum-section a:hover {
    text-decoration: underline;
}

.privacy-content h4 {
    color: var(--secondary);
    margin: 20px 0 10px 0;
    font-size: 1.1rem;
}

.privacy-content h4:first-child {
    margin-top: 0;
}

/* Footer */
.footer {
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid var(--bg-alt);
    color: var(--text-muted);
}

.social-links {
    margin-top: 20px;
}

.social-links a {
    color: var(--text-main);
    font-size: 1.2rem;
    margin: 0 10px;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--primary);
}

/* Animations */
.fade-in-up {
    animation: fadeInUp 1s ease forwards;
    opacity: 0;
    transform: translateY(30px);
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .section {
        padding: 60px 0;
    }

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

    /* Navbar */
    .hamburger {
        display: block;
        width: 30px;
        height: 20px;
        position: relative;
    }

    .hamburger span {
        display: block;
        width: 100%;
        height: 3px;
        background: var(--text-main);
        position: absolute;
        transition: var(--transition);
    }

    .hamburger span:nth-child(1) {
        top: 0;
    }

    .hamburger span:nth-child(2) {
        top: 50%;
        transform: translateY(-50%);
    }

    .hamburger span:nth-child(3) {
        bottom: 0;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(15, 23, 42, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 20px 0;
        gap: 15px;
    }

    .nav-links.active {
        display: flex;
    }

    /* Hero */
    .hero h1 {
        font-size: 2.5rem;
        line-height: 1.2;
    }

    .subtitle {
        font-size: 1.1rem;
    }

    .hero-btns {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .btn-secondary {
        margin-left: 0;
    }

    /* About */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .stats {
        gap: 20px;
    }

    .stat-number {
        font-size: 2rem;
    }

    /* Timeline */
    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        padding-left: 50px;
    }

    .timeline-dot {
        left: 11px;
    }

    .timeline-content {
        padding: 20px;
    }

    /* Cards */
    .cards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .card {
        padding: 25px;
    }

    /* Skills */
    .skill-tags {
        gap: 10px;
    }

    .skill-tags span {
        padding: 8px 16px;
        font-size: 0.9rem;
    }

    /* Contact */
    .contact-info {
        flex-direction: column;
        align-items: center;
    }

    .contact-card {
        width: 100%;
        max-width: 300px;
        padding: 25px 30px;
    }

    /* About Image Mobile */
    .about-image {
        order: -1;
    }

    .profile-img {
        max-width: 300px;
    }

    /* Custom cursor - hide on mobile */
    .cursor-dot,
    .cursor-outline {
        display: none;
    }

    body {
        cursor: auto;
    }

    a,
    button {
        cursor: auto;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .greeting {
        font-size: 1rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .btn-primary,
    .btn-secondary {
        padding: 10px 25px;
        font-size: 0.9rem;
    }

    .timeline-content {
        padding: 15px;
    }

    .card {
        padding: 20px;
    }

    .contact-card {
        padding: 20px 25px;
    }

    /* Impressum Mobile */
    .impressum-section {
        padding: 20px;
    }

    .impressum-section h3 {
        font-size: 1.2rem;
    }

    .privacy-content h4 {
        font-size: 1rem;
    }

    /* LinkedIn Badge Mobile */
    .linkedin-badge {
        margin-top: 30px;
    }
}