html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    color: #222;
    background-image: url('dodavkabg.jpg');
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
    margin: 0;
}

/* ===== HEADER ===== */

header {
    position: sticky;
    top: 0;
    background-color: #404040;
    color: white;
    padding: 10px 20px;
    z-index: 1000;

    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo {
    font-weight: bold;
    font-size: 28px;
    letter-spacing: 4px;
    margin-bottom: 10px;
}

/* ===== NAVIGATION ===== */

nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 20px;
    padding: 8px 12px;
    display: inline-block;
}


nav a:hover {
    opacity: 0.8;
}

nav a:hover {
    background-color: #2563eb;
    border-radius: 6px;
}

nav a.active {
    background-color: #2563eb;
    border-radius: 6px;
}


/* ===== HERO ===== */

.hero {
    background: #1e40af;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px 20px;
    opacity: 0.9;
}

.btn {
    margin-top: 20px;
    background: white;
    color: #1e40af;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
}

/* ===== SECTIONS ===== */

section {
    padding: 40px 20px;
}

.light {
    background: #BBCCFC;
    text-align: center;
    opacity: 0.9;
}

/* ===== CENÍK KARTY ===== */

.cards {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    color: black;
}

.card {
    background: #f1f5f9;
    padding: 30px;
    border-radius: 12px;
    flex: 1;
    min-width: 250px;
    max-width: 350px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

/* ===== KONTAKT ===== */

.phone a {
    font-size: 20px;
    text-decoration: none;
    color: #1e40af;
}

form {
    max-width: 400px;
    margin: 40px auto 0 auto;
}

input, textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid #ccc;
    box-sizing: border-box;
}

button {
    width: 100%;
    padding: 12px;
    border: none;
    background: #2563eb;
    color: white;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
}

button:hover {
    opacity: 0.9;
}

/* ===== FOOTER ===== */

footer {
    background: #0f172a;
    color: white;
    text-align: center;
    padding: 15px 10px;
}

/* ===== RESPONSIVE ===== */

@media (max-width: 768px) {

    .logo {
        font-size: 22px;
    }

    nav {
        gap: 10px;
    }

    nav a {
        font-size: 16px;
        padding: 6px 10px;
    }

    .cards {
        flex-direction: column;
        align-items: center;
    }

}
