/* Základní reset a globální styly */
:root {
    --primary-color: #42A5F5; /* Nová akvamarínová modrá */
    --secondary-color: #343a40; /* Tmavá barva pro text/pozadí */
    --light-bg: #f8f9fa; /* Světlé pozadí */
    --dark-bg: #212529; /* Tmavé pozadí patičky */
    --font-family: 'Roboto', sans-serif;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--secondary-color);
    background-color: white;
}


.main-header {
    width: 100%;
    height: 50px; /* Pevná výška dle požadavku */
    background-color: white; /* Bílé pozadí dle požadavku */
    border-bottom: 1px solid #ddd; /* Jemná linka pro oddělení */
    display: flex;
    justify-content: center; /* Vycentruje kontejner loga horizontálně */
    align-items: center; /* Vycentruje vertikálně (pokud logo-container má pevnou výšku) */
    position: relative; /* Aby se z-index aplikoval, pokud byste chtěl lištu fixovat */
    z-index: 999; /* Zajišťuje, že je lišta nad obsahem */
}

.logo-container {
    height: 100%; /* Zajišťuje, že kontejner má stejnou výšku jako lišta */
    display: flex;
    align-items: center; /* Vertikální vycentrování obrázku loga uvnitř */
    max-width: 1200px; /* Omezte šířku na standardní rozměr webu */
    width: 90%; /* Responzivní šířka */
}

.logo {
    max-height: 40px; /* Omezíme výšku obrázku, aby se vešel do 50px lišty */
    width: auto;
    display: block;
    margin: 0 auto; /* Centrování loga uvnitř logo-container */
}

/* ZAJIŠTĚNÍ, ŽE HERO SEKCE ZAČÍNÁ HNED POD LOGO LIŠTOU */
.hero-section {
    /* ... stávající styly ... */
    /* Není potřeba žádný margin/padding, Hero sekce se zobrazí hned po .main-header */
}

/* Tlačítka (CTA) */
.button {
    display: inline-block;
    padding: 15px 30px;
    font-weight: bold;
    text-decoration: none;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    text-transform: uppercase;
    text-align: center;
}

.primary-cta {
    background-color: var(--primary-color);
    color: white;
    font-size: 1.1em;
}

.primary-cta:hover {
   background-color: #1976D2; /* Tmavší odstín modré pro hover */
    transform: translateY(-2px);
}

.secondary-cta {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 10px 20px;
}

.secondary-cta:hover {
    background-color: var(--primary-color);
    color: white;
}

/* SEKCE A: HERO */
.hero-section {
    background-image: url('foto-fasada-hero1.webp'); /* ZDE DOPLŇTE FOTO FASÁDY */
    background-size: cover;
    background-position: center;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
    padding: 100px 20px;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-content h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
}

.hero-content .subtitle {
    font-size: 1.5em;
    margin-bottom: 30px;
}

.phone-cta {
    color: white;
    font-weight: bold;
    text-decoration: underline;
    display: block;
    margin-top: 25px;
    font-size: 1.5em;
}


.phone-cta a {
    color: white;
    font-weight: bold;
    text-decoration: underline;
    display: block;
    margin-top: 15px;
    font-size: 2.0em;
}

/* SEKCE B & C: VÝHODY */
.advantages-section {
    padding: 60px 20px;
    text-align: center;
    background-color: var(--light-bg);
}

.advantages-section h2{
font-size:200%;
}

.advantages-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
}

.advantage-item {
    flex-basis: 100%; /* Mobilní základ */
    max-width: 300px;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.advantage-item .icon {
    font-size: 2.5em;
    display: block;
    margin-bottom: 10px;
}

/* SEKCE D: GALERIE */
.gallery-section {
    padding: 60px 20px;
    text-align: center;
}

.gallery-section h2{
font-size:200%;
}

.gallery-carousel {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
    margin: 30px 0;
}

.gallery-carousel img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* SEKCE E: DŮVĚRA */
.trust-section {
    background-color: var(--secondary-color);
    color: white;
    padding: 40px 20px;
    text-align: center;
}

blockquote {
    font-size: 1.2em;
    font-style: italic;
    max-width: 800px;
    margin: 0 auto 10px;
    border-left: 5px solid var(--primary-color);
    padding-left: 20px;
}

cite {
    display: block;
    margin-top: 10px;
    font-size: 0.9em;
}

/* SEKCE G: KONTAKT A FORMULÁŘ */
.contact-section {
    padding: 60px 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 40px;
}

.form-container {
    flex-basis: 100%;
    max-width: 500px;
}

.contact-info {
    flex-basis: 100%;
    max-width: 300px;
    text-align: center;
}

.contact-info a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
}

form input[type="text"],
form input[type="email"],
form input[type="tel"],
form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1em;
}

form textarea {
    resize: vertical;
    min-height: 100px;
}

.gdpr-label {
    display: block;
    margin-bottom: 15px;
    font-size: 0.9em;
}

.submit-button {
    width: 100%;
    padding: 15px;
}

.note {
    font-size: 0.85em;
    color: #666;
    margin-top: 15px;
}

/* SEKCE H: PATIČKA */
footer {
    background-color: var(--dark-bg);
    color: white;
    text-align: center;
    padding: 20px;
    font-size: 0.9em;
}

footer a {
    color: #aaa;
    text-decoration: none;
    margin: 0 5px;
}

/* Optimalizace pro desktopy */
@media (min-width: 768px) {
    .hero-content h1 {
        font-size: 3.5em;
    }
    .hero-section {
        min-height: 70vh;
    }
    .advantage-item {
        flex-basis: calc(33% - 40px);
    }
    .form-container {
        flex-basis: 55%;
    }
    .contact-info {
        flex-basis: 35%;
        text-align: left;
    }
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--dark-bg); /* Tmavé pozadí */
    color: white;
    padding: 20px;
    z-index: 1000; /* Zajištění, že je nad vším ostatním */
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    transform: translateY(0); /* Zajišťuje, že je lišta na začátku viditelná */
    transition: transform 0.5s ease-in-out;
}

.cookie-banner.hidden {
    transform: translateY(100%); /* Skryje lištu po souhlasu */
}

.cookie-banner p {
    margin-bottom: 15px;
    text-align: center;
    font-size: 0.9em;
}

.cookie-banner a {
    color: var(--primary-color);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 15px;
}

.cookie-banner .button {
    padding: 10px 20px;
    font-size: 0.9em;
}

/* Optimalizace pro desktop */
@media (min-width: 768px) {
    .cookie-banner {
        flex-direction: row;
        justify-content: space-between;
        padding: 15px 40px;
    }
    .cookie-banner p {
        margin-bottom: 0;
        text-align: left;
        flex-grow: 1;
        margin-right: 30px;
    }
}