* {
    margin: 0px;
    padding: 0px;
}

/* --- FLOAT CLEARFIX FIX --- */
.row::after,
.col-12::after,
.footer-b::after {
    content: "";
    display: block;
    clear: both;
}

.cont-p::after {
    content: "";
    display: block;
    clear: both;
}


.bg-black {
    background-color: black;
    color: white;
}
.bg-red {
    background-color: #ff0000;
    color: white;
}

body {
    font-family: "Geist", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    margin: 0 auto;
}
a {
    text-decoration: none;
    color: #000000;
}
h1 {
    font-weight: 900;
    font-size: 48px;
}
h2 {
    font-weight: 900;
    font-size: 42px;
}
h4 {
    font-size: 20px;
}
.btn {
    padding: 15px 40px;
    background-color: black;
    color: white;
    font-size: 16px;
    border-radius: 30px;
    letter-spacing: 3px;
}
.btn:hover{
    padding: 15px 40px;
    background-color: red;
    color: white;
    font-size: 16px;
    border-radius: 30px;
    letter-spacing: 3px;
}
.navbar {
    box-sizing: border-box;
    position: fixed;
    display: flex;
    /* background: red; */
    width: 100%;
    height: 70px;
    top: 0px;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    /* border-radius: 40px; */
    justify-content: space-between;
    /* padding-left: 15px; */
    /* padding-right: 10px; */
    z-index: 999;
    border-bottom: solid 1px #dededf;
    background-color: white;
}
.logo {
    display: flex;
    align-items: center;
    padding-left: 30px;
}
.logo img {
    height: 50px;
}
.menu {
    display: flex;
    align-items: center;
}
.menu a {
    display: inline-block;
    padding-left: 40px;
    font-size: 18px;
    color: black;
}
.kontakt-btn {
    background-color: #ff0000;
    color: white!important;
    margin-left: 20px;
    padding: 23px 60px;
}
.kontakt-btn i {
    padding-left: 20px;
}
.p-t-2 {
    padding-top: 20px;
}
.p-t-3 {
     padding-top: 30px;
}
.p-t-5 {
     padding-top: 50px;
}
.p-t-7 {
     padding-top: 70px;
}
.p-t-10 {
    padding-top: 100px;
}
.p-t-15 {
    padding-top: 150px;
}
.p-b-2 {
    padding-bottom: 20px;
}
.p-b-3 {
    padding-bottom: 30px;
}
.p-b-5 {
    padding-bottom: 50px;
}
.p-b-10 {
    padding-bottom: 100px;
}
.p-b-15 {
    padding-bottom: 150px;
}

.p-l-2 {
    padding-left: 20px;
}
.p-l-3 {
    padding-left: 30px;
}
.p-l-5 {
    padding-left: 50px;
}

.p-r-2 {
    padding-right: 20px;
}
.p-r-3 {
    padding-right: 30px;
}
.p-r-5 {
    padding-right: 50px;
}




.m-t-1 {
    margin-top: 10px;
}
.m-t-2 {
    margin-top: 20px;
}
.m-t-3 {
     margin-top: 30px;
}
.m-t-5 {
     margin-top: 50px;
}
.m-t-7 {
     margin-top: 70px;
}
.m-t-10 {
    margin-top: 100px;
}
.p-t-map {
    padding-top: 70px;
}

.text-center {
    text-align: center;
}
.position-center {
    margin: 0 auto;
}
.cont-p {
    position: relative;
    height: auto;
}
.container {
    position: relative;
    box-sizing: border-box;
    float: left;
    width: 33.3333%;
    height: 900px;
    /* border-radius: 50px; */
    border-top: solid 1px #dededf;
    border-right: solid 1px #dededf;
    padding: 50px;
}
@keyframes c-green {
  from {background-color: #badfba;}
  to {background-color: black;}
}
.container-green {
    background-color: #badfba;
}
.container-green:hover {
    background-color: #000000;
    color: white;
    animation-name: c-green;
    animation-duration: 500ms;
}
@keyframes c-gray {
  from {background-color: #f1f1f1;}
  to {background-color: black;}
}
.container-gray {
    background-color: #f1f1f1;
}
.container-gray:hover {
    background-color: #000000;
    color: white;
    animation-name: c-gray;
    animation-duration: 500ms;
}
@keyframes c-dark-gray {
  from {background-color: #dddddd;}
  to {background-color: black;}
}
.container-dark-gray {
    background-color: #dddddd;
}
.container-dark-gray:hover {
    background-color: #000000;
    color: white;
    animation-name: c-dark-gray;
    animation-duration: 500ms;
}
.container-img {
    width: 100%;
    display: flex;
    justify-content: center;
}
.container-img-grid {
    height: 270px;
    overflow: hidden;
    width: 100%;
    display: flex;
    justify-content: center;
}

.container-img img {
    width: 100%;
    height: auto;
}

.container-img-grid img {
    width: 100%;
    height: auto;
}
.container-img-f img {
    width: 60%;
    height: auto;
}
.container:hover .btn-black {
    background-color: white;
    color: black;
}
.container:hover .btn-black .btn-small {
    background-color: black;
    color: white;
}
.btn-black {
    position: absolute;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    bottom: 0px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    color: rgb(0, 0, 0);
    width: 100%;
    display: flex;
    justify-content: center;
    justify-content: space-between;
    box-sizing: border-box;
    background-color: #f7f7f7;
    padding: 5px;
}

.btn-rel {
    box-sizing: border-box;
    background-color: #f7f7f7;
    display: flex;
    align-items: center;
    /* color: white; */
    /* width: 100%; */
    /* border-radius: 30px; */
    display: flex;
    justify-content: center;
    justify-content: space-between;
    box-sizing: border-box;
    padding: 5px;
}
.btn-content {
    padding: 20px 40px;
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 4px;
}
.btn-small {
    position: relative;
    width: 45px;
    height: 45px;
    background-color: rgb(0, 0, 0);
    color: #ffffff;
    display: flex;
    border-radius: 50%;
    justify-content: center;
    align-items: center;
}
.btn-small i {
    font-size: 30px;
}
.footer {
    background-color: red;
    color: white;
    padding-left: 60px;
    padding-right: 60px;
}
.logo-footer img {
    height: 70px;
}
.footer-b {
    padding-bottom: 250px;
}
.footer-content {
    float: left;
    width: 33.33%;
}
.footer-content img {
    height: auto;
    width: 200px;
}
.certifikati img {
    color: white;
}
.row {
    position: relative;
    width: 100%;
    display: flex;
}
.row-small {
    position: relative;
    width: 1400px;
    display: flex;
    margin: 0 auto;
}
.col-12 {
    box-sizing: border-box;
    position: relative;
    width: 100%;
    height: 100%;
}
.col-6 {
    box-sizing: border-box;
    position: relative;
    float: left;
    width: 50%;
}
.col-4 {
    position: relative;
    box-sizing: border-box;
    float: left;
    width: 33.3333%;
    border-top: solid 1px #dededf;
    border-right: solid 1px #dededf;
    border-bottom: solid 1px #dededf;
}
.col-2 {
    position: relative;
    box-sizing: border-box;
    float: left;
    width: 16.66666%;
    padding: 30px;
}
.col-9 {
    position: relative;
    box-sizing: border-box;
    float: left;
    width: 75%;
}
.col-bg {
    background-color: #f7f7f7;
}
.col-eko {
    background-color: #badfba;
}
.col-kov {
    background-color: #dddddd;
}
.col-var-pot {
    background: #ffdd00;
}
.col-padding {
    padding: 50px;
}

.x-scroll {
    display: flex;
    overflow-x: auto;   /* skrij scrollbar */
    cursor: grab;
    gap: 20px;
    padding-bottom: 20px;
    user-select: none;
}

.x-scroll.active {
    cursor: grabbing;
}

.col-3 {
    position: relative;
    box-sizing: border-box;
    float: left;
    width: 25%;
    /* border-radius: 50px; */
    border-top: solid 1px #dededf;
    border-right: solid 1px #dededf;
    border-bottom: solid 1px #dededf;
}


.w-bg {
    background-color: white;
}


.segment-circle {
    width: 80px;
    height: 80px;
    background: red;
    color: white;
    font-size: 36px;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px auto;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    transition: transform 0.3s, box-shadow 0.3s;
}

.segment-circle:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 12px 30px rgba(0,0,0,0.2);
}

.content-center {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.div-center {
    margin: 0 auto;
}

.border-round {
    border-top: solid 1px #dededf;
    border-right: solid 1px #dededf;
    border-left: solid 1px #dededf;
    border-bottom: solid 1px #dededf;
}
.border-round-n {
    border-left: none!important;
}
.position-absolute {
    position: absolute;
    bottom: 0;
    right: 0;
}
.size i {
    font-size: 70px;
    padding: 30px;
}
.img-r {
    position: relative;
}
.ab-vir {
    position: absolute;
    top: 0;
    right: 0;
    padding: 10px 20px;
    background-color: black;
    color: white;
}

.padding-navbar {
    padding-top: 70px;
    background-color: black;
    height: 500px;
}

iframe {
    width: 100%!important;
}

.border-top-none {
    border-top: none!important;
}

.navbar-mobile {
    display: none;
}
.mobile-navbar-overlay {
    display: none;
}
th, td {
padding: 10px 15px;
}

video {
    width: 100%;
    height: auto;
}

.border-for-video {
    border-top: solid 1px #dededf;
    border-bottom: solid 1px #dededf;
}

.content-center-video {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: auto;
}

/* OVITEK SLIKE – prepreči, da blur gre čez rob */
.container-img,
.container-img-f,
.container-img-grid {
  overflow: hidden;
  position: relative;
}

/* LAZY SLIKE – začetno stanje */
img.lazy-img {
  display: block;
  width: 100%;
  height: auto;

  filter: blur(12px);
  transform: scale(1.05); /* da blur ne pokaže robov */
  transition: filter 0.5s ease, transform 0.5s ease;
}

/* KO JE SLIKA NALOŽENA */
img.lazy-img.loaded {
  filter: blur(0);
  transform: scale(1);
}

@media screen and (max-width: 900px) {

    .navbar-mobile {
        display: block;
    box-sizing: border-box;
    position: fixed;
    display: flex;
    /* background: red; */
    width: 100%;
    height: 68px;
    bottom: -2px;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    /* border-radius: 40px; */
    justify-content: space-between;
    /* padding-left: 15px; */
    /* padding-right: 10px; */
    z-index: 999;
    border-bottom: solid 1px #dededf;
    background-color: white;
}

    .table-scroll-x {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch; /* smooth scroll iOS */
}

h1 {
    font-size: 30px;
}
    h2 {
        font-size: 25px;
    }
    h4 {
        font-size: 16px;
    }
    .col-6 {
        width: 100%;
    }
  .navbar {
    display: none;
  }
  .logo img {
    height: 30px;
  }
  .footer-b {
    padding-bottom: 100px;
  }

  .mobile-navbar-overlay {
    display: block;
}

.container-img-grid {
    height: auto;
    width: 100%;
}

.kontakt-btn {
        padding: 23px 20px;
                display: inline-flex;
}

.hamburger-menu {
            font-size: 30px;
        padding: 23px 20px;
        display: inline-flex;
        justify-content: center;
    align-items: center;
}

  /* Mobile Navbar Overlay */
.mobile-navbar-overlay {
    position: fixed;
    top: 0;
    right: -100%; /* skrito desno */
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.95);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    transition: right 0.4s ease-in-out;
    z-index: 999;
}

/* Ko je overlay odprt */
.mobile-navbar-overlay.open {
    right: 0;
}

/* Overlay links styling */
.mobile-navbar-overlay a {
    color: #fff;
    font-size: 1.5rem;
    text-decoration: none;
    transition: color 0.3s;
}

.mobile-navbar-overlay a:hover {
    color: #f0a500;
}

/* X gumb za zapiranje overlay-a */
.mobile-navbar-overlay::before {
    content: '✖'; /* simbol X */
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    color: #fff;
    cursor: pointer;
}

/* Animacija za fade-in linke (opcijsko) */
.mobile-navbar-overlay a {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.mobile-navbar-overlay.open a {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.1s;
}


.footer-content img {
    height: auto;
    width: 100%;
}

.footer-content {
    width: 100%;
    padding-top: 40px;
}

.container {
    height: fit-content;
}

.row-reverse {
        flex-direction: column-reverse!important;
    }

    .col-padding {
        padding: 40px 15px;
    }

.btn-black {
        position: relative;
        bottom: auto;
        left: auto;
        transform: none;

        margin-top: 40px;   /* razmak od vsebine */
        width: 100%;
    }
    
    /* Col-6, Col-4, Col-3, Col-2, Col-9, Col-12 */
    .col-12,
    .col-9,
    .col-6,
    .col-4,
    .col-3,
    .col-2 {
        width: 100% !important;
        float: none !important;
        box-sizing: border-box;
    }

    .p-t-map {
    padding-top: 0px;
    }

    /* Container adjustments */
    .container,
    .container-green,
    .container-gray,
    .container-dark-gray {
        width: 100% !important;
        height: auto !important;  /* prilagodi višino avtomatsko */
        padding: 30px !important; /* malo manjši padding na mobilni */
        border-left: none !important;
        border-right: none !important;
        border-top: none !important; /* da se ne podvajajo borderji */
        border-bottom: solid 1px #dededf;
    }

    /* Row adjustments */
    .row,
    .row-small {
        flex-direction: column;
        width: 100%;
    }

    /* Segment circle center */
    .segment-circle {
        margin: 0 auto 20px auto;
    }

    /* Navbar padding adjustments */
    .navbar-mobile {
        width: 100%;
        padding-left: 0;
        padding-right: 0;
    }

    /* Mobile overlay full width */
    .mobile-navbar-overlay {
        width: 100% !important;
        right: -100%;
    }

}