﻿/* =========================================================
   MIRALEM JAGODIĆ — PODSTRANICE
   O meni · Programski ciljevi · Kontakt · Kako glasati
   Izborni program
========================================================= */

.page-shell {
    width: min(1180px, calc(100% - 80px));
    margin-inline: auto;
}

/* Zajednička zaglavlja podstranica */
.about-header, .goals-header, .vote-header {
    width: 100%;
    background: linear-gradient(110deg, #eef1f4 0%, #f7f8f9 55%, #fff 100%);
    border-bottom: 1px solid var(--border);
}

.about-header-inner, .goals-header-inner, .vote-header-inner {
    width: min(1180px, calc(100% - 80px));
    margin-inline: auto;
    padding: 52px 0 48px;
}

.about-eyebrow, .goals-eyebrow, .vote-eyebrow {
    display: block;
    margin-bottom: 10px;
    color: var(--green);
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.about-header h1, .goals-header h1, .vote-header h1 {
    margin: 0;
    color: var(--navy);
    font-size: clamp(44px, 5vw, 64px);
    line-height: 1;
    text-transform: uppercase;
}

.about-title-line, .goals-title-line, .vote-title-line {
    width: 74px;
    height: 4px;
    margin: 20px 0;
    background: var(--green);
}

.about-header p, .goals-header p, .vote-header p {
    max-width: 760px;
    margin: 0;
    color: var(--gray-text);
    font-size: 18px;
    line-height: 1.65;
}

/* O meni */
.about-section {
    width: 100%;
    background: #fff;
}

.about-container {
    width: min(1120px, calc(100% - 80px));
    margin-inline: auto;
    padding: 64px 0 90px;
    display: grid;
    grid-template-columns: 290px minmax(0, 1fr);
    gap: clamp(44px, 6vw, 75px);
    align-items: start;
}

.about-sidebar {
    width: 290px;
}

.about-photo {
    width: 290px;
    height: 300px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
    background: #f1f3f5;
    border-bottom: 5px solid var(--green);
}

    .about-photo img {
        width: auto;
        height: 285px;
        max-width: none;
        object-fit: contain;
        object-position: bottom center;
    }

.about-facts {
    width: 290px;
    margin-top: 22px;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 4px;
}
    /* Privremeno neutralizira duplirani .about-facts div u postojećem HTML-u. */
    .about-facts > .about-facts {
        width: 100%;
        margin: 0;
        border: 0;
        border-radius: 0;
    }

.fact {
    min-height: 78px;
    padding: 18px;
    display: flex;
    align-items: center;
    gap: 16px;
}

    .fact + .fact {
        border-top: 1px solid var(--border);
    }

    .fact strong {
        min-width: 62px;
        color: var(--green);
        font-size: 30px;
        line-height: 1;
    }

    .fact span {
        color: var(--navy);
        font-size: 13px;
        font-weight: 700;
        line-height: 1.45;
        text-transform: uppercase;
    }

.about-content {
    width: 100%;
    max-width: 740px;
}

    .about-content .about-intro {
        margin: 0 0 30px;
        color: var(--navy);
        font-size: 22px;
        font-weight: 600;
        line-height: 1.6;
    }

    .about-content p {
        margin: 0 0 24px;
        color: #445064;
        font-size: 17px;
        line-height: 1.82;
        hyphens: auto;
    }

    .about-content h2 {
        margin: 42px 0 22px;
        padding: 8px 0 8px 18px;
        color: var(--navy);
        font-size: 29px;
        line-height: 1.25;
        border-left: 5px solid var(--green);
    }

.about-quote {
    position: relative;
    margin: 42px 0 34px;
    padding: 30px 36px;
    overflow: hidden;
    background: var(--navy);
    border-left: 7px solid var(--green);
    border-radius: 3px;
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.6;
}

    .about-quote::after {
        content: "“";
        position: absolute;
        top: -25px;
        right: 18px;
        color: rgb(255 255 255 / 10%);
        font-family: Georgia, serif;
        font-size: 120px;
        pointer-events: none;
    }

.about-actions {
    margin-top: 30px;
}

    .about-actions .btn {
        min-width: 250px;
        min-height: 58px;
    }

/* Programski ciljevi */
.goals-section {
    padding: 65px 0 95px;
    background: #fff;
}

.goals-container {
    width: min(1120px, calc(100% - 80px));
    margin-inline: auto;
}

.goals-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.goal-card {
    min-height: 260px;
    padding: 30px;
    background: #fff;
    border: 1px solid var(--border);
    border-top: 5px solid var(--green);
    box-shadow: 0 8px 24px rgb(11 45 92 / 6%);
}

.goal-number {
    display: block;
    margin-bottom: 24px;
    color: var(--green);
    font-size: 22px;
    font-weight: 800;
}

.goal-card h2 {
    margin: 0 0 15px;
    color: var(--navy);
    font-size: 23px;
    line-height: 1.25;
}

.goal-card p {
    margin: 0;
    color: #445064;
    font-size: 16px;
    line-height: 1.7;
}

.goals-note {
    margin-top: 35px;
    padding: 28px 32px;
    background: var(--navy);
    border-left: 6px solid var(--green);
    color: #fff;
}

    .goals-note strong {
        display: block;
        margin-bottom: 8px;
        font-size: 20px;
    }

    .goals-note p {
        margin: 0;
        color: rgb(255 255 255 / 90%);
        line-height: 1.65;
    }

/* Kontakt */
.contact-section {
    width: 100%;
    padding: 70px 0 100px;
    background: #fff;
}

.contact-container {
    width: min(1020px, calc(100% - 80px));
    margin-inline: auto;
}

.contact-intro, .contact-card, .contact-note {
    max-width: 760px;
}

.contact-intro {
    margin-bottom: 45px;
}

    .contact-intro h2 {
        margin: 0 0 18px;
        color: var(--navy);
        font-size: 30px;
    }

    .contact-intro p {
        margin: 0 0 15px;
        color: #445064;
        font-size: 17px;
        line-height: 1.75;
    }

.contact-card {
    padding: 32px 36px;
    background: #f8f9fa;
    border: 1px solid var(--border);
    border-left: 6px solid var(--green);
}

.contact-label {
    display: block;
    margin-bottom: 10px;
    color: var(--green);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1px;
}

.contact-email {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--navy);
    font-size: 25px;
    font-weight: 700;
    text-decoration: none;
    overflow-wrap: anywhere;
}

    .contact-email:hover {
        color: var(--green);
    }

.contact-card p, .contact-note p {
    color: var(--gray-text);
    font-size: 15px;
    line-height: 1.6;
}

.contact-card p {
    margin: 0;
}

.contact-note {
    margin-top: 35px;
    padding-top: 25px;
    border-top: 1px solid var(--border);
}

    .contact-note strong {
        color: var(--navy);
        font-size: 18px;
    }

    .contact-note p {
        margin: 6px 0 0;
    }

/* Kako glasati */
.vote-section {
    width: 100%;
    padding: 65px 0 100px;
    background: #fff;
}

.vote-header-inner, .vote-container, .vote-intro, .vote-facebook-video, .vote-source, .vote-note {
    width: min(900px, calc(100% - 40px));
    margin-inline: auto;
}

.vote-intro {
    margin-bottom: 35px;
}

    .vote-intro h2 {
        margin: 0 0 20px;
        padding: 7px 0 7px 18px;
        color: var(--navy);
        font-size: 30px;
        line-height: 1.25;
        border-left: 5px solid var(--green);
    }

    .vote-intro p {
        margin: 0 0 15px;
        color: #445064;
        font-size: 17px;
        line-height: 1.75;
        hyphens: auto;
    }

.vote-facebook-video {
    margin-top: 35px;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #000;
    border-bottom: 5px solid var(--green);
    box-shadow: 0 14px 36px rgb(11 45 92 / 14%);
}

    .vote-facebook-video iframe {
        display: block;
        width: 100%;
        height: 100%;
        border: 0;
    }

.vote-source {
    padding: 20px 24px;
    background: #f8f9fa;
    border: 1px solid var(--border);
    border-top: 0;
    color: #445064;
    font-size: 15px;
    line-height: 1.6;
}

    .vote-source strong {
        color: var(--navy);
    }

.vote-source-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 28px;
    margin-top: 10px;
}

    .vote-source-links a {
        color: var(--green);
        font-weight: 700;
        text-decoration: none;
    }

        .vote-source-links a:hover {
            color: #116c31;
            text-decoration: underline;
        }

.vote-note {
    margin-top: 35px;
    padding: 28px 32px;
    background: var(--navy);
    border-left: 6px solid var(--green);
    color: #fff;
}

    .vote-note strong {
        display: block;
        margin-bottom: 8px;
        font-size: 20px;
    }

    .vote-note p {
        margin: 0;
        color: rgb(255 255 255 / 90%);
        font-size: 16px;
        line-height: 1.65;
    }

/* Izborni program */
.election-program {
    padding: 70px 0 100px;
    background: #fff;
}

.election-program-container {
    width: min(1080px, calc(100% - 80px));
    margin-inline: auto;
}

.program-introduction {
    max-width: 820px;
    margin-bottom: 55px;
}

.program-label {
    display: block;
    margin-bottom: 12px;
    color: var(--green);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 1px;
}

.program-introduction h2 {
    margin: 0 0 22px;
    color: var(--navy);
    font-size: clamp(28px, 4vw, 34px);
    line-height: 1.25;
}

.program-introduction p {
    margin: 0 0 18px;
    color: #445064;
    font-size: 17px;
    line-height: 1.75;
}

.program-priorities {
    display: grid;
    gap: 25px;
}

.program-priority {
    display: grid;
    grid-template-columns: 80px minmax(0, 1fr);
    padding: 35px 38px;
    background: #fff;
    border: 1px solid var(--border);
    border-top: 5px solid var(--green);
    box-shadow: 0 8px 24px rgb(11 45 92 / 6%);
    scroll-margin-top: 30px;
}

.priority-number {
    color: var(--green);
    font-size: 22px;
    font-weight: 800;
}

.priority-content h2 {
    margin: 0 0 15px;
    color: var(--navy);
    font-size: 26px;
    line-height: 1.25;
}

.priority-content p {
    margin: 0 0 18px;
    color: #445064;
    font-size: 16px;
    line-height: 1.75;
}

.priority-content ul {
    margin: 0;
    padding-left: 20px;
    color: #445064;
}

.priority-content li {
    margin-bottom: 8px;
    line-height: 1.55;
}

/* Pristupačnost */
.about-actions a:focus-visible, .contact-email:focus-visible, .vote-source-links a:focus-visible {
    outline: 3px solid #f2b705;
    outline-offset: 4px;
}

@media (max-width: 950px) {
    .goals-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .about-container {
        width: calc(100% - 48px);
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .about-sidebar {
        width: 100%;
        max-width: 350px;
        margin-inline: auto;
    }

    .about-photo, .about-facts {
        width: 100%;
    }

    .about-content {
        margin-inline: auto;
    }
}

@media (max-width: 650px) {
    .about-header-inner, .goals-header-inner, .vote-header-inner, .goals-container,
    .contact-container, .election-program-container {
        width: calc(100% - 40px);
    }

    .goals-grid {
        grid-template-columns: 1fr;
    }

    .goal-card {
        min-height: auto;
    }

    .program-priority {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 28px 24px;
    }

    .priority-content h2 {
        font-size: 23px;
    }
}

@media (max-width: 520px) {
    .about-header-inner, .goals-header-inner, .vote-header-inner {
        padding: 38px 0 34px;
    }

    .about-container {
        width: calc(100% - 40px);
        padding: 40px 0 60px;
    }

    .about-content .about-intro {
        font-size: 20px;
    }

    .about-content p {
        font-size: 16px;
        line-height: 1.72;
    }

    .about-content h2 {
        font-size: 25px;
    }

    .about-quote, .goals-note, .vote-note {
        padding: 25px 23px;
    }

    .about-actions .btn {
        width: 100%;
        min-width: 0;
    }

    .contact-section, .vote-section, .goals-section, .election-program {
        padding-top: 48px;
        padding-bottom: 70px;
    }

    .contact-card {
        padding: 25px 22px;
    }

    .contact-email {
        font-size: 20px;
    }

    .vote-intro, .vote-facebook-video, .vote-source, .vote-note {
        width: calc(100% - 32px);
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
