/* =========================================================
   ROOT VARIABLES (UNCHANGED COLORS)
========================================================= */
:root {
    --primary-color: #1a73e8;
    --bg-dark: #2c3e50;
    --bg-light: #f0f4f8;
    --text-light: #fff;
    --text-dark: #222;
    --odkaz: rgb(128, 119, 255);
    --accent: #e53935;

    --font: 'Segoe UI', 'Roboto', sans-serif;
    --radius: 12px;
    --shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

/* =========================================================
   GLOBAL
========================================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font);
    line-height: 1.65;
    color: var(--text-dark);
    background: #fff;
    font-size: 18px;
}

img {
    width: 75%;
    border-radius: 10px;
    display: block;
    margin: 1.5rem auto;
    box-shadow: var(--shadow);
}

/* =========================================================
   LINKS (PROFESSIONAL UNDERLINE EFFECT)
========================================================= */
a {
    color: var(--odkaz);
    font-weight: 600;
    text-decoration: none;
    position: relative;
    transition: 0.2s;
}

a::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--odkaz);
    transition: 0.3s ease;
    border-radius: 2px;
}

a:hover::after {
    width: 100%;
}

/* =========================================================
   HEADER + HERO
========================================================= */
header {
    background: var(--primary-color);
    color: var(--text-light);
    padding: 2.5rem 1.5rem;
    border-bottom: 1px solid #0e50a1;
}

.hero {
    text-align: center;
    max-width: 900px;
    margin: auto;
}

.hero h1 {
    font-size: 2.6rem;
    margin-bottom: 0.5rem;
}

.hero p {
    font-size: 1.2rem;
    opacity: 0.95;
}

/* =========================================================
   NAVIGATION BAR
========================================================= */
nav {
    background: rgb(50, 78, 235) !important;
}

.nav-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.7rem 1.5rem;
    background: var(--primary-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-radius: 0 0 var(--radius) var(--radius);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.nav-bar .nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-bar li a {
    color: var(--text-light);
    padding: 0.55rem 1rem;
    font-size: 1.05rem;
    border-radius: var(--radius);
    transition: background 0.2s ease;
}

.nav-bar li a:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* =========================================================
   BURGER MENU (MOBILE)
========================================================= */
.burger {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 28px;
    height: 24px;
    cursor: pointer;
}

.burger span {
    height: 3px;
    background: white;
    border-radius: 3px;
}

@media (max-width: 768px) {
    .burger {
        display: flex;
    }

    .nav-bar .nav-links {
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 10px;
        right: 10px;
        background: var(--primary-color);
        display: none;
        padding: 1rem 0;
        border-radius: var(--radius);
        box-shadow: var(--shadow);
        z-index: 999;
    }

    .nav-bar .nav-links.active {
        display: flex;
    }

    .nav-bar .nav-links li {
        margin-bottom: 10px;
    }
}

/* =========================================================
   SECTIONS / CARDS / LIST IMPROVEMENTS
========================================================= */
.section {
    padding: 4rem 3rem;
    max-width: 960px;
    margin: 3.5rem auto;
    border-radius: var(--radius);
}

.section h2 {
    font-size: 2.2rem;
    margin-bottom: 1.8rem;
    letter-spacing: -0.5px;
}

.section p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

/* --- Spacing for lists --- */
.section ul {
    margin-top: 1.5rem;
    padding-left: 1.3rem;
}

.section ul li {
    margin-bottom: 0.9rem;
    padding: 0.6rem 0.4rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    font-size: 1.1rem;
}

.section ul li:last-child {
    border-bottom: none;
}

/* --- Card look --- */
.bordered {
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

/* --- Backgrounds --- */
.bg-light {
    background: var(--bg-light);
}

.bg-dark {
    background: var(--bg-dark);
    color: var(--text-light);
}

.bg-white {
    background: white;
}

/* =========================================================
   KONTAKT SECTION
========================================================= */
.kontakt-container {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    margin-top: 2rem;
}

.kontakt-info {
    flex: 1;
    font-size: 1.1rem;
    line-height: 1.8;
}

.kontakt-info a {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 1.15rem;
}

.kontakt-info a i {
    font-size: 1.35em;
}

/* --- Form --- */
.kontakt-form {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
}

.kontakt-form label {
    font-weight: 600;
}

.kontakt-form input,
.kontakt-form textarea {
    width: 100%;
    padding: 1rem 1.1rem;
    border: 1px solid #999;
    border-radius: var(--radius);
    font-size: 1.05rem;
    background: white;
}

.kontakt-form button {
    background: var(--primary-color);
    color: white;
    padding: 1rem;
    border: none;
    border-radius: var(--radius);
    font-weight: bold;
    font-size: 1.1rem;
    cursor: pointer;
    transition: 0.25s;
}

.kontakt-form button:hover {
    background: #0c56b1;
}

/* =========================================================
   MAP
========================================================= */
.mapa iframe {
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-top: 2rem;
    width: 100%;
}

/* =========================================================
   FOOTER
========================================================= */
footer {
    background: var(--primary-color);
    color: white;
    text-align: center;
    padding: 2.5rem 1rem;
    font-size: 1.05rem;
    line-height: 1.8;
    border-radius: var(--radius) var(--radius) 0 0;
    margin-top: 4rem;
}

/* =========================================================
   RESPONSIVE SECTION
========================================================= */
@media (max-width: 768px) {
    .section {
        padding: 2.2rem 1.6rem;
        margin: 2.5rem 0;
    }

    .section ul li {
        font-size: 1.05rem;
        padding: 0.7rem 0;
    }

    .kontakt-container {
        flex-direction: column;
        gap: 1rem;
    }
}