:root { 
    --primary: #f3f4f6; 
    --accent: #22c55e; 
    --bg: #f3f4f6; 
    --text-dark: #111827; 
    --text-light: #6b7280; 
    --white: #ffffff;
	--btn: #ff0000;
} 


body { 
    margin: 0; 
    font-family: 'Segoe UI', sans-serif; 
    background: var(--bg); 
    color: var(--text-dark); 
    transition: background 0.3s, color 0.3s; 
} 

.navbar { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    background: var(--primary); 
    color: var(--white); 
    padding: 1em 3em; 
    position: sticky; 
    top: 0; 
    z-index: 100; 
    box-shadow: 0 2px 10px rgba(0,0,0,0.1); 
} 

.navbar ul { 
    display: flex; 
    gap: 2em; 
    list-style: none; 
    margin: 0; 
} 

.navbar a { 
    color: var(--text-dark); 
    text-decoration: none; 
    font-weight: 500; 
    transition: color 0.3s; 
} 

.navbar a:hover { 
    color: var(--accent); 
} 

#theme-toggle { 
    background: transparent; 
    border: none; 
    color: var(--white); 
    font-size: 1.3em; 
    cursor: pointer; 
    transition: transform 0.3s; 
} 

#theme-toggle:hover { 
    transform: rotate(20deg); 
} 

.hero { 
    background: url('../static/background.svg'); 
    background-size: cover; 
    background-position: center; 
    color: var(--white); 
    text-align: center; 
    padding: 6em 1em; 
} 

.hero h1 { 
    font-size: 2.5em; 
    margin-bottom: 0.5em; 
} 

.hero p { 
    max-width: 600px; 
    margin: 0 auto 1.5em; 
    font-size: 1.1em; 
} 

.btn-primary { 
    background: var(--accent); 
    color: var(--white); 
    padding: 0.8em 2em; 
    border-radius: 50px; 
    text-decoration: none; 
    transition: all 0.3s; 
} 

.btn-primary:hover { 
    background: var(--btn); 
    color: var(--primary); 
} 

.section { 
    padding: 4em 2em; 
    text-align: center; 
} 

.section.alt { 
    background: var(--white); 
} 

.section h2 { 
    font-size: 2em; 
    margin-bottom: 1em; 
} 

.cards { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
    gap: 2em; 
    max-width: 1100px; 
    margin: 0 auto; 
} 

.card-link { 
    text-decoration: none; 
    color: inherit; 
    cursor: pointer; 
    transition: transform 0.2s, box-shadow 0.2s;
} 

.card-link:hover { 
    transform: translateY(-6px);
    box-shadow: 0 8px 18px rgba(0,0,0,0.15);
    background-color: var(--accent);
    color: var(--white);
} 

.card { 
    background: var(--white); 
    padding: 2em; 
    border-radius: 15px; 
    box-shadow: 0 4px 15px black; 
    transition: transform 0.3s, box-shadow 0.3s; 
} 

.card:hover { 
    transform: translateY(-8px); 
    box-shadow: 0 6px 20px black; 
} 

.card .icon { 
    font-size: 2em; 
    margin-bottom: 0.5em; 
} 

.contact-info { 
    background: var(--white); 
    display: inline-block; 
    padding: 2em 3em; 
    border-radius: 15px; 
    box-shadow: 0 4px 10px rgba(0,0,0,0.05); 
} 

.contact-info p { 
    margin: 0.5em 0; 
} 

.about { 
    padding: 80px 20px; 
    background: var(--bg-light); 
    color: var(--text); 
    text-align: center; 
} 

.about h2 { 
    font-size: 2.2rem; 
    margin-bottom: 20px; 
    color: var(--text-dark); 
} 

.about p { 
    font-size: 1.2rem; 
    max-width: 800px; 
    margin: 0 auto; 
    line-height: 1.7; 
} 

footer { 
    background: var(--accent); 
    color: var(--white); 
    text-align: center; 
    padding: 1.5em 0; 
    font-size: 0.9em; 
    margin-top: 2em; 
} 

/* HERO SMALL (podstránky) */
.hero.small { 
    background-size: cover; 
    background-position: center; 
    color: var(--white); 
    text-align: center; 
    padding: 3em 1em; 
    min-height: 300px; 
} 

/* SERVICES GRID */
.services-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
    gap: 2em; 
    max-width: 1100px; 
    margin: 0 auto; 
    text-align: left; 
} 

.service-item { 
    background: var(--white); 
    border-radius: 15px; 
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); 
    padding: 1.8em; 
    transition: transform 0.3s, box-shadow 0.3s; 
} 

.service-item:hover { 
    transform: translateY(-6px); 
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15); 
} 

.service-item h3 { 
    color: var(--text-dark); 
    margin-bottom: 0.6em; 
} 

/* GALERIE */
.gallery { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
    gap: 1.5em; 
    max-width: 1100px; 
    margin: 2em auto; 
} 

.gallery-item { 
    background: var(--white); 
    border-radius: 12px; 
    overflow: hidden; 
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); 
    transition: transform 0.3s, box-shadow 0.3s; 
} 

.gallery-item:hover { 
    transform: translateY(-6px); 
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2); 
} 

.gallery-item img { 
    width: 100%; 
    height: 180px; 
    object-fit: cover; 
    display: block; 
} 

.gallery-item p { 
    padding: 1em; 
    font-size: 0.95em; 
    text-align: center; 
    color: var(--text-dark); 
} 

/* RESPONSIVE */
@media (max-width: 768px) { 
    .hero.small { padding: 3em 1em; } 
    .services-grid, .gallery { grid-template-columns: 1fr; } 
    .service-item, .gallery-item { text-align: center; } 
} 

.lang-switch { 
    display: inline-flex; 
    align-items: center; 
    gap: 8px; 
    margin-left: 18px; 
    font-size: 0.95rem;	
} 

.lang-link { 
    color: var(--white); 
    text-decoration: none; 
    padding: 5px 8px; 
    border-radius: 6px; 
    transition: background 0.18s, color 0.18s; 
    border: 1px solid rgba(255,255,255,0); 
} 

.lang-link.active-lang { 
    background: var(--accent); 
    color: var(--white); 
    font-weight: 600; 
    pointer-events: none; 
    opacity: 0.95; 
} 

.lang-link:not(.active-lang):hover { 
    background: var(--white); 
    border-color: var(--white); 
} 

.lang-sep { 
    color: var(--text-dark); 
    user-select: none; 
} 


/* ------------------------------------------------------ */
/* --------- 🚀 OPRAVY MOBILNÍHO ZOBRAZENÍ -------------- */
/* ------------------------------------------------------ */

/* 1. Zabrání bílému místu vpravo */
html, body {
    max-width: 100%;
    overflow-x: hidden;
}

/* 2. Mobilní úprava navigace */
@media (max-width: 768px) {
    .navbar {
        padding: 0.8em 1.2em;
        flex-wrap: wrap;
        gap: 0.5em;
    }
    .navbar ul {
        flex-wrap: wrap;
        gap: 1em;
        width: 100%;
        justify-content: center;
    }
    .navbar ul li {
        display: block;
        text-align: center;
    }
}

/* 3. Galerie – obrázky adaptivní */
.gallery-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* 4. Hero a sekce – bezpečné okraje */
.section {
    padding: 3em 1em;
}
.hero.small {
    padding: 5em 1em;
    min-height: auto;
}

/* 5. Stabilní box model */
*, *::before, *::after {
    box-sizing: border-box;
}


.nav-menu {
    display: flex;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-menu a {
    padding: 8px 18px;
    border-radius: 999px; /* ovál */
    text-decoration: none;
    font-weight: 500;
    color: var(--text-dark);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.nav-menu a:hover {
    background-color: var(--accent); /* světle zelená */
	color: var(--white);
}

.nav-menu a.active {
    background-color: var(--accent); /* zelená */
    color: var(--white);
}




.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 42px;       /* uprav podle potřeby */
    width: auto;
}