/* General styles */
body {
    margin: 0;
    font-family: 'Arial', sans-serif;
    color: #0D385E;
    line-height: 1.6;
    background-color: #fff;
    background-image: linear-gradient(
        135deg, 
        #ddd 12.5%, 
        transparent 12.5%, 
        transparent 50%, 
        #ddd 50%, 
        #ddd 62.5%, 
        transparent 62.5%, 
        transparent
    );
    background-size: 1.8px 1.8px;
}

/* Burger icon */
.burger-icon {
    display: none;
    cursor: pointer;
    position: fixed; /* Fixní pozice */
    top: 0.8rem; /* Zarovnáno s logem */
    right: 2rem; /* Odstup od pravého okraje */
    z-index: 1100; /* Nad vším ostatním */
    background-color: white; /* Pozadí, aby ikonka vynikla */
    padding: 0.5rem; /* Prostor okolo ikonky */
}

.burger-icon img {
    width: 35px; /* Menší šířka pro lepší zarovnání */
    height: 35px; /* Výška ikonky */
}

/* Responsive menu */
.responsive-menu {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.responsive-menu a {
    color: #0D385E;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 1rem 0;
    text-decoration: none;
}

/* Header styles */
.header-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
    color: #fff;
    padding: 0.8rem 2rem;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
}

.header-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 2.2rem;
    font-weight: bold;
    color: #000;
}

.logo img {
    width: 270px;
    height: auto;
    display: block; 
    margin: 0; 
    padding: 0;
}

.logo a {
    display: inline-block;
    margin: 0; 
    padding: 0;
    text-decoration: none;
    color: inherit;
}

.menu {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    justify-content: flex-end;
}

.menu a {
    position: relative;
    color: #0D385E;
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: bold;
    padding: 0.6rem 0;
    margin: 0 1.0rem;
}

.menu a::after {
    content: "";
    display: block;
    width: 0;
    height: 2px;
    background: #FF5101;
    transition: width 0.3s ease;
}

.menu a:hover::after,
.menu a.active::after {
    width: 100%;
}

.menu a.stehovani-link {
    color:#FF5101;
}

.menu a.stehovani-link::after {
    content: "";
    display: block;
    width: 0;
    height: 2px;
    background: #0D385E; /* Změna barvy podtržení */
    transition: width 0.3s ease;
}

.menu a.stehovani-link:hover::after,
.menu a.stehovani-link.active::after {
    width: 100%; /* Zvýraznění při hoveru nebo aktivním odkazu */
}

.social-icons {
    position: absolute;
    right: 2rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    display: none;
}

.social-icons img {
    width: 35px;
    height: 35px;
}

/* Main content */
main {
    padding: 2rem;
    max-width: 1100px;
    margin: 5rem auto 0;
}

/* Oprava překrytí hlavičkou při kliknutí na odkaz */
section {
    scroll-margin-top: 6rem;
}

.tiles {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Fixní počet sloupců pro sekci "Služby" */
    gap: 1rem;
    max-width: 1100px;
    margin: 0 auto;
}

.tiles.fleet {
    grid-template-columns: repeat(3, 1fr); /* Fixní počet sloupců pro sekci "Naše flotila" */
    justify-content: start; /* Zarovnání vlevo */
}

.tile {
    background-color: #fff;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    padding: 1rem;
    transition: transform 0.3s ease;
}

.tile img {
    width: 100%; /* Nastaví šířku obrázku na 100 % rodiče */
    max-width: 170px; /* Fixní maximální šířka obrázku */
    height: auto; /* Udrží poměr stran obrázku */
    margin: 0 auto; /* Zarovnání obrázku na střed */
    display: block; /* Odstraní případné mezery kolem obrázku */
}

.tile a {
    text-decoration: none;
    color: inherit;
}

.tile:hover {
    transform: scale(1.05);
}

/* Contact form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 600px;
    padding: 2rem;
    background: #fff;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin: 0;
}

.contact-form label {
    font-weight: bold;
    text-align: left;
}

.contact-form input,
.contact-form textarea {
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 0.3rem;
    resize: none;
}

.contact-form button {
    background-color: #0D385E;
    color: #fff;
    border: none;
    padding: 0.7rem 1rem;
    border-radius: 0.3rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-form button:hover {
    background-color: #0d385edb;
}

/* Cookie consent */
.cc-window {
    height: 60px;
    background-color: rgba(13, 56, 94, 0.9) !important; /* Mírně průhledná modrá barva */
    color: #ffffff !important; /* Bílý text, aby byl dobře čitelný */
    padding: 10px !important; /* Větší vnitřní odsazení */
    font-size: 14px !important; /* Větší text */
    line-height: 1.5 !important; /* Lepší čitelnost textu */
    box-sizing: border-box; /* Zajistí, že padding se počítá do velikosti */
}


.cc-revoke {
    right: 20px !important; /* Přesune záložku doprava */
    left: auto !important; /* Zruší levé zarovnání */
}

/* Tlačítka v cookie banneru */
.cc-btn {
    font-size: 14px !important; /* Nastaví čitelnou velikost textu na tlačítkách */
    padding: 10px 15px !important; /* Větší prostor pro tlačítka */
    margin: 5px !important; /* Oddělení mezi tlačítky */
}

/* Footer styles */
footer {
    text-align: center;
    padding: 1rem;
    background: #fff;
    color: #0D385E;
}

/* Responsive styles */
@media (max-width: 1024px) {
    .burger-icon {
        display: block;
    }

    .menu {
        display: none; /* Skryje menu na mobilu */
    }

    .tiles {
        grid-template-columns: 1fr; /* Dlaždice pod sebe */
    }

    .tiles.fleet {
        grid-template-columns: 1fr; /* Dlaždice "Naše flotila" pod sebe */
        max-width: 100%; /* Sekce zabírá celou šířku */
    }

    .contact-form {
        max-width: 100%; /* Formulář zabírá plnou šířku na mobilu */
    }

    .social-icons {
        display: none;
    }

    .cc-window {
        bottom: 0 !important; /* Zarovnání na spodní část obrazovky */
        width: 100% !important; /* Plná šířka pro banner */
        left: 0 !important;
        right: 0 !important;
    }
    
    .cc-btn {
        width: calc(100% - 20px) !important; /* Tlačítka zabírají celou šířku s odsazením */
        text-align: center !important;
        display: block !important; /* Každé tlačítko na nový řádek */
    }
}

@media (max-width: 750px) {
    .cc-window {
        height: 130px !important; /* Zvýšení výšky pro menší rozlišení */
    }
}

/* Ceník - styling tabulky */
.pricing-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    font-size: 1.1rem;
    text-align: left;
    background-color: #fff;
    border: 1px solid #ddd;
}

.pricing-table thead {
    background-color: #FF5101;
    color: #fff;
}

.pricing-table th,
.pricing-table td {
    padding: 1rem;
    border: 1px solid #ddd;
}

.pricing-table tbody tr:nth-child(odd) {
    background-color: #f9f9f9;
}

.pricing-table tbody tr:nth-child(even) {
    background-color: #fff;
}

.pricing-table tbody tr:hover {
    background-color: #FF5101;
    color: #fff;
}

.pricing-table th {
    background-color: #0D385E;
    color: white;
    font-weight: bold;
}

.pricing-table td {
    color: #0D385E;
}

.pricing-table tbody tr:hover td {
    color: #fff;
}
.invoice-details {
    background-color: #fff;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: left; /* Zarovnání textu doleva */
    padding: 1rem;
    transition: transform 0.3s ease;
    min-width: 250px;
    width: 40%;
}

.invoice-details .company-name {
    font-size: 1.0rem;
    color: #0D385E;
    margin-bottom: 10px;
}

.invoice-details .company-address,
.invoice-details .company-ico {
    font-size: 1rem;
    color: #333;
    margin-bottom: 8px;
}

.invoice-details .company-address span,
.invoice-details .company-ico span {
    font-weight: bold;
    color: #0D385E;
}

/* Hover efekt podobný dlaždicím */
.invoice-details:hover {
    transform: scale(1.05);
}
.contact-info {
    background-color: #fff;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: left;
    padding: 1rem;
    transition: transform 0.3s ease;
    width: 20%;
    min-width: 250px;
}

.contact-info p {
    font-size: 1rem;
    color: #333;
    line-height: 1.6;
    margin-bottom: 10px;
}
