/* =========================================
   1. GLOBÁLNÍ NASTAVENÍ A RESET
   ========================================= */
* { box-sizing: border-box; }
html, body { width: 100%; margin: 0; padding: 0; overflow-x: hidden; scroll-behavior: smooth; }
body { font-family: 'Helvetica Neue', Arial, sans-serif; background: #fff; color: #333; line-height: 1.6; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.section-title { font-size: 2.2rem; text-align: center; margin-bottom: 40px; font-weight: 700; text-transform: uppercase; }

/* =========================================
   2. HLAVIČKA
   ========================================= */
.main-header {
    background: #ffffff;
    border-bottom: 2px solid #6d5a47;
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}
.logo { max-width: 190px; height: auto; display: block; transition: 0.3s; }

/* Navigace pro PC */
.main-nav { 
    display: flex; 
    gap: 35px; 
}
.main-nav a {
    text-decoration: none;
    color: #6d5a47;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.95rem;
    letter-spacing: 1px;
    transition: 0.3s;
    white-space: nowrap;
}
.main-nav a:hover { color: #ac9a8c; }

/* Tlačítko - standardně skryté */
.nav-toggle-btn { 
    display: none; 
}

/* =========================================
   3. HERO, SLUŽBY A OSTATNÍ
   ========================================= */
#hero { background: linear-gradient(135deg, #1a1a1a 0%, #333333 100%); padding: 100px 20px; text-align: center; color: #ffffff; border-bottom: 4px solid #6d5a47; }
.elegant-title { font-size: 3.2rem; text-transform: uppercase; margin-bottom: 20px; font-weight: 700; }
.hero-main-text { font-size: 1.5rem; max-width: 800px; margin: 0 auto 10px; color: #f4f4f4; }
.hero-sub-text { font-size: 1.1rem; color: #ac9a8c; margin-bottom: 40px; }

.hero-grid { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 50px; 
    max-width: 1050px; 
    margin: 0 auto; 
    text-align: left; 
    background: rgba(255,255,255,0.05); 
    border: 1px solid #6d5a47; 
    padding: 40px; 
    border-radius: 8px; 
}
.hero-column h3 { color: #ac9a8c; text-transform: uppercase; margin-top: 0; font-size: 1.1rem; }
.hero-column ul { list-style: none; padding: 0; }
.hero-column li { margin-bottom: 10px; }
.hero-column li::before { content: "✓"; color: #ac9a8c; margin-right: 10px; font-weight: bold; }

#nabidka { padding: 80px 20px; background: #fff; }
#recenze { padding: 80px 20px; background: #f9f9f9; }
#sluzby { background: #111; padding: 90px 20px; color: #fff; }
.intro-box { max-width: 850px; margin: 0 auto 60px; text-align: center; border: 1px solid #6d5a47; padding: 35px; background: rgba(109, 90, 71, 0.1); }
.process-timeline { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.process-step { background: rgba(255,255,255,0.05); padding: 40px; border-left: 4px solid #6d5a47; position: relative; }
.step-number { font-size: 3.5rem; color: rgba(109,90,71,0.2); position: absolute; top: 10px; right: 20px; font-weight: 800; }
.process-step h3 { color: #ac9a8c; margin-bottom: 15px; text-transform: uppercase; }

#kontakt { padding: 90px 20px; background: #fff; }
.contact-title { font-size: 2rem; line-height: 1.3; text-align: center; margin-bottom: 30px; }
.contact-form { display: flex; flex-direction: column; gap: 15px; max-width: 500px; margin: 0 auto; }
.contact-form input, .contact-form textarea { width: 100%; padding: 15px; border: 1px solid #ddd; border-radius: 8px; font-size: 1rem; box-sizing: border-box; }
.contact-form textarea { height: 120px; resize: vertical; }
.btn-submit { display: block; width: 100%; background-color: #6d5a47; color: white; border: none; padding: 18px 20px; border-radius: 10px; font-weight: bold; cursor: pointer; text-transform: uppercase; transition: 0.3s; text-align: center; font-size: 1.1rem; text-decoration: none; }
.btn-submit:hover { background-color: #ac9a8c; }

/* =========================================
   4. RESPONSIVITA
   ========================================= */

/* OPRAVA: Mobily na šířku a menší notebooky (překrývání menu) */
@media (min-width: 769px) and (max-width: 1150px) {
    .header-container { padding: 0 15px; }
    .logo { max-width: 140px; }
    .main-nav { gap: 15px; }
    .main-nav a { font-size: 0.8rem; }
}

/* Klasický mobilní režim (na výšku) */
@media (max-width: 768px) {
    /* Zarovnání textů vlevo pro mobil */
    #hero { text-align: left; padding: 60px 20px; }
    .hero-main-text { text-align: left; font-size: 1.15rem !important; margin: 0 0 10px 0; padding: 0; }
    .hero-sub-text { text-align: left; margin-bottom: 30px; }
    .section-title { text-align: left; }
    .intro-box { text-align: left; padding: 20px; }

    .nav-toggle-btn {
        display: block !important;
        cursor: pointer;
        padding: 10px 15px;
        background: #6d5a47;
        color: white;
        border-radius: 5px;
        font-weight: bold;
    }

    .main-nav {
        display: none !important;
        flex-direction: column;
        gap: 0;
        width: 100%;
        background: #ffffff;
        position: absolute;
        top: 100%;
        left: 0;
        z-index: 1000;
        padding: 0;
        border-top: 1px solid #ddd;
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
    }

    .main-nav.active {
        display: flex !important;
    }

    .main-nav a {
        padding: 20px;
        border-bottom: 1px solid #eee;
        width: 100%;
        text-align: center;
        color: #6d5a47;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        padding: 25px;
        gap: 30px;
    }

    .elegant-title {
        font-size: 2.1rem !important; 
        line-height: 1.2;
        margin-bottom: 15px;
        text-align: left;
        padding: 0; 
    }

    .hero-grid {
        grid-template-columns: 1fr;
        padding: 25px;
        gap: 30px;
        /* Zajištění, že se obsah gridu nebude centrovat jako celek */
        text-align: left !important; 
    }

    .hero-column {
        /* Vynucené zarovnání všech textů i odrážek doleva */
        text-align: left !important;
        width: 100%;
    }

    .hero-column ul {
        /* Zarovnání seznamu s odrážkami */
        display: inline-block;
        text-align: left;
        margin: 0;
    }
}

/* Pojistka pro velké obrazovky */
@media (min-width: 769px) {
    .nav-toggle-btn { display: none !important; }
    .main-nav { display: flex !important; }
}

footer { padding: 40px; text-align: center; background: #1a1a1a; border-top: 1px solid #333; font-size: 0.9rem; color: #888; }

/* Styl pro mobilní telefony (a tablety na výšku) */
@media screen and (max-width: 768px) {
  /* Kontejner filtru - zajistí naskládání prvků */
  .filter-options { /* Předpokládám, že toto je class pro obal filtru */
    display: flex;
    flex-direction: column; /* Naskládá prvky pod sebe */
    width: 100%;
    box-sizing: border-box; /* Zabrání přetékání paddingu */
    gap: 10px; /* Přidá malou mezeru mezi prvky */
  }

  /* Jednotlivé rozbalovací seznamy (selectboxy) */
  .filter-options select {
    width: 100%;
    box-sizing: border-box;
    /* Můžeš přidat další styly, např. padding: 12px; */
  }

  /* Tlačítko Filtrovat */
  .filter-options button { /* Nebo .btn-filter, pokud má třídu */
    width: 100%;
    margin: 0;
    box-sizing: border-box;
    /* Můžeš upravit, např. padding: 12px; */
  }
}
@media screen and (max-width: 768px) {
  /* Zvětšení mezery nad hlavním nadpisem */
  h1 {
    margin-top: 10px !important; /* Uprav si číslo podle potřeby */
    margin-bottom: 20px;         /* Mezera pod nadpisem směrem k filtru */
    padding-top: 10px;           /* Alternativně můžeš použít padding */
  }

  /* Pokud chceš, aby filtr byl pod sebou na celou šířku */
  .filter-options, 
  .filter-options select, 
  .filter-options button {
    display: block;
    width: 100% !important;
    margin-bottom: 10px;
    box-sizing: border-box;
  }
}
@media screen and (max-width: 768px) {
    /* Nadpis H1 - mezera nahoře */
    h1.elementor-heading-title, h1 { 
        margin-top: 10px !important;
        margin-bottom: 30px !important;
        display: block !important;
    }

    /* Kontejner s filtry */
    /* Tady musíme zacílit na ten šedý box */
    .elementor-widget-container div[class*="filter"], 
    .filter-options { 
        display: flex !important;
        flex-wrap: wrap !important;
        flex-direction: row !important; /* Aby byly vedle sebe */
        justify-content: space-between !important;
        width: 100% !important;
        gap: 10px !important;
    }

    /* Selecty (Značky a Paliva) */
    .filter-options select, 
    select {
        width: 100% !important;
        min-width: calc(50% - 5px) !important;
        flex: 0 0 calc(50% - 5px) !important;
        box-sizing: border-box !important;
    }

    /* Tlačítko FILTROVAT */
    .filter-options button,
    button.filter-submit,
    .elementor-button {
        width: 100% !important;
        flex: 0 0 100% !important;
        margin-top: 10px !important;
        box-sizing: border-box !important;
    }
}