<!DOCTYPE html>
<html lang="cs">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>radek lekner | marketing, fotografie, dj & vývoj</title>
    <style>
        :root {
            --bg: #000000;
            --surface: #0a0a0a;
            --surface-border: #262626;
            --text-main: #ffffff;
            --text-muted: #a3a3a3;
            --text-dim: #737373;
            --accent-gray: #e5e5e5;
            --font: system-ui, -apple-system, blinkmacsystemfont, 'segoe ui', roboto, sans-serif;
            --font-mono: 'courier new', courier, monospace, monospace;
        }

        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
            text-transform: lowercase;
        }

        body {
            background-color: var(--bg);
            color: var(--text-main);
            font-family: var(--font);
            line-height: 1.4;
            padding: 16px;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        .page-layout {
            max-width: 1440px;
            width: 100%;
            margin: 0 auto;
            display: flex;
            flex-direction: column;
            gap: 14px;
        }

        /* třísloupcové rozvržení pro zobrazení na 1 obrazovce pc */
        .main-grid {
            display: grid;
            grid-template-columns: 1.15fr 1fr 1.15fr;
            gap: 14px;
            align-items: stretch;
        }

        .column {
            display: flex;
            flex-direction: column;
            gap: 14px;
        }

        .card {
            background: var(--surface);
            border: 1px solid var(--surface-border);
            border-radius: 8px;
            padding: 16px 18px;
        }

        .card.grow {
            flex: 1;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }

        header.card {
            text-align: center;
            padding: 18px 16px;
            border-top: 3px solid var(--accent-gray);
        }

        h1 {
            font-size: 1.85rem;
            letter-spacing: 1.5px;
            font-weight: 800;
            color: var(--text-main);
            margin-bottom: 4px;
        }

        .subtitle {
            color: var(--text-muted);
            font-weight: 500;
            font-size: 0.9rem;
            letter-spacing: 0.5px;
        }

        h2 {
            font-size: 1.05rem;
            letter-spacing: 1px;
            color: var(--text-main);
            margin-bottom: 10px;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        h2::after {
            content: '';
            flex: 1;
            height: 1px;
            background: var(--surface-border);
        }

        /* hra uprostřed */
        .game-card {
            text-align: center;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            flex: 1;
            padding: 14px;
        }

        .game-score {
            font-size: 1rem;
            color: var(--text-main);
            margin-bottom: 8px;
            font-family: var(--font-mono);
            letter-spacing: 1px;
        }

        .game-score span {
            color: var(--accent-gray);
        }

        canvas {
            background: #000000;
            border: 1px solid var(--surface-border);
            border-radius: 4px;
            display: block;
            width: 100%;
            max-width: 400px;
            height: auto;
            touch-action: none;
            cursor: pointer;
        }

        .game-info {
            font-size: 0.75rem;
            color: var(--text-dim);
            font-family: var(--font-mono);
            margin-top: 8px;
        }

        /* levý sloupec - služby */
        .services-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 10px;
            flex: 1;
        }

        .service-item {
            background: rgba(255, 255, 255, 0.02);
            border: 1px solid var(--surface-border);
            border-radius: 6px;
            padding: 12px;
            transition: border-color 0.2s;
        }

        .service-item:hover {
            border-color: var(--accent-gray);
        }

        .service-item h3 {
            font-size: 0.95rem;
            color: var(--text-main);
            margin-bottom: 6px;
            display: flex;
            align-items: center;
            gap: 6px;
        }

        .service-item h3::before {
            content: '';
            width: 5px;
            height: 5px;
            background-color: var(--accent-gray);
            border-radius: 50%;
            display: inline-block;
        }

        .service-item ul {
            list-style: none;
        }

        .service-item ul li {
            color: var(--text-muted);
            font-size: 0.8rem;
            margin-bottom: 4px;
            padding-left: 11px;
            position: relative;
        }

        .service-item ul li::before {
            content: "•";
            position: absolute;
            left: 0;
            color: var(--text-dim);
        }

        /* pravý sloupec - o mně, projekty, kontakt */
        .about-text {
            color: var(--text-muted);
            font-size: 0.88rem;
        }

        .projects-box {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .projects-note {
            color: var(--text-muted);
            font-size: 0.84rem;
        }

        .projects-actions {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            margin-top: 4px;
        }

        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            background: var(--surface);
            color: var(--text-main);
            border: 1px solid var(--surface-border);
            padding: 7px 14px;
            border-radius: 4px;
            font-weight: 500;
            font-size: 0.82rem;
            text-decoration: none;
            transition: all 0.2s;
        }

        .btn:hover {
            background: var(--text-main);
            color: var(--bg);
            border-color: var(--text-main);
        }

        .contact-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 12px;
        }

        .contact-links {
            display: flex;
            flex-direction: column;
            gap: 5px;
        }

        .contact-links a, .contact-links span {
            color: var(--text-main);
            text-decoration: none;
            font-size: 0.86rem;
            transition: color 0.2s;
        }

        .contact-links a:hover {
            color: var(--text-muted);
        }

        .contact-links span {
            color: var(--text-muted);
        }

        .qr-box {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 4px;
            flex-shrink: 0;
        }

        .qr-box img {
            width: 92px;
            height: 92px;
            border-radius: 6px;
            background: #ffffff;
            padding: 4px;
            border: 1px solid var(--surface-border);
        }

        .qr-caption {
            font-size: 0.7rem;
            color: var(--text-dim);
            font-family: var(--font-mono);
        }

        footer {
            text-align: center;
            color: var(--text-dim);
            font-size: 0.78rem;
            padding-top: 2px;
        }

        /* responzivita pro menší obrazovky a mobily */
        @media (max-width: 1100px) {
            body {
                display: block;
            }
            .main-grid {
                grid-template-columns: 1fr;
            }
            .services-grid {
                grid-template-columns: 1fr 1fr;
            }
        }

        @media (max-width: 600px) {
            .services-grid {
                grid-template-columns: 1fr;
            }
            .contact-container {
                flex-direction: column;
                align-items: flex-start;
            }
        }
    </style>
    <link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
    <link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
    <link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
    <link rel="manifest" href="/site.webmanifest">
</head>
<body>

    <div class="page-layout">
        
        <div class="main-grid">
            
            <!-- levý sloupec: služby -->
            <div class="column">
                <section class="card grow">
                    <h2>služby</h2>
                    <div class="services-grid">
                        
                        <div class="service-item">
                            <h3>marketing & ai</h3>
                            <ul>
                                <li>správa sociálních sítí (fb, ig)</li>
                                <li>tvorba obsahové strategie</li>
                                <li>školení správy sítí s ai</li>
                                <li>placená reklama a reporting</li>
                                <li>krizová komunikace a pr</li>
                            </ul>
                        </div>

                        <div class="service-item">
                            <h3>vývoj & data</h3>
                            <ul>
                                <li>interaktivní webové aplikace</li>
                                <li>datové vizualizace a dashboardy</li>
                                <li>mikroaplikace & minihry na míru</li>
                                <li>automatizace a práce s daty</li>
                                <li>prototypování s ai nástroji</li>
                            </ul>
                        </div>

                        <div class="service-item">
                            <h3>fotografie</h3>
                            <ul>
                                <li>produktová & komerční fotka</li>
                                <li>firemní eventy a reportáže</li>
                                <li>portrétní fotografie</li>
                                <li>vizuální obsah pro sociální sítě</li>
                            </ul>
                        </div>

                        <div class="service-item">
                            <h3>dj & moderování</h3>
                            <ul>
                                <li>firemní akce a teambuildingy</li>
                                <li>svatby a soukromé oslavy</li>
                                <li>moderování společenských akcí</li>
                                <li>vlastní zvuková a světelná aparatura</li>
                            </ul>
                        </div>

                    </div>
                </section>
            </div>

            <!-- prostřední sloupec: hlavička a hra -->
            <div class="column">
                <header class="card">
                    <h1>radek lekner</h1>
                    <p class="subtitle">marketing • fotografie • dj • vývoj & data</p>
                </header>

                <section class="card game-card">
                    <div class="game-score">skóre: <span id="scoreVal">0</span></div>
                    <canvas id="gameCanvas" width="400" height="270"></canvas>
                    <div class="game-info">šipky / myš / dotyk • pauza: mezerník / kliknutí</div>
                </section>
            </div>

            <!-- pravý sloupec: o mně, projekty a kontakt -->
            <div class="column">
                <section class="card">
                    <h2>o mně</h2>
                    <p class="about-text">
                        jsem marketingový specialista s bohatou praxí v komunikaci, tvorbě obsahu a organizaci akcí. 
                        specializuji se na správu a strategii sociálních sítí s využitím moderních ai nástrojů (chatgpt, claude, gemini). 
                        kromě marketingu působím jako profesionální fotograf, moderátor a dj na firemních i soukromých akcích s vlastní kompletní aparaturou.
                    </p>
                </section>

                <section class="card">
                    <h2>projekty</h2>
                    <div class="projects-box">
                        <p class="projects-note">
                            přehled vybraných projektů je dostupný v klientské sekci. přístup je chráněn heslem – o přihlašovací údaje si prosím napište na e-mail.
                        </p>
                        <div class="projects-actions">
                            <a href="https://idecinsko.cz/web/xs/klienti.php" target="_blank" rel="noopener" class="btn">vstoupit do klientské sekce –></a>
                            <a href="mailto:radek.lekner@gmail.com?subject=%C5%BE%C3%A1dost%20o%20p%C5%99%C3%ADstup%20do%20klientsk%C3%A9%20sekce&body=dobr%C3%BD%20den%2C%0A%0Apros%C3%ADm%20o%20zasl%C3%A1n%C3%AD%20p%C5%99%C3%ADstupov%C3%A9ho%20hesla%20do%20klientsk%C3%A9%20sekce%20s%20p%C5%99ehledem%20va%C5%A1ich%20projekt%C5%AF.%0A%0Ad%C4%9Bkuji." class="btn">požádat o heslo e-mailem</a>
                        </div>
                    </div>
                </section>

                <section class="card grow">
                    <h2>kontakt</h2>
                    <div class="contact-container">
                        <div class="contact-links">
                            <a href="mailto:radek.lekner@gmail.com">✉ radek.lekner@gmail.com</a>
                            <a href="tel:+420777577517">📞 +420 777 577 517</a>
                            <span>📍 region: děčín a okolí</span>
                        </div>
                        <div class="qr-box">
                            <img src="qr-rl.png" alt="qr kód pro uložení vizitky">
                            <span class="qr-caption">uložit vizitku</span>
                        </div>
                    </div>
                </section>
            </div>

        </div>

        <footer>
            &copy; 2026 radek lekner
        </footer>

    </div>

    <script>
        window.addEventListener('DOMContentLoaded', () => {
            const canvas = document.getElementById('gameCanvas');
            if (!canvas) return;
            const ctx = canvas.getContext('2d');
            const scoreVal = document.getElementById('scoreVal');

            let score = 0;
            let gameOver = false;
            let isPaused = false;

            const paddle = {
                width: 80,
                height: 9,
                x: (canvas.width - 80) / 2,
                y: canvas.height - 18,
                speed: 7,
                isMovingLeft: false,
                isMovingRight: false
            };

            const ball = {
                x: canvas.width / 2,
                y: canvas.height / 2,
                radius: 6,
                dx: 3,
                dy: -3
            };

            window.addEventListener('keydown', (e) => {
                if (e.key === 'arrowright' || e.key === 'right' || e.key === 'ArrowRight') paddle.isMovingRight = true;
                if (e.key === 'arrowleft' || e.key === 'left' || e.key === 'ArrowLeft') paddle.isMovingLeft = true;
                
                if (e.key === ' ' || e.code === 'Space') {
                    e.preventDefault();
                    if (gameOver) {
                        restartGame();
                    } else {
                        isPaused = !isPaused;
                    }
                }
            });

            window.addEventListener('keyup', (e) => {
                if (e.key === 'arrowright' || e.key === 'right' || e.key === 'ArrowRight') paddle.isMovingRight = false;
                if (e.key === 'arrowleft' || e.key === 'left' || e.key === 'ArrowLeft') paddle.isMovingLeft = false;
            });

            function setPaddlePos(clientX) {
                const rect = canvas.getBoundingClientRect();
                const scaleX = canvas.width / rect.width;
                const relX = (clientX - rect.left) * scaleX;
                paddle.x = relX - paddle.width / 2;

                if (paddle.x < 0) paddle.x = 0;
                if (paddle.x + paddle.width > canvas.width) paddle.x = canvas.width - paddle.width;
            }

            canvas.addEventListener('mousemove', (e) => {
                if (!isPaused && !gameOver) setPaddlePos(e.clientX);
            });

            canvas.addEventListener('touchmove', (e) => {
                if (!isPaused && !gameOver && e.touches.length > 0) {
                    setPaddlePos(e.touches[0].clientX);
                    e.preventDefault();
                }
            }, { passive: false });

            canvas.addEventListener('click', () => {
                if (gameOver) {
                    restartGame();
                } else {
                    isPaused = !isPaused;
                }
            });

            function update() {
                if (gameOver || isPaused) return;

                if (paddle.isMovingRight && paddle.x + paddle.width < canvas.width) {
                    paddle.x += paddle.speed;
                }
                if (paddle.isMovingLeft && paddle.x > 0) {
                    paddle.x -= paddle.speed;
                }

                ball.x += ball.dx;
                ball.y += ball.dy;

                if (ball.x + ball.radius > canvas.width || ball.x - ball.radius < 0) {
                    ball.dx *= -1;
                }
                if (ball.y - ball.radius < 0) {
                    ball.dy *= -1;
                }

                if (
                    ball.y + ball.radius >= paddle.y &&
                    ball.y - ball.radius <= paddle.y + paddle.height &&
                    ball.x >= paddle.x &&
                    ball.x <= paddle.x + paddle.width &&
                    ball.dy > 0
                ) {
                    let hitPoint = (ball.x - (paddle.x + paddle.width / 2)) / (paddle.width / 2);
                    ball.dx = hitPoint * 4;
                    ball.dy = -Math.abs(ball.dy);

                    score++;
                    scoreVal.textContent = score;

                    if (score % 5 === 0) {
                        ball.dy *= 1.05;
                    }
                }

                if (ball.y + ball.radius > canvas.height) {
                    gameOver = true;
                }
            }

            function draw() {
                ctx.clearRect(0, 0, canvas.width, canvas.height);

                ctx.beginPath();
                if (ctx.roundRect) {
                    ctx.roundRect(paddle.x, paddle.y, paddle.width, paddle.height, 4);
                } else {
                    ctx.rect(paddle.x, paddle.y, paddle.width, paddle.height);
                }
                ctx.fillStyle = '#ffffff';
                ctx.fill();
                ctx.closePath();

                ctx.beginPath();
                ctx.arc(ball.x, ball.y, ball.radius, 0, Math.PI * 2);
                ctx.fillStyle = '#ffffff';
                ctx.fill();
                ctx.closePath();

                if (gameOver) {
                    ctx.font = 'bold 20px "courier new", monospace';
                    ctx.fillStyle = '#ffffff';
                    ctx.textAlign = 'center';
                    ctx.fillText('konec hry', canvas.width / 2, canvas.height / 2 - 10);
                    ctx.font = '12px "courier new", monospace';
                    ctx.fillStyle = '#a3a3a3';
                    ctx.fillText('klikni pro novou hru', canvas.width / 2, canvas.height / 2 + 18);
                } else if (isPaused) {
                    ctx.font = 'bold 20px "courier new", monospace';
                    ctx.fillStyle = '#ffffff';
                    ctx.textAlign = 'center';
                    ctx.fillText('pauza', canvas.width / 2, canvas.height / 2 - 10);
                    ctx.font = '12px "courier new", monospace';
                    ctx.fillStyle = '#a3a3a3';
                    ctx.fillText('klikni pro pokračování', canvas.width / 2, canvas.height / 2 + 18);
                }
            }

            function loop() {
                update();
                draw();
                requestAnimationFrame(loop);
            }

            function restartGame() {
                ball.x = canvas.width / 2;
                ball.y = canvas.height / 2;
                ball.dx = 3;
                ball.dy = -3;
                paddle.x = (canvas.width - paddle.width) / 2;
                score = 0;
                scoreVal.textContent = score;
                gameOver = false;
                isPaused = false;
            }

            loop();
        });
    </script>

</body>
</html>