/* ORIS CORE - Globální styly */
:root {
    --bg-main: #111418;
    --bg-nav: #1a1e23;
    --bg-card: #22272e;
    --accent: #0095ff;
    --accent-glow: rgba(0, 149, 255, 0.3);
    --safety-orange: #f39c12;
    --text-high: #ffffff;
    --text-mid: #9ca3af;
    --border: #30363d;
    --font: 'Segoe UI', Tahoma, Helvetica, sans-serif;
}

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

body {
    font-family: var(--font);
    background-color: var(--bg-main);
    color: var(--text-high);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Header & Nav */
header.main-nav {
    background: var(--bg-nav);
    border-bottom: 1px solid var(--border);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative; /* Důležité pro absolutní pozicování mobilního menu */
}

.brand {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent);
    text-transform: uppercase;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand span { color: var(--text-high); }

.logo-img {
    height: 38px;
    width: auto;
    display: block;
}

.nav-links { 
    display: flex; 
    gap: 2rem; 
    list-style: none; 
}

.nav-links a {
    color: var(--text-mid);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: 0.3s;
}

.nav-links a:hover { color: var(--accent); }

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px; /* Větší plocha pro dotyk */
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    background-color: var(--text-high);
    transition: 0.3s;
}

/* Hero Sekce */
.hero {
    padding: 140px 0;
    /* Použití tvého souboru background.jpeg */
    background: linear-gradient(rgba(17, 20, 24, 0.7), rgba(17, 20, 24, 0.9)), url('background.jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    border-bottom: 1px solid var(--border);
    text-align: center;
}

.hero h1 { 
    font-size: clamp(2rem, 5vw, 3rem); 
    margin-bottom: 1rem; 
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

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

.hero p { 
    color: var(--text-high); 
    font-size: 1.2rem; 
    max-width: 600px; 
    margin: 0 auto 2rem auto; 
    text-shadow: 0 1px 5px rgba(0,0,0,0.5);
}

/* Grid a Karty */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 25px;
    border-radius: 4px;
    transition: 0.3s;
}

.card:hover {
    border-color: var(--accent);
    box-shadow: 0 0 15px var(--accent-glow);
}

.card h3 { margin-bottom: 15px; color: var(--accent); }

.btn {
    display: inline-block;
    padding: 12px 24px;
    background: var(--accent);
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    border-radius: 2px;
    text-transform: uppercase;
    font-size: 0.9rem;
}

/* Tabulky specifikací */
.spec-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 30px;
}

.spec-table th, .spec-table td {
    padding: 15px;
    border-bottom: 1px solid var(--border);
}

.spec-table th { color: var(--accent); font-size: 0.8rem; text-transform: uppercase; text-align: left; }

/* Responzivní nastavení */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: -20px; /* Vyrovnání s paddingem kontejneru */
        right: -20px;
        background: var(--bg-nav);
        padding: 20px;
        border-bottom: 1px solid var(--border);
        box-shadow: 0 10px 20px rgba(0,0,0,0.5);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
        padding: 10px 0;
    }

    .hero h1 { font-size: 2.2rem; }
    .hero { padding: 80px 0; }
}