/* Poruka o uspješnom slanju forme */
.form-success-msg {
    text-align: center;
    font-size: 1.05rem;
    margin-bottom: 0.7rem;
    color: #1bbf00;
    font-weight: bold;
}

/* Katalog download button */
.katalog-download-btn {
    display: inline-block;
    margin: 2rem auto 0 auto;
    padding: 0.7rem 2.2rem;
    background: #c80000;
    color: #fff;
    border: none;
    border-radius: 18px;
    font-size: 1.1rem;
    font-weight: bold;
    text-decoration: none;
    box-shadow: 0 2px 12px #0002;
    transition: background 0.2s, color 0.2s;
    cursor: pointer;
    text-align: center;
}
.katalog-download-btn:hover, .katalog-download-btn:focus {
    background: #a00000;
    color: #fff;
}
@media (max-width: 900px) {
    .hero-cta {
        width: 70vw;
        max-width: 220px;
        min-width: 120px;
        font-size: 1rem;
        padding: 0.5rem 1.2rem;
        border-radius: 16px;
    }
}
@media (max-width: 900px) {
    .hero {
        background: #18191c !important;
    }
    .hero-cta {
        width: 80vw;
        max-width: 220px;
        min-width: 110px;
        font-size: 1rem;
        padding: 0.45rem 1rem;
        border-radius: 16px;
        background: #fff;
        color: #c80000;
        border: 2px solid #111;
        box-shadow: 0 2px 8px #0001;
        margin: 1.1rem auto 1.1rem auto;
        display: block;
        text-align: center;
        text-decoration: none;
        font-weight: bold;
        letter-spacing: 0.5px;
    }
    .hero-cta:hover, .hero-cta:focus {
        background: #c80000;
        color: #fff;
        border: 2px solid #c80000;
    }
}
@media (max-width: 900px) {
    header {
        position: sticky;
        top: 0;
        z-index: 1000;
        width: 100vw;
        background: #fff;
        box-shadow: 0 2px 8px #0001;
    }
    body {
        padding-top: 76px; /* prilagodi po visini headera na mobitelu */
    }
}
/* HERO FLEX LAYOUT: slika lijevo, gumb desno */
.hero-flex-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    min-height: 340px;
}
.hero-img-fade-wrap {
    flex: 1 1 50%;
    min-width: 0;
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    padding-top: 3vw;
    margin: 0;
    max-width: 50vw;
    min-height: 260px;
}
.hero-cta-wrap {
    flex: 1 1 50%;
    display: flex;
    align-items: stretch;
    justify-content: flex-end;
    min-width: 0;
    max-width: 50vw;
    padding-bottom: 0;
}
/* .hero-cta stilovi */
.hero-cta {
    width: auto;
    min-width: 180px;
    max-width: 100%;
    margin: 0;
    align-self: center;
    background: #fff;
    color: #c80000;
    border: 2px solid #111;
    border-radius: 20px;
    padding: 0.6rem 2.5rem;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 2px 8px #0001;
    transition: background 0.2s, color 0.2s, border 0.2s;
    letter-spacing: 0.5px;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    outline: none;
    text-decoration: none;
}
.hero-cta:hover, .hero-cta:focus {
    background: #c80000;
    color: #fff;
    border: 2px solid #c80000;
    box-shadow: 0 2px 8px #0002;
    transform: none;
}
@media (max-width: 900px) {
    .hero-cta-wrap {
        max-width: 98vw;
        width: 100%;
        padding-bottom: 0;
    }
    .hero-cta {
        width: 22vw;
        max-width: 54px;
        min-width: 32px;
        font-size: 0.48rem;
        border-radius: 0 0 10px 10px;
        min-height: 18px;
        padding: 0.12rem 0.12rem;
        margin: 0.4rem auto 0.4rem auto;
        display: block;
        text-align: center;
        align-self: center;
    }
    .hero-img-main {
        max-width: 90vw !important;
        width: auto !important;
        height: auto;
        display: block;
        margin-left: 2vw;
        margin-right: auto;
    }
}
.hero-img-fade-wrap {
    flex: 1 1 50%;
    min-width: 0;
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 3vw 0 0 0;
    margin: 0;
    max-width: 50vw;
    min-height: 260px;
}
.hero-cta-wrap {
    flex: 1 1 50%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    min-width: 0;
    max-width: 50vw;
    padding-bottom: 2.5vw;
}
.hero-cta {
    margin: 0;
    align-self: flex-end;
    /* ...ostali stilovi ostaju... */
}
.hero-img-fade-wrap {
    flex: 1 1 50%;
    min-width: 0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 2vw 0 0 0;
    margin: 0;
    max-width: 50vw;
    min-height: 260px;
}
.hero-img-fade-wrap {
    flex: 1 1 50%;
    min-width: 0;
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding: 0;
    margin: 0;
    max-width: 50vw;
}
.hero-img-main {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    z-index: 1;
    border-radius: 0 0 24px 24px;
    box-shadow: 0 4px 32px #0003;
    margin: 0;
}
.hero-cta-wrap {
    flex: 1 1 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    max-width: 50vw;
}
.hero-cta {
    margin: 0;
    align-self: center;
    background: #fff;
    color: #c80000;
    border: 2px solid #111;
    border-radius: 20px;
    padding: 0.6rem 2.5rem;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 2px 8px #0001;
    transition: background 0.2s, color 0.2s, border 0.2s;
    letter-spacing: 0.5px;
    z-index: 3;
}
.hero-cta:hover {
    background: #c80000;
    color: #fff;
    border: 2px solid #c80000;
}
@media (max-width: 900px) {
    .hero-flex-row {
        flex-direction: column;
        min-height: 0;
        max-width: 98vw;
    }
    .hero-img-fade-wrap, .hero-cta-wrap {
        max-width: 98vw;
        width: 100%;
    }
    .hero-img-main {
        max-width: 98vw;
    }
    .hero-cta {
        margin: 1.2rem auto 1.2rem auto;
        width: 90vw;
        max-width: 350px;
        display: block;
    }
}
html, body {
    overflow-x: hidden !important;
}
.hero {
    overflow-x: hidden !important;
}
/* Katalog preview stil */
.katalog-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 2.5rem 0 2rem 0;
}
.katalog-section h1 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #000000;
    text-align: center;
}
.katalog-preview-box {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 32px #0002;
    padding: 1.2rem 1.2rem 1.5rem 1.2rem;
    margin-bottom: 1.5rem;

        padding: 0.5rem;
    }

.katalog-iframe {
    min-height: 700px;
    min-width: 1000px;
    width: 90% !important;
    max-width: 90% !important;
    border-radius: 0;
    box-shadow: 0 4px 32px #0002;
    display: block;
    margin-left: auto;
    margin-right: auto;
    transform: none;
}
@media (max-width: 900px) {
    .katalog-iframe {
        min-height: 340px;
        width: 98vw !important;
        max-width: 100vw !important;
        min-width: 0 !important;
        border-radius: 0;
        margin-left: -2vw;
    }
}
@media (max-width: 600px) {
    .katalog-iframe {
        min-height: 60vh !important;
        height: 60vh !important;
        width: 100vw !important;
        max-width: 100vw !important;
        min-width: 0 !important;
        border-radius: 0;
        margin-left: -4vw;
    }
}

/* Kontakt forma stil */
.kontakt-section {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 2.5rem 0 2rem 0;
}
.kontakt-forma {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 32px #0002;
    padding: 2.2rem 2rem 1.5rem 2rem;
    max-width: 400px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin: 0 auto;
}
.kontakt-forma label {
    font-size: 0.98rem;
    font-weight: 500;
    margin-bottom: 0.2rem;
    color: #222;
}
.kontakt-forma input,
.kontakt-forma textarea {
    border: 1.5px solid #ddd;
    border-radius: 8px;
    padding: 0.5rem 0.7rem;
    font-size: 1rem;
    font-family: inherit;
    background: #fafbfc;
    transition: border 0.2s;
}
.kontakt-forma input:focus,
.kontakt-forma textarea:focus {
    border: 1.5px solid #c80000;
    outline: none;
}
.kontakt-forma textarea {
    resize: vertical;
    min-height: 80px;
    max-height: 200px;
}
.pregled-poruke {
    background: #f6f8fa;
    border-radius: 8px;
    padding: 0.7rem 1rem 0.7rem 1rem;
    font-size: 0.97rem;
    color: #222;
    margin-bottom: 0.5rem;
    border: 1px solid #e0e0e0;
}
.pregled-poruke b {
    font-size: 1.01rem;
}
.posalji-btn {
    margin-top: 0.7rem;
    background: #fff;
    color: #c80000;
    border: 2px solid #111;
    border-radius: 20px;
    padding: 0.6rem 0;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 2px 8px #0001;
    transition: background 0.2s, color 0.2s, border 0.2s;
    width: 100%;
    letter-spacing: 0.5px;
}
.posalji-btn:hover {
    background: #c80000;
    color: #fff;
    border: 2px solid #c80000;
}
@media (max-width: 600px) {
    .hero {
        background: #18191c;
    }
}

@media (max-width: 900px) {
    html, body {
        overflow-x: hidden !important;
        width: 100vw !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    .hero {
        width: 100vw !important;
        margin: 0 !important;
        padding: 0 !important;
        box-sizing: border-box !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        background: #18191c !important;
    }
    .slider {
        width: 100vw !important;
        max-width: 100vw !important;
        margin: 0 !important;
        padding: 0 !important;
        box-sizing: border-box !important;
        border-radius: 0 0 16px 16px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    .slider-img {
        margin: 0 auto !important;
        max-width: 80vw !important;
        display: block !important;
    }
    .cta-btn {
        width: 90vw !important;
        max-width: 350px !important;
        margin: 1.2rem auto 0 auto !important;
        display: block !important;
    }
    main {
        margin: 0 !important;
        padding: 0 !important;
        width: 100vw !important;
        box-sizing: border-box !important;
    }
}
/* Sidebar za mobilni format */
.mobile-sidebar {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 80vw;
    max-width: 320px;
    height: 100vh;
    background: #18191c;
    color: #fff;
    z-index: 1001;
    box-shadow: 2px 0 16px #0005;
    padding: 2.2rem 1.5rem 1.5rem 1.5rem;
    flex-direction: column;
    gap: 2rem;
    transition: transform 0.3s cubic-bezier(.4,0,.2,1);
    transform: translateX(-100%);
}
.mobile-sidebar.open {
    display: flex;
    transform: translateX(0);
}
.mobile-sidebar nav ul {
    flex-direction: column;
    gap: 1.2rem;
}
.mobile-sidebar nav a {
    color: #fff;
    font-size: 1.3rem;
    border: none;
    background: none;
    padding: 0;
}
.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #0007;
    z-index: 1000;
}
.sidebar-overlay.open {
    display: block;
}
.hamburger {
    display: none;
    position: absolute;
    right: 1.2rem;
    top: 1.2rem;
    width: 38px;
    height: 38px;
    background: none;
    border: none;
    z-index: 1100;
    cursor: pointer;
}
.hamburger span, .hamburger span:before, .hamburger span:after {
    display: block;
    position: absolute;
    width: 28px;
    height: 4px;
    background: #111;
    border-radius: 2px;
    transition: all 0.3s;
    left: 5px;
}
.hamburger span {
    top: 17px;
}
.hamburger span:before {
    content: '';
    top: -10px;
}
.hamburger span:after {
    content: '';
    top: 10px;
}
@media (max-width: 900px) {
    .container.header-flex nav {
        display: none;
    }
    .hamburger {
        display: block;
    }
    .mobile-sidebar {
        display: flex;
        flex-direction: column;
    }
    .proizvodi-grid-2col {
        grid-template-columns: 1fr !important;
        gap: 0.8rem 0 !important;
        padding: 0.7rem 0.5rem !important;
    }
    .proizvod-kartica {
        flex-direction: column !important;
        align-items: center !important;
            padding: 1rem !important;
        gap: 0.7rem !important;
        min-height: 120px !important;
            margin: 1rem !important;
        font-size: 0.95rem !important;
    }
    /* HERO LAYOUT - pomak lijevo i centriranje gumba */
    .hero-img-fade-wrap {
        position: relative;
        width: 100%;
        max-width: 900px;
        margin: 0 auto;
        min-height: 260px;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-end;
        padding-left: 4vw;
    }
    .hero-img-main {
        width: 100%;
        max-width: 600px;
            .hero {
                display: flex;
                flex-direction: column;
                align-items: center;
                justify-content: center;
                text-align: center;
                padding: 1.2rem 0 2rem 0;
            }
            .slider {
                max-width: 98vw;
                width: 100%;
                margin: 0 0 1.2rem 0;
                box-sizing: border-box;
                padding: 0;
            }
            .slider-img {
                margin: 0 0.5rem;
                max-width: 80vw;
            }
            .cta-btn {
                width: 90vw;
                max-width: 350px;
                margin: 0 auto;
                display: block;
            }
            main {
                margin: 0;
                padding: 0;
                width: 100vw;
                box-sizing: border-box;
            }
            max-width: 98vw;
        }
        .hero-cta {
            margin: 1.2rem auto 1.2rem auto;
            width: 90vw;
            max-width: 350px;
            display: block;
        }
    }
    
    .centered-section p {
        font-size: 0.98rem !important;
        line-height: 1.4 !important;
        max-width: 95vw !important;
    }


/* Centriranje sekcije O nama */
.centered-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 1.2rem auto;
    padding: 0.5rem 1rem 1.2rem 1rem;
    background: none;
}
.centered-section h1 {
    font-size: 2.2rem;
    margin-bottom: 1.2rem;
    margin-top: 0;
    font-weight: bold;
    letter-spacing: 1.5px;
}
.centered-section p {
    font-size: 1.15rem;
    line-height: 1.7;
    color: #222;
    margin: 0;
    max-width: 800px;
}
body {
    zoom: 1.2;
}
html {
    font-size: 120%;
}
/* Footer */
.footer {
    background: #18191c;
    color: #fff;
    padding: 2.5rem 0 1.5rem 0;
    margin-top: 3rem;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    box-sizing: border-box;
}
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    gap: 3rem;
    flex-wrap: wrap;
    text-align: center;
}
.footer-links h4, .footer-info h4 {
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 1px;
}
.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links ul li {
    margin-bottom: 0.7rem;
}
.footer-links a {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.2s;
}
.footer-links a:hover {
    color: #ffb300;
}
.footer-info p {
    margin: 0 0 0.5rem 0;
    font-size: 1rem;
    color: #e0e0e0;
}
@media (max-width: 900px) {
    .footer-container {
        flex-direction: column;
        gap: 2rem;
        align-items: center;
        text-align: center;
    }
    .footer {
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        left: 0;
        right: 0;
        width: 100vw;
    }
    html, body {
        overflow-x: hidden !important;
    }
}
/* Grid za dva stupca i veće kartice proizvoda na naslovnici */
.proizvodi-grid-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 0;
}
.proizvod-kartica {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 32px #0002;
    display: flex;
    flex-direction: row;
    align-items: center;
    min-height: 260px;
    padding: 1.5rem 2.2rem;
    gap: 2.2rem;
    transition: box-shadow 0.2s, transform 0.2s;
}
.proizvod-kartica:hover {
    box-shadow: 0 8px 40px #0003;
    transform: translateY(-4px) scale(1.01);
}
.proizvod-slika-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 200px;
    min-height: 200px;
    max-width: 260px;
    max-height: 260px;
    background: none;
    border-radius: 12px;
    box-shadow: none;
    margin-right: 1.2rem;
    flex-shrink: 0;
}
.proizvod-slika-link img {
    max-width: 220px;
    max-height: 180px;
    width: 100%;
    height: auto;
    object-fit: contain;
}
.proizvod-info {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    text-align: left;
    padding: 0.5rem 0.5rem 0 0.5rem;
}
.naziv-link {
    text-decoration: none;
}
.naziv {
    font-weight: bold;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: #222;
    letter-spacing: 1px;
}
.dostupno {
    color: #1bbf00;
    font-size: 1rem;
    font-weight: 600;
}
@media (max-width: 900px) {
    .proizvodi-grid-2col {
        grid-template-columns: 1fr;
        gap: 1.5rem 0;
        padding: 0.5rem 0;
    }
    .proizvod-kartica {
        flex-direction: column;
        align-items: center;
        padding: 1.2rem 0.7rem;
        gap: 1.2rem;
        min-height: 180px;
    }
    .proizvod-info {
        align-items: center;
        text-align: center;
    }
    .proizvod-slika-link {
        margin-right: 0;
        min-width: 120px;
        min-height: 120px;
    }
}
.proizvod-stranica {
    background: #f7fafd;
    min-height: 100vh;
    padding: 2.5rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.proizvod-detalji {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 32px #0002;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    max-width: 1400px;
    width: 90vw;
    min-height: 340px;
    margin: 0 auto;
    padding: 2.5rem 2.5rem 2rem 2.5rem;
    gap: 2.5rem;
}
/* Slider stil za kajla */
.slider-wrap {
    flex: 0 0 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    box-shadow: none;
    min-width: 320px;
    min-height: 320px;
    margin-right: 1.5rem;
    position: relative;
    gap: 0.5rem;
}
.slider-wrap img {
    max-width: 370px;
    max-height: 320px;
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 2px 12px #0001;
    background: none;
}
.slider-arrow {
    background: rgba(255,255,255,0.85);
    border: none;
    color: #c80000;
    font-size: 2.2rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 8px #0002;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s;
    position: relative;
    z-index: 2;
}
.slider-arrow:hover {
    background: #c80000;
    color: #fff;
}
.proizvod-info {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1rem 0.5rem 0 0.5rem;
}
.proizvod-info h2 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    margin-top: 0;
    letter-spacing: 1px;
}
.proizvod-info .dostupno {
    color: #1bbf00;
    font-size: 1rem;
    margin-bottom: 0.7rem;
    font-weight: 600;
}
.proizvod-info p {
    font-size: 0.98rem;
    color: #222;
    margin-bottom: 1.2rem;
    margin-top: 0.2rem;
    line-height: 1.5;
    max-width: 900px;
}
.proizvod-info .kolicina {
    font-size: 0.95rem;
    color: #444;
    margin-bottom: 1.2rem;
}
.proizvod-info .cta-btn {
    background: #fff;
    color: #c80000;
    border: 1.5px solid #c80000;
    border-radius: 20px;
    padding: 0.5rem 2rem;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 2px 8px #0001;
    transition: background 0.2s, color 0.2s, border 0.2s;
}
.proizvod-info .cta-btn:hover {
    background: #c80000;
    color: #fff;
    border: 1.5px solid #c80000;
}
@media (max-width: 900px) {
    .proizvod-detalji {
        flex-direction: column;
        align-items: center;
        padding: 1.5rem 0.5rem 1.5rem 0.5rem;
        gap: 1.5rem;
    }
    .slider-wrap {
        margin-right: 0;
        min-width: 98vw;
        min-height: 180px;
        max-width: 98vw;
    }
    .slider-wrap img {
        max-width: 98vw;
        min-width: 0;
        min-height: 120px;
    }
    .proizvod-info p {
        max-width: 98vw;
    }
}
/* Osnovni stilovi za RI-NI Trade klon */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f4f4f4;
    color: #222;
}



header {
    
    background: #fff;
    color: #111;
    padding: 0;
    box-shadow: 0 2px 8px #0001;
    position: sticky;
    top: 0;
    z-index: 100;
}
.container.header-flex {
    
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0.5rem 2rem;
}
.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: bold;
    font-size: 1.2rem;
}
nav ul {
    list-style: none;
    display: flex;
    gap: 1rem;
    margin: 0;
    padding: 0;
}
nav a {
    color: #111;
    text-decoration: none;
    border: 1px solid #111;
    border-radius: 16px;
    padding: 0.3rem 1.1rem;
    font-size: 0.95rem;
    background: #fff;
    transition: background 0.2s, color 0.2s;
    font-weight: 500;
    margin-left: 0.2rem;
    box-shadow: none;
}
nav a.active, nav a[aria-current="page"] {
    background: #111 !important;
    color: #fff !important;
    border: 1px solid #111 !important;
}
nav a:hover, nav a:focus, nav a:active {
    background: #111 !important;
    color: #fff !important;
    border: 1px solid #111 !important;
}

.hero {
    background: linear-gradient(120deg, #c80000 0%, #ffb300 100%);
    padding: 2rem 0 2.5rem 0;
    text-align: left;
    position: relative;
}
.hero .cta-btn, .hero .catalog-btn {
    background: #fff;
    color: #111;
    border: 1.5px solid #111;
    border-radius: 20px;
    padding: 0.5rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    margin-right: 0.7rem;
    margin-top: 1rem;
    transition: background 0.2s, color 0.2s, border 0.2s;
    box-shadow: 0 2px 8px #0001;
}
.hero .cta-btn.active, .hero .catalog-btn.active {
    background: #111;
    color: #fff;
    border: 1.5px solid #111;
}
.hero .cta-btn:hover, .hero .catalog-btn:hover {
    background: #f2f2f2;
    color: #111;
}

/* Grid proizvoda ostaje isti */


.hero {
    position: relative;
    background: #18191c;
    padding: 0;
    min-height: 340px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: stretch;
    overflow: hidden;
}
.hero-img-fade-wrap {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    min-height: 260px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}
.hero-img-main {
    width: 100%;
    max-width: 600px;
    height: auto;
    display: block;
    z-index: 1;
    border-radius: 0 0 24px 24px;
    box-shadow: 0 4px 32px #0003;
}
.hero-fade-overlay {
    position: absolute;
    left: 0; right: 0; bottom: 0; top: 0;
    pointer-events: none;
    background: linear-gradient(to bottom, rgba(24,25,28,0) 66%, #18191c 100%);
    z-index: 2;
    border-radius: 0 0 24px 24px;
}
.hero-cta {
    align-self: flex-end;
    margin: 2.2rem 3.5vw 2.2rem 0;
    background: #fff;
    color: #c80000;
    border: 2px solid #111;
    border-radius: 20px;
    padding: 0.6rem 2.5rem;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 2px 8px #0001;
    transition: background 0.2s, color 0.2s, border 0.2s;
    letter-spacing: 0.5px;
    z-index: 3;
}
.hero-cta:hover {
    background: #c80000;
    color: #fff;
    border: 2px solid #c80000;
}
@media (max-width: 900px) {
    .hero-img-fade-wrap {
        max-width: 98vw;
        min-height: 180px;
    }
    .hero-img-main {
        max-width: 98vw;
    }
    .hero-cta {
        align-self: center;
        margin: 1.2rem auto 1.2rem auto;
        width: 90vw;
        max-width: 350px;
        display: block;
    }
}

main {
    background: #f7fafd;
    min-height: 60vh;
}

@media (max-width: 900px) {
    .hero {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        padding: 1.2rem 0 2rem 0 !important;
    }
    .slider {
        max-width: 98vw !important;
        width: 100% !important;
        margin: 0 0 1.2rem 0 !important;
        box-sizing: border-box !important;
        padding: 0 !important;
    }
    .slider-img {
        margin: 0 0.5rem !important;
        max-width: 80vw !important;
    }
    .cta-btn {
        width: 90vw !important;
        max-width: 350px !important;
        margin: 0 auto !important;
        display: block !important;
    }
}
.proizvodi {
    padding: 2rem 0 3rem 0;
    text-align: center;
}
.proizvodi h2 {
    margin-bottom: 2rem;
    font-size: 1.3rem;
    letter-spacing: 1px;
}
.proizvodi-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}
.proizvod {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 12px #0001;
    padding: 2rem 1.5rem 1.2rem 1.5rem;
    width: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.2s, box-shadow 0.2s;
}
.proizvod:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 6px 24px #0002;
}
.proizvod img {
    max-width: 120px;
    max-height: 90px;
    margin-bottom: 1rem;
}
.naziv {
    font-weight: bold;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}
.dostupno {
    color: #1bbf00;
    font-size: 0.9rem;
}


