
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --primary: #c0b01e;
    --primary-light: #f6e33b;
    --text-main: #000000;
    --text-muted: #6b7280;
    --bg-light: #f8fafc;
    --border-light: #e5e7eb;
    --radius: 14px;
}

body {
    font-family: 'Inter', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-main);
    background: #ffffff;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    cursor: pointer;
    font-family: inherit;
}

img {
    max-width: 100%;
    display: block;
}

/* ──────────────────────────────────────────────
   NAVBAR
─────────────────────────────────────────────── */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.4s ease;
}

.nav.transparent {
    background: transparent;
    backdrop-filter: none;
    box-shadow: none;
}

.nav.scrolled {
    background: rgba(48, 48, 48, 0.42);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.18);
}

.nav-inner {
    max-width: 1800px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    line-height: 1.1;
}

.nav-brand-link {
    text-decoration: none;
    color: white;
}

.nav-brand-title {
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.nav-brand-subtitle {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.75);
    font-weight: 400;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    color: white;
    font-size: 0.97rem;
    font-weight: 500;
    text-decoration: none;
    position: relative;
    transition: color 0.25s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-light, #4dabf7);
}

.nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 2px;
    background: var(--primary, #3b82f6);
    transition: width 0.25s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* CTA tlačítko v menu */
.nav-cta {
    background: var(--primary, #3b82f6);
    padding: 0.55rem 1.35rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.nav-cta:hover {
    background: var(--primary-dark, #2563eb);
    transform: translateY(-1px);
}

/* Hamburger menu (mobil) */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 32px;
    height: 22px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1100;
}

.nav-toggle span {
    width: 100%;
    height: 3px;
    background: white;
    border-radius: 2px;
    transition: all 0.35s ease;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}
.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobil – pod 992px */
@media (max-width: 992px) {
    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: rgba(8, 36, 129, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 3rem;
        transition: right 0.45s cubic-bezier(0.77,0,0.175,1);
        z-index: 999;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 1.35rem;
    }

    .nav-cta {
        margin-top: 1.5rem;
    }
}

/* GLOBAL SECTIONS */

section {
    padding: 4.5rem 1.5rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* BUTTONS */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.6rem;
    border-radius: 999px;
    margin-top: 20px;
    border: none;
    background: linear-gradient(135deg, #185db8, #082481);
    color: white;
    font-size: 0.95rem;
    font-weight: 600;
    transition: transform .2s ease, box-shadow .2s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(37,99,235,0.35);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
}
.hero {
    position: relative;           /* důležité pro absolutní pozicování videa */
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    overflow: hidden;             /* video nesmí přetéct ven */
    background: #0a1a40;          /* fallback barva pro případ, že video selže / načítá se */
}

/* Video na pozadí */
.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;            /* nejdůležitější – video vyplní celou plochu */
    z-index: 1;
    filter: blur(5px);

}

/* Obsah nad videem */
.hero .container {
    position: relative;           /* aby byl obsah nad videem */
    z-index: 2;
}

.hero-inner {
    max-width: 820px;
    text-align: center;
    padding: 0 1rem;
}

/* Volitelné – tmavší overlay pro lepší čitelnost textu */
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);   /* 0.35–0.55 podle videa */
    z-index: 1;
    pointer-events: none;

}

/* Původní tlačítko a další styly zůstávají beze změny */
/* PRODUKTY */

.produkty-title,
.services-title {
    font-size: 2.1rem;
    font-weight: 800;
    margin-bottom: 2.8rem;
    text-align: center;
}

.produkty-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.produkt-card {
    background: #ffffff;
    border-radius: var(--radius);
    padding: 1.3rem;
    box-shadow: 0 12px 30px rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
    transition: transform .25s ease, box-shadow .25s ease;
}

.produkt-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.1);
}

.produkt-image {
    border-radius: 12px;
    overflow: hidden; /* zajistí, že img bude ořezán podle border-radius */
    margin-bottom: 1rem;
    max-height: 200px; /* volitelně, aby box nebyl moc vysoký */
}

.produkt-image img {
    width: 100%;
    height: auto; /* zachová poměr stran obrázku */
    display: block; /* odstraní malé mezery pod obrázkem */
}


.produkt-title {
    font-size: 1.15rem;
    font-weight: 600;
}

.produkt-text {
    font-size: 0.92rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.produkt-video-actions {
    display: none;
    margin: auto 0 0 auto;
    display: flex;
    align-items: left;
    gap: 0.8rem;
}

.produkt-video-small {
    font-size: 0.85rem;
    color: var(--primary);
    cursor: pointer;
}

.produkt-more-info {
    margin-top: 0.4rem;
    font-size: 0.8rem;
    color: #9ca3af;
}

.produkty-all {
    text-align: center;
    margin-top: 2.5rem;
    background-color: #0a74ff;
    width: fit-content;
    padding: 10px 20px;
    border-radius: 3px;
    transition: all ease-in-out 0.1s;
    margin: 20px auto 20px auto;
}
.produkty-all:hover {
        background-color: #0c4288;
    transition: all ease-in-out 0.1s;

}

.produkty-all a {
    font-weight: 600;
    color: white;
}



.produkty-all-100 {
    text-align: center;
    margin-top: 2.5rem;
    background-color: #0a74ff;
    width: 100%;
    padding: 10px 20px;
    border-radius: 3px;
    transition: all ease-in-out 0.1s;
    margin-top: auto;
}
.produkty-all-100:hover {
        background-color: #0c4288;
    transition: all ease-in-out 0.1s;

}

.produkty-all-100 a {
    font-weight: 600;
    color: white;
}

/* VIDEO */

.video-inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 2fr));
    gap: 6rem;
    align-items: center;
}

.video-left video {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.video-title {
    font-size: 1.9rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.video-text {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.video-icon i {
    color: var(--primary);
}

/* SERVICES */

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.service-card {
    background: #ececec;
    border-radius: var(--radius);
    padding: 1.6rem;
    box-shadow: 0 12px 30px rgba(0,0,0,0.06);
    transition: transform .25s ease;
}

.service-card:hover {
    transform: translateY(-4px);
}

.service-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    margin-bottom: 0.8rem;
}
.service-icon i {
    color: #0a74ff;
    transform: scale(2);
}

.service-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
}

.service-text {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.services-cta {
    text-align: center;
    margin-top: 2.5rem;
}

/* FOOTER */

.footer {
    background: #0f172a;
    color: #9ca3af;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.footer-column-title {
    font-weight: 600;
    margin-bottom: 0.6rem;
    color: #ffffff;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.footer-links a {
    color: #9ca3af;
}

.footer-bottom {
    border-top: 1px solid #1e293b;
    padding: 1rem 1.5rem;
    text-align: center;
    font-size: 0.8rem;
}

/* RESPONSIVE */

@media (max-width: 768px) {
    .nav-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.8rem;
    }

    .hero-title {
        font-size: 2.2rem;
    }
}