/* Base Styles */
:root {
    --primary-color: #3a2c8f;
    --secondary-color: #1a1a1a;
    --accent-color: #2a1b6b;
    --text-color: #f8f9fa;
    --light-color: #2c2c2c;
    --dark-color: #121212;
    --card-bg: #1e1e1e;
    --gradient-start: #3a2c8f;
    --gradient-end: #2a1b6b;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--dark-color);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

h1, h2, h3 {
    margin-bottom: 1rem;
    color: var(--text-color);
}

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

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

section {
    padding: 4rem 0;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(18, 18, 18, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

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

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

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

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

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

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
    transition: width 0.3s ease;
}

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

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

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

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--dark-color) 0%, var(--secondary-color) 100%);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(58, 44, 143, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 2rem;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: fadeInUp 1s ease;
}

.hero h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-color);
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.2s backwards;
}

.job-title {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.4s backwards;
}

/* Skills Section */
.skills {
    padding: 6rem 0;
    background: var(--secondary-color);
    position: relative;
}

.skills::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--primary-color), transparent);
}

.skills h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.custom-skill-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.skill-row {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 2rem;
}

.skill-row-center {
    justify-content: center;
}

.skill-category-center {
    min-width: 440px;
    width: 440px;
    max-width: 100%;
}

.skill-category {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 380px;
    min-width: 380px;
    max-width: 100%;
    box-sizing: border-box;
}

.skill-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.skill-category h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.skill-category h3 i {
    font-size: 1.8rem;
}

.skill-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
}

.skill-item {
    background: var(--light-color);
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.skill-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.skill-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.skill-item p {
    font-size: 0.9rem;
    color: var(--text-color);
    margin: 0;
    font-weight: 500;
}

.subtopics {
    list-style: none;
    margin: 0;
    margin-top: 1rem;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.subtopics li {
    background: rgba(58, 44, 143, 0.08);
    color: var(--text-color);
    border-radius: 6px;
    padding: 0.4rem 0.8rem;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    transition: background 0.2s;
    width: fit-content;
}

.subtopics li:hover {
    background: var(--primary-color);
    color: #fff;
}

/* Hobbies Section */
.hobbies {
    padding: 6rem 0;
    background: var(--secondary-color);
    position: relative;
}

.hobbies::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--primary-color), transparent);
}

.hobbies h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hobby-items {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.hobby-item {
    flex: 1;
    min-width: 300px;
    max-width: 350px;
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.hobby-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.hobby-item i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.hobby-item h3 {
    color: var(--text-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.hobby-item p {
    color: var(--text-color);
    opacity: 0.8;
}

/* Footer */
footer {
    background: var(--dark-color);
    padding: 2rem 0;
    text-align: center;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--primary-color), transparent);
}

footer p {
    color: var(--text-color);
    opacity: 0.8;
}

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

footer a:hover {
    color: var(--accent-color);
}

/* Social Media Section */
.social {
    padding: 6rem 0;
    background: var(--dark-color);
    text-align: center;
    position: relative;
}

.social::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--primary-color), transparent);
}

.social h2 {
    margin-bottom: 3rem;
    font-size: 2.5rem;
    background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: var(--card-bg);
    border-radius: 50px;
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2), 0 0 0 0 rgba(58, 44, 143, 0.3);
}

.social-link:hover {
    transform: translateY(-3px);
    background: var(--primary-color);
    color: #ffffff;
    box-shadow: 0 8px 25px rgba(58, 44, 143, 0.3), 0 0 20px rgba(58, 44, 143, 0.4);
}

.social-link i {
    font-size: 1.5rem;
}

/* Impressum Styles */
.impressum {
    background-color: var(--dark-color);
}

.impressum-content {
    margin-top: 3.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    background: var(--card-bg);
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    padding: 0.5rem 2rem 2.5rem 2rem;
}

.impressum-content h2 {
    margin-top: 0.05em;
    color: var(--text-color);
    margin: 2rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
}

.impressum-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.impressum-section {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: var(--light-color);
    border-radius: 10px;
    transition: var(--transition);
    text-align: center;
}

.impressum-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    background-color: var(--primary-color);
}

.impressum-section i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.impressum-section:hover i {
    color: var(--text-color);
}

.impressum-section h3 {
    color: var(--text-color);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.impressum-section p {
    color: var(--text-color);
    opacity: 0.9;
}

.email-link {
    text-decoration: none;
    color: inherit;
    display: block;
    width: 100%;
    height: 100%;
}

.email-link:hover {
    color: inherit;
}

.back-button {
    display: inline-block;
    margin-top: 2rem;
    padding: 0.75rem 1.5rem;
    background-color: var(--primary-color);
    color: var(--text-color);
    border-radius: 5px;
    transition: var(--transition);
}

.back-button:hover {
    background-color: var(--accent-color);
    color: var(--text-color);
    transform: translateY(-3px);
}

/* Fix for smooth scrolling */
html {
    scroll-behavior: smooth;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 3rem;
    }

    .hero h2 {
        font-size: 1.5rem;
    }

    .job-title {
        font-size: 1.2rem;
    }

    .skill-categories,
    .hobby-items {
        grid-template-columns: 1fr;
    }

    .social-links {
        flex-direction: column;
        align-items: center;
    }

    .social-link {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .nav-links {
        position: absolute;
        right: 0;
        height: 92vh;
        top: 8vh;
        background-color: var(--secondary-color);
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 50%;
        transform: translateX(100%);
        transition: transform 0.5s ease-in;
        z-index: 100;
    }

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

    .burger {
        display: block;
    }

    .nav-active {
        transform: translateX(0%);
    }
}

@media (max-width: 900px) {
    .skill-row {
        flex-direction: column;
        align-items: center;
    }
    .skill-category, .skill-category-center {
        width: 100%;
        min-width: unset;
        max-width: unset;
    }
}

@media (max-width: 1300px) {
    .skill-category {
        width: 320px;
        min-width: 320px;
    }
    .skill-category-center {
        min-width: 340px;
        width: 340px;
    }
}

@media (max-width: 800px) {
    .impressum-content {
        padding: 1.5rem 0.5rem;
        max-width: 98vw;
    }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--dark-color);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-color);
} 