*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial,sans-serif;
}

body{
    background:#0a0a0a;
    color:white;
}

header{
    position:sticky;
    top:0;
    background:#000;
    padding:15px 40px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    border-bottom:1px solid #222;
    z-index:999;
}

.logo img{
    height:60px;
}

nav a{
    color:white;
    text-decoration:none;
    margin:0 15px;
    font-weight:bold;
}

nav a:hover{
    color:#e10600;
}

.call-btn{
    background:#e10600;
    color:white;
    padding:14px 22px;
    border-radius:8px;
    text-decoration:none;
    font-weight:bold;
}

.hero {
    min-height: 50vh;
    display: flex;
    align-items: center;
    padding: 50px;
    background: 
        linear-gradient(rgba(0,0,0,.5), rgba(0,0,0,.5)),
        url('../img/hero.jpg');
    background-size: cover;
    background-position: center;
    
    /* Zaoblení */
    border-radius: 30px;
    overflow: hidden;

    /* Vycentrování bloku */
    margin: 20px auto; /* 20px nahoře/dole, auto se postará o střed zleva i zprava */
    width: 95%;        /* Aby bylo vycentrování vidět, nesmí mít blok 100% šířku */
    max-width: 1400px; /* Volitelné: aby nebyl na ultraširokých monitorech moc roztažený */
}

.hero-content{
    max-width:800px;
}

.hero h1{
    font-size:60px;
    margin-bottom:20px;
    text-transform: uppercase;
}

.red{
    color:#e10600;
}

.hero p{
    font-size:22px;
    color:#ddd;
    margin-bottom:30px;
}

.btn{
    display:inline-block;
    padding:15px 25px;
    text-decoration:none;
    border-radius:8px;
    margin-right:15px;
    font-weight:bold;
}

.primary{
    background:#e10600;
    color:white;
}

.secondary{
    border:2px solid white;
    color:white;
}

section{
    max-width:1300px;
    margin:auto;
    padding:80px 40px;
}

h2{
    text-align:center;
    font-size:42px;
    margin-bottom:50px;
}

.grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:25px;
}

.card{
    background:#111;
    border-radius:12px;
    overflow:hidden;
    border:1px solid #222;
}

.card img{
    width:100%;
    height:230px;
    object-fit:cover;
}

.card-content{
    padding:25px;
}

.card h3{
    margin-bottom:10px;
}

.card p{
    color:#bbb;
}

.gallery img{
    width:100%;
    height:280px;
    object-fit:cover;
    border-radius:12px;
}

.contact{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:40px;
}

.contact-box, form{
    background:#111;
    padding:30px;
    border-radius:12px;
}

input, textarea{
    width:100%;
    padding:15px;
    margin-bottom:15px;
    border:none;
    border-radius:8px;
    background:#1b1b1b;
    color:white;
}

button{
    width:100%;
    padding:15px;
    background:#e10600;
    color:white;
    border:none;
    border-radius:8px;
    font-size:16px;
    cursor:pointer;
}

iframe{
    width:100%;
    height:300px;
    border:none;
    border-radius:12px;
    margin-top:20px;
}

footer{
    background:#000;
    text-align:center;
    padding:30px;
    color:#888;
    margin-top:40px;
}

@media(max-width:900px){
    header{
        flex-direction:column;
        gap:20px;
    }

    .hero{
        padding:40px 20px;
        text-align:center;
    }

    .hero h1{
        font-size:42px;
    }

    .contact{
        grid-template-columns:1fr;
    }
}