/* ULTRA MODERNI, ČISTI UI – BEZ VARIJABLI, ČIST CSS */

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Segoe UI", Arial, sans-serif;
    background: #f1f5f9;
    color: #0f172a;
}

/* ===== HEADER ===== */
.header {
    background: linear-gradient(120deg, #22c55e, #16a34a);
    color: white;
    padding: 25px 20px;
}

.header h1 {
    margin: 0 0 15px;
    text-align: center;
    font-size: 2.4rem;
}

.nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.nav a {
    color: white;
    text-decoration: none;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(255,255,255,0.15);
    font-weight: 600;
    transition: all 0.2s ease;
}

.nav a:hover {
    background: white;
    color: #16a34a;
}

/* ===== MAIN ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

h2 {
    margin-top: 0;
    font-size: 1.6rem;
}

p {
    color: #475569;
}

/* ===== CARD ===== */
section, form, .result {
    background: white;
    border-radius: 18px;
    padding: 28px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

section {
    text-align: center;
}

section img {
    max-width: 100%;
    border-radius: 14px;
    margin-top: 20px;
}

/* ===== FORM ===== */
form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

label {
    font-size: 0.85rem;
    font-weight: bold;
    color: #334155;
}

input, select {
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid #cbd5e1;
    font-size: 1rem;
}

input:focus, select:focus {
    outline: none;
    border-color: #22c55e;
}

button {
    margin-top: 10px;
    padding: 14px;
    border: none;
    border-radius: 14px;
    background: linear-gradient(120deg, #22c55e, #16a34a);
    color: white;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
 .motivation {
grid-column: 1 / -1;
background: linear-gradient(120deg, #22c55e, #16a34a);
color: white;
text-align: center;
}


.motivation h2 {
color: white;
}


.motivation p {
color: #ecfdf5;
max-width: 800px;
margin: 0 auto;
}
button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* ===== RESULT ===== */
.result {
    margin-top: 20px;
    text-align: center;
    font-size: 1.1rem;
}

/* ===== FOOTER ===== */
.footer {
    background: #0f172a;
    color: #cbd5e1;
    text-align: center;
    padding: 20px;
    margin-top: 50px;
}

/* ===== MOBILE ===== */
@media (max-width: 600px) {
    .header h1 {
        font-size: 1.8rem;
    }
}
