:root {
    --bg-color: #000;
    --txt-color: #fff;
    --accent-color: #7b38f8;
    --accent-hover: #6a2ae0;
    --nav-bg: rgba(0, 0, 0, 0);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--txt-color);
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

.header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    background: var(--nav-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    height: 70px;
}

.navbar__logo {
    display: flex;
    align-items: center;
    gap: 20px;
}

.navbar__logo a {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-color);
    text-decoration: none;
    letter-spacing: 1px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 5px;
}

.navbar__logo a:hover {
    transform: translateY(-2px);
}

.logo-icon {
    font-size: 1.8rem;
}

.logo-text {
    font-family: 'Sora', sans-serif;
    font-weight: 700;
}

.navbar__links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.navbar__links a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #e5e5e5;
    text-decoration: none;
    font-size: 0.95rem;
    padding: 8px 18px;
    border-radius: 25px;
    transition: var(--transition);
    font-weight: 500;
}

.navbar__links a i {
    font-size: 1.1rem;
    transition: var(--transition);
}

.navbar__links a:hover {
    background: var(--accent-color);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(123, 56, 248, 0.3);
}

.navbar__links a:hover i {
    transform: scale(1.1);
}

.navbar__cta {
    margin-left: 10px;
}

.navbar__cta a {
    background: var(--accent-color);
    color: white;
    padding: 10px 22px;
    border-radius: 25px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(123, 56, 248, 0.3);
}

.navbar__cta a:hover {
    background: var(--accent-hover);
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(123, 56, 248, 0.4);
}

.navbar__social {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: 20px;
}

.navbar__social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: #e5e5e5;
    text-decoration: none;
    transition: var(--transition);
}

.navbar__social a:hover {
    background: var(--accent-color);
    color: white;
    transform: translateY(-2px);
}

.navbar__toggle {
    display: none;
    cursor: pointer;
    font-size: 1.6rem;
    color: #fff;
    background: none;
    border: none;
    transition: var(--transition);
    z-index: 1001;
    background-color: #6a2ae0;
    padding: 8px 12px;
    border-radius: 100%;
}

.navbar__toggle:hover {
    color: #fff;
}

@media (max-width: 768px) {
    .navbar {
        padding: 0 16px;
        height: 70px;
    }

    .navbar__links {
        position: fixed;
        top: 70px;
        right: 0;
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        height: calc(100vh - 70px);
        width: 280px;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding: 30px 24px;
        gap: 12px;
        transform: translateX(100%);
        transition: transform 0.4s ease;
        border-left: 1px solid rgba(255, 255, 255, 0.05);
    }

    .navbar__links.active {
        transform: translateX(0);
    }

    .navbar__links li {
        width: 100%;
    }

    .navbar__links a {
        width: 100%;
        padding: 12px 18px;
        border-radius: 12px;
        font-size: 1rem;
    }

    .navbar__cta {
        margin: 20px 0 0 0;
        width: 100%;
    }

    .navbar__cta a {
        width: 100%;
        text-align: center;
        justify-content: center;
        border-radius: 12px;
    }

    .navbar__social {
        margin: 20px 0 0 0;
        width: 100%;
        justify-content: center;
        gap: 15px;
    }

    .navbar__toggle {
        display: block;
    }
}

.content {
    margin-top: 70px;
    min-height: calc(100vh - 70px);
}

#home {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 24px;
    position: relative;
    overflow: hidden;
}

#home::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero {
    max-width: 800px;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
}

.hero-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 20px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid rgba(255, 255, 255, 0.2);
    overflow: hidden;
}

.hero-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    font-family: 'Sora', sans-serif;
    color: var(--accent-color);
}

.hero .subtitle {
    font-size: 1.8rem;
    margin-bottom: 20px;
    opacity: 0.9;
    font-weight: 300;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 50px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.scroll-down {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    cursor: pointer;
    z-index: 2;
}

.scroll-arrow {
    width: 30px;
    height: 30px;
    border-right: 2px solid var(--accent-color);
    border-bottom: 2px solid var(--accent-color);
    transform: rotate(45deg);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: rotate(45deg) translateY(0);
    }
    40% {
        transform: rotate(45deg) translateY(-10px);
    }
    60% {
        transform: rotate(45deg) translateY(-5px);
    }
}

#journey {
    padding: 100px 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 60px;
    text-align: center;
    font-family: 'Sora', sans-serif;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--accent-color);
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: var(--accent-color);
}

.timeline-item {
    display: flex;
    justify-content: flex-end;
    padding-right: 30px;
    position: relative;
    margin: 40px 0;
    width: 50%;
}

.timeline-item:nth-child(even) {
    align-self: flex-end;
    justify-content: flex-start;
    padding-left: 30px;
    padding-right: 0;
    margin-left: 50%;
}

.logo-server {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: cover;
    margin-right: 12px;
    display: inline-block;
    vertical-align: middle;
    transition: var(--transition);
}


.project-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: white;
    font-family: 'Sora', sans-serif;
    display: inline-block;
    vertical-align: middle;
}


.timeline-content {
    background: rgba(0, 0, 0, 0.05);
    padding: 25px;
    border-radius: 16px;
    width: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.timeline-content:hover {
    transform: translateY(-10px);
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    right: -8px;
    background: var(--accent-color);
    border: 3px solid var(--bg-color);
    top: 30px;
    border-radius: 50%;
    z-index: 1;
}

.timeline-item:nth-child(even)::after {
    left: -8px;
    right: auto;
}

.project-number {
    display: inline-block;
    background: var(--accent-color);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.project-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: white;
    font-family: 'Sora', sans-serif;
}

.project-role {
    font-size: 1.1rem;
    color: var(--accent-color);
    margin-bottom: 8px;
    font-weight: 600;
}

.project-period {
    font-size: 0.9rem;
    color: #aaa;
    margin-bottom: 15px;
    font-style: italic;
}

.project-description {
    color: #e5e5e5;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .timeline::before {
        left: 30px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 0;
    }

    .timeline-item:nth-child(even) {
        margin-left: 0;
        padding-left: 70px;
    }

    .timeline-item::after {
        left: 22px;
        right: auto;
    }

    .timeline-item:nth-child(even)::after {
        left: 22px;
    }
}


        .project-header {
            display: flex;
            align-items: center;
            margin-bottom: 15px;
            gap: 12px;
        }

        .server-info {
            flex: 1;
        }

        .server-name {
            font-size: 1.4rem;
            font-weight: 700;
            color: white;
            font-family: 'Sora', sans-serif;
            margin: 0;
        }

        .project-role {
            font-size: 1.1rem;
            color: var(--accent-color);
            font-weight: 600;
            margin: 5px 0;
        }

        .project-period {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 0.9rem;
            color: #aaa;
            margin-bottom: 15px;
        }

        .project-period i {
            color: var(--accent-color);
        }

        .project-links {
            display: flex;
            gap: 10px;
            margin-top: 15px;
            flex-wrap: wrap;
        }

        .link-btn {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 8px 16px;
            background: rgba(123, 56, 248, 0.1);
            color: var(--accent-color);
            text-decoration: none;
            border-radius: 20px;
            font-size: 0.9rem;
            font-weight: 500;
            transition: var(--transition);
            border: 1px solid rgba(123, 56, 248, 0.3);
        }

        .link-btn:hover {
            background: var(--accent-color);
            color: white;
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(123, 56, 248, 0.3);
        }

        .status-badge {
            display: inline-block;
            padding: 4px 10px;
            border-radius: 12px;
            font-size: 0.8rem;
            font-weight: 600;
            margin-left: 8px;
        }

        .status-active {
            background: rgba(76, 175, 80, 0.2);
            color: #4CAF50;
            border: 1px solid rgba(76, 175, 80, 0.3);
        }

        .status-inactive {
            background: rgba(244, 67, 54, 0.2);
            color: #F44336;
            border: 1px solid rgba(244, 67, 54, 0.3);
        }

.footer {
    padding: 40px 0 20px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: #e5e5e5;
    text-decoration: none;
    transition: var(--transition);
    font-size: 1.2rem;
}

.footer-social a:hover {
    background: var(--accent-color);
    color: white;
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 20px;
    color: #888;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero .subtitle {
        font-size: 1.4rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
}

#particles-js {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 0;
}

#home-btn {
    background-color: var(--accent-color);
}

.dovednosti {
    padding: 100px 0;
    position: relative;
}

.dovednosti::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 15px;
    font-family: 'Sora', sans-serif;
    background: linear-gradient(135deg, var(--accent-color), #9d50ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    text-align: center;
    color: #aaa;
    font-size: 1.1rem;
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.skill-category {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 16px;
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.skill-category:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
    box-shadow: 0 15px 30px rgba(123, 56, 248, 0.2);
}

.category-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.category-header i {
    font-size: 2rem;
    color: var(--accent-color);
    background: rgba(123, 56, 248, 0.1);
    padding: 12px;
    border-radius: 12px;
}

.category-header h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: white;
    font-family: 'Sora', sans-serif;
}

.skills-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.skill-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.skill-name {
    font-weight: 500;
    color: white;
    font-size: 1rem;
}

.skill-level {
    font-size: 0.85rem;
    color: var(--accent-color);
    font-weight: 500;
}

.skill-bar {
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.skill-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-color), var(--accent-hover));
    border-radius: 10px;
    width: 0;
    transition: width 1.5s ease-in-out;
    position: relative;
}

.skill-progress::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.tech-stack {
    text-align: center;
    margin-top: 50px;
}

.tech-stack h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: white;
    font-family: 'Sora', sans-serif;
}

.tech-icons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px;
}

.tech-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    transition: var(--transition);
    min-width: 80px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.tech-icon:hover {
    transform: translateY(-5px);
    background: rgba(123, 56, 248, 0.1);
    border-color: var(--accent-color);
    box-shadow: 0 10px 25px rgba(123, 56, 248, 0.2);
}

.tech-icon i {
    font-size: 2rem;
    color: var(--accent-color);
}

.tech-icon span {
    font-size: 0.85rem;
    font-weight: 500;
    color: white;
}

/* Animace progress barů při scrollování */
.skill-progress.animated {
    width: var(--progress-width);
}

@media (max-width: 768px) {
    .dovednosti {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .skill-category {
        padding: 20px;
    }
    
    .tech-icons {
        gap: 15px;
    }
    
    .tech-icon {
        min-width: 70px;
        padding: 12px;
    }
    
    .tech-icon i {
        font-size: 1.7rem;
    }
}

@media (max-width: 480px) {
    .tech-icons {
        gap: 10px;
    }
    
    .tech-icon {
        min-width: 60px;
        padding: 10px;
    }
    
    .tech-icon i {
        font-size: 1.5rem;
    }
    
    .tech-icon span {
        font-size: 0.8rem;
    }
}