:root {
    --bg-primary: #0a192f;
    --bg-secondary: #112240;
    --text-primary: #ccd6f6;
    --text-secondary: #8892b0;
    --accent: #64ffda;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 2rem;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(17, 34, 64, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: var(--transition);
}

.navbar:hover {
    background-color: rgba(17, 34, 64, 0.95);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.2);
}

.nav-container {
    display: flex;
    align-items: center;
    gap: 2rem;
    justify-content: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--accent);
}

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

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

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

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 2rem;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.highlight {
    color: var(--accent);
}

.typing-text {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    min-height: 2.4rem;
}

/* Buttons */
.btn {
    padding: 0.8rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    transition: var(--transition);
    margin: 0 1rem;
}

.btn.primary {
    background-color: var(--accent);
    color: var(--bg-primary);
}

.btn.secondary {
    border: 2px solid var(--accent);
    color: var(--accent);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(100, 255, 218, 0.3);
}

/* Skills Section */
.skills {
    padding: 5rem 2rem;
    text-align: center;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.skill-card {
    background-color: var(--bg-secondary);
    padding: 2rem;
    border-radius: 10px;
    transition: var(--transition);
    animation: float 6s ease-in-out infinite;
}

.skill-card:hover {
    transform: translateY(-10px);
}

.skill-card i {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 1rem;
}

/* Projects Section */
.projects {
    padding: 5rem 2rem;
    text-align: center;
    background: transparent;
    backdrop-filter: none;
    margin: 0;
    box-shadow: none;
}

.projects h2 {
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: var(--text-primary);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    padding: 0 1rem;
}

.project-card {
    background-color: var(--bg-secondary);
    border-radius: 15px;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(10px);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 15px rgba(100, 255, 218, 0.2);
}

.project-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: var(--transition);
}

.project-card:hover img {
    transform: scale(1.05);
}

.project-card h3 {
    padding: 1.5rem 1.5rem 0.5rem;
    color: var(--text-primary);
    font-size: 1.5rem;
    margin: 0;
}

.project-card p {
    padding: 0 1.5rem;
    color: var(--text-secondary);
    margin: 0;
    flex-grow: 1;
    line-height: 1.6;
}

.tech-stack {
    padding: 1rem 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-top: auto;
}

.tech-stack span {
    background-color: var(--bg-primary);
    color: var(--accent);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    transition: var(--transition);
}

.tech-stack span:hover {
    background-color: var(--accent);
    color: var(--bg-primary);
    transform: translateY(-2px);
}

.project-card .btn {
    margin: 1rem 1.5rem;
    display: inline-block;
    width: calc(100% - 3rem);
    text-align: center;
}

/* Contact Section */
.contact {
    padding: 5rem 2rem;
    text-align: center;
}

.contact-form {
    max-width: 600px;
    margin: 3rem auto;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    margin-bottom: 1rem;
    background-color: var(--bg-secondary);
    border: 1px solid var(--text-secondary);
    border-radius: 5px;
    color: var(--text-primary);
}

.contact-form textarea {
    height: 150px;
    resize: vertical;
}

/* Footer */
footer {
    padding: 2rem;
    text-align: center;
    background-color: var(--bg-secondary);
}

.social-links {
    margin-bottom: 1rem;
}

.social-links a {
    color: var(--text-primary);
    font-size: 1.5rem;
    margin: 0 1rem;
    transition: var(--transition);
}

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

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-primary);
}

/* Mobile Anpassungen */
@media (max-width: 768px) {
    .navbar {
        top: 1rem;
        width: 95%;
        padding: 0.8rem 1.5rem;
    }

    .mobile-menu-btn {
        display: block;
    }

    .nav-container {
        justify-content: space-between;
    }

    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 90%;
        background-color: rgba(17, 34, 64, 0.95);
        border-radius: 20px;
        flex-direction: column;
        align-items: center;
        padding: 2rem;
        transition: var(--transition);
        display: flex;
        backdrop-filter: blur(10px);
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links li {
        margin: 1rem 0;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .btn {
        display: block;
        margin: 1rem 0;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 3rem auto;
    }

    .project-card {
        max-width: 100%;
    }
}

/* Animated Background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(135deg, var(--bg-primary), var(--bg-secondary));
    z-index: -1;
}

/* Glass Effect für Sections */
section {
    background: rgba(10, 25, 47, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    margin: 2rem;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* Floating Animation für Skill Cards */
.skill-card {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

/* Glowing Effect für Buttons */
.btn.primary {
    position: relative;
    overflow: hidden;
}

/* Hover Effect für Navigation Links */
.nav-links a {
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Card Hover Effects */
.project-card {
    position: relative;
    overflow: hidden;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 15px rgba(100, 255, 218, 0.2);
}

/* Social Links Hover Effect */
.social-links a {
    position: relative;
    display: inline-block;
    transition: transform 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-5px) scale(1.1);
}

/* Form Input Focus Effects */
.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 10px rgba(100, 255, 218, 0.2);
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, var(--accent), var(--accent));
    transform-origin: 0%;
    z-index: 1001;
}

/* Section Transitions */
section {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

section.visible {
    opacity: 1;
    transform: translateY(0);
} 