﻿:root {
    --navy: #0b2d5c;
    --green: #17853b;
    --light-green: #29a74d;
    --text: #10213d;
    --gray-text: #536174;
    --white: #ffffff;
    --light: #f4f6f8;
    --border: rgba(11, 45, 92, 0.16);
}

/* ==================================================
   RESET
================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background: #ffffff;
}

img {
    max-width: 100%;
    display: block;
}

/* ==================================================
   HEADER
================================================== */

.top-branding {
    background: #ffffff;
    border-bottom: 1px solid var(--border);
}

.top-branding-inner {
    width: calc(100% - 64px);
    max-width: 1500px;
    min-height: 115px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 28px;
}

.coalition-logos {
    display: flex;
    align-items: center;
    gap: 36px;
    flex: 1;
}

.logo-item {
    width: auto;
    object-fit: contain;
}

.logo-nes {
    height: 78px;
}

.logo-pda {
    height: 67px;
}

.logo-naprijed {
    height: 62px;
}

.coalition-title {
    color: var(--navy);
    font-size: 22px;
    line-height: 1.05;
    font-weight: 700;
    text-transform: uppercase;
    white-space: nowrap;
}

.candidate-number {
    width: 78px;
    height: 88px;
    border: 2px solid var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--navy);
    font-size: 56px;
    font-weight: 800;
}

/* ==================================================
   NAVIGATION
================================================== */

.main-nav {
    background: #ffffff;
    border-bottom: 1px solid var(--border);
}

.nav-inner {
    width: calc(100% - 48px);
    max-width: 1400px;
    min-height: 72px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 14px;
}

    .nav-inner a {
        position: relative;
        padding: 26px 5px 22px;
        color: var(--navy);
        text-decoration: none;
        font-size: 15px;
        font-weight: 700;
        text-transform: uppercase;
        white-space: nowrap;
    }

        .nav-inner a:hover,
        .nav-inner a.active {
            color: var(--green);
        }

            .nav-inner a.active::after {
                content: "";
                position: absolute;
                left: 4px;
                right: 4px;
                bottom: 0;
                height: 4px;
                background: var(--green);
            }

/* ==================================================
   NASLOVNA - HERO
================================================== */

.hero {
    background: linear-gradient( 110deg, #eef1f4 0%, #f7f8f9 50%, #ffffff 100% );
    overflow: hidden;
}

.hero-inner {
    width: calc(100% - 60px);
    max-width: 1450px;
    min-height: 720px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 48% 52%;
    align-items: end;
}
.hero-image {
    height: 620px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
}

    .hero-image img {
        height: 620px;
        width: auto;
        max-width: 100%;
        object-fit: contain;
        object-position: bottom center;
        transform: none;
    }

.hero-content {
    align-self: center;
    padding: 30px 20px 70px 45px;
}

.hero-kicker {
    color: var(--navy);
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.hero-line {
    width: 70px;
    height: 4px;
    background: var(--green);
    margin-bottom: 16px;
}

.hero h1 {
    color: var(--navy);
    font-size: clamp(58px, 6vw, 100px);
    line-height: 0.88;
    letter-spacing: -3px;
    text-transform: uppercase;
    margin-bottom: 30px;
}

    .hero h1 span {
        display: block;
        color: var(--green);
    }

.hero-position {
    max-width: 760px;
    color: var(--navy);
    font-size: clamp(21px, 2vw, 31px);
    line-height: 1.15;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 34px;
}

/* ==================================================
   IZBORNE INFORMACIJE
================================================== */

.election-info {
    display: flex;
    gap: 36px;
    margin-bottom: 34px;
}

.info-box {
    display: flex;
    align-items: center;
    gap: 15px;
    min-width: 250px;
}

    .info-box + .info-box {
        border-left: 1px solid rgba(11, 45, 92, 0.25);
        padding-left: 36px;
    }

.info-icon {
    width: 58px;
    height: 58px;
    flex: 0 0 58px;
    border-radius: 50%;
    background: var(--navy);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 29px;
    font-weight: 700;
}

.info-label {
    color: var(--navy);
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
}

.info-value {
    color: var(--green);
    font-size: 38px;
    font-weight: 800;
    line-height: 1;
    margin-top: 5px;
}

/* ==================================================
   BUTTONS
================================================== */

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

.btn {
    min-width: 210px;
    min-height: 62px;
    padding: 0 25px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    transition: 0.2s ease;
}

.btn-primary {
    background: var(--green);
    color: #ffffff;
    border: 2px solid var(--green);
}

    .btn-primary:hover {
        background: #116c31;
        border-color: #116c31;
    }

.btn-secondary {
    background: #ffffff;
    color: var(--navy);
    border: 2px solid var(--navy);
}

    .btn-secondary:hover {
        background: #f2f4f6;
    }

/* ==================================================
   PROGRAM PREVIEW
================================================== */

.program-preview {
    background: var(--navy);
    color: #ffffff;
    padding: 25px 20px;
}

.program-preview-inner {
    max-width: 1300px;
    margin: 0 auto;
    text-align: center;
}

.program-preview h2 {
    font-size: 20px;
    font-weight: 600;
}

.program-preview p {
    margin-top: 7px;
    font-size: 14px;
    opacity: 0.8;
}

/* ==================================================
   UNIVERZALNI NASLOV PODSTRANICA
================================================== */

.page-header {
    background: linear-gradient( 110deg, #eef1f4 0%, #f8f9fa 55%, #ffffff 100% );
    border-bottom: 1px solid var(--border);
}

.page-width {
    width: calc(100% - 80px);
    max-width: 1180px;
    margin: 0 auto;
    padding: 55px 0 50px;
}

.page-eyebrow {
    display: block;
    color: var(--green);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.page-header h1 {
    color: var(--navy);
    font-size: clamp(48px, 5vw, 72px);
    line-height: 1;
    text-transform: uppercase;
}

.page-title-line {
    width: 75px;
    height: 4px;
    background: var(--green);
    margin: 20px 0;
}

.page-header p {
    max-width: 720px;
    color: var(--gray-text);
    font-size: 19px;
    line-height: 1.6;
}

/* ==================================================
   STANDARDNE PODSTRANICE
================================================== */

.standard-page {
    background: #ffffff;
}

.standard-content {
    width: calc(100% - 80px);
    max-width: 1180px;
    min-height: 350px;
    margin: 0 auto;
    padding: 65px 0 90px;
}

    .standard-content h2 {
        color: var(--navy);
        font-size: 32px;
        margin-bottom: 20px;
    }

    .standard-content p {
        max-width: 800px;
        color: #445064;
        font-size: 18px;
        line-height: 1.75;
    }

/* ==================================================
   O MENI - OSNOVNI FALLBACK
   Detaljni izgled ostaje u pages.css
================================================== */

.about-header {
    background: linear-gradient( 110deg, #eef1f4 0%, #f7f8f9 55%, #ffffff 100% );
    border-bottom: 1px solid var(--border);
}

.about-header-inner {
    width: calc(100% - 80px);
    max-width: 1180px;
    margin: 0 auto;
    padding: 55px 0 50px;
}

.about-eyebrow {
    display: block;
    color: var(--green);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.about-header h1 {
    color: var(--navy);
    font-size: 64px;
    line-height: 1;
    text-transform: uppercase;
}

.about-title-line {
    width: 75px;
    height: 4px;
    background: var(--green);
    margin: 20px 0;
}

.about-header p {
    max-width: 700px;
    color: #536174;
    font-size: 19px;
    line-height: 1.6;
}

/* ==================================================
   TABLET
================================================== */

@media (max-width: 1100px) {

    .coalition-logos {
        gap: 20px;
    }

    .logo-nes {
        height: 60px;
    }

    .logo-pda {
        height: 55px;
    }

    .logo-naprijed {
        height: 50px;
    }

    .coalition-title {
        font-size: 19px;
    }

    .hero-inner {
        grid-template-columns: 43% 57%;
    }

    .hero-content {
        padding-left: 20px;
    }

    .nav-inner a {
        font-size: 13px;
    }
}

/* ==================================================
   MOBITEL / MANJI TABLET
================================================== */

@media (max-width: 850px) {

    .top-branding-inner {
        width: calc(100% - 40px);
        padding: 18px 0;
        flex-wrap: wrap;
        justify-content: center;
    }

    .coalition-logos {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }

    .coalition-title {
        text-align: center;
    }

    .candidate-number {
        width: 65px;
        height: 70px;
        font-size: 42px;
    }

    .nav-inner {
        width: calc(100% - 30px);
        padding: 10px 0;
        flex-wrap: wrap;
        justify-content: center;
        gap: 4px 15px;
    }

        .nav-inner a {
            padding: 12px 8px;
            font-size: 13px;
        }

    .hero-inner {
        display: flex;
        flex-direction: column;
        width: calc(100% - 44px);
        min-height: auto;
    }

    .hero-content {
        order: 1;
        width: 100%;
        padding: 45px 0 30px;
    }

    .hero-image {
        order: 2;
        height: 430px;
    }

        .hero-image img {
            height: 430px;
            transform: none;
        }

    .hero h1 {
        font-size: 58px;
    }

    .election-info {
        flex-direction: column;
        gap: 20px;
    }

    .info-box + .info-box {
        border-left: none;
        padding-left: 0;
    }

    .page-width,
    .about-header-inner {
        width: calc(100% - 44px);
    }

    .standard-content {
        width: calc(100% - 44px);
    }
}

/* ==================================================
   MALI MOBITEL
================================================== */

@media (max-width: 520px) {

    .logo-item {
        max-width: 120px;
    }

    .logo-nes,
    .logo-pda,
    .logo-naprijed {
        height: 45px;
    }

    .coalition-title {
        font-size: 17px;
    }

    .candidate-number {
        width: 60px;
        height: 68px;
        font-size: 42px;
    }

    .hero h1 {
        font-size: 46px;
        letter-spacing: -1px;
    }

    .hero-position {
        font-size: 19px;
    }

    .btn {
        width: 100%;
        min-width: 0;
    }

    .page-header h1,
    .about-header h1 {
        font-size: 44px;
    }

    .page-header p,
    .about-header p {
        font-size: 17px;
    }
}
/* ==================================================
   FOOTER
================================================== */

.site-footer {
    background: #0b2d5c;
    color: #ffffff;
    border-top: 4px solid #17853b;
}

.site-footer-inner {
    width: calc(100% - 80px);
    max-width: 1180px;
    margin: 0 auto;
    padding: 30px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.site-footer p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}

.footer-note {
    text-align: right;
    opacity: 0.75;
}

@media (max-width: 700px) {

    .site-footer-inner {
        width: calc(100% - 40px);
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 24px 0;
    }

    .footer-note {
        text-align: left;
    }
}
/* ==================================================
   FOOTER NA DNU STRANICE
================================================== */

html,
body {
    min-height: 100%;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.site-footer {
    margin-top: auto;
}
/* =========================================================
   PROGRAMSKI PRIORITETI – NASLOVNA
========================================================= */

.priority-preview {
    padding: 70px 0 80px;
    background: var(--navy);
    color: #ffffff;
}

.priority-preview-inner {
    width: min(1180px, calc(100% - 80px));
    margin: 0 auto;
}

.priority-preview-heading {
    max-width: 760px;
    margin-bottom: 35px;
}

    .priority-preview-heading span {
        display: block;
        margin-bottom: 10px;
        color: #6fda8d;
        font-size: 14px;
        font-weight: 800;
        letter-spacing: 1px;
    }

    .priority-preview-heading h2 {
        margin-bottom: 14px;
        font-size: 34px;
    }

    .priority-preview-heading p {
        color: rgba(255, 255, 255, 0.82);
        font-size: 17px;
        line-height: 1.65;
    }

.priority-preview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.priority-preview-card {
    min-height: 135px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #ffffff;
    border-top: 5px solid var(--green);
    color: var(--navy);
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .priority-preview-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
    }

    .priority-preview-card span {
        color: var(--green);
        font-weight: 800;
    }

    .priority-preview-card strong {
        font-size: 19px;
        line-height: 1.25;
    }

.priority-preview-button {
    margin-top: 30px;
    min-height: 56px;
    padding: 0 26px;
    display: inline-flex;
    align-items: center;
    background: var(--green);
    border: 2px solid var(--green);
    color: #ffffff;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
}

    .priority-preview-button:hover {
        background: #116c31;
        border-color: #116c31;
    }

@media (max-width: 850px) {
    .priority-preview-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 520px) {
    .priority-preview-inner {
        width: calc(100% - 40px);
    }

    .priority-preview-grid {
        grid-template-columns: 1fr;
    }

    .priority-preview-heading h2 {
        font-size: 28px;
    }

    .priority-preview-button {
        width: 100%;
        justify-content: center;
    }
}