:root {
    --primary-color: #2b6cb0;
    --secondary-color: #4299e1;
    --background-light: #f7fafc;
    --text-primary: #2d3748;
    --text-secondary: #4a5568;
    --white: #ffffff;
    --accent-light: #ebf8ff;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

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

/* Navbar */
.navbar {
    background-color: var(--white);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

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

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f7fafc 0%, #ebf8ff 100%);
    color: var(--text-primary);
    padding: 2rem 0;
    margin-bottom: 2rem;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 4rem;
    padding: 0 2rem;
    min-height: 500px;
}

.hero-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.hero-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.hero h1 {
    color: var(--primary-color);
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero h2 {
    font-size: 2rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}

.hero-intro {
    color: var(--text-secondary);
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.hero-badges {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    justify-content: center;
    height: 60px;
}

.hero-badges img {
    height: 60px;
    width: auto;
    transition: transform 0.3s ease;
    object-fit: contain;
}

.hero-badges img:hover {
    transform: scale(1.1);
}

.profile-image {
    width: 350px;
    height: 450px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    margin: 2rem 0;
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.spacer {
    flex-grow: 1;
    min-height: 2rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-top: auto;
    padding-bottom: 60px;
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    min-width: 200px;
    text-align: center;
}

.btn.primary {
    background: var(--primary-color);
    color: var(--white);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn.primary:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(43, 108, 176, 0.15);
}

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

.btn.secondary:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
}

/* Expertise Section */
.expertise {
    padding: 2rem 0;
    background: var(--white);
}

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

.expertise-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid #edf2f7;
    transition: transform 0.3s ease;
}

.expertise-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.expertise-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.expertise-card ul {
    list-style: none;
    padding-left: 1.5rem;
    margin: 0;
    position: relative;
}

.expertise-card li {
    margin-bottom: 0.5rem;
    line-height: 1.4;
    position: relative;
}

.expertise-card li::before {
    content: "•";
    color: var(--primary-color);
    position: absolute;
    left: -1.5rem;
    width: 1.5rem;
    text-align: center;
}

/* Projects Section */
.highlights {
    padding: 2rem 0;
    background: var(--background-light);
}

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

.project-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid #edf2f7;
    transition: transform 0.3s ease;
}

.project-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.project-card h3 {
    color: var(--primary-color);
}

.project-company {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.tech-tags {
    margin-top: 1rem;
}

.tech-tags span {
    background: var(--accent-light);
    color: var(--primary-color);
    border-radius: 20px;
    padding: 0.3rem 1rem;
}

/* Certifications Section */
.certifications {
    padding: 2rem 0;
    background: var(--white);
}

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

.cert-item {
    padding: 2rem;
    transition: transform 0.3s ease;
}

.cert-item:hover {
    transform: translateY(-4px);
}

.cert-item img {
    width: 100px;
    height: 100px;
    margin-bottom: 1rem;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 2rem 0;
    margin-top: 4rem;
}

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

.resume-header {
    text-align: center;
    margin-bottom: 2rem;
}

.contact-info {
    margin: 1rem 0;
}

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

.job {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #eee;
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.tech-stack {
    margin-top: 1rem;
    font-size: 0.9em;
    color: #666;
}

.date {
    color: #666;
    font-size: 0.9em;
}

section {
    margin-bottom: 3rem;
}

h2 {
    color: var(--primary-color);
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 3rem;
}

h2:after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    margin: 1rem auto;
}

ul {
    padding-left: 1.5rem;
}

.degree {
    margin-bottom: 1.5rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content {
        min-height: auto;
        padding: 2rem;
    }
    
    .profile-image {
        width: 300px;
        height: 400px;
        margin: 1rem 0;
    }

    .profile-section {
        gap: 1.5rem;
    }
    
    .hero-badges {
        gap: 1rem;
    }
    
    .hero-badges img {
        height: 50px;
    }

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

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

    .spacer {
        min-height: 1.5rem;
    }
    
    .hero-left {
        align-items: center;
        text-align: center;
    }

    .hero-cta {
        justify-content: center;
        padding-bottom: 0;
    }
}

@media (max-width: 900px) {
    .hero {
        padding: 2rem 0;
    }

    .hero-content {
        flex-direction: column-reverse;
        gap: 2rem;
        text-align: center;
        min-height: auto;
        padding-top: 1rem;
    }

    .hero-title {
        margin-bottom: 0.1rem;
        line-height: 1.1;
        text-align: center;
    }

    .hero-subtitle {
        text-align: center;
        margin-bottom: 1rem;
    }

    .hero-left {
        align-items: center;
        width: 100%;
    }

    .hero-intro {
        text-align: center;
    }

    .spacer {
        display: none;
    }

    .hero-right {
        width: 100%;
        justify-content: center;
        align-items: center;
    }

    .profile-section {
        margin-bottom: 1rem;
        align-items: center;
    }

    .profile-image {
        width: 250px;
        height: 330px;
    }

    .hero-badges {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-badges img {
        height: 45px;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

    .job-header {
        flex-direction: column;
    }
    
    .profile-details {
        grid-template-columns: 1fr;
    }

    .navbar {
        padding: 0.5rem 0;
    }

    .navbar .container {
        flex-direction: row;
        gap: 0.5rem;
        padding: 0 1rem;
    }

    .nav-links {
        gap: 1rem;
    }

    .nav-link {
        font-size: 0.9rem;
        padding: 0.25rem 0;
    }

    .social-links {
        gap: 1rem;
    }

    .social-link {
        font-size: 1rem;
        padding: 0.25rem;
    }

    .spacer {
        min-height: 1rem;
    }

    .hero-subtitle {
        text-align: center;
        margin-bottom: 1rem;
    }

    .imprint {
        padding: 2rem 1rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 1.5rem 0;
    }

    .profile-image {
        width: 200px;
        height: 264px;
    }

    .hero-badges img {
        height: 40px;
    }
}

/* Social Links */
.social-link {
    color: var(--text-secondary);
    font-size: 1.2rem;
    transition: color 0.3s ease;
    padding: 0.5rem;
}

.social-link:hover {
    color: var(--primary-color);
}

.fa-linkedin:hover {
    color: #0077b5;
}

.fa-envelope:hover {
    color: var(--secondary-color);
}

.profile-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.section-heading {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: var(--primary-color);
    text-align: center;
    position: relative;
}

.section-heading::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: var(--primary-color);
    margin: 1rem auto;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.1rem;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.imprint {
    padding: 4rem 0;
    max-width: 800px;
    margin: 0 auto;
}

.imprint-section {
    margin-left: 1rem;
    margin-right: 1rem;
    margin-bottom: 3rem;
}

.imprint-section h2 {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.imprint-section h3 {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-primary);
    margin: 2rem 0 1rem;
}

.imprint-section p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* Blog Styles */
.blog-section {
    padding: 3rem 0;
}

.blog-list {
    margin-top: 2rem;
}

.blog-card {
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    padding: 2rem;
    margin-bottom: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.blog-card-title {
    margin-bottom: 0.5rem;
    font-size: 1.8rem;
}

.blog-card-title a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-card-title a:hover {
    color: var(--secondary-color);
}

.blog-card-meta {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    display: flex;
    gap: 1rem;
    font-size: 0.9rem;
}

.blog-card-excerpt {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.blog-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.blog-card-read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.blog-card-read-more:hover {
    color: var(--secondary-color);
}

.blog-card-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.blog-card-tag {
    background-color: var(--accent-light);
    color: var(--primary-color);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
}

.blog-empty {
    text-align: center;
    padding: 4rem 0;
    color: var(--text-secondary);
}

/* Blog Post Styles */
.blog-post {
    padding: 3rem 0;
    max-width: 900px;
    margin: 0 auto;
}

.post-header {
    margin-bottom: 2rem;
}

.post-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.post-meta {
    color: var(--text-secondary);
    display: flex;
    gap: 1rem;
    font-size: 1rem;
}

.post-content {
    margin-bottom: 2rem;
    line-height: 1.8;
    color: var(--text-primary);
}

.post-content h1, 
.post-content h2, 
.post-content h3, 
.post-content h4 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.post-content h1 {
    font-size: 2.2rem;
}

.post-content h2 {
    font-size: 1.8rem;
}

.post-content h3 {
    font-size: 1.5rem;
}

.post-content p {
    margin-bottom: 1.5rem;
}

.post-content ul, 
.post-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.post-content li {
    margin-bottom: 0.5rem;
}

.post-content a {
    color: var(--primary-color);
    text-decoration: underline;
    text-decoration-color: rgba(43, 108, 176, 0.3);
    text-underline-offset: 3px;
    transition: text-decoration-color 0.3s ease;
}

.post-content a:hover {
    text-decoration-color: var(--primary-color);
}

.post-content blockquote {
    border-left: 4px solid var(--primary-color);
    padding-left: 1.5rem;
    margin-left: 0;
    font-style: italic;
    color: var(--text-secondary);
}

.post-content code {
    background-color: var(--accent-light);
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    font-family: monospace;
    font-size: 0.9em;
}

.post-content pre {
    background-color: #2d3748;
    color: #f7fafc;
    padding: 1.5rem;
    border-radius: 5px;
    overflow-x: auto;
    margin-bottom: 1.5rem;
}

.post-content pre code {
    background-color: transparent;
    padding: 0;
    color: inherit;
}

.post-footer {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    background-color: transparent;
    color: var(--text-primary);
}

.post-tags {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.post-tag {
    background-color: var(--accent-light);
    color: var(--primary-color);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
}

.post-navigation {
    display: flex;
    justify-content: space-between;
}

/* Responsive Blog Styles */
@media (max-width: 768px) {
    .blog-card {
        padding: 1.5rem;
    }
    
    .blog-card-title {
        font-size: 1.5rem;
    }
    
    .post-title {
        font-size: 2rem;
    }
    
    .post-content h1 {
        font-size: 1.8rem;
    }
    
    .post-content h2 {
        font-size: 1.5rem;
    }
    
    .post-content h3 {
        font-size: 1.3rem;
    }
    
    .post-navigation {
        flex-direction: column;
        gap: 1rem;
    }
}