@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* =========================
   RESET
========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    min-height: 100vh;
    background: radial-gradient(circle at top, #1b2433 0%, #0f1722 40%, #0b0f14 100%);
    color: #f5f5f5;
}

/* =========================
   GLOBAL
========================= */
a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

main {
    width: min(1100px, 92%);
    margin: 160px auto 80px auto;
}

/* =========================
   HEADER
========================= */
.nav-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background: rgba(10, 14, 20, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 40px;
}

.nav-right, .nav-left {
    display: flex;
    gap: 20px;
    align-items: center;
}

nav a {
    font-weight: 600;
    opacity: 0.9;
    transition: 0.2s;
}

nav a:hover {
    opacity: 1;
}

/* =========================
   HEADINGS
========================= */
h1 {
    font-size: 34px;
    font-weight: 900;
    text-align: center;
    margin: 30px 0;
}
h2 {
    font-size: 25px;
    font-weight: 900;
    text-align: center;
    margin: 30px 0;
}
.FormName {
    font-size: 18px;
    font-weight: 900;
    text-align: center;
    margin: 30px 0;
}

/* =========================
   FORM (kontakt + register + login)
========================= */
form {
    max-width: 700px;
    margin: 20px auto;
    padding: 30px;

    border-radius: 18px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    backdrop-filter: blur(14px);
}

label {
    font-weight: 700;
    font-size: 13px;
}

input, textarea, select {
    width: 100%;
    margin-top: 8px;
    margin-bottom: 16px;
    padding: 12px;

    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(0,0,0,0.35);
    color: white;
    outline: none;
}

/* =========================
   BUTTON
========================= */
button {
    width: 100%;
    padding: 14px;

    border-radius: 12px;
    border: none;

    background: linear-gradient(135deg, #ffb84d, #ff941f);
    color: #111;

    font-weight: 900;
    cursor: pointer;

    transition: 0.2s;
}

button:hover {
    transform: translateY(-3px);
}

/* =========================
   AUTH (login/register box)
========================= */
.auth-wrapper,
.FormBox {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 80px 20px;
    text-align: center;
}

.auth-card {
    width: 100%;
    max-width: 420px;
    padding: 30px;

    border-radius: 18px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    backdrop-filter: blur(14px);
}

.auth-title {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 20px;
}

.auth-footer {
    margin-top: 15px;
    font-size: 14px;
    opacity: 0.8;
}

.auth-footer a {
    color: #ffb84d;
    font-weight: 700;
}

/* =========================
   CARD
========================= */
.card {
    max-width: 700px;
    margin: 20px auto;
    padding: 20px;

    border-radius: 16px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
}

/* =========================
   AUTA
========================= */
.auta-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
    width: min(1100px, 92%);
    margin: 30px auto;
}

.auto-karta {
    border-radius: 16px;
    overflow: hidden;

    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
}

.auto-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.auto-info {
    padding: 15px;
}

.auto-info h2 {
    font-size: 18px;
    margin-bottom: 10px;
}

.cena {
    margin-top: 10px;
    font-weight: 900;
    color: #ffb84d;
}

.rezervace-btn {
    display: block;
    margin-top: 10px;
    text-align: center;

    padding: 10px;
    border-radius: 10px;

    background: #ffb84d;
    color: #111;
    font-weight: 800;
}

/* =========================
   FILTER
========================= */
.filter {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 10px;

    width: min(1100px, 92%);
    margin: 20px auto;
}

/* =========================
   PROFIL
========================= */
.profile-wrapper {
    display: flex;
    justify-content: center;
}

.profile-card {
    max-width: 500px;
    padding: 30px;

    border-radius: 18px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    text-align: center;
}

.btn {
    display: block;
    margin-top: 10px;
    padding: 12px;

    border-radius: 10px;
    background: rgba(255,255,255,0.08);
    font-weight: 700;
}

.logout {
    background: #ff4d4d;
}

/* =========================
   LOGIN REQUIRED BOX
========================= */

.FormBox {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 20px;

    width: 100%;
    max-width: 500px;

    margin: 120px auto;
    padding: 45px 35px;

    border-radius: 24px;

    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);

    backdrop-filter: blur(14px);

    text-align: center;

    box-shadow:
            0 10px 40px rgba(0,0,0,0.35);
}

/* text */
.FormPri {
    font-size: 20px;
    font-weight: 700;
    color: #f5f5f5;
}

/* tlačítko */
a.FormPri {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 220px;

    padding: 15px 28px;

    border-radius: 14px;

    background: linear-gradient(135deg, #ffb84d, #ff941f);

    color: #111 !important;
    font-size: 16px;
    font-weight: 900;

    transition: 0.25s ease;

    box-shadow:
            0 10px 25px rgba(255,184,77,0.35);
}

/* hover */
a.FormPri:hover {
    transform: translateY(-4px) scale(1.02);

    box-shadow:
            0 16px 35px rgba(255,184,77,0.45);
}


/* =========================
   FOOTER (NA KONCI STRÁNKY)
========================= */

footer {
    width: 100%;

    margin-top: auto; /* KLÍČOVÉ */

    padding: 14px 40px;

    border-top: 1px solid rgba(255,255,255,0.08);
    background: rgba(10, 14, 20, 0.75);
    backdrop-filter: blur(12px);
}

/* HLAVNÍ ROZLOŽENÍ */
#footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

/* LEVÁ STRANA */
.fnav.pull-left p {
    font-size: 14px;
    opacity: 0.8;
    margin: 0;
}

.fnav.pull-left a {
    color: #ffb84d;
    font-weight: 700;
    margin-left: 6px;
}

/* PRAVÁ STRANA */
.fnav.pull-right {
    display: flex;
    justify-content: flex-end;
}

.footer-social {
    display: flex;
    gap: 25px;
    align-items: center;
    margin-left: auto;
}

.footer-social li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    opacity: 0.85;
}

.footer-social a {
    color: #ffb84d;
    transition: 0.2s ease;
}

.footer-social a:hover {
    transform: translateY(-2px);
    opacity: 1;
}

.upload-card {
    margin-bottom: 20px;
    padding: 20px;

    border-radius: 14px;

    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
}

.center-btn {
    display: flex;
    justify-content: center;
    margin: 40px auto 20px auto;
}