@font-face {
    font-family: 'Fira Code';
    src: url('../fonts/fira-code-v27-latin-300.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Fira Code';
    src: url('../fonts/fira-code-v27-latin-regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Fira Code';
    src: url('../fonts/fira-code-v27-latin-500.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Fira Code';
    src: url('../fonts/fira-code-v27-latin-600.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Fira Code';
    src: url('../fonts/fira-code-v27-latin-700.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('../fonts/inter-v20-latin-regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('../fonts/inter-v20-latin-500.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('../fonts/inter-v20-latin-600.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

body {
    font-family: 'Fira Code', monospace;
    background-color: #0f172a;
    color: #e2e8f0;
    overflow-x: hidden;
    background-image: 
        linear-gradient(rgba(16, 185, 129, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(16, 185, 129, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: moveGrid 20s linear infinite;
}

nav.sticky {
    background-color: rgba(15, 23, 42, 0.95) !important;
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(16, 185, 129, 0.2);
}

#mobile-menu {
    background-color: rgba(15, 23, 42, 0.98);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 0.5rem;
    padding: 0.5rem;
}

html,
body {
    max-width: 100%;
    overflow-x: clip;
}
@keyframes moveGrid {
    0% { background-position: 0 0; }
    100% { background-position: 50px 50px; }
}
.logo-image {
    height: 4rem;
    width: auto;
}
.terminal {
    background-color: rgba(30, 41, 59, 0.7);
    border: 1px solid rgba(255,255,255,0.1);
    position: relative;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.terminal:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 30px rgba(16, 185, 129, 0.3);
}
.terminal::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    width: 12px;
    height: 12px;
    background-color: #ff5f56;
    border-radius: 50%;
}
.terminal::after {
    content: '';
    position: absolute;
    top: 10px;
    left: 30px;
    width: 12px;
    height: 12px;
    background-color: #ffbd2e;
    border-radius: 50%;
}
.terminal .green-dot {
    position: absolute;
    top: 10px;
    left: 50px;
    width: 12px;
    height: 12px;
    background-color: #27c93f;
    border-radius: 50%;
}
.glow:hover {
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.2);
}
.badge-pcap, .badge-istqb {
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}
.scroll-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}
.cursor-glow {
    position: fixed;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.1) 0%, transparent 70%);
    pointer-events: none;
    z-index: -1;
    transition: transform 0.1s ease;
}
.status-led {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
    margin-left: 5px;
    animation: pulse 2s infinite;
}
.status-led.yellow {
    background-color: #fbbf24;
}
.skill-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    margin: 0.25rem;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 0.5rem;
    color: #10b981;
    transition: all 0.3s ease;
    cursor: pointer;
}
.skill-tag:hover {
    background: rgba(16, 185, 129, 0.2);
    transform: scale(1.05);
}
.skill-category {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 0.5rem;
    padding: 1rem;
    transition: all 0.3s ease;
}
.skill-category:hover {
    background: rgba(30, 41, 59, 0.7);
    border-color: rgba(16, 185, 129, 0.4);
}
.skill-badge {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    margin: 0.2rem;
    background: #1e293b;
    color: #e2e8f0;
    border-radius: 0.3rem;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    cursor: pointer;
}
.skill-badge:hover {
    background: #334155;
}
.skill-badge.highlight {
    border: 2px solid #10b981;
}
.certified-badge {
    display: inline-block;
    background: #34d399;
    color: #000;
    font-size: 0.7rem;
    padding: 0.1rem 0.3rem;
    border-radius: 0.2rem;
    margin-left: 0.3rem;
    font-weight: bold;
}
.sticky-socials {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}
.sticky-socials a {
    display: block;
    margin: 10px 0;
    color: #64748b;
    transition: color 0.3s ease;
}
.sticky-socials a:hover, .sticky-socials.scrolled a {
    color: #10b981;
}
.loading-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0f172a;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    font-family: 'Fira Code', monospace;
    color: #10b981;
}
.loading-bar.hidden {
    display: none;
}
section {
    backdrop-filter: blur(10px);
}
#motto::after {
    content: '_';
    animation: blink 1s infinite;
}
@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}
.hero-section {
    background-image: 
        linear-gradient(rgba(15, 23, 42, 0.6), #0f172a),
        url('../img/hero.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    overflow: hidden;
}
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.2) 0%, rgba(15, 23, 42, 0.9) 100%);
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}
.experience-section {
    background-image: url('../img/architekt.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 0.05;
    position: relative;
}
.experience-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.95);
    z-index: 1;
}
.experience-content {
    position: relative;
    z-index: 2;
}
.homelab-container {
    position: relative;
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 1rem;
    overflow: hidden;
}
.homelab-image {
    width: 100%;
    height: auto;
    border-radius: 1rem;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.1);
    transition: transform 0.3s ease;
    position: relative;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}
.homelab-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0, 255, 0, 0.03) 2px, rgba(0, 255, 0, 0.03) 4px);
    pointer-events: none;
}
.homelab-image:hover {
    transform: scale(1.05);
}
.live-feed {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    align-items: center;
    gap: 5px;
    background: rgba(0, 0, 0, 0.7);
    color: #00ff00;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: bold;
}
.live-dot {
    width: 8px;
    height: 8px;
    background-color: #00ff00;
    border-radius: 50%;
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}
.overlay {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: #00ff00;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: bold;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.homelab-container:hover .overlay {
    opacity: 1;
}
.code-window {
    background-color: #1e1e1e;
    border-radius: 0.5rem;
    border: 1px solid #333;
    padding: 1rem;
    position: relative;
    max-width: none;
    margin: 0 auto;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
    height: 500px;
    min-height: 500px;
    max-height: 500px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.code-display {
    flex: 1;
    overflow-y: auto;
    white-space: pre-wrap;
    word-wrap: break-word;
    height: calc(100% - 2rem); /* Abzug für padding */
}

@media (max-width: 1024px) {
    .code-window {
        height: 250px;
        min-height: 250px;
        max-height: 250px;
        padding: 0.5rem;
        max-width: calc(100% - 4rem);
        margin: 0 2rem;
        width: calc(100% - 4rem);
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
    }
    
    .code-display {
        flex: 1;
        overflow-y: auto;
        white-space: pre-wrap;
        word-wrap: break-word;
        height: calc(100% - 1rem); /* Abzug für padding */
    }
}
.code-fade {
    position: absolute;
    top: 1rem;
    left: 1rem;
    right: 1rem;
    height: 20px;
    background: linear-gradient(to bottom, rgba(30,30,30,1) 0%, rgba(30,30,30,0) 100%);
    pointer-events: none;
    z-index: 1;
}
.window-buttons {
    position: absolute;
    top: 0.25rem;
    left: 0.5rem;
    display: flex;
    gap: 0.5rem;
    z-index: 10;
}
.button {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: inline-block;
}
.button.red { background-color: #ff5f56; }
.button.yellow { background-color: #ffbd2e; }
.button.green { background-color: #27c93f; }
.code-content pre,
.code-content code {
    display: block;
}
.code-content pre {
    white-space: pre-wrap;
    white-space: -moz-pre-wrap;
    word-wrap: break-word;
    overflow-x: hidden;
    word-break: break-all;
    font-size: 0.8rem;
}
.mobile-explorer-toggle {
    display: none;
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    cursor: pointer;
    margin: 1rem 0;
    transition: all 0.3s ease;
}
.mobile-explorer-toggle:hover {
    background: rgba(16, 185, 129, 0.4);
}
@media (max-width: 767px) {
    .mobile-explorer-toggle {
        display: block;
    }
}
.prompt {
    color: #00ff00;
    font-weight: bold;
}
.cursor {
    animation: blink 1s infinite;
}
@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}
.custom-checkbox {
    appearance: none;
    width: 24px;
    height: 24px;
    border: 2px solid #00ff00;
    border-radius: 4px;
    background-color: transparent;
    position: relative;
    cursor: pointer;
}
.custom-checkbox:checked {
    background-color: #00ff00;
}
.custom-checkbox:checked::after {
    content: '✓';
    position: absolute;
    top: -1px;
    left: 3px;
    color: #000;
    font-size: 16px;
}
#waiting-line {
    cursor: pointer;
}
#waiting-line:hover {
    text-shadow: 0 0 10px #00ff00;
}
.section-bg {
    background: linear-gradient(rgba(30, 41, 59, 0.95), rgba(30, 41, 59, 0.95)), url('../img/architekt.webp');
    background-size: cover;
    background-position: center;
}
.keyword { color: #569cd6; }
.string { color: #ce9178; }
.comment { color: #6a9955; }
.function { color: #dcdcaa; }

.projects-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.project-card {
    background: rgba(15, 23, 42, 0.5);
    border-radius: 0.5rem;
    padding: 1.5rem;
    transition: border 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid transparent;
}

.project-card:hover {
    border: 1px solid rgba(16, 185, 129, 0.5);
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.2);
}

.project-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 0.25rem;
    margin-bottom: 1rem;
}

.slider-container {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: 0.25rem;
    overflow: hidden;
    margin-bottom: 1rem;
}

.slides {
    display: flex;
    width: 300%;
    height: 100%;
    transition: transform 0.5s ease;
}

.slide {
    width: 33.33%;
    height: 100%;
    object-fit: contain;
    cursor: pointer;
    background-color: #1e293b; /* Dark background for letterboxing */
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
    border: 2px solid #10b981;
    padding: 0.5rem;
    cursor: pointer;
    border-radius: 50%;
    font-size: 1rem;
    transition: all 0.3s ease;
    opacity: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-card:hover .slider-btn {
    opacity: 1;
}

.slider-btn:hover {
    background: #10b981;
    color: white;
}

.prev-btn {
    left: 0.5rem;
}

.next-btn {
    right: 0.5rem;
}

.dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.5);
    cursor: pointer;
    transition: background 0.3s ease;
}

.dot.active {
    background: #10b981;
}

/* Education Section */
.categories-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .categories-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    }
}

.category {
    background: rgba(15, 23, 42, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    padding: 1.5rem;
    transition: transform 0.3s ease;
}

.category:hover {
    transform: translateY(-5px);
}

.category-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(16, 185, 129, 0.3);
    padding-bottom: 0.5rem;
}

.category-header i {
    color: #10b981;
    font-size: 1.5rem;
}

.category-title {
    color: #e2e8f0;
    font-size: 1.25rem;
    font-weight: bold;
    margin: 0;
}

.category-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.cert-card {
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.glass-card {
    background: rgba(15, 23, 42, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 4px solid #10b981;
    border-radius: 0.75rem;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.glass-card:hover {
    box-shadow: 0 0 30px rgba(16, 185, 129, 0.6);
    transform: translateY(-5px);
    border-color: rgba(16, 185, 129, 0.5);
}

.cert-icon {
    color: #10b981;
    font-size: 2rem;
}

.cert-content {
    flex: 1;
}

.cert-title {
    color: #e2e8f0;
    font-size: 1.25rem;
    font-weight: bold;
    margin: 0;
}

.cert-subtitle {
    color: #94a3b8;
    font-size: 0.875rem;
    margin: 0.25rem 0 0 0;
}

.cert-competency {
    color: #10b981;
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0.5rem 0 0.25rem 0;
}

.cert-details {
    color: #cbd5e1;
    font-size: 0.8rem;
    line-height: 1.4;
    margin: 0.5rem 0;
}

.cert-details ul {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 0 0;
}

.cert-details li {
    margin-bottom: 0.25rem;
}

.cert-details strong {
    color: #10b981;
}

.pcap .cert-details strong {
    color: #34d399;
}

.istqb .cert-details strong {
    color: #06b6d4;
}

.specializations {
    margin-top: 0.75rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.badge {
    border: 1px solid #10b981;
    color: #10b981;
    padding: 0.25rem 0.5rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 500;
    transition: box-shadow 0.3s ease;
    background: transparent;
}

.badge.emerald {
    border-color: #34d399;
    color: #34d399;
}

.badge.emerald:hover {
    box-shadow: 0 0 10px rgba(52, 211, 153, 0.5);
}

.badge.cyan {
    border-color: #06b6d4;
    color: #06b6d4;
}

.badge.cyan:hover {
    box-shadow: 0 0 10px rgba(6, 182, 212, 0.5);
}

.badge.wald {
    border-color: #065f46;
    color: #065f46;
}

.badge.wald:hover {
    box-shadow: 0 0 10px rgba(6, 95, 70, 0.5);
}

.badge.neon {
    border-color: #34d399;
    color: #34d399;
}

.badge.neon:hover {
    box-shadow: 0 0 10px rgba(52, 211, 153, 0.5);
}

.badge.mint {
    border-color: #6ee7b7;
    color: #6ee7b7;
}

.badge.mint:hover {
    box-shadow: 0 0 10px rgba(110, 231, 183, 0.5);
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 0.5rem;
}

.lightbox .close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: white;
    font-size: 2rem;
    cursor: pointer;
}

.github-btn {
    display: inline-flex;
    align-items: center;
    background: #24292e;
    color: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.3s ease;
}

.github-btn:hover {
    background: #1a1e22;
    transform: scale(1.05);
}

.github-btn i {
    margin-right: 0.5rem;
}
.variable { color: #9cdcfe; }

/* Footer Styles */
.footer-section {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.social-link {
    color: #64748b;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: #10b981;
}

/* Mobile Optimizations */
@media (max-width: 1024px) {
    .sticky-socials {
        display: none;
    }
    
    .hero-content h1 {
        font-size: 1.875rem; /* text-3xl */
    }
    
    .hero-content #motto {
        font-size: 1.25rem; /* text-xl */
        line-height: 1.2;
    }
}

/* IDE View Styles */
.ide-container {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    background: rgba(30, 41, 59, 0.8);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 0 40px rgba(16, 185, 129, 0.2);
    backdrop-filter: blur(10px);
}

.file-explorer {
    width: 250px;
    background: rgba(15, 23, 42, 0.9);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem;
    font-family: 'Inter', 'Fira Code', monospace;
    font-size: 13px;
}

.file, .folder, .file-item {
    display: flex;
    align-items: center;
    padding: 0.5rem;
    margin-bottom: 0.25rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.file:hover, .folder:hover, .file-item:hover {
    background: rgba(16, 185, 129, 0.1);
    transform: translateX(2px);
}

.file.active, .file-item.active {
    background: rgba(16, 185, 129, 0.15);
    border-left: 3px solid #10b981;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.3);
}

.file i, .folder i {
    margin-right: 0.5rem;
    color: #64748b;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.file.active i {
    color: #10b981;
}

.file span, .folder span {
    color: #e2e8f0;
    font-size: 13px;
}

.folder-content {
    margin-left: 1.5rem;
    margin-top: 0.25rem;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    padding-left: 0.5rem;
}

.folder-content .file {
    padding: 0.25rem 0.5rem;
    margin-bottom: 0.125rem;
}

.folder-content .file span {
    font-size: 12px;
    color: #94a3b8;
}

.code-window {
    flex: 1;
    background: rgba(15, 23, 42, 0.9);
    position: relative;
}

.window-buttons {
    display: flex;
    gap: 8px;
    padding: 12px;
    background: rgba(30, 41, 59, 0.8);
}

.button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.button.red { background: #ff5f56; }
.button.yellow { background: #ffbd2e; }
.button.green { background: #27ca3f; }

.code-content {
    padding: 2rem;
    font-family: 'Fira Code', monospace;
    font-size: 0.9rem;
    line-height: 1.6;
    color: #e2e8f0;
    overflow-x: auto;
    max-height: 600px;
    overflow-y: auto;
}

.markdown h1 {
    color: #10b981;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    border-bottom: 1px solid rgba(16, 185, 129, 0.3);
    padding-bottom: 0.25rem;
}

.markdown h2 {
    color: #34d399;
    font-size: 1.25rem;
    margin: 0.75rem 0 0.25rem 0;
}

.markdown blockquote {
    border-left: 4px solid #10b981;
    padding-left: 1rem;
    margin: 0.5rem 0;
    color: #94a3b8;
    font-style: italic;
}

.markdown strong {
    color: #fbbf24;
    font-weight: bold;
}

.markdown ul {
    margin: 0.5rem 0;
    padding-left: 1.5rem;
}

.markdown li {
    margin-bottom: 0.25rem;
    color: #cbd5e1;
}

.markdown li::marker {
    color: #10b981;
}

.markdown p {
    margin-bottom: 0.5rem;
    color: #e2e8f0;
}

@media (max-width: 1024px) {
    .ide-container {
        flex-direction: column;
        width: 100%;
        margin: 0;
        max-width: none;
    }
    
    .file-explorer {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .code-content {
        max-height: 400px;
        padding: 1rem;
    }
}

@media (max-width: 768px) {
    .file-explorer {
        display: none;
        transition: all 0.3s ease;
    }
    .file-explorer.active {
        display: block;
    }
    
    .code-content {
        font-size: 0.85rem;
    }
    .code-content pre {
        font-size: 0.7rem;
    }
    .code-window {
        padding: 0.5rem;
    }
}

@media (max-width: 599px) {
    .code-content {
        font-size: 0.8rem;
        overflow-x: auto;
    }
}

/* Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal.modal-hidden {
    display: none !important;
}

.modal-content {
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 0.75rem;
    padding: 2rem;
    max-width: 800px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 0 40px rgba(16, 185, 129, 0.2);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    color: #94a3b8;
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

@media (max-width: 768px) {
    .modal-close {
        font-size: 2rem;
        top: 1.5rem;
        right: 1.5rem;
    }
}

.modal-close:hover {
    color: #10b981;
}

.modal .markdown {
    color: #e2e8f0;
}

.modal .markdown h1 {
    color: #10b981;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(16, 185, 129, 0.3);
    padding-bottom: 0.5rem;
}

.modal .markdown h2 {
    color: #34d399;
    font-size: 1.25rem;
    margin: 1.5rem 0 1rem 0;
}

.modal .markdown h3 {
    color: #34d399;
    font-size: 1.25rem;
    margin: 1.5rem 0 1rem 0;
}

.modal .markdown p {
    margin-bottom: 1rem;
    color: #cbd5e1;
}

.modal .markdown ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.modal .markdown li {
    margin-bottom: 0.5rem;
    color: #cbd5e1;
}

.modal .markdown li::marker {
    color: #10b981;
}

/* Contact form inputs */
input[type="text"],
input[type="email"],
textarea {
    background-color: #1e293b !important; /* slate-800 */
    color: #e2e8f0 !important; /* slate-200 */
    border: 1px solid #475569 !important; /* slate-600 */
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
    border-color: #34d399 !important; /* emerald-400 */
    outline: none !important;
}

/* Timeline Styles */
.timeline {
    position: relative;
    padding-left: 20px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #10b981; /* emerald-500 */
}

.timeline-item {
    position: relative;
    margin-bottom: 1rem;
}

.timeline-marker {
    position: absolute;
    left: -20px;
    top: 4px;
    width: 12px;
    height: 12px;
    background: #10b981;
    border-radius: 50%;
    border: 2px solid #0f172a; /* slate-900 */
}

.timeline-content h4 {
    margin: 0;
}

.timeline-content p {
    margin: 0.25rem 0 0 0;
}

/* Engineering Artifacts */
.engineering-artifacts {
    margin-top: 1rem;
}

.engineering-artifacts summary {
    list-style: none;
    font-weight: 600;
}

.engineering-artifacts summary::-webkit-details-marker {
    display: none;
}

.engineering-artifacts summary::after {
    content: ' ▼';
    font-size: 0.8em;
    margin-left: 0.5rem;
}

.engineering-artifacts[open] summary::after {
    content: ' ▲';
}

.artifact-link {
    display: inline-block;
    background: rgba(16, 185, 129, 0.1); /* emerald-500/10 */
    color: #34d399; /* emerald-400 */
    border: 1px solid rgba(16, 185, 129, 0.2); /* emerald-500/20 */
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    text-decoration: none;
    font-size: 0.875rem;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.artifact-link:hover {
    background: rgba(16, 185, 129, 0.2);
    border-color: rgba(16, 185, 129, 0.4);
}

@media (max-width: 768px) {
    .container,
    .projects-grid,
    .project-card,
    .ide-container,
    .code-window,
    .modal-content {
        max-width: 100%;
    }

    p,
    a,
    span,
    .skill-badge,
    .github-btn {
        overflow-wrap: anywhere;
        word-break: break-word;
    }
}
