:root {
            --bg-dark: #0a0a0c;
            --bg-light: #ffffff;
            --accent-purple: #2faece;
            --text-light: #f4f4f5;
            --text-dark: #1a1a1a;
            --text-gray: #888888;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Montserrat', sans-serif;
        }

        html {
            scroll-behavior: smooth;
        }

        body {
            background-color: var(--bg-dark);
            color: var(--text-light);
            overflow-x: hidden;
        }

        .section-dark {
            background-color: var(--bg-dark);
            color: var(--text-light);
            padding: 100px 8%;
        }

        .section-light {
            background-color: var(--bg-light);
            color: var(--text-dark);
            padding: 100px 8%;
        }

        .reveal-block {
            opacity: 0;
            transform: translateY(50px);
            transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
        }

        .reveal-block.active {
            opacity: 1;
            transform: translateY(0);
        }

        @keyframes float {
            0% { transform: translateY(0px); }
            50% { transform: translateY(-20px); }
            100% { transform: translateY(0px); }
        }

        @keyframes fadeInUp {
            from { opacity: 0; transform: translateY(30px); }
            to { opacity: 1; transform: translateY(0); }
        }

        @keyframes slideUpFade {
            from {
                opacity: 0;
                transform: translateY(60px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .hero-header {
            position: relative;
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            background-image: radial-gradient(circle at 70% 30%, #1a1a24 0%, var(--bg-dark) 60%);
            padding: 100px 8% 60px 8%;
        }

        nav {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px 8%;
            z-index: 1000;
            background-color: rgba(10, 10, 12, 0.65);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            border-bottom: 1px solid rgba(255, 255, 255, 0.05);
            transition: padding 0.3s ease;
        }

        .logo {
            font-weight: 900;
            font-size: 24px;
            letter-spacing: 2px;
            color: var(--text-light);
            text-decoration: none;
            transition: color 0.3s ease;
        }

        .logo:hover {
            color: var(--accent-purple);
            background-color: transparent;
        }

        nav ul {
            list-style: none;
            display: flex;
            gap: 10px;
        }

        nav ul li a {
            color: var(--text-light);
            text-decoration: none;
            font-size: 13px;
            text-transform: uppercase;
            font-weight: 600;
            letter-spacing: 1px;
            padding: 10px 20px;
            border-radius: 25px;
            transition: all 0.3s ease;
        }

        nav ul li a:hover {
            background-color: var(--accent-purple);
            color: var(--text-dark);
        }

        .menu-toggle {
            display: none;
            flex-direction: column;
            border: 1px solid black;
            gap: 5px;
            cursor: pointer;
            z-index: 1001;
            background-color: black;
        }

        .menu-toggle span {
            width: 25px;
            height: 3px;
            background-color: #2faece;
            transition: all 0.3s ease;
        }

        .hero-container {
            display: flex;
            align-items: center;
            justify-content: space-between;
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            gap: 40px;
            position: relative;
            z-index: 2;
        }

        .hero-content {
            flex: 0 0 45%;
            max-width: 500px;
            text-align: left;
            opacity: 0;
            animation: slideUpFade 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
            animation-delay: 0.1s;
        }

        .hero-badge {
            background-color: var(--accent-purple);
            color: var(--text-dark);
            width: 70px;
            height: 70px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 900;
            font-size: 22px;
            margin-bottom: 25px;
        }

        .hero-content h1 {
            font-size: clamp(40px, 4.5vw, 55px);
            font-weight: 900;
            line-height: 1.1;
            text-transform: uppercase;
            margin-bottom: 15px;
            letter-spacing: -1px;
        }

        .hero-content h2 {
            font-size: clamp(15px, 4.5vw, 17px);
            font-weight: 900;
            line-height: 1.1;
            text-transform: uppercase;
            margin-bottom: 15px;
            letter-spacing: -1px;
        }

        .hero-content h3 {
            font-size: clamp(30px, 4.5vw, 25px);
            font-weight: 900;
            line-height: 1.1;
            text-transform: uppercase;
            margin-bottom: 10px;
            letter-spacing: -1px;
        }

        .hero-content span {
            color: var(--accent-purple);
        }

        .hero-content p {
            color: var(--text-gray);
            font-size: 16px;
            max-width: 450px;
            line-height: 1.6;
            border-left: 2px solid var(--accent-purple);
            padding-left: 20px;
            margin-bottom: 30px;
        }

        .hero-visual {
            flex: 0 0 55%;
            display: flex;
            justify-content: flex-end;
            position: relative;
            opacity: 0;
            animation: slideUpFade 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
            animation-delay: 0.35s;
        }

        #hero-particles {
            position: absolute;
            top: -10%;
            left: -10%;
            width: 120%;
            height: 120%;
            pointer-events: none;
            z-index: 1;
        }

        .hero-visual img {
            position: relative;
            z-index: 2;
            width: 100%;
            max-width: 550px;
            height: auto;
            animation: float 5s ease-in-out infinite;
            animation-delay: 1.35s;
            object-fit: contain;
            filter: drop-shadow(0 20px 30px rgba(0,0,0,0.5));
        }

        .btn {
            display: inline-block;
            padding: 15px 35px;
            background-color: var(--accent-purple);
            color: white;
            text-decoration: none;
            font-weight: 800;
            font-size: 13px;
            text-transform: uppercase;
            letter-spacing: 1px;
            border-radius: 40px;
            transition: all 0.3s ease;
            border: none;
            cursor: pointer;
            margin-top: 10px;
        }

        .btn:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 25px rgba(47, 174, 206, 0.25);
            background-color: #2493af;
        }

        .about-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 60px;
            align-items: center;
            max-width: 1400px;
            margin: 0 auto;
        }

        .section-title {
            font-size: 12px;
            font-weight: 800;
            text-transform: uppercase;
            letter-spacing: 2px;
            margin-bottom: 20px;
            display: flex;
            align-items: center;
            gap: 15px;
        }
        
        .section-title::after {
            content: "";
            display: block;
            width: 40px;
            height: 2px;
            background-color: var(--accent-purple);
        }

        .about-grid h2 {
            font-size: clamp(28px, 3.5vw, 36px);
            font-weight: 900;
            margin-bottom: 10px;
            line-height: 1.2;
        }

        .about-grid p {
            color: #555;
            line-height: 1.8;
            margin-bottom: 5px;
            font-size: 15px;
        }

        .about-visual {
            position: relative;
            display: flex;
            justify-content: center;
            align-items: center;
            width: 100%;
        }

        .about-visual img {
            width: 100%;
            max-width: 450px;
            height: auto;
            border-radius: 8px;
            box-shadow: 0 10px 20px rgba(0,0,0,0.15);
            object-fit: contain;
        }

        .about-badge-circle {
            position: absolute;
            bottom: -20px;
            right: -20px;
            width: 140px;
            height: 140px;
            background-color: var(--accent-purple);
            border-radius: 50%;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            font-weight: 900;
            color: var(--text-dark);
            text-transform: uppercase;
            font-size: 12px;
            letter-spacing: 1px;
            text-align: center;
            padding: 15px;
            box-shadow: 0 10px 20px rgba(0,0,0,0.15);
            line-height: 1.2;
        }

        .about-badge-circle h1 {
            font-size: 32px;
            font-weight: 900;
            line-height: 1;
            margin-bottom: 2px;
        }

        .services-wrapper {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            max-width: 1400px;
            margin: 0 auto;
            width: 100%;
        }

        .cards-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 20px;
            width: 100%;
            margin-top: 40px;
        }

        .card {
            padding: 30px 25px;
            min-height: 200px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            transition: transform 0.3s;
        }

        .card-purple { 
            background-color: var(--accent-purple); 
            color: #ffffff; /* Změněno na bílý text pro lepší čitelnost */
        }
        
        .card-white { 
            background-color: var(--bg-light); 
            color: var(--text-dark); 
            border: 2px solid var(--accent-purple); /* Přidáno fialové ohraničení */
        }
        
        .card-dark { 
            background-color: transparent; 
            border: 2px solid var(--accent-purple); /* Přidáno fialové ohraničení */
            color: var(--text-light);
        }

        .card h3 {
            font-size: 18px;
            font-weight: 800;
            margin-bottom: 10px;
            text-transform: uppercase;
        }

        .card p {
            font-size: 13px;
            line-height: 1.5;
            opacity: 0.9;
        }

        .card:hover {
            transform: translateY(-10px);
            box-shadow: 0 10px 25px rgba(47, 174, 206, 0.25);
        }

        .portfolio-container {
            max-width: 1400px;
            margin: 0 auto;
            width: 100%;
        }

        .portfolio-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 20px;
            margin-top: 40px;
        }

        .portfolio-item {
            aspect-ratio: 1 / 1;
            position: relative;
            overflow: hidden;
            display: flex;
            flex-direction: column;
            justify-content: flex-end;
            padding: 30px;
            transition: transform 0.3s ease, opacity 0.3s ease;
            cursor: pointer;
            border-radius: 4px;
        }

        .portfolio-item img {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            z-index: 1;
            transition: transform 0.5s ease;
        }

        .portfolio-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.1) 60%);
            z-index: 2;
        }

        .portfolio-info {
            position: relative;
            z-index: 3;
            color: #ffffff;
        }
        
        .portfolio-info h4 {
            font-weight: 800;
            font-size: 18px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .portfolio-info p {
            font-size: 12px;
            color: var(--accent-purple);
            margin-top: 4px;
            text-transform: uppercase;
            letter-spacing: 1px;
            font-weight: 600;
        }

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

        .portfolio-item:hover img {
            transform: scale(1.08);
        }

        .portfolio-item.hidden {
            display: none !important;
        }

        .lightbox {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(10, 10, 12, 0.94);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            z-index: 2000;
            display: flex;
            justify-content: center;
            align-items: center;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.3s ease;
        }

        .lightbox.active {
            opacity: 1;
            pointer-events: auto;
        }

        .lightbox-content {
            max-width: 90vw;
            max-height: 85vh;
            display: flex;
            flex-direction: column;
            align-items: center;
            transform: scale(0.9);
            transition: transform 0.3s ease;
        }

        .lightbox.active .lightbox-content {
            transform: scale(1);
        }

        .lightbox-img-wrapper {
            max-width: 85vw;
            max-height: 70vh;
            box-shadow: 0 25px 60px rgba(0,0,0,0.8);
            border-radius: 8px;
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
            background-color: #000;
        }

        .lightbox-img-wrapper img {
            max-width: 100%;
            max-height: 70vh;
            object-fit: contain;
            display: block;
        }

        .lightbox-caption {
            margin-top: 20px;
            color: var(--text-light);
            font-size: 18px;
            font-weight: 800;
            text-transform: uppercase;
            letter-spacing: 1px;
            text-align: center;
        }

        .lightbox-close {
            position: absolute;
            top: 30px;
            right: 40px;
            color: var(--text-light);
            font-size: 40px;
            font-weight: 300;
            cursor: pointer;
            transition: color 0.3s ease;
            line-height: 1;
            z-index: 2001;
        }

        .lightbox-close:hover {
            color: var(--accent-purple);
        }

        .center-btn {
            display: flex;
            justify-content: center;
            margin-top: 50px;
        }

        .process-section {
            background-color: var(--bg-dark);
            color: var(--text-light);
            padding: 100px 8% 60px 8%;
            border-bottom: 1px solid #1f1f23;
        }

        .process-header {
            font-size: clamp(32px, 4vw, 56px);
            font-weight: 900;
            text-transform: uppercase;
            line-height: 1.1;
            margin-bottom: 50px;
            letter-spacing: -1px;
        }

        .process-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 2px;
            background-color: #222;
            border: 1px solid #222;
        }

        .process-card {
            background-color: var(--bg-dark);
            padding: 25px 20px;
            display: flex;
            flex-direction: column;
            justify-content: flex-start;
            min-height: 180px;
            transition: background-color 0.3s ease;
        }

        .process-card:hover {
            background-color: #121215;
        }

        .process-step {
            font-size: 11px;
            font-weight: 800;
            color: var(--accent-purple);
            text-transform: uppercase;
            letter-spacing: 2px;
            margin-bottom: 15px;
        }

        .process-title {
            font-size: 18px;
            font-weight: 800;
            text-transform: uppercase;
            margin-bottom: 8px;
        }

        .process-desc {
            font-size: 13px;
            color: var(--text-gray);
            line-height: 1.5;
        }

        .contact-wrapper {
            max-width: 900px;
            margin: 0 auto;
            width: 100%;
        }
        
        .contact-wrapper h2 {
            font-size: 36px;
            font-weight: 900;
            margin-bottom: 40px;
        }
        
        .contact-form {
            display: flex;
            flex-direction: column;
            gap: 20px;
        }
        
        .form-row {
            display: flex;
            gap: 20px;
        }
        
        .form-group {
            display: flex;
            flex-direction: column;
            flex: 1;
        }
        
        .form-group label {
            font-size: 12px;
            font-weight: 800;
            text-transform: uppercase;
            letter-spacing: 1px;
            margin-bottom: 8px;
            color: var(--text-gray);
        }
        
        .form-group input,
        .form-group textarea {
            width: 100%;
            padding: 15px;
            background-color: #151518;
            border: 1px solid #333;
            color: var(--text-light);
            border-radius: 4px;
            font-family: 'Montserrat', sans-serif;
            transition: border-color 0.3s, box-shadow 0.3s;
        }
        
        .form-group input:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: var(--accent-purple);
            box-shadow: 0 0 10px rgba(168, 85, 247, 0.2);
        }

        @media (max-width: 1100px) {
            .process-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

    .whatsapp-contact {
    text-align: center;
    margin-top: 5px;
}

.whatsapp-contact p {
    font-size: 12px;
    margin-bottom: 12px;
    color: gray;
}

.whatsapp-button {
    display: inline-block;
    padding: 8px 16px;
    background: #2a2a2a;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 13px;
}

.whatsapp-button:hover {
    background: #12b750;
}

        @media (max-width: 900px) {
            .about-grid { 
                grid-template-columns: 1fr; 
                gap: 50px; 
            }
            .portfolio-grid { grid-template-columns: 1fr 1fr; }
        }

        @media (max-width: 768px) {
            .menu-toggle { display: flex; }
            
            nav ul {
                position: absolute;
                top: 100%;
                left: 0;
                width: 100%;
                background-color: rgba(10, 10, 12, 0.95);
                backdrop-filter: blur(12px);
                flex-direction: column;
                align-items: center;
                padding: 30px 0;
                gap: 20px;
                box-shadow: 0 20px 30px rgba(0,0,0,0.5);
                opacity: 0;
                visibility: hidden;
                transform: translateY(-20px);
                transition: all 0.3s ease;
                border-bottom: 2px solid var(--accent-purple);
            }
            
            nav ul.active {
                opacity: 1;
                visibility: visible;
                transform: translateY(0);
            }

            .cards-grid {
                grid-template-columns: 1fr;
            }

            .process-grid {
                grid-template-columns: 1fr;
            }

            .portfolio-grid { grid-template-columns: 1fr; }
            .hero-header { padding-top: 120px; }
            .hero-content h1 { font-size: 38px; }
            .form-row { flex-direction: column; }
            .hero-container { flex-direction: column; text-align: center; gap: 40px; margin-top: 0; }
            .hero-content { text-align: center; max-width: 100%; flex: 1 1 auto; }
            .hero-content p { border-left: none; border-top: 2px solid var(--accent-purple); padding-left: 0; padding-top: 15px; margin: 0 auto 30px auto; }
            .hero-badge { margin: 0 auto 20px auto; }
            .hero-visual { justify-content: center; width: 100%; flex: 1 1 auto; }
            #hero-particles { top: 0; left: 0; width: 100%; height: 100%; }
            
            .about-badge-circle { 
                right: 0px; 
                bottom: -15px; 
                width: 100px; 
                height: 100px; 
                font-size: 9px;
                padding: 10px;
            }
            .about-badge-circle h1 {
                font-size: 22px;
            }
        }

.checkbox-group {
    margin-top: 10px;
    margin-bottom: 10px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 13px;
    color: var(--text-gray);
    cursor: pointer;
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin-top: 3px;
    accent-color: var(--accent-purple);
    cursor: pointer;
}

.checkbox-label a {
    color: var(--accent-purple);
    text-decoration: underline;
}

.checkbox-label a:hover {
    color: var(--text-light);
}

.footer {
    background-color: #050507;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 30px 8%;
    text-align: center;
    font-size: 13px;
    color: var(--text-gray);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer a {
    color: var(--text-gray);
    text-decoration: none;
    transition: color 0.3s;
}

.footer a:hover {
    color: var(--accent-purple);
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 10, 12, 0.9);
    backdrop-filter: blur(10px);
    z-index: 3000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background-color: #121216;
    border: 1px solid #2a2a35;
    border-radius: 8px;
    width: 90%;
    max-width: 750px;
    max-height: 85vh;
    padding: 40px;
    position: relative;
    overflow-y: auto;
    color: var(--text-light);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 30px;
    color: var(--text-gray);
    cursor: pointer;
    transition: color 0.3s;
}

.modal-close:hover {
    color: var(--accent-purple);
}

.modal-content h2 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--accent-purple);
}

.modal-body h3 {
    font-size: 16px;
    margin-top: 20px;
    margin-bottom: 8px;
    color: var(--text-light);
}

.modal-body p, .modal-body ul {
    font-size: 14px;
    color: #aaa;
    line-height: 1.6;
    margin-bottom: 12px;
}

.modal-body ul {
    padding-left: 20px;
}

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
    }
    .modal-content {
        padding: 25px 20px;
    }
}

/* =========================================================
   MENU – oddělená položka „Blog“
   ========================================================= */
nav ul li.nav-blog {
    margin-left: 14px;
    padding-left: 24px;
    border-left: 1px solid rgba(255, 255, 255, 0.18);
}

nav ul li.nav-blog a {
    border: 1px solid var(--accent-purple);
    color: var(--accent-purple);
}

nav ul li.nav-blog a:hover,
nav ul li.nav-blog a.current {
    background-color: var(--accent-purple);
    color: var(--text-dark);
}

@media (max-width: 768px) {
    nav ul li.nav-blog {
        margin-left: 0;
        padding-left: 0;
        padding-top: 20px;
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.12);
        width: 60%;
        text-align: center;
    }
}

/* =========================================================
   BLOG (blog.html)
   ========================================================= */
.blog-hero {
    padding: 175px 8% 55px;
    background-image: radial-gradient(circle at 70% 30%, #1a1a24 0%, var(--bg-dark) 60%);
}

.blog-hero-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    opacity: 0;
    animation: slideUpFade 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.1s;
}

.blog-hero-text {
    flex: 1 1 auto;
    min-width: 0;
}

.blog-hero-img {
    flex: 0 0 auto;
    width: 340px;
    max-width: 32%;
    height: auto;
    object-fit: contain;
    animation: float 5s ease-in-out infinite;
    animation-delay: 1.35s;
    filter: drop-shadow(0 18px 26px rgba(0, 0, 0, 0.45));
}

@media (max-width: 900px) {
    .blog-hero-img { display: none; }
}

.blog-hero h1 {
    font-size: clamp(32px, 4.6vw, 60px);
    font-weight: 900;
    line-height: 1.08;
    text-transform: uppercase;
    letter-spacing: -1px;
    margin-bottom: 20px;
    max-width: 900px;
}

.blog-hero h1 span { color: var(--accent-purple); }

.blog-hero p {
    color: var(--text-gray);
    font-size: 16px;
    line-height: 1.7;
    max-width: 560px;
    border-left: 2px solid var(--accent-purple);
    padding-left: 20px;
}

.blog-section { scroll-margin-top: 80px; padding-top: 45px; }

.blog-container {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.blog-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.filter-btn {
    padding: 10px 22px;
    border-radius: 25px;
    border: 1px solid #d5d5db;
    background: transparent;
    color: var(--text-dark);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--accent-purple);
    border-color: var(--accent-purple);
    color: var(--text-dark);
}

.blog-hero .filter-btn {
    background-color: #fff;
    border-color: #fff;
}

.blog-hero .filter-btn:hover,
.blog-hero .filter-btn.active {
    background-color: var(--accent-purple);
    border-color: var(--accent-purple);
    color: #fff;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.blog-card {
    display: flex;
    flex-direction: column;
    min-height: 320px;
    padding: 30px 28px;
    background-color: #ffffff;
    border: 2px solid #ececf0;
    border-top: 4px solid var(--accent-purple);
    color: var(--text-dark);
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-purple);
    box-shadow: 0 10px 25px rgba(47, 174, 206, 0.25);
}

.blog-card.is-hidden { display: none; }

.blog-card-tag {
    align-self: flex-start;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #1a7e97;
    border: 1px solid rgba(47, 174, 206, 0.5);
    border-radius: 20px;
    padding: 5px 12px;
}

.blog-card h3 {
    font-size: 19px;
    font-weight: 800;
    line-height: 1.3;
    margin: 20px 0 12px;
}

.blog-card p {
    font-size: 14px;
    line-height: 1.7;
    color: #555;
    margin-bottom: 24px;
}

.blog-card-foot {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-gray);
}

.blog-card-more {
    font-weight: 800;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 2px solid var(--accent-purple);
    padding-bottom: 2px;
}

/* ---------- Detail článku ---------- */
.post { display: none; }

.post.is-open {
    display: block;
    animation: fadeInUp 0.8s ease-out both;
}

.post-hero {
    padding: 160px 8% 70px;
    background-image: radial-gradient(circle at 70% 30%, #1a1a24 0%, var(--bg-dark) 60%);
}

.post-hero-inner {
    max-width: 820px;
    margin: 0 auto;
}

.back-link {
    display: inline-block;
    margin-bottom: 36px;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

.back-link:hover { color: var(--accent-purple); }

.post-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 18px;
    margin-bottom: 24px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-gray);
}

.post-meta .tag {
    background-color: var(--accent-purple);
    color: var(--text-dark);
    padding: 6px 14px;
    border-radius: 20px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.post-hero h1 {
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -0.5px;
    margin-bottom: 26px;
}

.post-lead {
    color: #b0b0b6;
    font-size: 17px;
    line-height: 1.75;
    border-left: 2px solid var(--accent-purple);
    padding-left: 20px;
}

.post-body {
    background-color: var(--bg-light);
    color: var(--text-dark);
    padding: 80px 8%;
}

.post-content {
    max-width: 820px;
    margin: 0 auto;
}

.post-content h2 {
    font-size: clamp(22px, 2.6vw, 28px);
    font-weight: 900;
    line-height: 1.25;
    margin: 56px 0 18px;
}

.post-content h2:first-child { margin-top: 0; }

.post-content h3 {
    font-size: 18px;
    font-weight: 800;
    margin: 32px 0 12px;
}

.post-content p,
.post-content li {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.9;
    color: #444;
}

.post-content p { margin-bottom: 20px; }

.post-content ul,
.post-content ol {
    margin: 0 0 24px 0;
    padding-left: 24px;
}

.post-content li { margin-bottom: 10px; }
.post-content li::marker { color: #1a7e97; font-weight: 800; }
.post-content strong { font-weight: 800; color: var(--text-dark); }
.post-content a { color: #1a7e97; text-decoration: underline; }
.post-content a:hover { color: var(--text-dark); }

.callout {
    margin: 36px 0;
    padding: 22px 26px;
    background-color: #f2fafc;
    border-left: 4px solid var(--accent-purple);
    border-radius: 0 6px 6px 0;
}

.callout p:last-child { margin-bottom: 0; }

.callout-title {
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #1a7e97;
    margin-bottom: 8px;
}

.table-wrap {
    overflow-x: auto;
    margin: 28px 0 32px;
    border: 1px solid #e5e5ea;
    border-radius: 6px;
}

.post-content table {
    width: 100%;
    min-width: 560px;
    border-collapse: collapse;
    font-size: 14px;
}

.post-content th {
    background-color: var(--bg-dark);
    color: var(--text-light);
    text-align: left;
    padding: 14px 16px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.post-content td {
    padding: 14px 16px;
    border-top: 1px solid #ececf0;
    color: #444;
    line-height: 1.55;
    vertical-align: top;
}

.post-content td:first-child { font-weight: 800; color: var(--text-dark); }
.post-content tbody tr:nth-child(even) td { background-color: #fafafb; }
.post-content td.nowrap { white-space: nowrap; }

.post-note {
    font-size: 13px !important;
    color: var(--text-gray) !important;
    line-height: 1.7 !important;
}

/* ---------- Související články + CTA ---------- */
.related-section { display: none; }
.related-section.is-open { display: block; }

.blog-cta { text-align: left; }

.blog-cta-inner {
    max-width: 900px;
    margin: 0 auto;
}

.blog-cta h2 {
    font-size: clamp(28px, 3.5vw, 36px);
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.2;
}

.blog-cta p {
    color: var(--text-gray);
    line-height: 1.8;
    max-width: 620px;
    margin-bottom: 30px;
}

@media (max-width: 1000px) {
    .blog-grid { grid-template-columns: 1fr 1fr; }
    .img-skryty { display: none; }
}

@media (max-width: 640px) {
    .blog-grid { grid-template-columns: 1fr; }
    .blog-card { min-height: 0; }
    .blog-hero { padding: 130px 6% 60px; }
    .post-hero { padding: 130px 6% 50px; }
    .post-body { padding: 50px 6%; }
    .filter-btn { padding: 9px 16px; }
    .img-skryty { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    .blog-hero-inner, .post.is-open { animation: none; opacity: 1; }
    .blog-card:hover { transform: none; }
}

/* =========================================================
   LOGO
   ========================================================= */
.logo {
    display: inline-flex;
    align-items: center;
    line-height: 0;
}

.logo img {
    display: block;
    width: auto;
    height: auto;
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: rotate(-3deg) scale(1.04);
}

@media (prefers-reduced-motion: reduce) {
    .logo:hover img { transform: none; }
}
