
:root {
    --primary: #130c16;
    /* Tamno plava za navigaciju i hero */
    --secondary: #328dcd;
    /* Jos tamnije plava za navigaciju i hero */
    --accent: #328dcd;
    /* Žuta za dugmad i naglaske */
    --accent2: #FF5900;
    /* Narandzasta za dugmad i naglaske */
    --light-bg: #dddddd;
    /* Svetla pozadina za sekcije/kartice */
    --text: #333333;
    /* Boja osnovnog teksta */
    --white-text: #ffffff;
    /* Boja osnovnog teksta */
    --heading: #130c16;
    /* Boja naslova */
    --radius: 5px;
    /* Zaobljenje uglova */
    --max-width: 1200px;
    /* Maksimalna širina sadržaja */
}

/* Reset */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

html,
body {
    max-width: 100%;
    overflow-x: hidden;
}


body {
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    color: var(--text);
    background-color: #ddd;
    line-height: 1.4;
}

/* Kontejner za centralno poravnavanje */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    background: #fff;
}

hr.zig,
hr.zag {
    border: none;
    height: 32px;
    margin: 0 auto;
    max-width: 1200px
}

hr.zig {
    background: linear-gradient(-135deg, #FFF 20px, rgba(0, 0, 0, 0) 0) 0 5px, linear-gradient(135deg, #FFF 20px, rgba(0, 0, 0, 0) 0) 0 5px;
    background-color: rgba(0, 0, 0, 0);
    background-position: center bottom;
    background-repeat: repeat-x;
    background-size: 20px 40px;
    z-index: 100;
    position: relative;
}

hr.zag {
    background: linear-gradient(-135deg, #fff 20px, rgba(0, 0, 0, 0) 0) 0 5px, linear-gradient(135deg, #fff 20px, #ccc 0) 0 5px;
    background-color: rgba(0, 0, 0, 0);
    background-position: center bottom;
    background-repeat: repeat-x;
    background-size: 20px 40px;
    z-index: 50;
    margin-top: -28px;
}

hr.ziggr,
hr.zagwh {
    border: none;
    height: 32px;
    margin: 0 auto;
    max-width: 1200px;
    margin-top: -11px;
}

hr.ziggr {
    background: linear-gradient(-135deg, #ccc 20px, rgba(0, 0, 0, 0) 0) 0 5px, linear-gradient(135deg, #ccc 20px, rgba(0, 0, 0, 0) 0) 0 5px;
    background-color: rgba(0, 0, 0, 0);
    background-position: center bottom;
    background-repeat: repeat-x;
    background-size: 20px 40px;
    z-index: 100;
    position: relative;
}

hr.zagwh {
    background: linear-gradient(-135deg, #ccc 20px, rgba(0, 0, 0, 0) 0) 0 5px, linear-gradient(135deg, #ccc 20px, #FFF 0) 0 5px;
    background-color: rgba(0, 0, 0, 0);
    background-position: center bottom;
    background-repeat: repeat-x;
    background-size: 20px 40px;
    z-index: 50;
    margin-top: -28px;
}

/* Naslovi */
h1,
h4,
h5 {
    font-family: 'Bebas Neue', sans-serif;
    color: var(--heading);
    letter-spacing: 0.5px;
    margin-bottom: 0.5em;
}

h2,
h3 {
    font-family: 'Bebas Neue', sans-serif;
    color: var(--primary);
    letter-spacing: 0.5px;
    margin-bottom: 0.5em;
}

.hero-form h2 {
    margin-bottom: 0
}

.center {
    text-align: center !important
}

/* Navigaciona traka */
.navbar {
    background-color: #fff;
    color: #130c16;
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 8px 0;
    border-bottom: 1px solid #000
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.navbar-menu ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

.navbar-menu a {
    color: #130c16;
    text-decoration: none;
    font-size: 1rem;
    transition: opacity 0.2s ease;
}

.navbar-menu a:hover {
    opacity: 0.7;
}

.navbar-branding {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-top: 32px;
    margin-bottom: -23px;
    letter-spacing: -0.1rem
}

.navbar-branding .avatar img {
    max-width: 85px;
    height: auto;
    position: absolute;
    left: 0;
    top: -1px;
}

.social-bar a {
    color: #130c16;
    font-size: 1.2rem;
    margin-left: 12px;
}

/* Hero sekcija */
.hero {
    background-color: #ccc;
    color: #130c16;
    padding: 50px 0;
    padding-top: 140px
}

.hero-inner {
    background-color: #fff;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0;
    box-shadow: 5px 20px 20px #666
}

.hero-left {
    flex: 1 1 480px;
    min-width: 280px;
    padding: 20px
}

.hero-left h1 {
    font-family: 'Bebas Neue', sans-serif;
    font-weight: 300;
    font-size: 3rem;
    margin-bottom: 10px;
    margin: -20px;
    padding: 15px 15px 10px 15px;
    line-height: 2.5rem;
    margin-bottom: 50px;
    position: relative;
    text-align: center;
}

.h1-1 {
    color: var(--accent);
    background: var(--primary);
    position: absolute;
    left: 0;
    top: 0;
    padding: 15px 15px 10px 15px;
    width: 70%
}

.h1-2 {
    color: var(--primary);
    background: var(--accent);
    position: absolute;
    right: 0;
    top: 0;
    padding: 15px 15px 10px 15px;
    width: 30%
}

.hero-left p {
    margin-bottom: 12px;
    margin-bottom: 25px
}

.cta {
    position: relative;
    padding: 15px 15px 10px 15px;
    line-height: 2.5rem;
}

.hero-cta {
    background: var(--accent);
    color: var(--primary);
    width: calc(50% + 20px);
    padding: 10px;
    line-height: 1;
    position: absolute;
    left: -20px;
    bottom: -20px;
    text-align: center;
    min-height: 65px
}

.izlazak {
    position: absolute;
    right: -20px;
    bottom: -20px;
    background: var(--primary);
    color: var(--white-text);
    width: calc(50% + 20px);
    text-align: center;
    min-height: 65px;
    padding-top: 10px;
}

.izlazak p {
    font-size: 14px;
    line-height: 1;
    margin: 0;
    padding: 2px 10px;
}

.izlazak p:nth-child(2) {
    font-size: 13px;
    font-style: italic
}

.hero-cta p {
    padding: 0;
    margin: 0;
}

.callout {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.15);
    padding: 8px 12px;
    border-radius: var(--radius);
    margin-bottom: 0 !important;
    line-height: 1.1
}

.hero-phone a {
    font-family: 'Bebas Neue', sans-serif;
    color: #130c16;
    font-weight: bold;
    text-decoration: none;
    font-size: 44px
}

.hero-phone i {
    font-size: 31px
}

.hero-form {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.hero .hero-form {
    background: #ddd;
    padding: 20px;
    margin: -20px;
    margin-top: 20px;
}

.hero-form input,
.hero-form select,
.hero-form textarea {
    flex: 1 1 calc(50% - 10px);
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 16px;
}

.hero-form textarea {
    flex-basis: 100%;
    resize: vertical;
}

.hero-form button {
    flex-basis: 50%;
    background-color: var(--primary);
    color: var(--secondary);
    border: none;
    padding: 10px 20px;
    border-radius: var(--radius);
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    transition: background-color 0.3s ease;
    font-size: 13px;
    text-transform: uppercase
}

.hero-form button:hover {
    background-color: var(--secondary);
    color: var(--primary);
}

#hero-form {
    margin-top: -15px;
    margin-bottom: 15px
}

.hero-right {
    flex: 1 1 380px;
    min-width: 500px;
    text-align: center;
}

/* Marquee traka */
.marquee {
    overflow: hidden;
    white-space: nowrap;
    color: #000;
    /* žuta boja teksta */
    font-size: 1rem;
    padding: 10px 0;
}

.marquee p {
    display: inline-block;
    padding-left: 100%;
    /* prostor pre početka kako bi tekst ušao sa desne strane */
    animation: marquee 20s linear infinite;
    margin: 0;
}

@keyframes marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-100%);
    }
}

/* Marquee za brendove */
.brand-marquee {
    overflow: hidden;
    white-space: nowrap;
    /* tamno‑plava iz palete */
    padding: 8px 0;
    font-family: 'Bebas Neue', sans-serif;
    color: #fff;
    font-size: 2rem;
}

.brand-marquee p {
    display: inline-block;
    padding-left: 100%;
    animation: brand-scroll 15s linear infinite;
    margin: 0;
}

@keyframes brand-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-100%);
    }
}

.hero-right {
    position: relative;
    flex: 1;
    /* take remaining space if .hero is flex */
    min-height: 100%;
    /* allow to grow */

    /* Background with WebP + PNG fallback */
    background-color: var(--primary);
    /* fallback color */
    background-image: url('../images/rescue.png');
    background-image: image-set(url('../images/rescue.webp') type('image/webp'),
            url('../images/rescue.png') type('image/png'));
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
    filter: grayscale(1) opacity(0.9)
}

/* If .hero is the parent container */
.hero {
    display: flex;
    align-items: stretch;
    /* make children equal height */
}

/* Sekcije */
.section {
    padding: 50px 20px;
}

.section h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 20px;
}

/* Obezbeđuje prostor ispod lepljive navigacije kada skačemo na sekcije preko hash linkova */
section,
#hero-form {
    scroll-margin-top: 80px;
    /* prilagodite vrednost visini vaše navigacije */
}

#usluge {
    text-align: justify
}

.usluge-title {
    background: #328dcd;
    padding: 10px
}

#cenovnik:nth-child(3) {
    text-align: center
}

.pad15 {
    padding-bottom: 15px
}

/* Grid za usluge */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 24px;
}

.service-card {
    background-color: var(--accent);
    padding: 20px;
    border-radius: var(--radius);
    text-align: left;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.service-card h3 {
    font-size: 1.6rem;
    line-height: 1.1;
    margin-top: 20px;
}

.service-card img {
    max-width: 100%;
    height: auto
}

.service-grid a {
    color: var(--primary);
    font-weight: bold;
    text-decoration: none;
}

.service-grid a:hover {
    text-decoration: underline;
}

/* Cenovnik */
.price-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.price-table th,
.price-table td {
    border: 1px solid #ddd;
    padding: 8px 12px;
    line-height: 1.1
}

.price-table th {
    background-color: var(--primary);
    color: #fff;
    text-align: center;
}

.price-table td {
    background-color: #fff;
}

/* Blog sekcija */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.blog-card {
    background-color: var(--light-bg);
    padding: 20px;
    border-radius: var(--radius);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.blog-card h3 {
    font-size: 1.4rem;
    margin-bottom: 8px;
}

.blog-card p {
    margin-bottom: 12px;
}

.blog-card a {
    color: var(--primary);
    font-weight: bold;
    text-decoration: none;
}

.blog-grid img {
    max-width: 300px;
    height: auto
}

.blog-card a:hover {
    text-decoration: underline;
}

#why {
    background: #ccc;
    padding-bottom: 70px
}

/* Zašto nas odabrati */
/* WHY list */
.why-list {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 900px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.why-item {
    display: flex;
    align-items: stretch;
    gap: 0;
    /* seamless join */
    border: 1px solid var(--border, #e5e7eb);
    border-radius: var(--radius, 12px);
    overflow: hidden;
    /* keep joined corners clean */
    background: #fff;
    /* overall bg */
    box-shadow: 0 1px 2px rgba(60, 64, 67, .15);
}

/* left column */
.why-key {
    flex: 0 0 280px;
    /* column width; tweak as needed */
    background: #f5f6f7;
    /* soft gray to match site */
    padding: 12px 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    border-right: 1px solid var(--border, #e5e7eb);
    color: #111;
}

/* small check mark, monochrome to fit theme */
.why-key::before {
    content: "✓";
    font-weight: 700;
    line-height: 1;
    opacity: .9;
}

/* right column */
.why-desc {
    flex: 1 1 auto;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    color: #222;
    background: #e1e1e1
}

/* Responsive: stack on small screens */
@media (max-width: 640px) {
    .why-item {
        flex-direction: column;
        border-radius: var(--radius, 12px);
    }

    .why-key {
        flex: 0 0 auto;
        border-right: 0;
        border-bottom: 1px solid var(--border, #e5e7eb);
        border-radius: var(--radius, 12px) var(--radius, 12px) 0 0;
    }

    .why-desc {
        border-radius: 0 0 var(--radius, 12px) var(--radius, 12px);
    }
}


/* Reon tagovi */
.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
    flex-direction: row !important
}

.tags span {
    background-color: var(--primary);
    color: #fff;
    padding: 5px 10px;
    border-radius: var(--radius);
}

#recenzije {
    background: #ccc
}

:root {
    --card-bg: #fff;
    --muted: #5f6368;
    --shadow: 5px 5px 10px rgba(60, 64, 67, .5), 5px 5px 10px rgba(60, 64, 67, .5);
    --star: #fbbc04;
}

/* Grid */
.reviews-grid {
    display: flex;
    flex-direction: column;
    gap: 25px;
    max-width: 800px;
    margin: 0 auto;
}

/* Card */
.review-card {
    background: var(--card-bg);
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 16px 20px;
    font-family: Roboto, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}

/* Header */
.review-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 6px;
}

.review-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #C3CAD6;
    color: #5f6368;
    display: grid;
    place-items: center;
    font-weight: 600;
    letter-spacing: .3px;
}

.review-name {
    font-weight: 600;
    line-height: 1.2;
}

.review-meta {
    margin-top: 2px;
    font-size: .9rem;
    color: var(--muted);
}

/* Stars */
.stars {
    display: inline-flex;
    gap: 2px;
    vertical-align: middle;
}

.stars svg {
    width: 18px;
    height: 18px;
    fill: var(--star);
}

/* Body */
.review-text {
    margin: 6px 0 0;
    line-height: 1.6;
    font-size: 1rem;
}

/* Link */
.g-link {
    text-decoration: none;
    background: var(--accent);
    padding: 10px;
    color: var(--primary);
    border-radius: 10px;
    font-size: 15px;
}

/* FAQ (akordeon) */
.accordion {
    max-width: 600px;
    margin: 0 auto
}

.accordion .accordion-item {
    margin-bottom: 8px;
}

.accordion-header {
    width: 100%;
    background-color: var(--secondary);
    color: var(--primary);
    padding: 10px;
    border: none;
    text-align: left;
    border-radius: var(--radius);
    cursor: pointer;
    font-size: 1rem;
}

.accordion-header:hover {
    background-color: var(--accent);
    color: var(--primary);
}

.accordion-content {
    display: none;
    background-color: var(--light-bg);
    padding: 20px;
    border-radius: 0 0 var(--radius) var(--radius);
    border: 1px solid #ddd;
    border-top: none;
}

.accordion-header[aria-expanded=\"true\"] + .accordion-content {
    display: block;
}

/* Kontakt sekcija */
#kontakt {
    position: relative;
    flex: 1;
    /* take remaining space if .hero is flex */
    min-height: 100%;
    /* allow to grow */

    /* Background with WebP + PNG fallback */
    background-color: var(--primary);
    /* fallback color */
    background-image: url('../images/rescue.png');
    background-image: image-set(url('../images/rescue.webp') type('image/webp'),
            url('../images/rescue.png') type('image/png'));
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
    filter: grayscale(0.4) opacity(1)
}

#kontakt h2 {
    text-align: left;
    padding-top: 10px
}

.contact-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.contact-info,
.contact-form {
    flex: 1 1 300px;
}

.contact-form {
    background: #999;
    padding: 15px
}

.contact-form h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.ma-logo {
    max-width: 180px;
    height: auto;
    display: block;
    margin: 0 auto
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 16px
}

.contact-form button {
    background-color: var(--primary);
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: var(--radius);
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.contact-form button:hover {
    background-color: var(--accent);
    color: var(--primary);
}

.contact-info {
    background: #fff;
    padding: 15px;
    opacity: .85
}

.contact-info p {
    margin-bottom: 10px !important
}

.contact-info a {
    text-decoration: none;
    color: var(--primary);
}

.contact-info a:hover {
    text-decoration: none;
    color: var(--secondary);
}

/* Footer */
.site-footer {
    background-color: var(--secondary);
    color: var(--primary);
    padding: 40px 0;
    border-top: 1px solid #000;
    padding-bottom: 80px
}

.site-footer .container {
    background-color: var(--secondary);
}

.site-footer .navbar-logo {
    margin-left: 0
}

.footer-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.footer-col {
    flex: 1 1 200px;
}

.footer-col h4 {
    font-family: 'Bebas Neue', sans-serif;
    margin-bottom: 8px;
    font-size: 1.7rem
}

.site-footer a {
    color: var(--primary);
    text-decoration: none !important;
}

.footer-col a:hover {
    text-decoration: underline;
}

@media (max-width: 1200px) {
    .hero {
        padding: 20px;
        padding-top: 100px;
        margin-left: -10px
    }
}

/* Responsivnost */
@media (max-width: 768px) {
    .h1-1 {
        width: 60%
    }

    .h1-2 {
        padding: 30px 15px 10px 15px;
        width: 40%
    }

    .hero {
        display: block;
        margin: -20px;
        padding-top: 25px!important
    }

    .hero-cta {
        margin: 0 auto;
        text-align: center
    }

    .hero-right {
        min-width: 200px !important;
        margin-top: -5px
    }

    .hero-inner {
        flex-direction: column;
        text-align: center;
        padding: 0
    }

    body > main > section.hero > div > div.hero-left > p:nth-child(3) {
        margin-top: 80px
    }

    #hero-form {
        background: #999;
        margin-top: -10px
    }

    #hero-form button {
        flex-basis: 100%;
    }

    .hero-form input,
    .hero-form select,
    .hero-form textarea {
        flex-basis: 100%;
    }

    .navbar-menu {
        gap: 10px;
    }

    .service-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        flex-direction: column;
    }

    #usluge {
        padding-top: 20px
    }

    .usluge-title {
        padding-top: 10px;
        margin-top: 20px;
        margin-bottom: 20px !important
    }

    #kontakt {
        background-position: left;
        padding-top: 80px;
        padding-bottom: 80px
    }

    #kontakt h2 {
        padding-top: 50px
    }

}

#saveti {
    background: #ccc
}

/* Sekcija za društvene mreže */
#social h2 {
    text-align: center;
    margin-bottom: 10px;
    font-family: 'Bebas Neue', sans-serif;
}

.social-embeds {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    flex-direction: row !important
}

.social-embeds blockquote.instagram-media,
.social-embeds .fb-post {
    width: 100%;
    max-width: 340px;
    /* Instagram je uži po defaultu */
    border: none;
    height: 400px
}

.desktop {
    display: block
}

.mobile {
    display: none
}

@media (min-width: 600px) {

    .social-embeds blockquote.instagram-media,
    .social-embeds .fb-post {
        max-width: 340px;
    }
}

/* GLOBALNA PODESAVANJA ZA MANJE EKRANE */
@media (max-width: 768px) {

    .desktop {
        display: none
    }

    .mobile {
        display: block
    }

    body {
        font-size: 16px;
        padding: 0;
    }

    h1,
    h3 {
        line-height: 1
    }

    h2 {
        padding-top: 10px;
        line-height: 1.1
    }

    .hero-left h2 {
        padding-top: 0;
    }

    .hero-form h2 {
        padding-top: 0
    }

    header {
        padding: 10px 15px;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    nav {
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 10px;
    }

    .navbar-branding {
        padding-top: 0;
        margin-bottom: -43px;
        max-width: 180px;
        margin-top: -20px;
        margin-left: 10px;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1rem;
        padding-top: 25px;
        padding-bottom: 0
    }

    .hero-inner {
        gap: 0
    }

    .hero-left,
    .hero-right {
        width: 100%;
        max-width: 100%;
    }

    .hero-left h1 {
        font-size: 2.2rem;
        line-height: 2rem;
    }

    .h1-1,
    .h1-2 {
        min-height: 90px;
    }

    .h1-2 {
        font-size: 2.2rem;
        line-height: 2rem;
    }

    .hero-phone {
        font-size: 1rem;
        text-align: center;
        margin: 0 auto;
    }

    .hero-phone a {
        font-size: 2.5rem
    }

    .hero-right img {
        max-width: 100%;
        margin: 0 auto;
    }

    #reon,
    #recenzije,
    #saveti {
        padding-bottom: 40px
    }

    #why,
    #faq {
        padding-bottom: 30px
    }

    .tags {
        flex-direction: row !important
    }

    .price-table th,
    .price-table td {
        padding: 8px 2px;
    }

    .card {
        width: 100%;
        max-width: 100%;
        padding: 1rem;
    }

    .columns {
        flex-direction: column;
        gap: 1.5rem;
    }

    .marquee,
    .brands-marquee {
        font-size: 1rem;
        padding: 10px;
    }

    .faq-item h3 {
        font-size: 1rem;
    }

    .contact-info,
    .contact-form {
        flex: 1 1 0;
        text-align: center
    }

    form {
        padding: 1rem;
    }

    form input,
    form textarea,
    form select {
        font-size: 1rem;
    }

    footer {
        text-align: center;
        padding: 1rem;
        font-size: 0.9rem;
    }

    .fb_iframe_widget {
        display: none !important
    }

    .cta {
        margin: -31px;
    }

    .hero-cta {
        width: 100%;
        position: relative;
        left: unset;
        bottom: unset;
        min-height: unset;
        padding-top: 15px
    }

    .izlazak {
        position: relative;
        right: unset;
        bottom: unset;
        width: 100%;
        min-height: unset;
        padding-bottom: 10px
    }

    .cta p {
        padding-bottom: 5px
    }
}

@media (max-width: 414px) {
    .hero-left h1 {
        margin-bottom: 80px
    }
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.columns,
.tags,
.social-embeds {
    flex-direction: column;
    align-items: center;
}

/* Reset and base navbar styling */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.2rem 1rem;
    position: fixed;
    width: 100%;
    min-height: 100px
}

.navbar-branding {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.navbar-logo {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    color: #130c16;
    text-decoration: none;
    margin-left: 10px;
    margin-top: -55px;
}

.nav-links {
    display: flex;
    gap: 1rem;
}

.nav-links a {
    color: #130c16;
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    padding-right: 10px;
}

.nav-links a:last-child {
    padding-right: 0
}

.nav-links a:hover {
    color: #130c16
}

/* Hamburger menu */
.hamburger {
    font-size: 1.8rem;
    color: #130c16;
    cursor: pointer;
    display: none;
}

.nav-toggle {
    display: none;
}

/* Mobile view */
@media (max-width: 768px) {
    nav {
        background: var(--accent) !important
    }

    .navbar-branding .avatar img {
        max-width: 45px;
        top: 16px;
        display: none
    }

    .navbar-logo {
        font-size: 43px;
        margin-left: -20px;
        margin-top: -30px
    }

    .hamburger {
        display: block;
        margin-right: -10px
    }

    .nav-links {
        display: none;
        flex-direction: column;
        background-color: #003f7d;
        position: absolute;
        top: 48px;
        right: 0;
        width: 100%;
        padding: 1rem;
        box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
    }

    .nav-toggle:checked + .hamburger + .nav-links {
        display: flex;
    }

    .nav-links a {
        padding: 10px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        font-size: 1.1rem;
        color: var(--white)
    }

    .nav-links a:last-child {
        border-bottom: none;
    }

    .navbar {
        flex-direction: row;
        position: relative
    }

    .sati {
        position: absolute;
        right: 5px;
        top: -15px;
        background: #328dcd;
        color: black;
        font-size: 14px;
        padding: 5px;
        border: 1px solid #000;
        border-radius: 10px;
        text-transform: none;
        font-style: italic;
    }
}

/* === Desktop-only nav rows === */
.navbar-desktop {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: 5px;
}

.navbar-desktop .top-row {
    display: flex;
    gap: 5px;
    align-items: center;
    font-size: 0.95rem;
    font-weight: bold;
}

.navbar-desktop .top-row .insta {
    padding-left: 25px !important
}

.navbar-desktop .top-row .mreza {
    padding-left: 5px
}

.navbar-desktop .top-row a {
    color: #130c16;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 0 2px
}

.navbar-desktop .bottom-row {
    display: flex;
    gap: 1.3rem;
}

.navbar-desktop .bottom-row a {
    color: #130c16;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    padding: 0 2px
}

.navbar-desktop .top-row a:hover,
.navbar-desktop .bottom-row a:hover {
    color: var(--accent);
    background: #130c16
}

body > header > div.navbar-desktop > div.top-row > a.insta.mreza:hover,
body > header > div.navbar-desktop > div.top-row > a:nth-child(4):hover,
body > header > div.navbar-desktop > div.top-row > a:nth-child(5):hover {
    color: #130c16;
    background: var(--accent);
}

/* === Show only on desktop === */
@media (max-width: 768px) {
    .navbar-desktop {
        display: none !important;
    }
}

/* === Hide hamburger menu and mobile nav on desktop === */
@media (min-width: 769px) {

    .hamburger,
    .nav-toggle,
    .nav-links {
        display: none !important;
    }
}

/* ===== Mobile Bottom CTA Bar (scoped styles) ===== */

/* Hidden on desktop by default */
.mobile-cta-bar {
    position: fixed;
    left: -20px;
    right: 31px;
    bottom: 11px;
    grid-template-columns: 1fr 1fr;
    height: 64px;
    z-index: 9999;
    --ar-black: #000000;
    background: none!important;
    max-width: 300px
}

/* Only show on small screens; add safe padding to body when bar is present */
@media (max-width: 768px) {
    .mobile-cta-bar {
        display: block;
    }

    body.has-mobile-cta {
        padding-bottom: calc(64px + env(safe-area-inset-bottom));
    }
}

/* Buttons fill each half */
.mobile-cta-bar .cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    width: 100%;
    height: 100%;
    padding: 0 12px;
    padding-bottom: env(safe-area-inset-bottom);

    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: .3px;
    font-family: inherit;
    /* no global font clash */
    font-weight: 700;
    font-size: 14px;
    line-height: 1;

    -webkit-tap-highlight-color: transparent;
    user-select: none;
    touch-action: manipulation;
}

.mobile-cta-bar .cta-btn i {
    font-size: 23px;
}

/* Colorways */
.mobile-cta-bar .book {
    background: var(--accent);
    color: var(--primary);
}

.mobile-cta-bar .call {
    color: #fff;

}

/* Interaction */
.mobile-cta-bar .cta-btn:active {
    transform: translateY(1px);
}

.mobile-cta-bar .cta-btn:focus-visible {
    outline: 2px solid #fff;
    outline-offset: -4px;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, .25) inset;
}

/* Slightly larger targets on touch devices */
@media (pointer: coarse) {
    .mobile-cta-bar .cta-btn {
        font-size: 25px;
    }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    .mobile-cta-bar .cta-btn {
        transition: none;
    }
}

@media (max-width: 768px) {
    .nav-toggle:checked + .hamburger + .nav-links {
        display: flex;
    }

    .nav-links.show {
        display: flex;
    }

    /* class fallback JS can control */
}