/* =========================================================
   UBD — UNIA BOŠNJAČKE DIJASPORE
   COMPLETE STYLE
========================================================= */


/* =========================================================
   1. OSNOVNE VARIJABLE
========================================================= */

:root {

    --green-dark: #063f43;
    --green: #084c4f;
    --green-light: #356c6a;
    --green-soft: #e8f0ed;

    --gold: #c69a32;
    --gold-light: #e3c875;
    --gold-pale: #f3ead1;

    --cream: #f7f4ec;
    --cream-dark: #eee8d9;

    --white: #ffffff;

    --black: #172728;

    --text: #344547;
    --text-light: #6b797a;

    --border: #e4dfd2;

    --shadow:
        0 18px 50px rgba(0, 0, 0, 0.10);

    --container: 1220px;

}


/* =========================================================
   2. RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {

    margin: 0;

    font-family:
        "Segoe UI",
        Arial,
        Helvetica,
        sans-serif;

    color: var(--text);

    background: var(--white);

    line-height: 1.6;

    overflow-x: hidden;

}


img {
    max-width: 100%;
    display: block;
}


a {
    color: inherit;
    text-decoration: none;
}


button,
input,
textarea,
select {
    font-family: inherit;
}


button {
    cursor: pointer;
}


/* =========================================================
   3. OPŠTI KONTEJNER
========================================================= */

.section-container {

    width: min(
        var(--container),
        calc(100% - 80px)
    );

    margin-left: auto;
    margin-right: auto;

}


/* =========================================================
   4. HEADER
========================================================= */

.site-header {

    position: sticky;

    top: 0;

    width: 100%;

    height: 82px;

    background: rgba(255, 255, 255, 0.98);

    border-bottom: 1px solid #ece8df;

    z-index: 1000;

    backdrop-filter: blur(12px);

}


.header-container {

    width: min(
        var(--container),
        calc(100% - 80px)
    );

    height: 100%;

    margin: auto;

    display: flex;

    align-items: center;

    gap: 30px;

}


/* =========================================================
   5. LOGO
========================================================= */

.site-logo {

    position: relative;

    width: 88px;

    height: 88px;

    flex-shrink: 0;

    display: flex;

    align-items: center;

    justify-content: center;

    z-index: 20;

    margin-bottom: -25px;

}


.site-logo img {

    width: 82px;

    height: 82px;

    object-fit: cover;

    border-radius: 50%;

    border: 2px solid var(--gold);

    background: var(--green-dark);

    box-shadow:
        0 7px 18px rgba(0, 0, 0, 0.13);

}


/* =========================================================
   6. GLAVNA NAVIGACIJA
========================================================= */

.main-nav {

    display: flex;

    align-items: center;

    gap: 28px;

    margin-left: auto;

}


.main-nav a {

    position: relative;

    padding: 31px 0;

    color: #263638;

    font-size: 11px;

    line-height: 1;

    font-weight: 800;

    text-transform: uppercase;

    white-space: nowrap;

    transition:
        color 0.25s ease;

}


.main-nav a:hover {

    color: var(--green-dark);

}


.main-nav a::after {

    content: "";

    position: absolute;

    left: 0;

    bottom: 20px;

    width: 0;

    height: 3px;

    background: var(--gold);

    transition:
        width 0.25s ease;

}


.main-nav a:hover::after,
.main-nav a.active::after {

    width: 100%;

}


/* =========================================================
   7. HEADER DESNA STRANA
========================================================= */

.header-right {

    display: flex;

    align-items: center;

    gap: 15px;

    flex-shrink: 0;

}


.header-button {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-height: 46px;

    padding:
        0 22px;

    background: var(--green-dark);

    color: var(--white);

    border-radius: 3px;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 0.4px;

    white-space: nowrap;

    transition:
        background 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;

}


.header-button:hover {

    background: var(--gold);

    color: var(--green-dark);

    transform: translateY(-2px);

}


.language {

    color: var(--text);

    font-size: 11px;

    font-weight: 600;

    white-space: nowrap;

}


/* =========================================================
   8. HERO
========================================================= */

.hero-section {

    position: relative;

    min-height: 650px;

    overflow: hidden;

    background:

        radial-gradient(
            circle at 77% 48%,
            rgba(198, 154, 50, 0.17),
            transparent 27%
        ),

        linear-gradient(
            110deg,
            #033b3e 0%,
            #06484b 48%,
            #557a76 100%
        );

}


/* =========================================================
   9. HERO DEKORACIJA
========================================================= */

.hero-decoration {

    position: absolute;

    pointer-events: none;

}


.hero-decoration-one {

    right: -100px;

    top: -180px;

    width: 600px;

    height: 600px;

    border-radius: 50%;

    border: 1px solid rgba(
        227,
        200,
        117,
        0.12
    );

}


.hero-decoration-two {

    right: 120px;

    bottom: -350px;

    width: 600px;

    height: 600px;

    border-radius: 50%;

    border: 1px solid rgba(
        227,
        200,
        117,
        0.08
    );

}


/* =========================================================
   10. HERO KONTEJNER
========================================================= */

.hero-container {

    position: relative;

    z-index: 5;

    width: min(
        var(--container),
        calc(100% - 80px)
    );

    min-height: 650px;

    margin: auto;

    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(420px, 0.9fr);

    align-items: center;

    gap: 30px;

}


/* =========================================================
   11. HERO SADRŽAJ
========================================================= */

.hero-content {

    padding:
        65px 0 70px;

    color: var(--white);

}


.hero-kicker {

    margin-bottom: 18px;

    color: var(--gold-light);

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 2.4px;

}


.hero-content h1 {

    margin: 0 0 15px;

    color: var(--white);

    font-size: clamp(
        46px,
        5.2vw,
        72px
    );

    line-height: 0.96;

    font-weight: 900;

    letter-spacing: -3.2px;

}


.hero-content h1 span {

    color: var(--white);

}


.hero-content h2 {

    margin: 0 0 26px;

    color: var(--gold);

    font-size: clamp(
        28px,
        3vw,
        43px
    );

    line-height: 1.05;

    font-weight: 800;

    letter-spacing: -1.4px;

}


.hero-text {

    max-width: 600px;

    margin-bottom: 32px;

    color:
        rgba(255, 255, 255, 0.86);

    font-size: 15px;

    line-height: 1.8;

}


/* =========================================================
   12. HERO DUGMAD
========================================================= */

.hero-buttons {

    display: flex;

    align-items: center;

    gap: 14px;

}


.btn {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-width: 145px;

    min-height: 48px;

    padding:
        0 24px;

    border-radius: 3px;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 0.6px;

    transition:
        all 0.25s ease;

}


.btn-gold {

    background: var(--gold);

    color: var(--green-dark);

}


.btn-gold:hover {

    background: var(--gold-light);

    transform: translateY(-2px);

    box-shadow:
        0 8px 20px rgba(0,0,0,0.12);

}


.btn-outline {

    border: 1px solid
        rgba(255,255,255,0.8);

    color: var(--white);

    background: transparent;

}


.btn-outline:hover {

    background: var(--white);

    color: var(--green-dark);

    transform: translateY(-2px);

}


/* =========================================================
   13. HERO DESNA STRANA
========================================================= */

.hero-art {

    position: relative;

    height: 530px;

    width: 100%;

    display: flex;

    align-items: center;

    justify-content: center;

}


/* =========================================================
   14. HERO GEOMETRIJSKI UZORAK
========================================================= */

.art-pattern {

    position: absolute;

    width: 470px;

    height: 470px;

    opacity: 0.25;

    transform: rotate(15deg);

    background:

        linear-gradient(
            45deg,
            transparent 45%,
            rgba(198,154,50,0.65) 46%,
            rgba(198,154,50,0.65) 48%,
            transparent 49%
        ),

        linear-gradient(
            -45deg,
            transparent 45%,
            rgba(198,154,50,0.65) 46%,
            rgba(198,154,50,0.65) 48%,
            transparent 49%
        );

    background-size:
        48px 48px;

    mask-image:
        radial-gradient(
            circle,
            black 15%,
            transparent 72%
        );

}


/* =========================================================
   15. GLAVNI KRUG
========================================================= */

.art-main-circle {

    position: relative;

    width: 370px;

    height: 370px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    border:
        1px solid
        rgba(228, 207, 154, 0.34);

    background:
        rgba(255,255,255,0.025);

    z-index: 3;

}


.art-main-circle::before {

    content: "";

    position: absolute;

    inset: 22px;

    border-radius: 50%;

    border:
        1px solid
        rgba(228,207,154,0.20);

}


.art-main-circle::after {

    content: "";

    position: absolute;

    inset: -28px;

    border-radius: 50%;

    border:
        1px solid
        rgba(228,207,154,0.10);

}


/* =========================================================
   16. UNUTRAŠNJI KRUG
========================================================= */

.art-inner-circle {

    position: relative;

    width: 235px;

    height: 235px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background:
        linear-gradient(
            145deg,
            #214e38,
            #123e35
        );

    border:
        2px solid
        var(--gold);

    box-shadow:
        0 25px 70px
        rgba(0,0,0,0.20);

    overflow: hidden;

    z-index: 4;

}


/*
   Važno:
   logo je izrezan u krug, tako da bijela pozadina
   originalnog PNG-a ne može napraviti bijeli kvadrat.
*/

.art-inner-circle img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    border-radius: 50%;

    display: block;

}


/* =========================================================
   17. HERO MALE KARTICE
========================================================= */

.art-label {

    position: absolute;

    z-index: 10;

    display: flex;

    align-items: center;

    gap: 12px;

    min-width: 185px;

    padding:
        14px 17px;

    background:
        rgba(255,255,255,0.97);

    color: var(--green-dark);

    border-left:
        3px solid
        var(--gold);

    box-shadow:
        0 16px 40px
        rgba(0,0,0,0.16);

}


.art-label-top {

    top: 75px;

    right: 0;

}


.art-label-bottom {

    bottom: 72px;

    left: 0;

}


.art-number {

    width: 34px;

    height: 34px;

    flex-shrink: 0;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background: var(--gold);

    color: var(--green-dark);

    font-size: 10px;

    font-weight: 900;

}


.art-label strong {

    display: block;

    font-size: 11px;

    letter-spacing: 0.8px;

}


.art-label small {

    display: block;

    margin-top: 2px;

    color: var(--text-light);

    font-size: 10px;

}


/* =========================================================
   18. HERO INDIKATOR
========================================================= */

.hero-indicator {

    position: absolute;

    left: 50%;

    bottom: 22px;

    z-index: 20;

    transform: translateX(-50%);

    display: flex;

    gap: 8px;

}


.hero-indicator span {

    width: 7px;

    height: 7px;

    border-radius: 50%;

    background:
        rgba(255,255,255,0.75);

}


.hero-indicator .indicator-active {

    background: var(--gold);

    transform: scale(1.35);

}


/* =========================================================
   19. O NAMA
========================================================= */

.about-section {

    padding:
        95px 0;

    background: var(--white);

}


.about-grid {

    display: grid;

    grid-template-columns:
        0.9fr
        1.1fr;

    gap: 80px;

    align-items: start;

}


.about-intro {

    padding-right: 60px;

    border-right:
        1px solid
        var(--border);

}


.section-label {

    margin-bottom: 14px;

    color: var(--gold);

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 1.8px;

}


.about-intro h2,
.section-top h2,
.identity-title h2,
.membership-box h2 {

    margin: 0;

    color: var(--green-dark);

    font-size: 40px;

    line-height: 1.1;

    letter-spacing: -1.5px;

}


.about-intro h2 span,
.section-top h2 span,
.identity-title h2 span,
.membership-box h2 span {

    color: var(--gold);

}


.gold-line {

    width: 48px;

    height: 3px;

    margin-top: 25px;

    background: var(--gold);

}


.about-text {

    max-width: 650px;

}


.about-text p {

    margin-bottom: 19px;

    color: var(--text-light);

    font-size: 15px;

    line-height: 1.8;

}


/* =========================================================
   20. SIMPLE LINK
========================================================= */

.simple-link {

    display: inline-flex;

    align-items: center;

    gap: 10px;

    margin-top: 8px;

    padding-bottom: 5px;

    border-bottom:
        2px solid
        var(--gold);

    color: var(--green-dark);

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 0.5px;

    transition:
        color 0.25s ease,
        gap 0.25s ease;

}


.simple-link:hover {

    color: var(--gold);

    gap: 14px;

}


/* =========================================================
   21. VRIJEDNOSTI
========================================================= */

.values-section {

    padding:
        95px 0;

    background: var(--cream);

}


.section-top {

    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    gap: 40px;

    margin-bottom: 50px;

}


.section-top > p {

    max-width: 430px;

    color: var(--text-light);

    font-size: 14px;

    line-height: 1.75;

}


.values-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    border-top:
        1px solid
        var(--border);

    border-bottom:
        1px solid
        var(--border);

}


.value-box {

    position: relative;

    min-height: 300px;

    padding:
        42px 38px;

    border-right:
        1px solid
        var(--border);

}


.value-box:last-child {

    border-right: none;

}


.value-symbol {

    width: 58px;

    height: 58px;

    margin-bottom: 25px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background: var(--gold-pale);

    color: var(--green-dark);

    font-size: 23px;

}


.value-number {

    position: absolute;

    top: 42px;

    right: 38px;

    color:
        rgba(6,63,67,0.13);

    font-size: 32px;

    font-weight: 900;

}


.value-box h3 {

    margin-bottom: 12px;

    color: var(--green-dark);

    font-size: 14px;

    letter-spacing: 1px;

}


.value-box p {

    max-width: 280px;

    color: var(--text-light);

    font-size: 13px;

    line-height: 1.7;

}


/* =========================================================
   22. PROJEKTI
========================================================= */

.projects-section {

    padding:
        100px 0;

    background: var(--white);

}


.projects-grid {

    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 30px;

}


.project {

    display: grid;

    grid-template-columns:
        0.9fr
        1.1fr;

    min-height: 280px;

    border:
        1px solid
        var(--border);

    background: var(--white);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;

}


.project:hover {

    transform: translateY(-5px);

    box-shadow:
        var(--shadow);

}


.project-large {

    grid-column:
        span 2;

    grid-template-columns:
        1.05fr
        0.95fr;

}


/* =========================================================
   23. PROJEKT VIZUAL
========================================================= */

.project-visual {

    position: relative;

    min-height: 280px;

    overflow: hidden;

    display: flex;

    align-items: flex-end;

    padding: 30px;

    background:
        var(--green-dark);

    color: var(--white);

}


.project-visual-green {

    background:
        #285b50;

}


.project-visual-light {

    background:
        #d8e2dc;

    color: var(--green-dark);

}


.project-visual-gold {

    background:
        #c69a32;

    color: var(--green-dark);

}


.project-visual-green-dark {

    background:
        #173f3d;

}


.project-visual-light-gold {

    background:
        #eee4c9;

    color: var(--green-dark);

}


.project-pattern {

    position: absolute;

    inset: 0;

    opacity: 0.25;

    background:

        linear-gradient(
            45deg,
            transparent 46%,
            rgba(227,200,117,0.7) 47%,
            rgba(227,200,117,0.7) 49%,
            transparent 50%
        ),

        linear-gradient(
            -45deg,
            transparent 46%,
            rgba(227,200,117,0.7) 47%,
            rgba(227,200,117,0.7) 49%,
            transparent 50%
        );

    background-size:
        42px 42px;

}


.project-big-number {

    position: absolute;

    top: 25px;

    right: 30px;

    font-size: 65px;

    line-height: 1;

    font-weight: 900;

    opacity: 0.13;

}


.project-visual-title {

    position: relative;

    z-index: 2;

    font-size: 25px;

    line-height: 1.05;

    font-weight: 900;

    letter-spacing: -0.7px;

}


/* =========================================================
   24. PROJEKT TEKST
========================================================= */

.project-info {

    padding:
        32px;

    display: flex;

    flex-direction: column;

    justify-content: center;

}


.project-number {

    margin-bottom: 8px;

    color: var(--gold);

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 1px;

}


.project-info h3 {

    margin-bottom: 12px;

    color: var(--green-dark);

    font-size: 20px;

    line-height: 1.2;

}


.project-info p {

    margin-bottom: 20px;

    color: var(--text-light);

    font-size: 13px;

    line-height: 1.7;

}


.project-info a {

    align-self: flex-start;

    color: var(--green-dark);

    font-size: 10px;

    font-weight: 800;

    border-bottom:
        2px solid
        var(--gold);

    padding-bottom: 4px;

}


/* =========================================================
   25. NOVOSTI
========================================================= */

.news-section {

    padding:
        100px 0;

    background: var(--cream);

}


.news-layout {

    display: grid;

    grid-template-columns:
        1.25fr
        0.75fr;

    gap: 30px;

}


/* =========================================================
   26. GLAVNA NOVOST
========================================================= */

.featured-news {

    background: var(--white);

    border:
        1px solid
        var(--border);

}


.news-photo {

    height: 350px;

    overflow: hidden;

}


.news-photo img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition:
        transform 0.5s ease;

}


.featured-news:hover .news-photo img {

    transform: scale(1.04);

}


.featured-news-content {

    padding:
        32px;

}


.news-category {

    display: block;

    margin-bottom: 10px;

    color: var(--gold);

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 1.4px;

}


.featured-news-content h3 {

    margin-bottom: 13px;

    color: var(--green-dark);

    font-size: 28px;

    line-height: 1.15;

}


.featured-news-content p {

    margin-bottom: 20px;

    color: var(--text-light);

    font-size: 14px;

    line-height: 1.7;

}


.featured-news-content a,
.news-card-content a,
.simple-news a {

    color: var(--green-dark);

    font-size: 10px;

    font-weight: 800;

    border-bottom:
        2px solid
        var(--gold);

    padding-bottom: 4px;

}


/* =========================================================
   27. DESNE NOVOSTI
========================================================= */

.news-side {

    display: flex;

    flex-direction: column;

    gap: 30px;

}


.news-card {

    display: grid;

    grid-template-columns:
        0.8fr
        1.2fr;

    background: var(--white);

    border:
        1px solid
        var(--border);

}


.news-card-image {

    min-height: 220px;

    overflow: hidden;

}


.news-card-image img {

    width: 100%;

    height: 100%;

    object-fit: cover;

}


.news-card-content {

    padding:
        25px;

}


.news-card-content h3 {

    margin-bottom: 10px;

    color: var(--green-dark);

    font-size: 19px;

    line-height: 1.2;

}


.news-card-content p {

    margin-bottom: 17px;

    color: var(--text-light);

    font-size: 12px;

    line-height: 1.65;

}


.simple-news {

    padding:
        30px;

    background:
        var(--green-dark);

    color: var(--white);

}


.simple-news .news-category {

    color: var(--gold-light);

}


.simple-news h3 {

    margin-bottom: 12px;

    font-size: 21px;

    line-height: 1.25;

}


.simple-news p {

    margin-bottom: 18px;

    color:
        rgba(255,255,255,0.75);

    font-size: 13px;

    line-height: 1.7;

}


.simple-news a {

    color: var(--white);

}


/* =========================================================
   28. IDENTITET
========================================================= */

.identity-section {

    position: relative;

    overflow: hidden;

    padding:
        110px 0;

    background:
        var(--green-dark);

    color: var(--white);

}


.identity-pattern {

    position: absolute;

    right: -100px;

    top: -100px;

    width: 600px;

    height: 600px;

    opacity: 0.12;

    background:

        linear-gradient(
            45deg,
            transparent 45%,
            var(--gold) 46%,
            var(--gold) 48%,
            transparent 49%
        ),

        linear-gradient(
            -45deg,
            transparent 45%,
            var(--gold) 46%,
            var(--gold) 48%,
            transparent 49%
        );

    background-size:
        50px 50px;

    transform:
        rotate(10deg);

}


.identity-container {

    position: relative;

    z-index: 2;

    display: grid;

    grid-template-columns:
        0.8fr
        1.2fr;

    gap: 90px;

}


.identity-title .section-label {

    color: var(--gold-light);

}


.identity-title h2 {

    color: var(--white);

    font-size: 48px;

}


.identity-content {

    max-width: 680px;

}


.identity-content p {

    margin-bottom: 18px;

    color:
        rgba(255,255,255,0.78);

    font-size: 15px;

    line-height: 1.8;

}


.identity-content blockquote {

    margin:
        30px 0;

    padding:
        24px 30px;

    border-left:
        3px solid
        var(--gold);

    color: var(--gold-light);

    font-size: 22px;

    line-height: 1.4;

    font-weight: 600;

}


.identity-content .simple-link {

    color: var(--white);

}


/* =========================================================
   29. ČLANSTVO
========================================================= */

.membership-section {

    padding:
        90px 0;

    background:
        var(--gold-pale);

}


.membership-box {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 50px;

    padding:
        60px;

    background:
        var(--white);

    border:
        1px solid
        rgba(198,154,50,0.35);

    box-shadow:
        0 15px 45px
        rgba(0,0,0,0.06);

}


.membership-box h2 {

    margin-bottom: 17px;

}


.membership-box p {

    max-width: 620px;

    color: var(--text-light);

    font-size: 14px;

    line-height: 1.7;

}


/* =========================================================
   30. FOOTER
========================================================= */

.site-footer {

    background:
        #022f32;

    color: var(--white);

}


.footer-grid {

    display: grid;

    grid-template-columns:
        1.5fr
        1fr
        0.8fr
        0.8fr;

    gap: 60px;

    padding:
        70px 0;

}


.footer-brand {

    max-width: 350px;

}


.footer-logo {

    width: 70px;

    height: 70px;

    margin-bottom: 20px;

}


.footer-logo img {

    width: 70px;

    height: 70px;

    border-radius: 50%;

    object-fit: cover;

    border:
        2px solid
        var(--gold);

}


.footer-brand h3 {

    margin-bottom: 10px;

    font-size: 17px;

}


.footer-brand p {

    color:
        rgba(255,255,255,0.62);

    font-size: 13px;

    line-height: 1.7;

}


.footer-column {

    display: flex;

    flex-direction: column;

    align-items: flex-start;

}


.footer-column h4 {

    margin-bottom: 20px;

    color: var(--gold-light);

    font-size: 10px;

    letter-spacing: 1.5px;

}


.footer-column p {

    margin-bottom: 14px;

    color:
        rgba(255,255,255,0.68);

    font-size: 13px;

    line-height: 1.7;

}


.footer-column a {

    margin-bottom: 10px;

    color:
        rgba(255,255,255,0.68);

    font-size: 12px;

    transition:
        color 0.2s ease;

}


.footer-column a:hover {

    color: var(--gold-light);

}


/* =========================================================
   31. FOOTER BOTTOM
========================================================= */

.footer-bottom {

    border-top:
        1px solid
        rgba(255,255,255,0.10);

}


.footer-bottom-inner {

    min-height: 65px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

}


.footer-bottom p {

    color:
        rgba(255,255,255,0.45);

    font-size: 11px;

}


.footer-bottom a {

    margin-left: 20px;

    color:
        rgba(255,255,255,0.55);

    font-size: 11px;

}


.footer-bottom a:hover {

    color: var(--gold-light);

}


/* =========================================================
   32. TABLET
========================================================= */

@media (max-width: 1150px) {


    .main-nav {

        gap: 18px;

    }


    .main-nav a {

        font-size: 10px;

    }


    .header-container,
    .hero-container,
    .section-container {

        width:
            calc(100% - 50px);

    }


    .hero-container {

        grid-template-columns:
            1fr
            0.85fr;

        gap: 10px;

    }


    .hero-content h1 {

        font-size: 55px;

    }


    .hero-content h2 {

        font-size: 32px;

    }


    .hero-art {

        transform:
            scale(0.90);

    }


}


/* =========================================================
   33. TABLET MANJI
========================================================= */

@media (max-width: 950px) {


    .site-header {

        height: 75px;

    }


    .header-container {

        width:
            calc(100% - 35px);

    }


    .main-nav {

        display: none;

    }


    .header-right {

        margin-left: auto;

    }


    .site-logo {

        width: 76px;

        height: 76px;

        margin-bottom: -18px;

    }


    .site-logo img {

        width: 72px;

        height: 72px;

    }


    .hero-section {

        min-height: auto;

    }


    .hero-container {

        display: grid;

        grid-template-columns: 1fr;

        min-height: auto;

        padding:
            65px 0 80px;

    }


    .hero-content {

        padding:
            20px 0;

    }


    .hero-content h1 {

        font-size:
            clamp(45px, 8vw, 65px);

    }


    .hero-art {

        height: 400px;

        margin-top: 10px;

    }


    .about-grid {

        grid-template-columns: 1fr;

        gap: 40px;

    }


    .about-intro {

        padding-right: 0;

        padding-bottom: 35px;

        border-right: none;

        border-bottom:
            1px solid
            var(--border);

    }


    .identity-container {

        grid-template-columns: 1fr;

        gap: 40px;

    }


    .footer-grid {

        grid-template-columns:
            1fr 1fr;

    }


}


/* =========================================================
   34. MOBILNI
========================================================= */

@media (max-width: 700px) {


    .section-container,
    .header-container,
    .hero-container {

        width:
            calc(100% - 32px);

    }


    .header-button {

        min-height: 40px;

        padding:
            0 13px;

        font-size: 9px;

    }


    .language {

        display: none;

    }


    .hero-content {

        padding-top: 30px;

    }


    .hero-content h1 {

        font-size:
            clamp(40px, 12vw, 58px);

        letter-spacing:
            -2.2px;

    }


    .hero-content h2 {

        font-size: 28px;

    }


    .hero-text {

        font-size: 14px;

    }


    .hero-buttons {

        flex-direction: column;

        align-items: flex-start;

    }


    .hero-art {

        height: 340px;

        transform:
            scale(0.82);

        transform-origin:
            center center;

        margin-top: -15px;

        margin-bottom: -30px;

    }


    .art-label-top {

        right: -5px;

    }


    .art-label-bottom {

        left: -5px;

    }


    .section-top {

        flex-direction: column;

        align-items: flex-start;

        gap: 20px;

    }


    .about-intro h2,
    .section-top h2,
    .identity-title h2,
    .membership-box h2 {

        font-size: 32px;

    }


    .values-grid {

        grid-template-columns: 1fr;

    }


    .value-box {

        min-height: auto;

        border-right: none;

        border-bottom:
            1px solid
            var(--border);

    }


    .value-box:last-child {

        border-bottom: none;

    }


    .projects-grid {

        grid-template-columns: 1fr;

    }


    .project-large {

        grid-column:
            auto;

    }


    .project,
    .project-large {

        grid-template-columns: 1fr;

    }


    .project-visual {

        min-height: 220px;

    }


    .news-layout {

        grid-template-columns: 1fr;

    }


    .news-card {

        grid-template-columns: 1fr;

    }


    .news-card-image {

        min-height: 220px;

    }


    .identity-content blockquote {

        font-size: 18px;

    }


    .membership-box {

        flex-direction: column;

        align-items: flex-start;

        padding:
            38px 28px;

    }


    .footer-grid {

        grid-template-columns:
            1fr;

        gap: 40px;

    }


    .footer-bottom-inner {

        flex-direction: column;

        align-items: flex-start;

        padding:
            20px 0;

    }


    .footer-bottom a:first-child {

        margin-left: 0;

    }

}


/* =========================================================
   35. VRLO MALI EKRANI
========================================================= */

@media (max-width: 450px) {


    .header-button {

        display: none;

    }


    .site-logo {

        width: 68px;

        height: 68px;

    }


    .site-logo img {

        width: 64px;

        height: 64px;

    }


    .hero-content h1 {

        font-size: 39px;

    }


    .hero-content h2 {

        font-size: 25px;

    }


    .hero-art {

        transform:
            scale(0.68);

        margin:
            -40px 0;

    }


    .featured-news-content {

        padding: 24px;

    }


    .featured-news-content h3 {

        font-size: 23px;

    }


}


/* =========================================================
   36. ACCESSIBILITY / REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {

        animation-duration:
            0.01ms !important;

        animation-iteration-count:
            1 !important;

        transition-duration:
            0.01ms !important;

        scroll-behavior:
            auto !important;

    }

}

/* =========================================================
   UBD HERO — INTEGRACIJA LOGO2 U POZADINU
========================================================= */

/* Hero dobija prirodniji prijelaz prema slici */
.hero-section {
    background:
        radial-gradient(
            ellipse 55% 85% at 82% 50%,
            rgba(32, 76, 68, 0.95) 0%,
            rgba(25, 69, 62, 0.75) 38%,
            rgba(8, 72, 67, 0.25) 70%,
            rgba(8, 72, 67, 0) 100%
        ),
        #084846 !important;
}


/* Uklanjamo stare kružne dekoracije iza slike */
.hero-decoration {
    display: none !important;
}


/* Desna strana */
.hero-art {
    position: relative !important;
    width: 100% !important;
    height: 560px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    overflow: visible !important;
    transform: none !important;
}


/* Stara mreža više nije potrebna */
.hero-art .art-pattern {
    display: none !important;
}


/* Stari krug postaje samo kontejner */
.hero-art .art-main-circle {
    position: relative !important;

    width: 100% !important;
    height: 100% !important;

    border: none !important;
    background: transparent !important;
    box-shadow: none !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    z-index: 2 !important;
}


/* Uklanjamo dekoracije starog kruga */
.hero-art .art-main-circle::before,
.hero-art .art-main-circle::after {
    display: none !important;
}


/* Unutrašnji krug više nije krug */
.hero-art .art-inner-circle {
    position: relative !important;

    width: 100% !important;
    height: 100% !important;

    border: none !important;
    border-radius: 0 !important;

    background: transparent !important;
    box-shadow: none !important;

    overflow: visible !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}


/* =========================================================
   GLAVNA SLIKA
========================================================= */

.hero-art .art-inner-circle img {
    position: relative !important;

    width: min(720px, 115%) !important;
    max-width: none !important;

    height: auto !important;

    display: block !important;

    object-fit: contain !important;

    opacity: 1 !important;
    visibility: visible !important;

    border-radius: 0 !important;

    /*
       Ovo je najvažniji dio:
       rubovi slike se postepeno stapaju
       sa pozadinom hero sekcije.
    */

    -webkit-mask-image:
        radial-gradient(
            ellipse 76% 76% at 50% 50%,
            #000 48%,
            rgba(0,0,0,.96) 60%,
            rgba(0,0,0,.65) 72%,
            transparent 94%
        );

    mask-image:
        radial-gradient(
            ellipse 76% 76% at 50% 50%,
            #000 48%,
            rgba(0,0,0,.96) 60%,
            rgba(0,0,0,.65) 72%,
            transparent 94%
        );

    filter:
        drop-shadow(0 25px 35px rgba(0,0,0,.28))
        drop-shadow(0 0 35px rgba(210,165,55,.12));

    animation: ubdHeroFloat 7s ease-in-out infinite;
}


/* Lagano, gotovo neprimjetno lebdenje */
@keyframes ubdHeroFloat {

    0% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-7px) scale(1.01);
    }

    100% {
        transform: translateY(0) scale(1);
    }

}


/* =========================================================
   UKLANJAMO ZAJEDNO / IDENTITET KARTICE
========================================================= */

.hero-art .art-label {
    display: none !important;
}


/* =========================================================
   UKLANJAMO TAČKICE / SLIDER INDICATOR
========================================================= */

.hero-indicator {
    display: none !important;
}


/* =========================================================
   DESKTOP — VEĆA SLIKA
========================================================= */

@media (min-width: 1200px) {

    .hero-art .art-inner-circle img {
        width: 720px !important;
    }

}


/* =========================================================
   LAPTOP
========================================================= */

@media (max-width: 1199px) {

    .hero-art {
        height: 520px !important;
    }

    .hero-art .art-inner-circle img {
        width: 650px !important;
    }

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 950px) {

    .hero-art {
        height: 480px !important;
    }

    .hero-art .art-inner-circle img {
        width: 600px !important;
    }

}


/* =========================================================
   MOBITEL
========================================================= */

@media (max-width: 700px) {

    .hero-art {
        height: 420px !important;
    }

    .hero-art .art-inner-circle img {
        width: 520px !important;
        max-width: 125% !important;
    }

}


/* =========================================================
   MALI MOBITEL
========================================================= */

@media (max-width: 450px) {

    .hero-art {
        height: 350px !important;
    }

    .hero-art .art-inner-circle img {
        width: 470px !important;
        max-width: 135% !important;
    }

}

/* =========================================================
   UBD HERO — FINALNI VIZUELNI TRETMAN
========================================================= */


/* ---------------------------------------------------------
   1. HERO POZADINA
   Tamnozelena lijevo → duboka zelena/plava desno
--------------------------------------------------------- */

.hero-section {

    background:
        radial-gradient(
            ellipse 45% 75% at 78% 52%,
            rgba(38, 75, 65, 0.95) 0%,
            rgba(28, 70, 63, 0.85) 35%,
            rgba(10, 61, 59, 0.45) 65%,
            rgba(3, 59, 62, 0) 100%
        ),

        linear-gradient(
            110deg,
            #033b3e 0%,
            #06484b 45%,
            #285c58 75%,
            #214c48 100%
        ) !important;

}


/* ---------------------------------------------------------
   2. UKLANJAMO STARE KRUŽNE DEKORACIJE
--------------------------------------------------------- */

.hero-decoration {
    display: none !important;
}


/* ---------------------------------------------------------
   3. UKLANJAMO STARU MREŽU
--------------------------------------------------------- */

.art-pattern {
    display: none !important;
}


/* ---------------------------------------------------------
   4. DESNA STRANA
--------------------------------------------------------- */

.hero-art {

    position: relative !important;

    width: 100% !important;

    height: 560px !important;

    display: flex !important;

    align-items: center !important;

    justify-content: center !important;

    overflow: visible !important;

    transform: none !important;

}


/* ---------------------------------------------------------
   5. UKLANJAMO STARI KRUG
--------------------------------------------------------- */

.art-main-circle {

    width: 100% !important;

    height: 100% !important;

    border: none !important;

    background: transparent !important;

    box-shadow: none !important;

}


/* uklanjamo prstenove */
.art-main-circle::before,
.art-main-circle::after {

    display: none !important;

}


/* ---------------------------------------------------------
   6. UNUTRAŠNJI KRUG POSTAJE TRANSPARENTAN KONTEJNER
--------------------------------------------------------- */

.art-inner-circle {

    width: 100% !important;

    height: 100% !important;

    border: none !important;

    border-radius: 0 !important;

    background: transparent !important;

    box-shadow: none !important;

    overflow: visible !important;

}


/* ---------------------------------------------------------
   7. LOGO2
--------------------------------------------------------- */

.art-inner-circle img {

    width: 720px !important;

    max-width: 120% !important;

    height: auto !important;

    object-fit: contain !important;

    border-radius: 0 !important;

    display: block !important;

    position: relative !important;

    z-index: 10 !important;

    box-shadow: none !important;

    /*
       Fade prema rubovima.
       Centar ostaje potpuno vidljiv,
       rubovi se stapaju s hero pozadinom.
    */

    -webkit-mask-image:
        radial-gradient(
            ellipse 72% 72% at 50% 50%,
            #000 42%,
            rgba(0,0,0,.98) 55%,
            rgba(0,0,0,.75) 68%,
            rgba(0,0,0,.30) 82%,
            transparent 100%
        );

    mask-image:
        radial-gradient(
            ellipse 72% 72% at 50% 50%,
            #000 42%,
            rgba(0,0,0,.98) 55%,
            rgba(0,0,0,.75) 68%,
            rgba(0,0,0,.30) 82%,
            transparent 100%
        );

    filter:
        drop-shadow(0 25px 35px rgba(0,0,0,.28))
        drop-shadow(0 0 28px rgba(205,165,70,.12));

    animation:
        ubdLogoFloat 7s ease-in-out infinite;

}


/* ---------------------------------------------------------
   8. LAGANO POMJERANJE LOGA
--------------------------------------------------------- */

@keyframes ubdLogoFloat {

    0% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-7px) scale(1.01);
    }

    100% {
        transform: translateY(0) scale(1);
    }

}


/* ---------------------------------------------------------
   9. STARE KARTICE POTPUNO UKLONJENE
--------------------------------------------------------- */

.art-label {

    display: none !important;

}


/* ---------------------------------------------------------
   10. HERO TAČKICE — POTPUNO UKLONJENE
--------------------------------------------------------- */

.hero-indicator {

    display: none !important;

}


/* ---------------------------------------------------------
   11. DESKTOP
--------------------------------------------------------- */

@media (min-width: 1200px) {

    .hero-art {

        height: 600px !important;

    }

    .art-inner-circle img {

        width: 760px !important;

    }

}


/* ---------------------------------------------------------
   12. LAPTOP
--------------------------------------------------------- */

@media (max-width: 1199px) {

    .hero-art {

        height: 540px !important;

    }

    .art-inner-circle img {

        width: 680px !important;

    }

}


/* ---------------------------------------------------------
   13. TABLET
--------------------------------------------------------- */

@media (max-width: 950px) {

    .hero-art {

        height: 480px !important;

    }

    .art-inner-circle img {

        width: 600px !important;

    }

}


/* ---------------------------------------------------------
   14. MOBITEL
--------------------------------------------------------- */

@media (max-width: 700px) {

    .hero-art {

        height: 420px !important;

    }

    .art-inner-circle img {

        width: 560px !important;

        max-width: 130% !important;

    }

}


/* ---------------------------------------------------------
   15. MALI MOBITEL
--------------------------------------------------------- */

@media (max-width: 450px) {

    .hero-art {

        height: 350px !important;

    }

    .art-inner-circle img {

        width: 500px !important;

        max-width: 140% !important;

    }

}