
    body, html {
        margin: 0;
        padding: 0;
        height: 100vh;
        font-family: Arial, sans-serif;
        overflow-x: hidden;
	background-color: rgba(1, 38, 59, 0.36); /* modrý filtr */
    }

/* VIDEO BACKGROUND */
.video-bg {
    position: fixed;
    margin-top: 25px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Posune střed videa přesně do středu obrazovky */
    max-width: 70%;
    max-height: 73%;
    object-fit: cover;
    border-radius: 22px;
    z-index: -1;
}

/* Fallback obrázek */
#bgFallback {
    position: fixed;
    inset: 0;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: url("../img/bg_index.jpg") no-repeat center center;
    background-size: cover;
    box-shadow: inset 0 0 0 2000px rgba(3, 51, 79, 0.5);
    z-index: -2; /* pod videem */
}

@font-face {
    font-family: 'Futura LT Pro';
    src: url('FuturaLTPro-Display.woff2') format('woff2'),
        url('FuturaLTPro-Display.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Myriad Pro';
    src: url('MyriadPro-Regular.woff2') format('woff2'),
        url('MyriadPro-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Futura LT Pro';
    src: url('FuturaLTPro-LightCond.woff2') format('woff2'),
        url('FuturaLTPro-LightCond.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Futura LT Pro';
    src: url('FuturaLTPro-XBold.woff2') format('woff2'),
        url('FuturaLTPro-XBold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Futura LT Pro';
    src: url('FuturaLTPro-Book.woff2') format('woff2'),
        url('FuturaLTPro-Book.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

    header {
        width: 100%;
	height: 18vh;
        padding: 0px 0px;
        display: flex;
        justify-content: center;
        align-items: center;
        position: fixed;
        top: 0;
        z-index: 10;
	background-color: rgba(0, 30, 60, 0.0); /* modrý filtr */
    }

    .logo {
        width: 100%;
        max-width: 150px;

    }
    .sipka {
        width: 20px;
        max-width: 50px;
        justify-content: center;
        align-items: center;
        position: static;
    }

/* ====== MENU ====== */

nav ul {
    list-style: none;
    font-family: "Futura LT Pro", sans-serif;
    font-weight: 500;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 12px;
    justify-content: center;
}

nav ul li {
    position: relative;
    cursor: pointer;
}

nav ul li a {
    color: #eb7519bd;
    text-decoration: none;
    font-size: 17px;
    display: flex;
    align-items: center;
    gap: 12px;
}

nav ul li:hover {
    background-color: rgba(55, 71, 79, 1.0);
    border-radius: 5px;
}

nav ul li a:hover {
    color: #ffffffbd;
    transition: 0.5s ease;
}

/* DROPDOWN */
nav ul li ul {
    display: none;
    position: absolute;
    top: 23px;
    left: 0;
    background: rgba(55, 71, 79, 1.0);
    padding: 20px 0;
    border-radius: 5px;
    min-width: 150px;
}

nav ul li:hover ul {
    display: block;
}

nav ul li ul li {
    padding: 8px 15px;
}

nav ul li ul li a {
    font-size: 14px;
}

/* ====== MOBILE ====== */

.menu-toggle {
    display: none;
}

@media (max-width: 768px) {

    .logo {
        width: 120px;
    }

    .menu-toggle {
        display: block;
        font-size: 26px;
        cursor: pointer;
        color: white;
        position: absolute;
        right: 20px;
        top: 20px;

    }

    nav ul {
        flex-direction: column;
        gap: 15px;
        background: rgba(55, 71, 79, 0.8);
        position: fixed;
        top: 60px;
        right: 0;
        padding: 10px;
        display: none;

    }

    nav ul.show {
        display: flex;
    }

    nav ul li ul {
        position: static;
        background: none;
    }
}
    .hero {
    position: fixed;
    margin-top: 25px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Posune střed videa přesně do středu obrazovky */
    max-width: 100%;
    max-height: 73%;
    margin-top: 20vh;
	margin-left: -9vh;
        z-index: 5;
        opacity: 0.7;
    }
    .hero p {
        font-family: "Futura LT Pro", sans-serif;
        font-weight: 200;
        line-height: 1.1;
	text-align: left;
        letter-spacing: 1.0px;
	margin-left: 5px;
        margin-bottom: -3px;
        color: #ffffffbd;
        font-size: 8px;
    }
    .hero h1 {
        font-family: "Futura LT Pro", sans-serif;
        font-weight: bold;
        font-size: 35px;
        letter-spacing: 1.2px;
        line-height: 1;
	text-align: left;
	margin-left: 5px;
        margin-bottom: -8px;
        color: #eb7519bd;
    }
    hr {
  	border: none;
  	height: 1px; /* Set the hr color */
  	color: #eb7519bd;  /* old IE */
  	background-color: rgba(235, 117, 25, 0.4);  /* Modern Browsers */

}

/* MOBILE RULES */
@media (max-width: 768px) {

    /* Upravíme okno videa na mobilu, aby bylo stabilnější */
    .video-bg {
        width: 90%;
        height: 50vh; /* Na mobilu dáme pevnější výšku videa, např. 50% výšky displeje */
        margin-top: 0;
    }

    /* Úprava pozice a velikosti textové vizitky pro mobil */
    .hero {
        bottom: 8%;           /* Stáhneme text níže pod/na spodní hranu videa */
        padding-left: 0;      /* Zrušíme 16vw levé odsazení */
        padding: 0 20px;      /* Dáme rovnoměrné odsazení zleva i zprava */
        text-align: center;   /* Na mobilu vypadá zarovnání na střed jako vizitka velmi elegantně */
        box-sizing: border-box;
    }

    .hero h1 {
        font-size: 15px;      /* Zmenšíme obří nadpis pro mobil */
        letter-spacing: 1px;
        text-align: left;
    }

    .hero p {
        font-size: 6px;
        line-height: 1.3;
        text-align: left;     /* Zlepším čitelnost při případném zalomení řádku */
    }

    /* Úprava hlavičky na mobilu */
    .logo {
        width: 120px;
    }

    .menu-toggle {
        display: block;
        font-size: 26px;
        cursor: pointer;
        color: white;
        position: absolute;
        right: 20px;
        top: 20px;
        z-index: 20;
    }

    nav ul {
        flex-direction: column;
        gap: 15px;
        background: rgba(0, 30, 60, 0.9);
        position: fixed;
        top: 60px;
        right: 0;
        padding: 15px;
        display: none;
        z-index: 19;
    }

    nav ul.show {
        display: flex;
    }

    nav ul li ul {
        position: static;
        background: none;
    }
}

    /* Základní fade + slide */

    .hero h1,
    .hero p {
        opacity: 0;
        transform: translateY(20px);
        animation: fadeSlide 1.8s ease forwards;
    }

    /* postupné zpoždění */
    .hero h1 {
        animation-delay: 3.3s;
    }

    .hero p:nth-of-type(1) {
        animation-delay: 0.8s;
    }

    .hero p:nth-of-type(2) {
        animation-delay: 1.6s;
    }

    /* samotná animace */
    @keyframes fadeSlide {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
    }

    /* FOOTER */
    footer {
        position: fixed;
        bottom: 0px;
        width: 100%;
        font-family: "Myriad Pro", sans-serif;
        font-weight: bold;
        text-align: center;
        font-size: 12px;
        opacity: 0.7;
        color: #eb7519bd;
	background-color: rgba(0, 30, 60, 0.0); /* modrý filtr */
    }

/* ====== PAGE TRANSITION OVERLAY ====== */
#page-transition-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #01263b; /* Barva pozadí tvého webu, nebo zadej #000000 pro černou */
    z-index: 999999;
    pointer-events: none; /* Aby neblokoval klikání, když je průhledný */
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

/* Když je overlay aktivní (zatměno) */
#page-transition-overlay.active {
    opacity: 1;
    pointer-events: auto; /* Zamezí opakovanému klikání během přechodu */
}

