:root {
            --bg-color: #050505;
            --text-main: #ffffff;
            --text-muted: #888888;
            --card-bg: rgba(255, 255, 255, 0.03);
            --card-border: rgba(255, 255, 255, 0.08);
            --glow: 0 10px 30px rgba(255, 255, 255, 0.1);
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Outfit', sans-serif;
            scroll-behavior: smooth;
        }

        body {
            background-color: var(--bg-color);
            color: var(--text-main);
            background: black;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }

        /* --- HLAVIČKA --- */
        header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 2.5rem 5%;
            max-width: 1200px;
            margin: 0 auto;
            width: 100%;
        }

        .logo-img {
            height: 80px; 
            width: auto;
        }

        .logo-img:hover {
            transform: scale(1.05);
        }

        .socials {
            display: flex;
            gap: 1.5rem;
        }

        .socials a {
            color: var(--text-main);
            font-size: 2rem;
            text-decoration: none;
            transition: all 0.3s ease;
        }

        .socials a:hover {
            color: #ffffff;
            transform: translateY(-3px);
            text-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
        }

        /* --- HERO SEKCE (Profil) --- */
        .hero {
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 4rem 5%;
            gap: 5rem;
            flex-wrap: wrap;
            max-width: 1200px;
            margin: 0 auto;
        }

        .image-container img {
            width: 350px;
            height: 350px;
            object-fit: cover;
            border-radius: 24px;
            box-shadow: 0 25px 50px rgba(0, 0, 0, 0.8);
            filter: grayscale(100%) brightness(0.9);
            transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
        }

        .image-container img:hover {
            filter: grayscale(0%) brightness(1);
            transform: translateY(-10px);
            box-shadow: 0 30px 60px rgba(255, 255, 255, 0.1);
        }

        .text-content {
            max-width: 500px;
        }

        .text-content h1 {
            font-size: 4rem;
            font-weight: 800;
            margin-bottom: 0.5rem;
            line-height: 1.1;
            letter-spacing: -1px;
        }

        .text-content p {
            font-family: 'Playfair Display', serif;
            font-size: 1.6rem;
            color: var(--text-muted);
            font-style: italic;
            margin-bottom: 2rem;
        }

        .scroll-btn {
            display: inline-block;
            padding: 0.8rem 2rem;
            background: var(--text-main);
            color: var(--bg-color);
            text-decoration: none;
            font-weight: 700;
            border-radius: 50px;
            transition: all 0.3s ease;
        }

        .scroll-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(255,255,255,0.3);
        }

        /* --- SEKCE PRÁCE & MATURITA --- */
        .projects-section {
            padding: 6rem 5% 4rem;
            max-width: 1200px;
            margin: 0 auto;
            width: 100%;
        }

        .section-title {
            font-size: 2.5rem;
            font-weight: 900;
            margin-bottom: 3rem;
            text-align: center;
            letter-spacing: -1px;
            text-transform: uppercase;
        }

        .section-title.margin-top {
            margin-top: 5rem;
        }

        .projects-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 1.5rem;
        }

        .project-card {
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 2.5rem 1.5rem;
            background-color: var(--card-bg);
            border: 1px solid var(--card-border);
            border-radius: 20px;
            color: var(--text-main);
            text-decoration: none;
            font-size: 1.3rem;
            font-weight: 700;
            text-align: center;
            transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
            backdrop-filter: blur(10px);
        }

        .project-card:hover {
            transform: translateY(-5px);
            background-color: rgba(255, 255, 255, 0.08);
            border-color: rgba(255, 255, 255, 0.2);
            box-shadow: var(--glow);
        }

        /* --- RESPONZIVITA PRO MOBILY --- */
        @media (max-width: 768px) {
            .hero {
                flex-direction: column;
                text-align: center;
                gap: 3rem;
                padding-top: 2rem;
            }
            .text-content h1 { font-size: 3rem; }
            .image-container img {
                width: 280px;
                height: 280px;
            }
            header {
                flex-direction: column;
                gap: 2rem;
            }
            .projects-section { padding-top: 4rem; }
        }