/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #1c1c1c;
    color: #ddd;
    line-height: 1.6;
}

/* Sticky Navigation */
.sticky-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    padding: 10px 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-left: 20px;
    height: 70px; /* Fixní výška navigace */
}

.sticky-nav .logo {
    position: relative;
    height: 100%; /* Logo se přizpůsobí výšce navigace */
    display: flex;
    align-items: center;
}

.sticky-nav .logo img {
    height: 80px; /* Nastavte větší výšku loga */
    width: auto; /* Automatická šířka, aby si zachovalo proporce */
    position: absolute;
    top: 50%;
    transform: translateY(-50%); /* Logo bude vystředěné vertikálně */
    left: 0; /* Přizpůsobte dle potřeby */
}

.sticky-nav ul {
    display: flex;
    justify-content: flex-start;
    list-style: none;
    margin-left: 30px;
}

.sticky-nav ul li {
    margin-right: 30px;
}

.sticky-nav ul li a {
    text-decoration: none;
    color: #fff;
    font-size: 1.1rem;
    position: relative;
    padding-bottom: 5px;
    transition: all 0.3s ease;
}

.sticky-nav ul li a:hover {
    color: #ffcf40;
}

.sticky-nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #ffcf40;
    transition: width 0.3s ease;
}

.sticky-nav ul li a:hover::after {
    width: 100%;
}

/* Burger Menu Styles */
.burger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
}

.burger-menu span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #fff;
}

/* Hero Section with background image */
.hero {
    height: 100vh; /* Výška sekce pokrývá celou obrazovku */
    background-image: url('img/prestavby-hero.jpg'); /* Nahraď cestu k obrázku */
    background-size: cover; /* Přizpůsobí obrázek celé sekci */
    background-position: center; /* Obrázek je zarovnaný na střed */
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Zatmavení obrázku */
}

.hero-content {
    position: relative;
    z-index: 1;
    color: #fff;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.5rem;
}

/* Technology Box Section */
.technology-box {
    background-color: #2e2e2e;
    border-radius: 15px;
    margin: 40px auto;
    padding: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    position: relative;
    z-index: 2;
}

.technology-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.technology-content {
    color: #cfcfcf;
    flex: 1;
    padding-right: 40px;
}

.technology-content h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.technology-content p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.technology-image {
    display: flex;
    justify-content: center;
    flex: 1;
}

.technology-image img {
    width: 65%;
    border-radius: 10px;
    display: block;
}

/* Obytné Přestavby KAISERVANS Section */
.design-options {
    padding: 60px 20px;
    background-color: #2c2c2c; /* Tmavší pozadí */
    text-align: center;
    border-radius: 10px;
    margin-top: 40px;
}

.design-options h2 {
    font-size: 2.5rem;
    color: #ffcf40; /* Zlatá barva pro nadpis */
    margin-bottom: 20px;
}

.design-options p {
    font-size: 1.2rem;
    color: #ddd; /* Světlejší text */
    line-height: 1.6;
    margin-bottom: 40px; /* Větší mezera pod textem */
}

.design-examples {
    margin-top: 50px;
}

.design-examples h3 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #ffcf40;
}

.design-examples .videos-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px; /* Mezera mezi videi */
}

.design-examples iframe {
    width: 30%; /* Každé video bude mít 30% šířky */
    height: 200px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); /* Stín kolem videa */
    transition: transform 0.3s ease;
}

.design-examples iframe:hover {
    transform: scale(1.05); /* Efekt zvětšení při najetí myší */
}

/* Customization Options Section */
.customization-options {
    padding: 60px 20px;
    background-color: #2c2c2c;
    text-align: center;
}

.customization-options h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #ffcf40;
}

.icons-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.icon-box {
    flex-basis: 22%; /* Každý box bude mít 22 % šířky, takže se vejdou čtyři vedle sebe */
    background-color: #1e1e1e;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease;
}

.icon-box:hover {
    transform: scale(1.05); /* Efekt zvětšení při najetí myší */
}

.icon-box img {
    width: 50px; /* Velikost ikony */
    height: 50px;
    margin-bottom: 15px;
}

.icon-box h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #ffcf40;
}

.icon-box p {
    font-size: 1rem;
    color: #ddd;
}

/* Customization Form Section */
.customization-form {
    padding: 60px 20px;
    background-color: #2e2e2e;
    border-radius: 10px;
    margin-top: 40px;
}

.customization-form h2 {
    font-size: 2.5rem;
    color: #ffcf40;
    text-align: center;
    margin-bottom: 20px;
}

.customization-form .form-description {
    font-size: 1.2rem;
    color: #ddd;
    text-align: center;
    margin-bottom: 40px;
}

.customization-form fieldset {
    border: none;
    margin-bottom: 30px;
}

.customization-form legend {
    font-size: 1.8rem;
    color: #ffcf40;
    margin-bottom: 20px;
    display: block;
}

.customization-form label {
    display: block;
    font-size: 1rem;
    color: #ddd;
    margin-bottom: 10px;
}

.customization-form input[type="text"],
.customization-form input[type="email"],
.customization-form input[type="tel"],
.customization-form input[type="number"],
.customization-form textarea,
.customization-form select {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #444;
    border-radius: 5px;
    background-color: #1c1c1c;
    color: #ddd;
    font-size: 1rem;
}

.customization-form input:focus,
.customization-form textarea:focus,
.customization-form select:focus {
    outline: none;
    border-color: #ffcf40;
    box-shadow: 0 0 5px #ffcf40;
}

.customization-form button {
    width: 100%;
    padding: 15px;
    background-color: #ffcf40;
    color: #1c1c1c;
    font-size: 1.2rem;
    font-weight: bold;
    text-transform: uppercase;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.customization-form button:hover {
    background-color: #e5b934;
}

.customization-form textarea {
    resize: vertical;
}

.customization-form .container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

/* Footer Section */
.footer {
    background-color: #2c2c2c;
    color: #fff;
    padding: 30px 20px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-column {
    flex: 1;
    min-width: 250px;
}

.footer-column h4 {
    color: #ffcf40;
    margin-bottom: 10px;
}

.footer-column p, .footer-column ul, .footer-column li {
    margin-bottom: 5px;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: #ffcf40;
}

.footer-bottom {
    width: 100%;
    text-align: center;
    margin-top: 20px;
    border-top: 1px solid #444;
    padding-top: 10px;
    color: #fff;
}

.footer-bottom p {
    font-size: 0.9rem;
    color: #bbb;
}

@media only screen and (max-width: 768px) {
    /* Burger menu */
    .sticky-nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        right: 0;
        background-color: rgba(0, 0, 0, 0.9);
        width: 100%;
        text-align: center;
    }

    .burger-menu {
        display: flex;
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
    }

    .sticky-nav ul li {
        margin: 10px 0;
        text-align: center;
    }

    /* Hero section title size adjustment */
    .hero h1 {
        font-size: 2rem; /* Zmenšení hlavního nadpisu "Profesionální přestavby obytných vozů" */
    }

   /* Technology box section - smaller title and centered text */
    .technology-box h2 {
        fo nt-size: 2rem; /* Zmenšení nadpisu "Naše moderní technologie" */
        text-align: center; /* Zarovnání nadpisu na střed */
    }

    .technology-content p {
        text-align: center; /* Zarovnání textu na střed */
    }

    /* Technology box - move image below text */
    .technology-container {
        flex-direction: column; /* Obrázek pod textem */
        text-align: center; 
    }

    .technology-image {
        margin-top: 20px; /* Přidání mezery mezi textem a obrázkem */
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .technology-image img {
        width: 100%; /* Obrázek bude mít šířku 100% */
    }

    /* Zmenšení dalších nadpisů */
    .customization-options h2 {
        font-size: 2rem; /* Zmenšení nadpisu v sekci "Celý proces přestavby" */
    }

    /* Icons alignment */
    .icons-container {
        flex-direction: column; /* Ikony pod sebou místo vedle sebe */
        align-items: center;
    }

    .icon-box {
        width: 100%; /* Šířka ikonových boxů na celou šířku pro lepší zobrazení na mobilu */
        margin-bottom: 20px;
    }

    .design-examples iframe {
        width: 100%; /* YouTube videa budou mít 100% šířku na mobilním zobrazení */
        height: auto;
    }
}
