* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Inter, sans-serif;
}

/* pozadí */
body {
    background: #f4f7fb;
}

/* NAVBAR */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: 80px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    z-index: 100;
}

/* logo a název webu */
.logo {
    height: 80px;
}

.title {
    font-size: 27px;
    font-weight: 700;
    color: #ff7a00;
    margin-left: 12px;
}

.nav-left {
    display: flex;
    align-items: center;
}

/* styly tlacitek */
.btn-primary {
    background: #ff7a00;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 600;
}

.btn-outline {
    background: transparent;
    border: 3px solid #ff7a00;
    padding: 10px 20px;
    border-radius: 999px;
    cursor: pointer;
}

.login-btn {
    background: #34445a;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 999px;
    cursor: pointer;
}
.login-btn:hover {
    background: #161f30;
    transform: translateY(-3px) scale(1.05);
}  
.content {
    padding: 120px 40px 40px;
}

/* GRID KARET */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 30px;
}

/* STYL KARTY */
.card {
    background: white;
    border-radius: 25px;
    padding: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    border: 3px solid transparent;
}

/* barva podle stavu */
.card.found {
    border-color: #3b82f6;
}

.card.lost {
    border-color: #ef4444;
}

/* obrázek v kartě */
.card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 15px;
}

/* text v kartě */
.card h3 {
    margin: 10px 0 5px;
}

.card p {
    font-size: 14px;
    color: #555;
}

/* formulář */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    display: none;
    align-items: center;
    justify-content: center;
}

/* zobrazení formuláře */
.modal.show {
    display: flex;
}

/* obsah formuláře */
.modal-box {
    background: white;
    padding: 30px;
    width: 400px;
    border-radius: 25px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* inputy(popis věci) ve formuláři */
.modal-box input,
.modal-box textarea,
.modal-box select {
    padding: 10px;
    border-radius: 12px;
    border: 1px solid #ddd;
}

/* tlačítka v formuláři */
.modal-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
}

/* ==========================HLAVNI TLACITKA===========================*/
.nav-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
}

.btn-found {
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(59,130,246,0.4);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-found:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 14px 32px rgba(59,130,246,0.6);
}
.btn-found:active { transform: scale(0.97); }

.btn-lost {
    background: linear-gradient(135deg, #ef4444, #f87171);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(239,68,68,0.4);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-lost:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 14px 32px rgba(239,68,68,0.6);
}
.btn-lost:active { transform: scale(0.97); }

/* VYŘÍZENÁ KARTA */
.card.done {
    opacity: 0.5;
    filter: grayscale(1);
}

/* TLAČÍTKA V KARTĚ */
.card-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
}

.card-actions button {
    font-size: 12px;
    padding: 6px 10px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
}

.btn-done {
    background: #22c55e;
    color: rgb(0, 0, 0);
}

.btn-delete {
    background: #ef4444;
    color: rgb(0, 0, 0);
}