/*!
Theme Name: IZM 2026
Theme URI: [http://underscores.me/](http://underscores.me/)
Author: Robert Starčić
Author URI: [https://www.facebook.com/start.obrt](https://www.facebook.com/start.obrt)
Description: Moja prva stranica
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: izm
*/

@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&family=Tinos:ital,wght@0,400;0,700;1,400;1,700&display=swap');

/* ========================================
   BASE
   ======================================== */

html,
body {
    overflow-x: hidden;
}

body {
    margin: 0;
    font-family: "Tinos", serif;
    background: #f5f7fb;
    color: #111;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 0;
    font-family: "Roboto", sans-serif;
    color: #111;
}

a {
    color: inherit;
}

img,
video {
    display: block;
    max-width: 100%;
    height: auto;
}

.page .entry-content {
    padding-bottom: 30px;
}


/* ========================================
   ZAJEDNIČKI BLOKOVI
   ======================================== */

.tekst-sekcija {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px;
}

.tekst-sekcija--uska {
    max-width: 780px;
}

.tekst-sekcija-eyebrow {
    margin: 0 0 0.75rem;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: #9b8f84;
}

.tekst-sekcija-naslov {
    margin: 0 auto 1.25rem;
    font-size: clamp(1.8rem, 1.2rem + 1.8vw, 2.8rem);
    line-height: 1.15;
    text-wrap: balance;
}

.tekst-sekcija-tekst {
    max-width: 62ch;
    margin: 0 auto 1rem;
    line-height: 1.75;
    color: #5f5a54;
    padding-inline: 6px;
}


/* ========================================
   HEADER
   ======================================== */

.site-header {
    position: relative;
    z-index: 1000;
    background-color: #fff;
    border-bottom: 1px solid #e5e5e5;
}

.navbar {
    padding-top: 24px;
    padding-bottom: 24px;
    background-color: #fff;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.navbar-brand {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    flex-shrink: 0;
}

.navbar-brand .custom-logo-link {
    display: inline-flex;
    align-items: center;
    line-height: 1;
}

.navbar-brand .custom-logo {
    display: block;
    width: auto;
    max-height: 150px;
}

.navbar-brand .site-title {
    font-family: "Roboto", sans-serif;
    font-size: 24px;
    font-weight: 500;
    line-height: 1.1;
    color: #111;
    text-decoration: none;
}

.navbar-collapse {
    flex-grow: 0;
}

.navbar-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    margin: 0;
    padding: 0;
}

.navbar-nav li {
    list-style: none;
}

.navbar-nav li a {
    position: relative;
    display: inline-block;
    padding: 4px 0;
    font-family: "Roboto", sans-serif;
    font-size: 13px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #222;
    text-decoration: none;
    transition: color 0.25s ease, opacity 0.25s ease;
}

.navbar-nav li a::after {
    content: "";
    display: block;
    width: 0;
    height: 1px;
    margin-top: 4px;
    background: #222;
    transition: width 0.3s ease;
}

.navbar-nav li a:hover {
    color: #666;
}

.navbar-nav li a:hover::after {
    width: 100%;
}

.navbar-toggler {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 1px solid #dcdcdc;
    border-radius: 50%;
    background-color: #fff;
    box-shadow: none;
}

.navbar-toggler:focus {
    outline: none;
    border-color: #111;
    box-shadow: none;
}

.navbar-toggler-icon {
    position: relative;
    width: 20px;
    height: 2px;
    margin: 0 auto;
    background-color: #111;
    background-image: none;
    border-radius: 2px;
    transition: all 0.25s ease;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
    content: "";
    position: absolute;
    left: 0;
    width: 20px;
    height: 2px;
    background-color: #111;
    border-radius: 2px;
    transition: all 0.25s ease;
}

.navbar-toggler-icon::before {
    top: -6px;
}

.navbar-toggler-icon::after {
    top: 6px;
}

@media (min-width: 992px) {
    .navbar-toggler {
        display: none;
    }
}


/* ========================================
   NASLOVNICA
   ======================================== */

.home .hero {
    padding: 120px 0 100px;
    background-color: #f5f7fb;
}

.home .hero .container {
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
}

.home .hero .wp-block-columns {
    display: flex;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
    margin-bottom: 0;
}

.home .hero .wp-block-column {
    flex: 1 1 0;
    min-width: 0;
}

.home .hero .wp-block-column.hero-text {
    max-width: 560px;
}

.home .hero .wp-block-column.hero-image-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
}

.home .hero-label {
    margin-bottom: 20px;
    font-family: "Roboto", sans-serif;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #8a8f59;
}

.home .hero h1 {
    max-width: 10ch;
    margin-bottom: 24px;
    font-size: 56px;
    line-height: 1.12;
    font-weight: 500;
    color: #111;
}

.home .hero-description {
    max-width: 540px;
    margin-bottom: 32px;
    font-size: 18px;
    line-height: 1.7;
    color: #555;
}

.home .hero h1.wp-block-heading + p,
.home .hero h1.wp-block-heading + .wp-block-paragraph {
    max-width: 540px;
    margin: 0 0 32px 0;
    padding-left: 0;
    padding-right: 0;
    text-align: left;
    line-height: 1.7;
    font-size: 18px;
}

.home .hero-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.home .hero-actions .wp-block-button {
    margin: 0;
}

.home .hero-actions .wp-block-button__link,
.home .hero-actions .wp-element-button {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 999px;
    font-family: "Roboto", sans-serif;
    font-size: 14px;
    letter-spacing: 0.03em;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: none;
}

.home .hero-actions .is-style-fill .wp-block-button__link,
.home .hero-actions .is-style-fill .wp-element-button {
    background-color: #555;
    color: #fff;
    border: none;
}

.home .hero-actions .is-style-fill .wp-block-button__link:hover,
.home .hero-actions .is-style-fill .wp-element-button:hover {
    background-color: #f8ad20;
    color: #fff;
}

.home .hero-actions .is-style-outline .wp-block-button__link,
.home .hero-actions .is-style-outline .wp-element-button {
    background-color: transparent;
    color: #111;
    border: 1px solid #ccc;
}

.home .hero-actions .is-style-outline .wp-block-button__link:hover,
.home .hero-actions .is-style-outline .wp-element-button:hover {
    background-color: transparent;
    color: #111;
    border-color: #f8ad20;
}

.home .hero-image-wrap {
    margin-top: 0;
}

.home .hero-image-frame {
    width: 82%;
    max-width: 620px;
    padding: 0;
    background-color: transparent;
    border-radius: 0;
    box-shadow: none;
    transform: translateX(-10px) translateY(-25px);
}

.home .hero-image-frame .wp-block-image {
    margin: 0;
}

.home .hero-image-frame img {
    width: 100%;
    border-radius: 160px;
}

.home-section {
    padding: 80px 0;
    background-color: #fff;
    border-top: 1px solid #eee;
}

.home-section h2 {
    margin-bottom: 16px;
    font-size: 32px;
}

.home-section p {
    max-width: 700px;
    font-size: 18px;
    line-height: 1.7;
    color: #555;
}


/* ========================================
   RECENT POSTS
   ======================================== */

.recent-posts {
    padding: 40px 0;
}

.recent-posts h3 {
    font-size: 22px;
    line-height: 1.4;
}

.recent-posts .block-header a {
    font-size: 16px;
    line-height: 1.4;
    color: #555;
    text-decoration: none;
}


/* ========================================
   ARTICLE / SINGLE
   ======================================== */

.container.prikaz-clanka {
    max-width: 800px;
    padding-top: 80px;
    padding-bottom: 120px;
}

.prikaz-clanka img {
    margin-bottom: 40px;
}

.prikaz-clanka h1 {
    margin-bottom: 10px;
}


/* ========================================
   O MENI
   ======================================== */

body.page-id-13 {
    background: #f5f7fb;
}

body.page-id-13 .site-header {
    position: relative;
    z-index: 100;
    background: #ffffff;
    border-bottom: 1px solid #e5e5e5;
}

body.page-id-13 .navbar {
    background: #ffffff;
}

body.page-id-13 .site-footer {
    position: relative;
    z-index: 100;
    background: #ffffff;
    border-top: 1px solid #ddd;
}

body.page-id-13 main.site-main {
    overflow: hidden;
    padding: 0;
    background: transparent;
}

body.page-id-13 .entry-content {
    padding-bottom: 0;
}

body.page-id-13 .o-meni-wrap {
    position: relative;
    overflow: hidden;
    padding: 72px 24px 88px;
    min-height: 520px;
    background: #f5f7fb;
    isolation: isolate;
}

body.page-id-13 .o-meni-wrap > .wp-block-group__inner-container,
body.page-id-13 .o-meni-content > .wp-block-group__inner-container {
    position: static;
}

body.page-id-13 .o-meni-bg-video,
body.page-id-13 .o-meni-bg-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

body.page-id-13 .o-meni-bg-video {
    z-index: 0;
    overflow: hidden;
    line-height: 0;
}

body.page-id-13 .o-meni-bg-video video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

body.page-id-13 .o-meni-bg-overlay {
    z-index: 1;
    background: rgba(245, 247, 251, 0.88);
}

body.page-id-13 .o-meni-content {
    position: relative;
    z-index: 2;
    max-width: 760px;
    margin: 0 auto;
}

body.page-id-13 .o-meni-content > * {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

body.page-id-13 .o-meni-content p,
body.page-id-13 .o-meni-content ul,
body.page-id-13 .o-meni-content ol {
    margin: 0 0 28px;
    font-size: 18px;
    line-height: 1.9;
    color: #3f3a35;
}

body.page-id-13 .o-meni-content p:first-of-type {
    font-size: 22px;
    line-height: 1.7;
    color: #222;
}

body.page-id-13 .o-meni-content h1,
body.page-id-13 .o-meni-content h2,
body.page-id-13 .o-meni-content h3 {
    margin: 56px 0 20px;
    font-family: "Roboto", sans-serif;
    font-weight: 500;
    line-height: 1.15;
    color: #111;
}

body.page-id-13 .o-meni-content h1 {
    margin-top: 0;
    margin-bottom: 32px;
    font-size: 48px;
}

body.page-id-13 .o-meni-content h2 {
    font-size: 34px;
}

body.page-id-13 .o-meni-content .o-meni-istaknuti-naslov {
    margin: 10px auto 34px;
    max-width: 22ch;
    text-align: center;
    font-family: "Tinos", serif;
    font-size: 32px;
    font-style: italic;
    font-weight: 400;
    line-height: 1.35;
    letter-spacing: 0.01em;
    color: #2f2a26;
    position: relative;
}

body.page-id-13 .o-meni-content .o-meni-istaknuti-naslov::before,
body.page-id-13 .o-meni-content .o-meni-istaknuti-naslov::after {
    content: "";
    display: block;
    width: 56px;
    height: 1px;
    margin-left: auto;
    margin-right: auto;
    background: rgba(60, 48, 40, 0.20);
}

body.page-id-13 .o-meni-content .o-meni-istaknuti-naslov::before {
    margin-bottom: 18px;
}

body.page-id-13 .o-meni-content .o-meni-istaknuti-naslov::after {
    margin-top: 18px;
}

body.page-id-13 .o-meni-content ul,
body.page-id-13 .o-meni-content ol {
    padding-left: 24px;
}

body.page-id-13 .o-meni-content li {
    margin-bottom: 10px;
}

body.page-id-13 .o-meni-content a {
    color: #111;
    text-decoration: underline;
    text-underline-offset: 3px;
}

body.page-id-13 .o-meni-content figure,
body.page-id-13 .o-meni-content .wp-block-image,
body.page-id-13 .o-meni-content .wp-block-gallery {
    margin: 32px 0;
}

body.page-id-13 .o-meni-content blockquote {
    margin: 36px 0;
    padding-left: 20px;
    border-left: 2px solid #ccc;
    color: #555;
    font-style: italic;
}


/* ========================================
   RADOVI
   ======================================== */

.radovi-page .page-content .container {
    max-width: 1320px;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
}

.radovi-portfolio {
    max-width: 1280px;
    margin: 0 auto;
    padding: 2.5rem 0 4.5rem;
}

.radovi-portfolio .alignwide {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.radovi-hero-naslov {
    padding-top: 64px;
}

.radovi-uvod {
    max-width: 720px;
    margin: 0 auto 2.5rem;
    text-align: center;
    font-family: "Roboto", sans-serif;
    font-size: 0.95rem;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: 0.08em;
    color: #6b625b;
}

.radovi-row {
    justify-content: center;
    align-items: stretch;
    gap: 1.75rem;
    margin-bottom: 1.75rem;
}

.radovi-row:last-child {
    margin-bottom: 0;
}

.radovi-row > .wp-block-column {
    display: flex;
}

.rad-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 100%;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid rgba(34, 34, 34, 0.08);
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    transition:
        transform 0.28s ease,
        box-shadow 0.28s ease,
        border-color 0.28s ease;
}

.rad-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.10);
    border-color: rgba(34, 34, 34, 0.14);
}

.rad-card-title {
    margin: 1.15rem 1.25rem 0.5rem;
    font-size: 1.1rem;
    line-height: 1.25;
    letter-spacing: 0.02em;
}

.rad-card-text {
    margin: 0 1.25rem 1.35rem;
    font-size: 0.96rem;
    line-height: 1.65;
    color: #615c56;
}

.rad-card .wp-block-heading,
.rad-card p {
    max-width: none;
}

/* Slike i video thumbnails */

.radovi-page .radovi-thumb {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    margin: 0;
    overflow: hidden;
    background: #f4f1ec;
}

.radovi-page .radovi-thumb > a,
.radovi-page .radovi-thumb > div {
    display: block;
    width: 100%;
    height: 100%;
}

.radovi-page .radovi-thumb img,
.radovi-page .radovi-thumb video,
.radovi-page .radovi-thumb iframe {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    border: 0;
    object-fit: cover;
    object-position: center center;
    transition: transform 0.4s ease;
}

.radovi-page .radovi-thumb .video-thumbnail {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.radovi-page .radovi-thumb .video-thumbnail:hover img {
    transform: scale(1.04);
}

.radovi-page .radovi-thumb .play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    width: 42px;
    height: 42px;
    color: #ffffff;
    transform: translate(-50%, -50%);
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.35));
    transition: transform 0.25s ease, color 0.25s ease;
}

.radovi-page .radovi-thumb .video-thumbnail:hover .play-icon {
    color: #ffffff;
    transform: translate(-50%, -50%) scale(1.08);
}

/* ========================================
   USLUGE
   ======================================== */

.usluge-sekcija {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px 4.5rem;
}

.usluge-hero {
    padding-top: 64px;
}

.usluge-grid {
    align-items: stretch;
    gap: 1.75rem;
}

.usluge-grid > .wp-block-column {
    display: flex;
}

.usluga-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 100%;
    padding: 1.75rem;
    background: #ffffff;
    border: 1px solid rgba(34, 34, 34, 0.08);
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.usluga-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.10);
    border-color: rgba(34, 34, 34, 0.14);
}

.usluga-oznaka {
    margin-bottom: 0.75rem;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: #9b8f84;
}

.usluga-naslov {
    margin-bottom: 1rem;
    font-size: 1.35rem;
    line-height: 1.2;
}

.usluga-tekst {
    margin-bottom: 1rem;
    color: #5f5a54;
    line-height: 1.75;
}

.usluga-lista {
    margin: 0.5rem 0 0;
    padding-left: 1.1rem;
    color: #3f3a35;
    line-height: 1.75;
}

.usluga-lista li {
    margin-bottom: 0.45rem;
}

.usluge-proces,
.usluge-cta {
    padding-top: 1rem;
    padding-bottom: 4rem;
}

.usluge-cta {
    padding-bottom: 5rem;
}


/* ========================================
   KONTAKT
   ======================================== */

body.page-id-15 main.site-main {
    padding: 60px 24px 0;
    background-color: transparent;
}

body.page-id-15 main.site-main > *:not(.kontakt-footer-banner) {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

body.page-id-15 main.site-main h1 {
    margin-top: 0;
    margin-bottom: 28px;
    font-family: "Roboto", sans-serif;
    font-size: 48px;
    font-weight: 500;
    line-height: 1.15;
    text-align: center;
    color: #f8ad20;
}

body.page-id-15 main.site-main h1 + p,
body.page-id-15 main.site-main h1 + .wp-block-paragraph {
    max-width: 760px;
    margin: 0 auto 24px;
    padding-left: 20px;
    padding-right: 20px;
    text-align: center;
    line-height: 1.75;
    font-size: 18px;
    color: #222;
}

body.page-id-15 main.site-main .contact-info {
    max-width: 720px;
    margin: 32px auto 56px;
    padding-left: 16px;
    padding-right: 16px;
}

body.page-id-15 main.site-main .contact-info p {
    margin: 0 0 18px;
    padding: 0;
    background: #ffffff;
    border: 1px solid rgba(34, 34, 34, 0.08);
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

body.page-id-15 main.site-main .contact-info p:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.10);
    border-color: rgba(34, 34, 34, 0.14);
}

body.page-id-15 main.site-main .contact-info p:last-child {
    margin-bottom: 0;
}

body.page-id-15 main.site-main .contact-info .kontakt-gumb {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    width: 100%;
    min-height: 88px;
    padding: 22px 24px;
    font-family: "Roboto", sans-serif;
    font-size: 17px;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0.01em;
    text-align: left;
    text-decoration: none;
    color: #3f3a35;
    transition: color 0.28s ease, background-color 0.28s ease;
}

body.page-id-15 main.site-main .contact-info .kontakt-gumb:hover {
    color: #111;
    background: transparent;
}

body.page-id-15 main.site-main .contact-info .kontakt-gumb:focus-visible {
    outline: 2px solid rgba(34, 34, 34, 0.18);
    outline-offset: -2px;
}

body.page-id-15 main.site-main .contact-info .kontakt-gumb__ikona {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border-radius: 50%;
    background: #f5f7fb;
    color: #6f4a33;
    font-size: 16px;
    line-height: 1;
}

body.page-id-15 main.site-main .contact-info .kontakt-gumb__tekst {
    display: inline-block;
    font-family: "Tinos", serif;
    font-size: 20px;
    line-height: 1.5;
    color: inherit;
}

body.page-id-15 main.site-main .contact-info .kontakt-gumb__ikona img {
    width: 18px;
    height: 18px;
    display: block;
    object-fit: contain;
}

body.page-id-15 main.site-main .suradnja-naslov {
    margin-top: 44px;
    margin-bottom: 14px;
    text-align: center;
    font-size: 30px;
    line-height: 1.15;
    letter-spacing: 0.3px;
}

body.page-id-15 main.site-main .suradnja-text {
    max-width: 700px;
    margin: 0 auto 32px;
    padding-left: 20px;
    padding-right: 20px;
    text-align: center;
    line-height: 1.72;
    font-size: 17px;
    color: #2f2a26;
}

body.page-id-15 main.site-main .kontakt-footer-banner {
    max-width: none;
    width: 100%;
    margin: 48px 0 0;
}

body.page-id-15 main.site-main .kontakt-footer-banner img {
    width: 100%;
    border-radius: 0;
}

body.page-id-15 .site-footer {
    margin-top: 0;
    position: relative;
    z-index: 2;
}


/* ========================================
   FOOTER
   ======================================== */

.site-footer {
    padding: 24px 16px;
    background-color: #fff;
    border-top: 1px solid #ddd;
}

.footer-social {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background-color: #f1f1f1;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.25s ease;
}

.footer-social a:hover {
    background-color: #d9d9d9;
    transform: translateY(-2px);
}

.footer-social img {
    width: 20px;
    height: 20px;
    max-width: 20px;
    max-height: 20px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.75;
}


/* ========================================
   RESPONSIVE 1024
   ======================================== */

@media (max-width: 1024px) {
    .usluge-sekcija {
        padding-left: 24px;
        padding-right: 24px;
        padding-bottom: 3.5rem;
    }

    .usluge-grid {
        gap: 1.25rem;
    }

    .usluga-card {
        padding: 1.4rem;
    }

    .usluga-naslov {
        font-size: 1.2rem;
    }

    .radovi-row {
        gap: 1.25rem;
        margin-bottom: 1.25rem;
    }

    .rad-card-title {
        font-size: 1.02rem;
    }
}

/* ========================================
   RESPONSIVE 991
   ======================================== */

@media (max-width: 991px) {
    .navbar {
        padding-top: 14px;
        padding-bottom: 14px;
    }

    .navbar .container {
        gap: 16px;
    }

    .navbar-brand .custom-logo {
        max-height: 72px;
    }

    .navbar-brand .site-title {
        font-size: 20px;
    }

    .navbar-collapse {
        width: 100%;
        margin-top: 18px;
        padding-top: 18px;
        border-top: 1px solid #ececec;
    }

    .navbar-nav {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        gap: 14px;
        padding-top: 0;
    }

    .navbar-nav li {
        width: 100%;
    }

    .navbar-nav li a {
        display: block;
        width: 100%;
        padding: 10px 0;
        font-size: 14px;
        letter-spacing: 0.06em;
    }

    .navbar-nav li a::after {
        display: none;
    }

    .home .hero {
        padding: 90px 0 70px;
    }

    .home .hero .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .home .hero .wp-block-columns {
        gap: 24px;
    }

    .home .hero .wp-block-column {
        flex: 0 0 100%;
        width: 100%;
    }

    .home .hero .wp-block-column.hero-text {
        max-width: 100%;
    }

    .home .hero h1 {
        max-width: 100%;
        font-size: 40px;
    }

    .home .hero-description {
        font-size: 16px;
    }

    .home .hero-actions {
        gap: 12px;
    }

    .home .hero-actions .wp-block-button__link,
    .home .hero-actions .wp-element-button {
        padding: 12px 22px;
        font-size: 14px;
    }

    .home .hero-image-wrap {
        margin-top: 8px;
    }

    .home .hero-image-frame {
        width: 100%;
        max-width: 440px;
        margin: 0 auto;
        transform: none;
    }

    body.page-id-13 .o-meni-wrap {
        padding: 48px 20px 60px;
        min-height: 420px;
    }

    body.page-id-13 .o-meni-content {
        max-width: 100%;
    }

    body.page-id-13 .o-meni-content > * {
        max-width: 100%;
    }

    body.page-id-13 .o-meni-content h1 {
        font-size: 36px;
    }

    body.page-id-13 .o-meni-content h2 {
        margin-top: 44px;
        margin-bottom: 16px;
        font-size: 28px;
    }

    body.page-id-13 .o-meni-content .o-meni-istaknuti-naslov {
        margin: 6px auto 26px;
        font-size: 24px;
        line-height: 1.4;
        max-width: 20ch;
    }

    body.page-id-13 .o-meni-content .o-meni-istaknuti-naslov::before {
        margin-bottom: 14px;
    }

    body.page-id-13 .o-meni-content .o-meni-istaknuti-naslov::after {
        margin-top: 14px;
    }

    body.page-id-13 .o-meni-content p:first-of-type {
        font-size: 18px;
    }

    body.page-id-13 .o-meni-content p,
    body.page-id-13 .o-meni-content ul,
    body.page-id-13 .o-meni-content ol {
        font-size: 16px;
        line-height: 1.8;
    }

    body.page-id-15 main.site-main {
        padding: 44px 20px 0;
    }

    body.page-id-15 main.site-main h1 {
        font-size: 36px;
        margin-bottom: 22px;
    }

    body.page-id-15 main.site-main h1 + p,
    body.page-id-15 main.site-main h1 + .wp-block-paragraph {
        font-size: 16px;
        line-height: 1.7;
        margin-bottom: 20px;
        padding-left: 12px;
        padding-right: 12px;
    }

    body.page-id-15 main.site-main .contact-info {
        max-width: 100%;
        margin: 28px auto 48px;
        padding-left: 0;
        padding-right: 0;
    }

    body.page-id-15 main.site-main .contact-info p {
        margin-bottom: 14px;
    }

    body.page-id-15 main.site-main .contact-info p:hover {
        transform: none;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
        border-color: rgba(34, 34, 34, 0.08);
    }

    body.page-id-15 main.site-main .contact-info .kontakt-gumb {
        gap: 12px;
        min-height: 78px;
        padding: 18px 18px;
        font-size: 16px;
    }

    body.page-id-15 main.site-main .contact-info .kontakt-gumb__ikona {
        width: 38px;
        height: 38px;
        flex-basis: 38px;
        font-size: 15px;
    }

    body.page-id-15 main.site-main .contact-info .kontakt-gumb__ikona img {
        width: 16px;
        height: 16px;
    }

    body.page-id-15 main.site-main .contact-info .kontakt-gumb__tekst {
        font-size: 18px;
        line-height: 1.45;
    }

    body.page-id-15 main.site-main .suradnja-naslov {
        margin-top: 36px;
        font-size: 26px;
    }

    body.page-id-15 main.site-main .suradnja-text {
        font-size: 16px;
        line-height: 1.68;
        padding-left: 12px;
        padding-right: 12px;
    }

    body.page-id-15 main.site-main .kontakt-footer-banner {
        margin-top: 40px;
    }
}


/* ========================================
   RESPONSIVE 781
   ======================================== */

@media (max-width: 781px) {
    .tekst-sekcija {
        padding-left: 16px;
        padding-right: 16px;
    }

   
   .tekst-sekcija-tekst {
    padding-inline: 16px;
    box-sizing: border-box;
    line-height: 1.65;
}

    .radovi-page .page-content .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .radovi-portfolio {
        padding: 1.5rem 0 3rem;
    }

    .radovi-hero-naslov {
        padding-top: 36px;
    }

    .radovi-uvod {
        margin-bottom: 1.75rem;
        font-size: 0.9rem;
    }

    .radovi-row {
        gap: 1rem;
        margin-bottom: 1rem;
    }

    .radovi-row > .wp-block-column {
        margin-bottom: 0 !important;
    }


    .rad-card-title {
        margin: 1rem 1rem 0.45rem;
    }

    .rad-card-text {
        margin: 0 1rem 1.1rem;
    }


    .usluge-sekcija {
        padding-left: 16px;
        padding-right: 16px;
        padding-bottom: 3rem;
    }

    .usluge-grid {
        gap: 1rem;
    }

    .usluge-grid > .wp-block-column {
        margin-bottom: 0 !important;
    }

    .usluga-card {
        padding: 1.2rem;
        border-radius: 16px;
    }

    .usluga-naslov {
        font-size: 1.12rem;
    }

    .usluga-tekst,
    .usluga-lista {
        line-height: 1.65;
    }

    .usluge-proces,
    .usluge-cta {
        padding-top: 0.5rem;
        padding-bottom: 2.75rem;
    }
}
/* ========================================
   NASLOVNICA - HERO DESKTOP
   ======================================== */

body.home .hero-cover {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    width: 100%;
    max-width: none;
    min-height: 100svh;
    overflow: hidden;
    background: #f5f7fb;
}

body.home .hero-cover .wp-block-media-text__media {
    position: relative;
    grid-column: 1;
    grid-row: 1;
    width: 100%;
    height: 100%;
    min-height: 100svh;
    margin: 0;
    overflow: hidden;
}

body.home .hero-cover .wp-block-media-text__media img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center center;
}

body.home .hero-cover .wp-block-media-text__content {
    position: relative;
    grid-column: 2;
    grid-row: 1;
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 100svh;
    padding: 120px 8% 80px 3%;
    transform: none;
    background: #f5f7fb;
}

body.home .hero-cover .hero-content {
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
}


/* ========================================
   NASLOVNICA - HERO MOBITEL
   ======================================== */

@media (max-width: 991px) {
    body.home .hero-cover {
        display: block;
        min-height: 620px;
        overflow: hidden;
        background: #f5f7fb;
    }

    body.home .hero-cover .wp-block-media-text__media {
        position: absolute;
        inset: 0;
        z-index: 0;
        width: 100%;
        height: 100%;
        min-height: 0;
        margin: 0;
    }

    body.home .hero-cover .wp-block-media-text__media img {
        width: 100%;
        height: 100%;
        max-width: none;
        object-fit: cover;
        object-position: 52% center;
    }

    body.home .hero-cover .wp-block-media-text__content {
        position: relative;
        z-index: 2;
        display: flex;
        align-items: flex-end;
        width: 100%;
        min-height: 620px;
        padding: 120px 24px 48px;
        transform: none;

        /* Jači svijetli overlay za bolju čitljivost teksta */
        background: linear-gradient(
            to bottom,
            rgba(245, 247, 251, 0.20) 0%,
            rgba(245, 247, 251, 0.60) 50%,
            rgba(245, 247, 251, 0.70) 100%
        );
    }

    body.home .hero-cover .hero-content {
        width: 100%;
        max-width: 640px;
        margin: 0 auto;
    }
/* Gornji natpis: crn, bez sjene */
body.home .hero-cover .hero-label {
    color: #111 !important;
    text-shadow: none;
}

/* Glavni naslov: zlatan, s mekim bijelim obrubom */
body.home .hero-cover h1 {
    color: #f8ad20 !important;
    text-shadow:
        1px 0 0 #ffffff,
       -1px 0 0 #ffffff,
        0 1px 0 #ffffff,
        0 -1px 0 #ffffff,
        0 0 4px rgba(255, 255, 255, 0.95),
        0 0 9px rgba(255, 255, 255, 0.72),
        0 0 16px rgba(255, 255, 255, 0.48);
}

/* Naziv obrta: crn i bez sjene na mobilnom prikazu */
body.home .hero-cover h1.hero-company-title {
    color: #111 !important;
    text-shadow: none;
}

/* Opis: crn, bez sjene, fluidno veći font */
body.home .hero-cover .hero-description {
    color: #111 !important;
    text-shadow: none;
    line-height: 1.55;
}

    body.home .hero-cover .hero-label {
        margin-bottom: 20px;
        font-size: 1.15rem !important;
        line-height: 1.3;
        letter-spacing: 0.06em;
    }

    body.home .hero-cover h1 {
        margin-bottom: 18px;
        font-size: clamp(2rem, 9vw, 3rem) !important;
        line-height: 1.1;
    }

    body.home .hero-cover .hero-description {
    margin-bottom: 24px;
    color: #111 !important;
    text-shadow: none;
    font-size: clamp(18px, calc(16px + 1vw), 22px) !important;
    line-height: 1.55;
}

body.home .hero-cover .hero-description p,
body.home .hero-cover .hero-description span {
    font-size: inherit !important;
    line-height: inherit;
}

    body.home .hero-cover .hero-actions {
        display: flex;
        justify-content: flex-start;
        gap: 10px;
        flex-wrap: wrap;
    }
}


/* ========================================
   NASLOVNICA - USKI MOBITEL
   ======================================== */

@media (max-width: 600px) {
    body.home .hero-cover {
        min-height: 680px;
    }

    body.home .hero-cover .wp-block-media-text__content {
        min-height: 680px;
        padding: 110px 20px 36px;

        background: linear-gradient(
            to bottom,
            rgba(245, 247, 251, 0.10) 0%,
            rgba(245, 247, 251, 0.50) 50%,
            rgba(245, 247, 251, 0.70) 100%
        );
    }

    body.home .hero-cover h1 {
        font-size: clamp(1.85rem, 8vw, 2.5rem) !important;
        line-height: 1.12;
    }

    body.home .hero-cover .hero-description,
    body.home .hero-cover .hero-description p,
    body.home .hero-cover .hero-description span {
        color: #111 !important;
        text-shadow: none;
        font-size: clamp(18px, calc(16px + 1vw), 22px) !important;
        line-height: 1.55 !important;
    }

    body.home .hero-cover .hero-actions {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 10px;
        flex-wrap: nowrap;
        width: 100%;
    }

    body.home .hero-cover .hero-actions .wp-block-button {
        width: auto;
        flex: 0 1 auto;
        margin: 0;
    }

    body.home .hero-cover .hero-actions .wp-block-button__link,
    body.home .hero-cover .hero-actions .wp-element-button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: auto;
        min-width: 112px;
        padding: 10px 14px;
        text-align: center;
        white-space: nowrap;
    }
}

/* ========================================
   MOBILNI LOGO - POMAK UDESNO
   ======================================== */

@media (max-width: 991px) {
    .navbar-brand {
        transform: translateX(28px);
    }
}

/* ========================================
   HERO - ZAVRŠNA TIPOGRAFIJA
   ======================================== */

body.home .hero-cover h1 {
    max-width: 100%;
    margin: 0 0 24px;
    font-size: clamp(2.6rem, 4vw, 4.4rem) !important;
    line-height: 1.08;
    overflow-wrap: normal;
    word-break: normal;
}

body.home .hero-cover .hero-label {
    margin: 0 0 24px;
    color: #111;
    font-family: "Roboto", sans-serif;
    font-size: clamp(1.25rem, 1rem + 1.2vw, 2rem) !important;
    font-weight: 500;
    letter-spacing: 0.08em;
    line-height: 1.25;
    text-transform: uppercase;
}

body.home .hero-cover .hero-description {
    max-width: 680px;
    margin: 0 0 28px;
    font-size: clamp(1rem, 1rem + 0.35vw, 1.25rem);
    line-height: 1.55;
}

@media (max-width: 991px) {
    body.home .hero-cover h1 {
        font-size: clamp(2.8rem, 6vw, 4rem) !important;
    }
}

@media (max-width: 600px) {
    body.home .hero-cover h1 {
        font-size: clamp(1.85rem, 8vw, 2.5rem) !important;
        line-height: 1.12;
    }
}

@media (max-width: 600px) {
    body.home .hero-cover .hero-label {
        margin-bottom: 20px;
        font-size: 1.15rem !important;
        letter-spacing: 0.06em;
        line-height: 1.3;
    }

   
}

   

