/* Reset und Basis-Styling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: #000;
    color: #fff;
    overflow-x: hidden;
}

.pfp {
    width: 100%;
}

.insta-hover {
    cursor: pointer;
}

/* Fancy Background mit Animation */
.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(45deg, #000, #111);
    overflow: hidden;
}

.background::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at center, transparent 0%, transparent 50%, rgba(21, 185, 153, 0.1) 100%);
    top: -50%;
    left: -50%;
    animation: rotate 20s infinite linear;
}

.background::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
    opacity: 0.3;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Floating particles */
.particles {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.particle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 10px rgba(21, 185, 153, 0.6);
    animation: float 8s infinite ease-in-out;
}

@keyframes float {
    0%, 100% { transform: translateY(0) translateX(0); }
    50% { transform: translateY(-20px) translateX(10px); }
}

/* Navigation Styling */
nav {
    display: flex;
    justify-content: center;
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 20px;
    z-index: 1000;
}

.nav-links {
    display: flex;
    gap: 30px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    padding: 15px 40px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    position: relative;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    color: #15b999;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #15b999;
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Sections Styling */
section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 60px 20px;
    position: relative;
}

/* Home Section */
#home {
    text-align: center;
}

.logo-container {
    width: 200px;
    height: 200px;
    margin-bottom: 30px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo {
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, #15b999 0%, #0e7a65 100%);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(21, 185, 153, 0.3);
}

.logo::before {
    content: '';
    position: absolute;
    width: 150%;
    height: 150%;
    background: radial-gradient(circle, transparent 30%, rgba(255, 255, 255, 0.1) 70%);
    animation: pulse 3s infinite;
}

.logo-text {
    font-size: 3rem;
    font-weight: 800;
    color: white;
    z-index: 1;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.greeting {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    background: linear-gradient(to right, #fff, #15b999);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.intro {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    opacity: 0.9;
}

.personal-info {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-size: 0.9rem;
    opacity: 0.7;
}

/* About Section */
#about {
    background: rgba(0, 0, 0, 0.3);
}

.section-title {
    font-size: 2rem;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background: #15b999;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    max-width: 1000px;
    margin: 0 auto;
}

.about-text {
    line-height: 1.8;
}

.skills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.skill {
    background: rgba(21, 185, 153, 0.1);
    border: 1px solid rgba(21, 185, 153, 0.3);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.skill:hover {
    background: rgba(21, 185, 153, 0.2);
    transform: translateY(-3px);
}

/* Projects Section */
#projects {
    padding-top: 100px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    width: 100%;
}

.project-card {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    border-color: rgba(21, 185, 153, 0.3);
}

.project-image {
    width: 100%;
    height: 180px;
    background: #111;
    position: relative;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-content {
    padding: 20px;
}

.project-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #15b999;
}

.project-description {
    font-size: 0.9rem;
    line-height: 1.6;
    opacity: 0.8;
    margin-bottom: 15px;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.project-tag {
    background: rgba(21, 185, 153, 0.1);
    padding: 4px 8px;
    border-radius: 5px;
    font-size: 0.7rem;
    opacity: 0.7;
}

/* Contact Section */
#contact {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.3));
    padding-bottom: 100px;
}

.contact-container {
    display: flex;
    flex-direction: column;
    max-width: 600px;
    width: 100%;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.9rem;
    opacity: 0.8;
}

.form-control {
    padding: 15px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.2);
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: #15b999;
    box-shadow: 0 0 0 2px rgba(21, 185, 153, 0.2);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.submit-btn {
    padding: 15px 30px;
    border: none;
    background: linear-gradient(45deg, #15b999, #0e7a65);
    color: white;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    margin-top: 10px;
    box-shadow: 0 5px 15px rgba(21, 185, 153, 0.3);
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(21, 185, 153, 0.4);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 50px;
}

.social-link {
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-link:hover {
    background: #15b999;
    transform: translateY(-5px);
}

/* Footer */
footer {
    text-align: center;
    padding: 30px;
    background: rgba(0, 0, 0, 0.5);
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .nav-links {
        gap: 15px;
        padding: 12px 25px;
    }
    
    .greeting {
        font-size: 2rem;
    }
    .wave {
        font-size: 2rem;
    }
    
    .logo-container {
        width: 150px;
        height: 150px;
    }
}

@media (max-width: 480px) {
    .nav-links {
        gap: 10px;
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .greeting {
        font-size: 1.8rem;
    }
    
    .wave {
        font-size: 1.8rem;
    }
    
    .intro {
        font-size: 1rem;
    }
    
    .logo-container {
        width: 120px;
        height: 120px;
    }
    
    .logo-text {
        font-size: 2rem;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
}