/* Grundlegende Styles */
:root {
    --primary-color: #00d9ff;
    --secondary-color: #7928ca;
    --dark-bg: #0f1624;
    --darker-bg: #080c16;
    --light-text: #f8f8f8;
    --gray-text: #a1a1a1;
    --card-bg: #162032;
    --border-color: #2a3649;
    --success-color: #00cc66;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--dark-bg);
    color: var(--light-text);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(15, 22, 36, 0.97), rgba(8, 12, 22, 0.97)), 
                url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400' viewBox='0 0 800 800'%3E%3Cg fill='none' stroke='%23024' stroke-width='1'%3E%3Cpath d='M769 229L1037 260.9M927 880L731 737 520 660 309 538 40 599 295 764 126.5 879.5 40 599-197 493 102 382-31 229 126.5 79.5-69-63'/%3E%3Cpath d='M-31 229L237 261 390 382 603 493 308.5 537.5 101.5 381.5M370 905L295 764'/%3E%3Cpath d='M520 660L578 842 731 737 840 599 603 493 520 660 295 764 309 538 390 382 539 269 769 229 577.5 41.5 370 105 295 -36 126.5 79.5 237 261 102 382 40 599 -69 737 127 880'/%3E%3Cpath d='M520-140L578.5 42.5 731-63M603 493L539 269 237 261 370 105M902 382L539 269M390 382L102 382'/%3E%3Cpath d='M-222 42L126.5 79.5 370 105 539 269 577.5 41.5 927 80 769 229 902 382 603 493 731 737M295-36L577.5 41.5M578 842L295 764M40-201L127 80M102 382L-261 269'/%3E%3C/g%3E%3Cg fill='%2300d9ff'%3E%3Ccircle cx='769' cy='229' r='5'/%3E%3Ccircle cx='539' cy='269' r='5'/%3E%3Ccircle cx='603' cy='493' r='5'/%3E%3Ccircle cx='731' cy='737' r='5'/%3E%3Ccircle cx='520' cy='660' r='5'/%3E%3Ccircle cx='309' cy='538' r='5'/%3E%3Ccircle cx='295' cy='764' r='5'/%3E%3Ccircle cx='40' cy='599' r='5'/%3E%3Ccircle cx='102' cy='382' r='5'/%3E%3Ccircle cx='127' cy='80' r='5'/%3E%3Ccircle cx='370' cy='105' r='5'/%3E%3Ccircle cx='578' cy='42' r='5'/%3E%3Ccircle cx='237' cy='261' r='5'/%3E%3Ccircle cx='390' cy='382' r='5'/%3E%3C/g%3E%3C/svg%3E");
    z-index: -1;
    opacity: 0.8;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%237928ca' fill-opacity='0.1' fill-rule='evenodd'/%3E%3C/svg%3E");
    z-index: -1;
    opacity: 0.4;
}

.container {
    width: 100%;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: var(--light-text);
    transition: color 0.3s ease;
}

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

ul {
    list-style: none;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    animation: fadeInDown 0.8s ease-out forwards;
    position: relative;
}

.section-header h2::before {
    content: '<';
    position: absolute;
    left: -30px;
    opacity: 0.4;
    color: var(--primary-color);
    font-family: 'Fira Code', monospace;
    animation: blinkCursor 1.5s infinite;
}

.section-header h2::after {
    content: '/>';
    position: absolute;
    right: -40px;
    opacity: 0.4;
    color: var(--primary-color);
    font-family: 'Fira Code', monospace;
    animation: blinkCursor 1.5s infinite;
}

.section-line {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    margin: 0 auto;
    border-radius: 2px;
    animation: shimmer 3s infinite linear;
    background-size: 200% 100%;
}

.highlight {
    color: var(--primary-color);
    animation: colorCycle 8s infinite;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 12px 25px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    color: var(--light-text);
    border-radius: 5px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.primary-btn {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    color: var(--light-text);
    position: relative;
    overflow: hidden;
}

.primary-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 217, 255, 0.4);
}

.primary-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.primary-btn:hover::before {
    left: 100%;
}

.secondary-btn {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.secondary-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: all 0.4s ease;
    z-index: -1;
}

.secondary-btn:hover::before {
    width: 100%;
}

.secondary-btn:hover {
    color: var(--light-text);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 217, 255, 0.3);
    background: rgba(0, 217, 255, 0.1);
}

.small-btn {
    padding: 8px 18px;
    font-size: 0.9rem;
}

/* Navigation */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: background-color 0.3s ease, padding 0.3s ease;
    background-color: rgba(15, 22, 36, 0.95);
    backdrop-filter: blur(10px);
}

.navbar.scrolled {
    padding: 15px 5%;
    background-color: rgba(8, 12, 22, 0.98);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.logo {
    font-weight: 700;
    font-size: 1.8rem;
    animation: pulse 2s infinite ease-in-out;
}

.logo-text {
    font-family: 'Fira Code', monospace;
}

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

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-weight: 500;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: width 0.3s ease;
}

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

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

.burger div {
    width: 25px;
    height: 3px;
    background-color: var(--light-text);
    margin: 5px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 5% 50px;
    background: linear-gradient(to bottom, rgba(15, 22, 36, 0.9), rgba(8, 12, 22, 0.95)), url('../img/code-bg.svg');
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 30%, rgba(0, 217, 255, 0.1) 0%, transparent 60%);
    z-index: 1;
}

.hero-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-text {
    flex: 1;
    padding-right: 30px;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.typing-container {
    display: flex;
    align-items: center;
    height: 50px;
    margin-bottom: 20px;
    font-size: 1.8rem;
    font-weight: 600;
}

.static-text {
    margin-right: 10px;
}

.dynamic-text {
    color: var(--primary-color);
    position: relative;
}

.cursor {
    display: inline-block;
    width: 3px;
    height: 42px;
    background-color: var(--primary-color);
    margin-left: 5px;
    animation: blink 1s infinite;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--gray-text);
    margin-bottom: 40px;
    max-width: 600px;
    animation: fadeIn 2s ease;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

/* Code Window Styles */
.code-window {
    width: 100%;
    max-width: 500px;
    background-color: var(--darker-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.1);
    border: 1px solid var(--border-color);
    transform: perspective(800px) rotateY(-5deg);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    animation: glowPulse 3s infinite ease-in-out;
}

.code-window:hover {
    transform: perspective(800px) rotateY(0deg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.15);
}

.code-header {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    background-color: var(--darker-bg);
    border-bottom: 1px solid var(--border-color);
    position: relative;
}

.code-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 217, 255, 0.3), transparent);
}

.code-dots {
    display: flex;
    gap: 6px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    position: relative;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.dot::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
}

.red {
    background-color: #ff5f56;
}

.yellow {
    background-color: #ffbd2e;
}

.green {
    background-color: #27c93f;
}

.code-title {
    margin-left: 15px;
    font-family: 'Fira Code', monospace;
    font-size: 0.9rem;
    color: var(--gray-text);
    position: relative;
    padding-left: 20px;
}

.code-title::before {
    content: '>';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.code-body {
    padding: 20px;
    height: auto;
    max-height: none;
    overflow: hidden;
    position: relative;
    background-image: linear-gradient(to bottom, rgba(0, 217, 255, 0.03), transparent);
}

.code-body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(0, 217, 255, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.1;
    pointer-events: none;
}

.code-body pre {
    margin: 0;
    position: relative;
    z-index: 1;
}

.code-body code {
    font-family: 'Fira Code', monospace;
    font-size: 0.95rem;
    color: var(--light-text);
    line-height: 1.6;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);
}

/* Syntax highlighting */
.code-body .keyword {
    color: #ff79c6;
}

.code-body .string {
    color: #f1fa8c;
}

.code-body .comment {
    color: #6272a4;
}

.code-body .function {
    color: #50fa7b;
}

.code-body .variable {
    color: #8be9fd;
}

.code-body .number {
    color: #bd93f9;
}

/* Terminal Styles */
.terminal {
    width: 100%;
    max-width: 500px;
    background-color: rgba(8, 12, 22, 0.95);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1);
    border: 1px solid var(--border-color);
    transform: perspective(800px) rotateY(5deg);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    position: relative;
    animation: float 4s infinite ease-in-out;
}

.terminal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.15),
        rgba(0, 0, 0, 0.15) 1px,
        transparent 1px,
        transparent 2px
    );
    pointer-events: none;
    opacity: 0.5;
    z-index: 1;
}

.terminal::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, transparent 0%, rgba(0, 0, 0, 0.4) 100%);
    pointer-events: none;
    z-index: 0;
}

.terminal:hover {
    transform: perspective(800px) rotateY(0deg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.15);
}

.terminal-header {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    background-color: var(--card-bg);
    border-bottom: 1px solid var(--border-color);
    position: relative;
    z-index: 2;
}

.terminal-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 217, 255, 0.3), transparent);
}

.terminal-dots {
    display: flex;
    gap: 6px;
}

.terminal-title {
    margin-left: 15px;
    font-family: 'Fira Code', monospace;
    font-size: 0.9rem;
    color: var(--gray-text);
    position: relative;
    padding-left: 20px;
}

.terminal-title::before {
    content: '$';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.terminal-body {
    padding: 20px;
    height: auto;
    max-height: none;
    overflow: hidden;
    position: relative;
    z-index: 2;
}

.terminal-body p {
    font-family: 'Fira Code', monospace;
    font-size: 0.95rem;
    margin-bottom: 8px;
    color: var(--light-text);
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 2;
}

.terminal-body p:nth-child(odd) {
    opacity: 0.95;
}

.terminal-body p:nth-child(even) {
    opacity: 0.85;
}

.prompt {
    color: var(--primary-color);
    font-weight: 500;
    text-shadow: 0 0 5px rgba(0, 217, 255, 0.5);
}

.cursor {
    display: inline-block;
    width: 8px;
    height: 16px;
    background-color: var(--primary-color);
    animation: terminal-blink 1s infinite;
    vertical-align: middle;
    margin-left: 2px;
}

@keyframes terminal-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* About Section */
.about {
    padding: 100px 5%;
    background-color: var(--darker-bg);
}

.about-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.about-image {
    flex: 1;
}

.about-text {
    flex: 1;
}

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

.about-text p {
    margin-bottom: 25px;
    color: var(--gray-text);
    font-size: 1.05rem;
}

.skills-container {
    margin-top: 30px;
}

.skill-category {
    margin-bottom: 25px;
}

.skill-category h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--light-text);
}

.skill-bars {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.skill {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.skill span {
    font-size: 0.95rem;
    color: var(--gray-text);
}

.skill-bar {
    height: 8px;
    background-color: var(--card-bg);
    border-radius: 4px;
    overflow: hidden;
}

.skill-level {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 4px;
}

/* Services Section */
.services {
    padding: 100px 5%;
    background-color: var(--dark-bg);
}

.services-container {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    flex: 1;
    min-width: 300px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.3s; }
.service-card:nth-child(3) { animation-delay: 0.5s; }

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.service-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    animation: bounce 3s infinite ease-in-out;
}

.service-icon i {
    font-size: 1.8rem;
    color: var(--light-text);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--gray-text);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.service-features {
    margin-top: 20px;
}

.service-features li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0;
    animation: slideInRight 0.5s ease forwards;
}

.service-features li:nth-child(1) { animation-delay: 0.2s; }
.service-features li:nth-child(2) { animation-delay: 0.4s; }
.service-features li:nth-child(3) { animation-delay: 0.6s; }

.service-features li:hover i {
    transform: scale(1.2) rotate(10deg);
    color: var(--primary-color);
}

.service-features i {
    color: var(--success-color);
}

/* Projects Section */
.projects {
    padding: 100px 5%;
    background-color: var(--darker-bg);
}

.projects-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.project-card {
    display: flex;
    background-color: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 40px;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: rotateIn 1s ease-out;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.project-image {
    flex: 1;
    max-width: 40%;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
    filter: brightness(0.9);
}

@keyframes pulse-glow {
    0% { filter: brightness(0.9) drop-shadow(0 0 0px var(--primary-color)); }
    50% { filter: brightness(1.1) drop-shadow(0 0 10px var(--primary-color)); }
    100% { filter: brightness(0.9) drop-shadow(0 0 0px var(--primary-color)); }
}

.project-card:hover .project-image img {
    transform: scale(1.05);
    filter: brightness(1.1) drop-shadow(0 0 8px var(--primary-color));
    animation: pulse-glow 3s infinite;
}

.project-info {
    flex: 1.5;
    padding: 30px;
    display: flex;
    flex-direction: column;
}

.project-info h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.project-info p {
    color: var(--gray-text);
    margin-bottom: 20px;
    font-size: 1rem;
    animation: fadeIn 1.5s ease 0.5s both;
}

.project-tech {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.project-tech span {
    background-color: rgba(0, 217, 255, 0.1);
    color: var(--primary-color);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    border: 1px solid rgba(0, 217, 255, 0.3);
    transition: all 0.3s ease;
    animation: fadeIn 0.6s ease-out forwards;
    opacity: 0;
}

.project-tech span:nth-child(1) { animation-delay: 0.1s; }
.project-tech span:nth-child(2) { animation-delay: 0.3s; }
.project-tech span:nth-child(3) { animation-delay: 0.5s; }

.project-tech span:hover {
    background-color: rgba(0, 217, 255, 0.3);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 217, 255, 0.4);
}

.project-links {
    margin-top: auto;
    display: flex;
    gap: 15px;
}

/* Contact Section */
.contact {
    padding: 100px 5%;
    background-color: var(--dark-bg);
}

.contact-content {
    display: flex;
    justify-content: space-between;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info {
    flex: 1;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.contact-info p {
    color: var(--gray-text);
    margin-bottom: 30px;
    font-size: 1.05rem;
    max-width: 500px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 40px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 20px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(0, 217, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 217, 255, 0.3);
    animation: pulse 2s infinite ease-in-out;
}

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

.contact-details h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.contact-details p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--card-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.social-link:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.social-link i {
    font-size: 1.1rem;
    color: var(--light-text);
}

.contact-form-container {
    flex: 1;
}

.contact-form {
    background-color: var(--card-bg);
    padding: 40px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    background-color: var(--darker-bg);
    border: 1px solid var(--border-color);
    border-radius: 5px;
    color: var(--light-text);
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

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

/* Footer */
.footer {
    background-color: var(--darker-bg);
    padding: 70px 5% 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 50px;
    border-bottom: 1px solid var(--border-color);
}

.footer-logo {
    max-width: 300px;
}

.footer-logo .logo-text {
    font-size: 1.8rem;
    margin-bottom: 15px;
    display: block;
}

.footer-logo p {
    color: var(--gray-text);
    font-size: 0.95rem;
}

.footer-links {
    display: flex;
    gap: 60px;
}

.footer-links-column h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-links-column ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links-column a {
    color: var(--gray-text);
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    text-align: center;
    padding: 25px 0;
    color: var(--gray-text);
    font-size: 0.9rem;
}

/* Responsive Styles */
@media screen and (max-width: 1024px) {
    .hero-content,
    .about-content,
    .contact-content {
        flex-direction: column;
    }

    .services-container {
        flex-direction: column;
    }

    .project-card {
        flex-direction: column;
    }

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

    .footer-content {
        flex-direction: column;
        gap: 40px;
    }

    .footer-links {
        flex-wrap: wrap;
        gap: 30px;
    }
}

@media screen and (max-width: 768px) {
    .navbar {
        padding: 15px 5%;
    }

    .nav-links {
        position: absolute;
        right: 0;
        top: 70px;
        background-color: var(--darker-bg);
        flex-direction: column;
        width: 100%;
        align-items: center;
        padding: 30px 0;
        transform: translateY(-150%);
        transition: transform 0.3s ease;
        z-index: 999;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    }

    .nav-links.active {
        transform: translateY(0);
    }

    .burger {
        display: block;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .typing-container {
        font-size: 1.5rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }
}

/* Services Styles */
.services {
    padding: 80px 0;
    background-color: var(--dark-bg);
}

.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(0, 217, 255, 0.1);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(0, 217, 255, 0.5);
    transition: transform 0.3s ease, color 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    color: var(--secondary-color);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--light-text);
}

.service-card p {
    color: var(--gray-text);
    margin-bottom: 20px;
    line-height: 1.6;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-features li {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    color: var(--light-text);
    transition: transform 0.3s ease;
}

.service-features li:hover {
    transform: translateX(5px);
}

.service-features i {
    color: var(--success-color);
    margin-right: 10px;
    font-size: 0.9rem;
}

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

/* Animation Definitionen */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

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

@keyframes glowPulse {
    0% { box-shadow: 0 0 5px rgba(0, 217, 255, 0.5); }
    50% { box-shadow: 0 0 20px rgba(0, 217, 255, 0.8); }
    100% { box-shadow: 0 0 5px rgba(0, 217, 255, 0.5); }
}

@keyframes rotateIn {
    from { transform: rotate(-10deg) scale(0.8); opacity: 0; }
    to { transform: rotate(0) scale(1); opacity: 1; }
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

@keyframes colorCycle {
    0% { color: var(--primary-color); }
    33% { color: #ff79c6; }
    66% { color: #bd93f9; }
    100% { color: var(--primary-color); }
}
