/* ========================================
   OPĆI STILOVI
======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
}


/* ========================================
   HERO SEKCIJA
======================================== */
.hero {
    height: 100vh;
    background: url('images/hero.jpg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.35);
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
}

.hero-content h1 {
    font-size: 40px;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.hero-content a {
    display: inline-block;
    padding: 12px 25px;
    background: #1C4D8D;
    color: white;
    text-decoration: none;
    font-size: 1rem;
    border-radius: 5px;
}

.hero-content a:hover {
    background: #4988C4;
}


/* ========================================
   DODATNI SADRŽAJ – INFO, KORACI, PREDNOSTI
======================================== */

/* Info box (napomena) */
.info-box {
    background: #f0f4ff;
    border-left: 5px solid #1C4D8D;
    padding: 24px;
    border-radius: 8px;
    max-width: 800px;
    margin: 32px auto;
    text-align: left;
}

.info-box p {
    margin: 0;
    color: #444;
    font-size: 16px;
}

/* Lista prednosti */
.benefits {
    list-style: none;
    max-width: 700px;
    margin: 32px auto;
    padding: 0;
    text-align: left;
}

.benefits li {
    background: #f9f9f9;
    padding: 16px 20px;
    margin-bottom: 12px;
    border-radius: 8px;
    font-size: 16px;
    color: #555;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

/* Koraci korištenja */
.steps {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
    margin: 40px auto;
    max-width: 900px;
}

.step {
    background: #ffffff;
    padding: 24px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    flex: 1 1 250px;
    max-width: 280px;
    text-align: center;
}

.step span {
    display: inline-block;
    width: 45px;
    height: 45px;
    line-height: 45px;
    background: #1C4D8D;
    color: white;
    font-weight: 700;
    font-size: 20px;
    border-radius: 50%;
    margin-bottom: 16px;
}

.step p {
    font-size: 15.5px;
    color: #555;
    margin: 0;
}

/* Quote */
.quote {
    margin: 48px auto 0;
    max-width: 700px;
    font-size: 18px;
    font-style: italic;
    color: #1C4D8D;
    text-align: center;
    position: relative;
}

.quote::before,
.quote::after {
    content: "“";
    font-size: 40px;
    color: #ccc;
    position: absolute;
}

.quote::before {
    left: -20px;
    top: -10px;
}

.quote::after {
    content: "”";
    right: -20px;
    bottom: -10px;
}


/* ========================================
   HEADER 
======================================== */
.main-header {
    background: #0F2854;
    color: white;
    padding: 20px 40px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.logo h1 {
    font-size: 35px;
    font-weight: 700;
}

/* ========================================
   NAVIGACIJSKI MENI
======================================== */
.main-nav {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
}

.main-nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 5px;
}

.main-nav a:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* ========================================
   CONTAINER
======================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 32px;
    width: 100%;
}

h3 {
    color: #1C4D8D;
    font-size: 20px;
    margin-bottom: 16px;
}


/* ========================================
   SEKCIJA
======================================== */
.sekcija {
    background: white;
    padding: 48px;
    border-radius: 10px;
    margin-bottom: 32px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.sekcija h2 {
    color: #1C4D8D;
    font-size: 40px;
    margin-bottom: 16px;
}

.sekcija p {
    font-size: 17.6px;
    color: #666;
    max-width: 800px;
    margin: 16px auto;
}

.sekcija img {
    max-width: 90%;
    height: auto;
    border-radius: 10px;
    margin-top: 32px;
}


/* ========================================
   FEATURES 
======================================== */
.features {
    background: white;
    padding: 32px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.features h3 {
    text-align: center;
    font-size: 32px;
    color: #333;
    margin-bottom: 32px;
}

.cards {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    justify-content: center;
}

.card {
    background: #f9f9f9;
    border-radius: 10px;
    padding: 24px;
    flex: 1 1 280px;
    max-width: 100%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.card:hover {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.card img {
    width: 100%;
    height: 180px;
    border-radius: 8px;
    margin-bottom: 16px;
}

.card h4 {
    color: #1C4D8D;
    font-size: 20.8px;
    margin-bottom: 8px;
}

.card p {
    color: #666;
    margin-bottom: 16px;
    flex-grow: 1;
}

.card a {
    display: inline-block;
    background: #1C4D8D;
    color: white;
    padding: 11.2px 24px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
}

.card a:hover {
    background: #4988C4;
}


/* ========================================
   KALKULATOR STRANICA
======================================== */
.kalkulator-stranica {
    background: white;
    padding: 32px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.kalkulator-stranica h2 {
    color: #667eea;
    font-size: 35.2px;
    margin-bottom: 24px;
    text-align: center;
}

.info {
    background: #f0f4ff;
    padding: 24px;
    border-radius: 8px;
    margin-bottom: 32px;
    border-left: 4px solid #1C4D8D;
}

.info p {
    margin-bottom: 16px;
}

.info ul {
    margin-left: 32px;
}

.info li {
    margin-bottom: 8px;
}


/* ========================================
   FORMA 
======================================== */
.kalkulator-forma {
    background: #f9f9f9;
    padding: 32px;
    border-radius: 8px;
    margin-bottom: 32px;
    max-width: 800px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.kalkulator-stranica h2 {
    color: #1C4D8D;
}

.kalkulator-forma h3 {
    color: #333;
    margin-bottom: 24px;
    text-align: center;
}

.form-group {
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 8px;
    color: #555;
}

.form-group input,
.form-group select {
    padding: 12.8px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

.form-group input:focus,
.form-group select:focus {
    border-color: #1C4D8D;
}

.btn-submit {
    width: 100%;
    padding: 16px;
    background: #1C4D8D;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 17.6px;
    font-weight: 600;
}

.btn-submit:hover {
    background: #4988C4;
}


/* ========================================
   REZULTAT
======================================== */
.rezultat {
    background: #1C4D8D;
    color: white;
    padding: 32px;
    border-radius: 8px;
    margin: 32px auto;
    max-width: 600px;
    width: 100%;
    text-align: center;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.rezultat h3 {
    font-size: 24px;
    margin-bottom: 16px;
}

.rezultat .broj {
    font-size: 28.8px;
    margin: 16px 0;
    font-weight: 700;
}

.rezultat .kategorija {
    font-size: 20.8px;
    margin-top: 8px;
}

.rezultat .info-tekst {
    margin-top: 16px;
    font-size: 15.2px;
    opacity: 0.9;
}

.greska {
    background: #ff6b6b;
    color: white;
    padding: 16px;
    border-radius: 5px;
    text-align: center;
    margin: 16px auto;
    max-width: 600px;
    width: 100%;
}


/* ========================================
   PULSNE ZONE
======================================== */
.zona-istaknuta {
    background: rgba(255, 255, 255, 0.2);
    padding: 24px;
    border-radius: 8px;
    margin: 16px 0;
}

.sve-zone {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.zona {
    background: rgba(255, 255, 255, 0.15);
    padding: 16px;
    border-radius: 5px;
}

.zona .opis-malen {
    font-size: 14.4px;
    opacity: 0.9;
}


/* ========================================
   FOOTER 
======================================== */
.main-footer {
    background: #0F2854;
    color: white;
    text-align: center;
    padding: 32px;
    margin-top: 48px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.main-footer p {
    margin: 8px 0;
}

.main-footer strong {
    color: #fff;
    font-weight: 600;
}

.main-footer .disclaimer {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    font-size: 13.6px;
    font-style: italic;
    opacity: 0.9;
}