* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: Palatino, serif;
    background: #111;
    color: white;
    line-height: 1.6;
}

.hero {
  height: 100vh;
  background-image: url("/images/");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}


.hero h1 {
    font-size: 4rem;
}

.hero p {
    margin: 15px 0;
    font-size: 1.2rem;
}

.btn {
    display: inline-block;
    text-decoration: none;
    background: rgb(106, 35, 142);
    color: white;
    padding: 5px 20px;
    border-radius: 8px;
    transition: 0.5s;
}

.btn:hover {
    background: rgb(142, 46, 190);
}

nav {
    background: black;
    position: sticky;
    top: 0;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
}

nav li {
    padding: 15px;
}

nav a {
    color: white;
    text-decoration: none;
}

section {
    padding: 60px 10%;
}

h2 {
    text-align: center;
    margin-bottom: 30px;
    color: crimson;
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
    gap: 20px;
}

.card {
    background: #1d1d1d;
    padding: 20px;
    border-radius: 10px;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30px,1fr));
    gap: 20px;
}

.gallery img {
    width: 100%;
    border-radius: 10px;
    max-width: 200px;
    max-height: 200px;
}


#alertBtn {
    margin-top: 20px;
    padding: 12px 20px;
    border: none;
    background: crimson;
    color: white;
    cursor: pointer;
    border-radius: 8px;
}

#alertBtn:hover {
    background: #ff2f58;
}

#kontakt {
    text-align: center;
}

footer {
    background: black;
    text-align: center;
    padding: 20px;
}

.btn.disabled, .btn[disabled] {
opacity: 0.5;
pointer-events: none;
cursor: default;
}

@media (max-width: 768px) {
    nav ul {
        list-style: none;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 14px;
        flex-wrap: wrap;
        padding: 0 10px;
    }

    nav li {
        padding: 1px 0;
    }

    nav a {
        display: block;
        padding: 10px 0;
    }
}

