/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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 */
.hero {
    height: 100vh;
    background-image: url('img/legalizace-hero.jpg');
    background-size: cover;
    background-position: center;
    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);
}

.hero-content {
    position: relative;
    z-index: 1;
    color: #fff;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.5rem;
}

.cta-button {
    display: inline-block;
    background-color: #ffcf40; /* Zlatožlutá barva */
    color: #1c1c1c; /* Tmavá barva textu */
    font-size: 1.2rem;
    font-weight: bold;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    margin-top: 20px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    width: 350px;
}

.cta-button:hover {
    background-color: #e0b529; /* Mírně tmavší odstín při hoveru */
    transform: translateY(-5px); /* Mírné zvednutí tlačítka při hoveru */
}

.cta-button:focus {
    outline: none;
}

/* Vehicle Table */
.vehicle-table {
    padding: 60px 20px;
    background-color: #f9f9f9;
    text-align: center;
}

.vehicle-table h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #333;
    font-weight: 700;
}

/* Desktop styling for vehicle list */
.vehicle-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.vehicle-item {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.vehicle-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.vehicle-item img {
    width: 100px;
    height: auto;
    margin-bottom: 15px;
}

.vehicle-item p {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #333;
    font-weight: 600;
}
/* Requirements Section */
.requirements {
    padding: 60px 40px;
    background-color: #2c2c2c;
}

.requirements .container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin: 0 auto;
    max-width: 1200px;
    text-align: left;
}

.requirements-text {
    width: 55%;
}

.requirements h2 {
    font-size: 2.5rem;
    color: #ffcf40;
    margin-bottom: 30px;
    letter-spacing: 1px;
    font-family: 'Montserrat', sans-serif;
}

.requirements ul {
    list-style-type: none;
    padding-left: 20px;
    line-height: 1.6;
    color: #ddd;
    font-size: 1.1rem;
}

.requirements ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 15px;
}

.requirements ul li::before {
    content: '\2713'; /* Fajfka jako odrážka */
    position: absolute;
    left: 0;
    color: #ffcf40;
    font-size: 1.2rem;
}

.requirements strong {
    color: #ffcf40;
    display: inline-block;
    margin-bottom: 5px;
}

.requirements-note {
    font-size: 0.9rem;
    color: #bbb;
    margin-top: 25px;
    font-style: italic;
}

.requirements-image {
    width: 40%;
    display: flex;
    align-items: flex-start;
}

.requirements-image img {
    width: 100%;
    height: auto;
    max-height: 100%;
    border-radius: 10px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

/* Requirements1 Section */
.requirements1 {
    padding: 60px 40px;
    background-color: #1c1c1c;
}

.requirements1 .container1 {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin: 0 auto;
    max-width: 1200px;
    text-align: left;
}

.requirements1-text {
    width: 55%;
}

.requirements1 h2 {
    font-size: 2.5rem;
    color: #ffcf40;
    margin-bottom: 30px;
    letter-spacing: 1px;
    font-family: 'Montserrat', sans-serif;
}

.requirements1 ul {
    list-style-type: none;
    padding-left: 20px;
    line-height: 1.6;
    color: #ddd;
    font-size: 1.1rem;
}

.requirements1 ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 15px;
}

.requirements1 ul li::before {
    content: '\2713'; /* Fajfka jako odrážka */
    position: absolute;
    left: 0;
    color: #ffcf40;
    font-size: 1.2rem;
}

.requirements1 strong {
    color: #ffcf40;
    display: inline-block;
    margin-bottom: 5px;
}

.requirements1-note {
    font-size: 0.9rem;
    color: #bbb;
    margin-top: 25px;
    font-style: italic;
}

.requirements1-image {
    width: 40%;
    display: flex;
    align-items: flex-start;
}

.requirements1-image img {
    width: 100%;
    height: auto;
    max-height: 100%;
    border-radius: 10px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

/* Additional Information */
.additional-info {
    padding: 40px 20px;
    background-color: #2c2c2c;
}

.additional-info .container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin: 0 auto;
    max-width: 1200px;
    text-align: left;
}

.info-column {
    width: 48%;
}

.additional-info h2 {
    font-size: 1.8rem;
    color: #ffcf40;
    margin-bottom: 20px;
}

.additional-info ul {
    list-style-type: none;
    padding-left: 20px;
    font-size: 1rem;
    line-height: 1.5;
    color: #ddd;
}

.additional-info ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
}

.additional-info ul li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: #ffcf40;
    font-size: 1.2rem;
}

.info-note {
    font-size: 0.9rem;
    color: #bbb;
    margin-top: 20px;
    font-style: italic;
}

/* Cena a přetypování sekce */
.price-info {
    padding: 20px;
    background-color: #2c2c2c;
    text-align: center;
    color: #fff;
    margin-bottom: 20px;
}

.price-info h3 {
    font-size: 1.8rem;
    color: #ffcf40;
    margin-bottom: 10px;
}

.price-info p {
    font-size: 1.2rem;
    color: #ddd;
}


/* Contact Form */
.contact-form {
    padding: 40px;
    background-color: #2c2c2c;
    border-radius: 8px;
    max-width: 800px;
    margin: 20px auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.contact-form h2 {
    text-align: center;
    color: #ffcf40;
    margin-bottom: 20px;
}

.contact-form label {
    color: #ddd;
    display: block;
    margin-top: 15px;
}

.contact-form input, 
.contact-form select, 
.contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border-radius: 5px;
    border: 1px solid #ffcf40;
    background-color: #1c1c1c;
    color: #fff;
}

.contact-form button {
    width: 100%;
    padding: 10px;
    margin-top: 20px;
    background-color: #ffcf40;
    color: #1c1c1c;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.contact-form button:hover {
    background-color: #e0b122;
}

/* 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;
}

/* Responsive Styles */
@media only screen and (max-width: 768px) {
    .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;
    z-index: 999;
}

.nav-links.active {
    display: flex;
}

.burger-menu {
    display: flex;
    cursor: pointer;
}

    .sticky-nav ul li {
        margin: 10px 0;
        text-align: center;
    }

    .burger-menu span {
        background-color: #fff;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .cta-button {
    display: inline-block;
    background-color: #ffcf40; /* Zlatožlutá barva */
    color: #1c1c1c; /* Tmavá barva textu */
    font-size: 1rem;
    font-weight: bold;
    padding: 15px 15px;
    border-radius: 5px;
    text-decoration: none;
    margin-top: 20px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    width: 270px;
}


    .requirements .requirements1 .container,
    .additional-info .container {
        flex-direction: column;
        text-align: center;
    }

    .requirements-text, .requirements-image, .info-column {
        width: 100%;
    }

    .vehicle-table table th img {
        width: 30px;
    }

    @media (max-width: 768px) {
    
    .container h2 {
        text-align: center;
        font-size: 1.5rem;
    }

      .container h3 {
        text-align: center;
        font-size: 1.5rem;
    }

    .container {
        display: flex;
        flex-direction: column; /* Vertikální uspořádání */
        align-items: center; /* Vycentrování obsahu */
        text-align: center; /* Zarovnání textu na střed */
}

    .requirements-image {
        display: block; /* Obrázek bude blokový prvek */
        margin-top: 20px; /* Mezera mezi textem a obrázkem */
        max-width: 100%; /* Umožní, aby obrázek byl flexibilní */
        height: auto; /* Udržuje správný poměr stran obrázku */

    }


    .requirements ul li {
        display: block;
        padding-left: 0;
        margin-bottom: 20px;
        text-align: center;
    }

    .requirements ul li::before {
        display: inline-block;
        margin-right: 10px;
        vertical-align: middle;
    }

    .requirements strong {
        display: block; /* Nadpis bude na samostatném řádku */
        margin-bottom: 5px;
        margin-left: 10px;
        color: #ffcf40;
        font-weight: bold;
        text-align: center;
    }

    .requirements ul li span {
        display: block;
        color: #ddd;
        margin-top: 5px;
        text-align: center;
    }

/* requirements1 */

    .requirements1 .container1 {
        flex-direction: column;
        text-align: center;
    }

    .requirements1-text, .requirements1-image {
        width: 100%;
    }

    .requirements1 h2 {
        font-size: 1.8rem;
    }

    .requirements1 ul li {
        display: block;
        padding-left: 0;
        margin-bottom: 20px;
        text-align: center;
    }

    .requirements1 ul li::before {
        display: inline-block;
        margin-right: 10px;
        vertical-align: middle;
    }

    .requirements1 strong {
        display: block;
        margin-bottom: 5px;
        margin-left: 10px;
        color: #ffcf40;
        font-weight: bold;
        text-align: center;
    }

    .requirements1 ul li span {
        display: block;
        color: #ddd;
        margin-top: 5px;
        text-align: center;
    }

    .requirements1-image {
        display: block;
        margin-top: 20px;
        max-width: 100%;
        height: auto;
    }
}
    
/* Mobile styling for vehicle list */
@media (max-width: 768px) {
    .vehicle-list {
        grid-template-columns: 1fr;
        padding: 20px;
    }

    .vehicle-item {
        background-color: #f0f0f0;
        padding: 15px;
        border-radius: 8px;
    }

    .vehicle-item img {
        width: 80px;
        margin-bottom: 10px;
    }

    .vehicle-item p {
        font-size: 1.2rem;
        color: #000; /* Black text for mobile */
    }
}

/* Responsive Styles */
@media only screen and (max-width: 768px) {
    .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;
        z-index: 999; /* Z-index nastaven, aby bylo menu nad ostatním obsahem */
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
    }

    .burger-menu {
        display: flex;
    }

    .sticky-nav ul li {
        margin: 10px 0;
        text-align: center;
    }

    .burger-menu span {
        background-color: #fff;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }
}

@media (min-width: 769px) {
    .burger-menu {
        display: none;
    }

    .sticky-nav ul {
        display: flex;
        position: static;
        flex-direction: row;
        background-color: transparent;
    }
}