:root {
    /* Color Palette - Sleek Dark Mode */
    --bg-dark: #0a0a0a;
    --bg-card: rgba(26, 26, 26, 0.6);
    --bg-card-hover: rgba(38, 38, 38, 0.8);
    --text-main: #f3f4f6;
    --text-muted: #9ca3af;
    --accent-it: #00e5ff;
    --accent-it-glow: rgba(0, 229, 255, 0.3);
    --accent-eng: #34d399;
    --accent-auto: #39ff14;
    --border-color: rgba(255, 255, 255, 0.1);
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Variables */
    --transition: all 0.3s ease;
    --border-radius: 16px;
    --glass-border: 1px solid rgba(255, 255, 255, 0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-dark);
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    background: radial-gradient(circle at top center, #1a1a2e 0%, var(--bg-dark) 100%);
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography & Titles */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
}

.section-label {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-it);
    margin-bottom: 12px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    font-weight: 400;
    margin-bottom: 20px;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--text-main);
    max-width: 600px;
    margin-bottom: 40px;
}

.text-center {
    text-align: center;
}
.text-center .section-desc {
    margin: 0 auto 40px auto;
}

/* Navigace */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 15px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -1px;
    color: #fff;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 30px;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
    color: #fff;
}

.btn-contact {
    padding: 8px 18px;
    background: transparent;
    border: 1px solid var(--accent-it);
    color: var(--accent-it);
    border-radius: 30px;
}

.btn-contact:hover {
    background: rgba(0, 229, 255, 0.1);
    color: var(--accent-it);
    box-shadow: 0 0 15px var(--accent-it-glow);
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    background-color: #fff;
}

/* Všeobecná tlačítka */
.btn {
    display: inline-block;
    padding: 12px 28px;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 30px;
    transition: var(--transition);
    cursor: pointer;
    font-family: var(--font-body);
}

.btn-primary {
    background: var(--text-main);
    color: var(--bg-dark);
}

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

.btn-secondary {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-main);
}

.btn-secondary:hover {
    border-color: rgba(255,255,255,0.4);
    background: rgba(255,255,255,0.05);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--accent-auto);
    color: var(--accent-auto);
}
.btn-outline:hover {
    background: rgba(57, 255, 20, 0.1);
}

/* Sections Basic */
.section {
    padding: 100px 0;
    position: relative;
    z-index: 1; /* Above the global canvas */
}

.it-section {
    background-color: rgba(9, 9, 11, 0.4); /* Transparent dark */
}

.eng-section {
    background-color: rgba(24, 24, 27, 0.6); /* Transparent dark grey */
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.auto-section {
    background-color: rgba(6, 78, 59, 0.7); /* Transparent deep green */
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    z-index: 1;
}

.hero-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    overflow: hidden;
    z-index: -2;
}

.global-bg-canvas {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    z-index: 0; /* Between body and sections */
    opacity: 0.6;
    pointer-events: none; /* Ignore clicks */
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: var(--accent-it);
    top: -100px;
    right: -100px;
    animation: float 8s infinite alternate ease-in-out;
}

.orb-2 {
    width: 300px;
    height: 300px;
    background: #4f46e5;
    bottom: 20%;
    left: -50px;
    animation: float 10s infinite alternate-reverse ease-in-out;
}

@keyframes float {
    0% { transform: translate(0, 0); }
    100% { transform: translate(20px, 40px); }
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 0 20px;
}

.hero-main-logo {
    width: 336px;
    height: auto;
    margin-bottom: 30px;
    filter: drop-shadow(0 0 20px rgba(0, 229, 255, 0.4));
    animation: pulse-glow 3s infinite alternate;
    mix-blend-mode: screen; /* Removes black background */
}

@keyframes pulse-glow {
    0% { filter: drop-shadow(0 0 20px rgba(0, 229, 255, 0.2)); }
    100% { filter: drop-shadow(0 0 40px rgba(0, 229, 255, 0.8)); }
}

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 24px;
}

.highlight {
    background: linear-gradient(to right, var(--accent-it), #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Grids & Cards (Glassmorphism) */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: var(--glass-border);
    border-radius: var(--border-radius);
    padding: 30px;
    transition: var(--transition);
}

.glass-card:hover {
    background: var(--bg-card-hover);
    transform: translateY(-5px);
    border-color: rgba(255,255,255,0.15);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.small-icon {
    font-size: 1.5rem;
    margin-bottom: 0;
    margin-right: 20px;
}

.card-title {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.card-text {
    color: var(--text-muted);
    font-size: 0.95rem;
}

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

.slim-card {
    background: var(--bg-card);
    border: var(--glass-border);
    border-radius: var(--border-radius);
    padding: 24px;
    display: flex;
    align-items: flex-start;
    transition: var(--transition);
}

.slim-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(255,255,255,0.15);
}

/* Why us Box */
.why-us {
    margin-top: 20px;
    padding: 30px;
    background: linear-gradient(90deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0) 100%);
    border-left: 4px solid var(--accent-it);
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.eng-section .why-us {
    border-left-color: var(--accent-eng);
}
.eng-section .section-label { color: var(--accent-eng); }

.auto-section .section-label { color: var(--accent-auto); }

.why-us-title {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: #fff;
}

.why-us p {
    color: var(--text-muted);
}

/* Split Layout for Auto Section & others */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

@media (min-width: 993px) {
    .text-heavy-layout {
        grid-template-columns: 1.6fr 1fr;
        align-items: stretch; /* Make it fill the block */
    }
    .text-heavy-layout .split-visual {
        display: flex;
        flex-direction: column;
    }
    .text-heavy-layout .hero-image {
        flex: 1;
        object-fit: cover;
        height: 100%;
        min-height: 300px;
    }
}

.stack-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* For image on the right vs left */
@media (min-width: 993px) {
    .reverse-layout {
        /* Swap columns so visual is on the left, content is on the right */
        grid-template-areas: "left right";
    }
    .reverse-layout .split-visual {
        grid-area: left;
    }
    .reverse-layout .split-content {
        grid-area: right;
    }
}

.feature-list {
    list-style: none;
    margin-bottom: 30px;
}

.feature-list li {
    margin-bottom: 15px;
    padding-left: 24px;
    position: relative;
    color: var(--text-muted);
}

.feature-list li::before {
    content: "▹";
    position: absolute;
    left: 0;
    color: var(--accent-auto);
    font-weight: bold;
}

.feature-list li strong {
    color: var(--text-main);
}

.auto-why {
    border-left-color: var(--accent-auto);
    margin-bottom: 20px;
}

.auto-why .btn {
    margin-top: 20px;
}

.hero-image {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    border: var(--glass-border);
    transition: var(--transition);
}

.hero-image:hover {
    transform: scale(1.02);
}

/* About Section */
.about-section {
    background: #0d0d0d;
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.about-text-wrapper {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.25rem;
    color: var(--text-muted);
}

.about-text-wrapper p {
    margin-bottom: 20px;
}

.about-text-wrapper .text-highlight {
    font-size: 1.5rem;
    color: #fff;
    font-weight: 500;
    margin-top: 40px;
}

/* Contact Section */
.contact-card {
    padding: 0;
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

@media (min-width: 768px) {
    .contact-grid {
        flex-direction: row;
        display: grid;
        grid-template-columns: 1fr 1.2fr;
    }
}

.contact-info-wrap {
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 30px;
}

.contact-group {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: rgba(255, 255, 255, 0.03);
    padding: 25px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.contact-group:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

.contact-icon-wrapper {
    background: rgba(0, 229, 255, 0.1);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-text h4 {
    font-size: 1.1rem;
    color: var(--accent-it);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-text .company-name {
    color: #fff;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.contact-text p {
    color: var(--text-muted);
    margin-bottom: 5px;
    font-size: 0.95rem;
}

.contact-link {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    color: var(--text-main);
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
}

.contact-link .link-icon {
    background: rgba(255, 255, 255, 0.1);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    font-size: 0.9rem;
}

.contact-link:hover {
    color: var(--accent-it);
}

.contact-map {
    width: 100%;
    min-height: 350px;
    background: #111;
}

/* Footer */
.footer {
    padding: 30px 0;
    background: var(--bg-dark);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 30px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-links a {
    margin-left: 20px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: #fff;
}

/* Animations (Scroll Reveal) */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

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

/* Responsive */
@media (max-width: 992px) {
    .split-layout {
        grid-template-columns: 1fr;
    }
    .hero-title {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        gap: 0;
        flex-direction: column;
        background-color: rgba(10, 10, 10, 0.95);
        backdrop-filter: blur(10px);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        border-bottom: 1px solid rgba(255,255,255,0.05);
        padding: 20px 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 16px 0;
    }
    
    .list-cards {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 60px 0;
    }

    .contact-info-wrap {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
}

/* Video Simulation Effect */
.video-sim-wrapper {
    overflow: hidden;
    height: 100%;
    min-height: 300px;
    width: 100%;
    position: relative;
    padding: 0;
}

.video-sim-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: ken-burns 15s infinite alternate ease-in-out;
}

@keyframes ken-burns {
    0% { transform: scale(1) translate(0, 0); }
    100% { transform: scale(1.08) translate(-1%, -1%); }
}
