/* Reset */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Open Sans', sans-serif;
    background-color: #f4f4f4;
    color: #333;
    line-height: 1.6;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

/* Header */
header {
    background-color: #1e0f04;
    color: #fff;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.header-container {
    display: flex;
    justify-content: space-between; /* Zarovnání */
    align-items: center;
    padding: 0 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Logo */
.logo a {
    color: #fff;
    font-size: 1.5rem;
    font-weight: bold;
    transition: color 0.3s ease;
}

.logo a:hover {
    color: #ff9900;
}

/* Desktop Menu */
.desktop-menu {
    display: flex;
    align-items: center;
    order: 2; /* Umístění menu */
}

.desktop-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

.desktop-menu li {
    margin-left: 1rem;
}

.desktop-menu a {
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.desktop-menu a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Mobilní menu ikona (Hamburger) */
.mobile-menu-icon {
    display: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    align-self: center;
}

.mobile-menu-icon:hover {
    background-color: rgba(255, 255, 255, 0.1);
}


/* Mobilní menu */
.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    padding: 1rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.mobile-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu li {
    margin-bottom: 1rem;
}

.mobile-menu a {
    color: #fff;
    font-size: 1.2rem;
    display: block;
    padding: 0.75rem;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.mobile-menu a:hover {
    background-color: #1e0f04;
}

/* Telefonní číslo */
.telefon {
    order: 3; /* Umístění čísla */
    margin-left: 1rem;
}

.telefon a {
    color: #ff9900;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.telefon a:hover {
    color: #ffc107;
}

/* Main */
main {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Hero Image */
.hero-image {
    width: 100%;
    height: auto;
    margin-bottom: 1rem;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Úvodní sekce */
#uvod {
    text-align: center;
    margin-bottom: 2rem;
}

#uvod h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #333;
}

#uvod p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.7;
}

/* Produkty */
#produkty h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.produkty-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

/* ... (Předchozí CSS kód) ... */

.produkt {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    margin-bottom: 1.5rem;
}

.produkt:hover {
    transform: translateY(-5px);
}

.produkt img {
    width: 100%; /* Obrázek zabere celou šířku svého kontejneru na mobilu */
    height: 200px; /* Fixní výška na mobilu */
    object-fit: cover;
}

.produkt h3 {
    font-size: 1.4rem;
    margin: 0.75rem 0;
    padding: 0 1rem;
    white-space: nowrap;
}

.produkt p {
    padding: 0 1rem;
    color: #555;
}

.produkt a {
    display: block;
    text-align: center;
    background-color: #4CAF50;
    color: white;
    padding: 0.75rem;
    margin: 1rem;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.produkt a:hover {
    background-color: #3e8e41;
}


/* Responzivita */
@media (min-width: 769px) {  /* Pro desktop */

    .zizaly-grid {
        grid-template-columns: repeat(2, 1fr); /* Dva sloupce  */
    }

    .produkt {
        display: flex;  /* Používáme flexbox */
        align-items: center; /*  Svislé zarovnání  */
    }

    .produkt img {
        width: 200px; /*  Pevná  šířka  obrázku  */
        height: 200px;  /*  Pevná výška obrázku */
        margin-right: 1rem; /*  Odsazení obrázku  od  textu  */
    }

    .produkt h3, .produkt p {
       margin-bottom: 0.5rem; /*  Odsazení textu  */
    }
}

/* Pro obchodníky */
#pro-obchodniky {
    background-color: #f9f9f9;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

#pro-obchodniky h2 {
    font-size: 1.6rem;
    margin-bottom: 0.75rem;
}

#pro-obchodniky p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.6;
}

/* Patička */
footer {
    background-color: #1e0f04;
    color: #fff;
    text-align: center;
    padding: 1rem 0;
    font-size: 0.9rem;
}

footer .kontaktní-údaje {
    text-align: center;
    margin-bottom: 1rem;
    font-size: 0.9rem; /* Menší velikost písma */
}

footer .kontaktní-údaje p {
    margin: 0.25rem 0; /* Menší vertikální mezery */
}

footer .kontaktní-údaje a {
    display: inline-block; /*  Zobrazení odkazu jako inline-block  */
    margin: 0.25rem 0; /*  Menší vertikální mezery  */
}

/* Responzivita */
@media (max-width: 768px) {
    /* Header */
    .header-container {
        flex-direction: column;
        padding: 1rem;
    }

    .logo {
        margin-bottom: 1rem;
        text-align: center;
    }

    /* Vycentrování hamburgeru */
    .mobile-menu-icon {
        align-self: center;
        margin-bottom: 0;
        margin-top: 0.5rem;
        order: 1; /* Posun hamburgeru nad menu */
        width: 100%;
        text-align: center; /* Vycentrování na šířku */
    }

    .desktop-menu {
        display: none;
    }

    .mobile-menu-icon {
        display: block;
    }

    .mobile-menu {
        display: none;
        padding: 0.75rem;
        text-align: center;
    }

    .mobile-menu.active {
        display: block;
    }

    .telefon {
        order: 10; /* Umístění čísla pod logo */
        text-align: center;
        margin-left: 0;
    }

    /* Úvodní sekce */
    #uvod h1 {
        font-size: 1.75rem;
    }

    /* Produkty */
    .produkty-grid {
        grid-template-columns: 1fr;
    }

    .produkt img {
        width: 100%;
        height: auto;
    }
}

/* Small Screen */
@media (max-width: 480px) {
    /*  Další styly pro malé obrazovky  */
    #uvod h1 {
        font-size: 1.5rem;
    }

    .produkt {
        padding: 1rem 0.5rem;
    }
}
#kontakt {
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

#kontakt h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.kontakt-formular {
    display: flex;
    flex-direction: column;
    max-width: 600px;
    margin: 0 auto;
}

.kontakt-formular label {
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.kontakt-formular input,
.kontakt-formular textarea {
    padding: 0.75rem;
    margin-bottom: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
}

.kontakt-formular button {
    background-color: #4CAF50;
    color: #fff;
    padding: 0.75rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.kontakt-formular button:hover {
    background-color: #3e8e41;
}

.button {
    background-color: #4CAF50;
    color: #fff;
    padding: 0.75rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.button:hover {
    background-color: #3e8e41;
}
.hp-field {
    position: absolute !important;
    left: -9999px !important;
    width: 1px; height: 1px;
    overflow: hidden;
  }
  .captcha {
    margin-top: 12px;
    display: flex; gap: 8px; align-items: center;
  }
  