@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700;800&display=swap');

/* ================= RESET ================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    font-family: 'Inter', sans-serif;
    background: #0e1116;
    color: #eaeaea;
}

/* ================= NAVBAR ================= */

.nav-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.nav-header #header {
    height: 72px;
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 0 40px;

    background: rgba(10, 12, 16, 0.85);
    backdrop-filter: blur(12px);

    border-bottom: 1px solid rgba(255,255,255,0.06);
}

#header ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

#header a {
    color: #eaeaea;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
}

#header a:hover {
    color: #ffb84d;
}

/* ================= HERO ================= */

header:not(.nav-header) {
    margin-top: 72px;

    height: 45vh;
    min-height: 280px;

    display: flex;
    justify-content: center;
    align-items: center;

    background:
            linear-gradient(180deg, rgba(0,0,0,0.4), rgba(0,0,0,0.9)),
            url("M5G90.jpg");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

header:not(.nav-header) h1 {
    font-size: clamp(28px, 5vw, 60px);
    font-weight: 800;
}

/* ================= GRID ================= */

.auta-container {
    width: min(1200px, 92%);
    margin: 60px auto;

    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

/* ================= CARD ================= */

.auto-karta {
    background: #151a22;
    border-radius: 16px;
    overflow: hidden;

    border: 1px solid rgba(255,255,255,0.06);

    transition: 0.25s;
}

.auto-karta:hover {
    transform: translateY(-6px);
    border-color: rgba(255,184,77,0.3);
}

/* ================= IMAGE ================= */

.auto-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* ================= INFO ================= */

.auto-info {
    padding: 16px;
}

.auto-info h2 {
    font-size: 18px;
    color: white;
}

.auto-info p {
    font-size: 13px;
    color: #b9b9b9;
}

/* ================= PRICE ================= */

.cena {
    margin-top: 10px;
    font-size: 20px;
    font-weight: 800;
    color: #ffb84d;
}

/* ================= BUTTON ================= */

.rezervace-btn {
    display: block;
    margin-top: 12px;

    padding: 10px;
    text-align: center;

    background: #ffb84d;
    color: #111;

    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
}

.rezervace-btn:hover {
    background: #ff9f1c;
}

#footer {
    background: #0a0c10;
    padding: 100px 40px;
    text-align: center;
    color: #999;
}

