:root {
    /* tematické barvy */
    --color-bg: #5A9E8E;              /* zelené pozadí stránky */
    --color-text: #000000;            /* tmavý/černý text */
    --color-primary: #bdaaff;         /* levandulová pro hover v menu */
    --color-primary-light: #ede7fa;   /* světlá levandule */
    --color-accent: #ffe066;          /* doplňková žlutá */
    --color-white: #ffffff;           /* bílá */
    --color-footer-bg: #ffffff;       /* bílá pro zápatí */
    --color-footer-text: #000000;     /* černý text v zápatí */
    --color-input-border: #cdbfe5;    /* okraje inputů */
    --color-table-border: #ded4ef;    /* okraje tabulek */
}

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: var(--color-bg);
    color: var(--color-text);
    font-size: 1.15rem;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Nadpisy nikdy odrážky */
h1, h2, h3, h4, h5, h6 {
    list-style: none;
    margin: 0;
    padding: 0;
    color: var(--color-text);
}

/* upravené záhlaví */
header {
    background: var(--color-white);
    color: var(--color-text);
    padding: 26px 0;
}

.header-column {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    max-width: 1200px;
    margin: 0 auto;
}

.header-topleft {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 36px;
    width: 100%;
}

.logo {
    height: 180px;
    width: auto;
    flex-shrink: 0;
}

.web-name {
    font-size: 2rem;
    font-weight: bold;
    letter-spacing: 2px;
    color: var(--color-text);
    white-space: nowrap;
    text-align: left;
}

.nav-bottom {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    margin-top: 12px;
}

.nav-bottom ul {
    list-style: none; /* odstraníme odrážky jen v menu */
    padding: 0;
    margin: 0 18px 0 0;
    display: flex;
    gap: 30px;
}

.nav-bottom a {
    color: var(--color-text);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.15rem;
    transition: color 0.2s;
}

.nav-bottom a:hover,
.nav-bottom a.active {
    color: var(--color-primary);
}

section {
    padding: 30px 0;
}

h2, h3 {
    color: var(--color-text);
}

table {
    width: 100%;
    border-collapse: collapse;
    background: var(--color-white);
}

th, td {
    border: 1px solid var(--color-table-border);
    padding: 12px;
    text-align: left;
}

form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 400px;
}

input, textarea {
    padding: 10px;
    border: 1px solid var(--color-input-border);
    border-radius: 4px;
}

button {
    padding: 10px 20px;
    background: var(--color-footer-bg);
    color: var(--color-white);
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

button:hover {
    background: var(--color-primary);
    color: var(--color-text);
}

/* Obrázky a slider */
.hlavni-obrazek,
.sluzby-obrazek,
.cenik-obrazek,
.kontakt-budova,
.slider {
    max-width: 650px;
    width: 100%;
    height: 360px;
    margin: 28px auto 38px auto;
    border-radius: 18px;
    box-shadow: 0 2px 16px rgba(44,37,90,0.11);
    background: var(--color-white);
    display: block;
    object-fit: cover;
}

.slider {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide {
    display: none;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 18px;
    transition: opacity 0.6s;
    position: absolute;
    top: 0; left: 0;
}

.slide.active {
    display: block;
    opacity: 1;
    z-index: 2;
}

.slider-controls {
    position: absolute;
    bottom: 12px;
    left: 0;
    width: 100%;
    text-align: center;
    z-index: 3;
}

.dot {
    display: inline-block;
    width: 14px;
    height: 14px;
    margin: 0 5px;
    background: #e2d1fa;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid #bdaaff;
    transition: background 0.3s, border 0.3s;
}

.dot.active {
    background: #bdaaff;
    border: 2px solid #ffe066;
}

/* Rychlý kontakt – tmavší tematická zelená */
.rychly-kontakt {
    background: #44776D;               /* tmavší zelená pro kontrast */
    color: var(--color-text);          /* černý text */
    border-left: 5px solid #355D56;    /* ještě tmavší akcent */
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(44,37,90,0.05);
    padding: 24px 28px 18px 28px;
    max-width: 420px;
    min-width: 270px;
    font-size: 1.11rem;
    flex: 1 1 340px;
}

.rychly-kontakt h3 {
    margin-top: 0;
    margin-bottom: 14px;
    color: var(--color-text);         /* černý nadpis */
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.kontakt-flex {
    display: flex;
    gap: 40px;
    align-items: stretch;
    justify-content: flex-start;
    margin: 36px 0;
    flex-wrap: wrap;
}

.kontakt-osoba {
    margin-bottom: 16px;
}

.rychly-kontakt a {
    color: var(--color-text);
    text-decoration: underline;
    transition: color 0.2s;
    word-break: break-all;
}

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

.kontakt-info-firma {
    font-size: 1rem;
    color: var(--color-text);
    margin-top: 14px;
    border-top: 1px solid rgba(0,0,0,0.3);
    padding-top: 10px;
}

.mapa-kontakt {
    flex: 1 1 340px;
    min-width: 270px;
    display: flex;
    align-items: stretch;
}

.mapa-kontakt iframe {
    width: 100%;
    height: 100%;
    min-height: 300px;
    max-height: 500px;
    border: 0;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(44,37,90,0.11);
    background: var(--color-white);
    display: block;
}

/* Upravené zápatí */
footer {
    background: var(--color-footer-bg);
    color: var(--color-footer-text);
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
    border-top: 4px solid var(--color-primary);
}

/* Seznamy mají odrážky nebo čísla */
ul {
    list-style-type: disc;
    padding-left: 20px;
    margin: 10px 0;
    color: var(--color-text);
}

ol {
    list-style-type: decimal;
    padding-left: 20px;
    margin: 10px 0;
    color: var(--color-text);
}
