/* Reset und Basis-Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #e2e8f0;
    background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
    min-height: 100vh;
}

/* Header Styles */
header {
    background: rgba(26, 32, 44, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #4a5568;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 70px;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #3182ce;
    margin: 0;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

nav a {
    text-decoration: none;
    color: #e2e8f0;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
}

nav a:hover,
nav a.active {
    background: linear-gradient(135deg, #2b6cb0, #1a365d);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

/* Main Content */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px 100px;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 60px 0;
    background: rgba(45, 55, 72, 0.9);
    border-radius: 20px;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid #4a5568;
}

/* Profile Image */
.profile-image-container {
    margin-bottom: 30px;
}

.profile-image {
    width: 200px;
    height: 200px;
    border-radius: 15px;
    object-fit: cover;
    border: 3px solid #1a365d;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.profile-image:hover {
    transform: scale(1.05);
}

/* Projects List */
.project-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.project-item {
    background: linear-gradient(135deg, #2b6cb0 0%, #1a365d 100%);
    padding: 25px;
    border-radius: 15px;
    color: white;
    text-align: center;
    transition: transform 0.3s ease;
}

.project-item:hover {
    transform: translateY(-5px);
}

.project-item h3 {
    color: white;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

/* Contact Links */
.contact-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.contact-item {
    background: linear-gradient(135deg, #2b6cb0, #1a365d);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    color: white;
    transition: transform 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
}

.contact-item h3 {
    color: white;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.contact-item a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
}

.contact-item a:hover {
    text-decoration: underline;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #e2e8f0;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #3182ce, #2b6cb0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #a0aec0;
    font-weight: 300;
}

/* About Section */
.about {
    background: rgba(45, 55, 72, 0.9);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid #4a5568;
}

.about h2 {
    font-size: 2.5rem;
    color: #e2e8f0;
    margin-bottom: 30px;
    text-align: center;
}

.about-content p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    text-align: justify;
    line-height: 1.8;
    color: #cbd5e0;
}

.qualities {
    margin-top: 40px;
    padding: 30px;
    background: linear-gradient(135deg, #2b6cb0 0%, #1a365d 100%);
    border-radius: 15px;
    color: white;
}

.qualities h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    text-align: center;
}

.qualities ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.qualities li {
    padding: 10px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    text-align: center;
    font-weight: 500;
}

/* Skills Page Styles */
.skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.skill-category {
    background: rgba(45, 55, 72, 0.9);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid #4a5568;
}

.skill-category h3 {
    color: #3182ce;
    margin-bottom: 20px;
    font-size: 1.4rem;
    text-align: center;
}

.skill-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #4a5568;
    color: #cbd5e0;
}

.skill-item:last-child {
    border-bottom: none;
}

.skill-level {
    padding: 5px 15px;
    border-radius: 20px;
    color: white;
    font-size: 0.9rem;
    font-weight: 500;
}

.expert { background: #1a365d; }
.advanced { background: #2b6cb0; }
.learning { background: #3182ce; }
.planned { background: #4299e1; }

/* Form Styles */
form {
    background: rgba(45, 55, 72, 0.9);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    margin-top: 30px;
    border: 1px solid #4a5568;
}

form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #e2e8f0;
}

form input,
form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: 2px solid #4a5568;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: rgba(26, 32, 44, 0.7);
    color: #e2e8f0;
}

form input:focus,
form textarea:focus {
    outline: none;
    border-color: #3182ce;
    box-shadow: 0 0 10px rgba(49, 130, 206, 0.3);
}

form textarea {
    resize: vertical;
    min-height: 120px;
}

form input[type="submit"] {
    background: linear-gradient(135deg, #2b6cb0, #1a365d);
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: transform 0.3s ease;
}

form input[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Projects */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.project-card {
    background: rgba(45, 55, 72, 0.9);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    border: 1px solid #4a5568;
}

.project-card:hover {
    transform: translateY(-5px);
}

.project-card h3 {
    color: #3182ce;
    margin-bottom: 15px;
}

/* Footer */
footer {
    background: rgba(26, 32, 44, 0.9);
    color: #a0aec0;
    text-align: center;
    padding: 20px;
    position: relative;
    margin-top: 50px;
    border-top: 1px solid #4a5568;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        padding: 20px;
    }
    
    .logo {
        margin-bottom: 15px;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    main {
        padding: 20px 15px 80px;
    }
    
    .about {
        padding: 25px;
    }
    
    .qualities ul {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 40px 20px;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .about h2 {
        font-size: 2rem;
    }
    
    .about-content p {
        font-size: 1rem;
    }
}
