* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'TT CommonsM';
    background: #f0f0f0;
    overflow-x: hidden;
}

.homsl {
    width: 100%;
    max-width: 1920px;
    height: 650px;
    max-height: 650px;
    margin: 0 auto;
    display: flex;
    gap: 20px;
    padding: 20px;
    margin-top: 10%;
}

.homsl-leftmob {
    display: none;
}

.homsl-left {
    width: 66.67%;
    height: 100%;
}

.homsl-left-img {
    position: relative;
    width: 100%;
    height: 100%;
    background: #f0f0f0; 
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.homsl-left-img img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    object-position: center;
    display: block;
}

.homsl-buttons-overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    display: flex;
    flex-direction: row;
    gap: 10px;
    z-index: 1;
}

.homsl-right {
    width: 33.33%;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}


.homsl-right-top {
    flex: 2;
    position: relative;
    min-height: 0;
}

.homsl-right-top-img {
    position: relative;
    width: 100%;
    height: 100%;
    background: #f0f0f0;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.homsl-right-top-img img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    object-position: center;
    display: block;
}


.homsl-right-top-img .homsl-btn {
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 10;
}


.homsl-right-bottom {
    flex: 1;
    position: relative;
    min-height: 0;
}

.homsl-slider {
    position: relative;
    width: 100%;
    height: 100%;
    background: #f0f0f0; 
    border-radius: 10px;
    overflow: hidden;
}

.homsl-slider-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease;
}

.homsl-slide {
    min-width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.homsl-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    object-position: center;
    display: block;
}


.homsl-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    transition: background 0.3s;
    z-index: 10;
}

.homsl-slider-btn:hover {
    background: rgba(0, 0, 0, 0.9);
}

.homsl-prev { left: 10px; }
.homsl-next { right: 10px; }


.homsl-slider-dugme {
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 1;
}

.homsl-btn {
    padding: 12px 20px;
    background: #003c2d;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 15px;
   
    transition: background 0.3s;
    backdrop-filter: blur(5px);
    font-family: 'TT CommonsM'
}



.homsl-btn:hover {
    background: #51a120;
    color: white;
    font-family: 'TT CommonsB'
}


@media (max-width: 1440px) {
    .homsl {
        height: 400px;
        max-height: 500px;
        padding: 15px;
        gap: 15px;
    }

    .homsl-left-img img,
    .homsl-right-top-img img,
    .homsl-slide img {
        object-fit: cover; 
    }

    .homsl-btn {
        padding: 10px 16px;
        font-size: 13px;
    }

    .homsl-buttons-overlay {
        bottom: 15px;
        left: 15px;
    }

    .homsl-right-top-img .homsl-btn,
    .homsl-slider-dugme {
        bottom: 15px;
        right: 15px;
    }
}

@media (max-width: 1024px) {
    .homsl {
        height: 450px;
        max-height: 450px;
        padding: 12px;
        gap: 12px;
    }

    .homsl-left-img img,
    .homsl-right-top-img img,
    .homsl-slide img {
        object-fit: contain;
    }

    .homsl-btn {
        padding: 8px 14px;
        font-size: 12px;
    }
}

@media (max-width: 768px) {
    .homsl {
        flex-direction: column;
        height: auto;
        max-height: none;
        padding: 10px;
        gap: 15px;
        margin-top: 35% !important;
    }

    .homsl-left {
        display: none !important
    }
    .homsl-leftmob {
        display: block !important;
    }

    .homsl-leftmob
    {
        width: 100%;
        height: 400p;
    }
    .homsl-right {
        width: 100%;
        height: auto;
    }

    .homsl-leftmob-img {
        aspect-ratio: 1 / 1;
        min-height: auto;
    }

    .homsl-leftmob-img img {
        object-fit: cover; 
    }

    .homsl-right-top-img {
        aspect-ratio: 640 / 400;
        min-height: 200px;
    }

    .homsl-slider {
        aspect-ratio: 640 / 200;
        min-height: 150px;
    }

    .homsl-right-top-img img,
    .homsl-slide img {
        object-fit: cover; 
    }

    .homsl-right-top {
        flex: none;
    }

    .homsl-right-bottom {
        flex: none;
    }

    .homsl-buttons-overlay {
        padding-bottom: 55%;
        left: 15px;
    }

    .homsl-right-top-img .homsl-btn,
    .homsl-slider-dugme {
        bottom: 15px;
        right: 15px;
    }
}


@media (max-width: 480px) {
    .homsl {
        padding: 8px;
        gap: 10px;
        margin-top: 50%;
    }

    .homsl-left-img {
        min-height: 200px;
    }

    .homsl-right-top-img {
        min-height: 180px;
    }

    .homsl-slider {
        min-height: 120px;
    }

    .homsl-btn {
        padding: 6px 12px;
        font-size: 11px;
    }

    .homsl-slider-btn {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }

}

.galerija-5 {
    display: grid;

    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}


.galerija-item {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3; 
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.galerija-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    display: block;
    transition: transform 0.5s ease;
}


.galerija-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.galerija-item:hover img {
    transform: scale(1.05); 
}

@media (max-width: 1024px) {
    .galerija-5 {
        
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
}


@media (max-width: 768px) {
    .galerija-5 {
        
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .galerija-item {
        aspect-ratio: 1 / 1;
    }
}


@media (max-width: 480px) {
    .galerija-5 {
        
        grid-template-columns: 1fr;
        gap: 15px;
    }
}





.centartq {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 0px;
}

.centartq-header {
    text-align: center;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.centartq-main-title {
    font-size: 25px;
    font-weight: 800;
    color: #003c2d;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    font-family: 'TT CommonsM';
}

.centartq-main-text {
    font-size: 16px;
    color: #003c2d;
    line-height: 1.6;
    font-family: 'TT CommonsR';
}

.centartq-grid {
    display: inline-flex;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.centartq-item {
    cursor: pointer;
    transition: transform 0.4s ease;
    text-decoration: none;
    display: block;
    color: white;
    font-family: 'TT CommonsB';
}

.centartq-item:hover {
    transform: translateY(-8px);
}

.centartq-img {
    position: relative;
    width: 100%;
    aspect-ratio: 9 / 16;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.centartq-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.centartq-item:hover .centartq-img img {
    transform: scale(1.05);
}

.centartq-img-title {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px 20px 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 60%, transparent 100%);
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    z-index: 2;
}

.centartq-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.centartq-modal.active {
    display: flex;
}

.centartq-modal-content {
    background: #fff;
    border-radius: 16px;
    padding: 40px;
    max-width: 500px;
    width: 100%;
    position: relative;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.4s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.centartq-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 36px;
    height: 36px;
    background: #003c2d;
    border: none;
    border-radius: 50%;
    font-size: 22px;
    font-weight: bold;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    line-height: 1;
}

.centartq-modal-close:hover {
    background: #51a120;
    transform: rotate(90deg);
    color: white;
}

.centartq-modal-title {
    font-size: 26px;
    font-weight: 800;
    color: #003c2d;
    text-transform: uppercase;
    margin-bottom: 15px;
    padding-right: 30px;
    font-family: 'TT CommonsM';
}

.centartq-modal-text {
    font-size: 20px;
    color: #003c2d;
    line-height: 1.6;
    margin: 0;
    font-family: 'TT CommonsR';
}

@media (max-width: 1024px) {
    .centartq-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .centartq-main-title { font-size: 30px; }
    .centartq-img-title { font-size: 18px; }
}

@media (max-width: 768px) {
    .centartq { padding: 40px 15px; }
    .centartq-header { margin-bottom: 30px; }
    .centartq-grid { grid-template-columns: 1fr; gap: 20px; }
    .centartq-img { aspect-ratio: 3 / 4; }
    .centartq-main-title { font-size: 26px; }
    .centartq-main-text { font-size: 14px; }
    .centartq-img-title { font-size: 16px; padding: 25px 15px 15px; }
    .centartq-modal-content { padding: 30px 25px; }
    .centartq-modal-title { font-size: 22px; }
}

@media (max-width: 480px) {
    .centartq-main-title { font-size: 22px; }
    .centartq-modal-title { font-size: 20px; }
    .centartq-modal-text { font-size: 14px; }
    .centartq-img-title { font-size: 14px; }
}

/*foot*/
 
        
       

       

        /* Foot Styles */
        .site-foot {
            background: #003c2d;
            color: #fff;
            padding-top: 0.6rem;
            width: 100%;
            border-top-left-radius: 20px;
            border-top-right-radius: 20px;
        }

        .foot-container {
            max-width: 100%;
            padding-left: 5%;
            padding-right: 10%;
            margin: 0 auto;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 2rem;
            flex-wrap: wrap;
        }

        /* Logo Section */
        .foot-logo {
            flex: 0 0 auto;
        }

        .foot-logo img {
            height: 50px;
            width: auto;
            display: block;
            transition: transform 0.3s ease;
        }

        .foot-logo img:hover {
            transform: scale(1.05);
        }

        /* Social Media */
        .foot-social {
            display: flex;
            gap: 1rem;
            align-items: center;
        }
        .soc {
            width: 30px;
            height: 30px;
        }

        .foot-social a {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            
            border-radius: 50%;
            color: #fff;
            text-decoration: none;
            transition: all 0.3s ease;
            font-size: 1.2rem;
        }

        .foot-social a:hover {
            background: #51a120;
            transform: translateY(-3px);
            
        }

        /* Info Text */
        .foot-info {
            flex: 1;
            min-width: 200px;
        }

        .foot-info h3 {
            font-size: 1.1rem;
            margin-bottom: 0.5rem;
            color: #003c2d;
        }

        .foot-info p {
            font-size: 0.9rem;
            color: #ccc;
            line-height: 1.5;
        }

        /* Links */
        .foot-links {
            display: flex;
            flex-direction: column;
           
        }

        .foot-links h3 {
            font-size: 1.1rem;
            margin-bottom: 0.5rem;
            color: #003c2d;
            font-family: 'TT CommonsB';
        }

        .foot-links a {
            color: white;
            text-decoration: none;
            font-size: 0.9rem;
            transition: color 0.3s ease;
            position: relative;
            padding-left: 0;
            font-family: 'TT CommonsM';
        }

        .foot-links a:hover {
            color: #51a120;
            padding-left: 5px;
        }

        /* Contact */
        .foot-contact {
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
        }

        .foot-contact h3 {
            font-size: 1.1rem;
            margin-bottom: 0.5rem;
            color: #003c2d;
            font-family: 'TT CommonsB';
        }

        .foot-contact p {
            font-size: 0.9rem;
            color: #003c2d;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            font-family: 'TT CommonsR';
        }

        .foot-contact i {
            color: #51a120;
            width: 16px;
        }

        .foot-contact a {
            color: #003c2d;
            text-decoration: none;
            transition: color 0.3s ease;
        }

        .foot-contact a:hover {
            color: #fff;
        }

        /* Foot Image */
        .foot-image {
            flex: 0 0 auto;
        }

        .foot-image img {
            height: 60px;
            width: auto;
            border-radius: 8px;
            object-fit: cover;
            transition: transform 0.3s ease;
            opacity: 15%;
            margin-top: -10px;
            
        }

        .foot-image img:hover {
            transform: scale(1.05);
        }

        /* Foot Bottom */
        .foot-bottom {
            margin-top: 1rem;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 2rem;
            background-color: #003c2d;
            border-top-left-radius: 30px;
            border-top-right-radius: 30px;
        }

        .foot-bottom-left {
            flex: 1;
            color: white;
            font-size: 0.85rem;
            font-family: 'TT CommonsM';
            margin-left: 2%;
            max-height: 22px;
        }

        .foot-bottom-right {
            display: flex;
            align-items: center;
            gap: 1rem;
            flex: 0 0 auto;
            padding-right: 8%;
        }

        .foot-bottom-right p {
            color: white;
            font-size: 0.85rem;
            margin: 0;
            font-family: 'TT CommonsB';
           
        }

        .foot-bottom-right img {
            height: 30px;
            width: auto;
            object-fit: contain;
            transition: transform 0.3s ease;
        }

        .foot-bottom-right img:hover {
            transform: scale(1.1);
        }

        /* Responsive Design */
        @media (max-width: 1200px) {
            .foot-container {
                gap: 1.5rem;
            }

            .foot-info {
                min-width: 180px;
            }
        }

        @media (max-width: 992px) {
            .foot-container {
                flex-wrap: wrap;
            }

            .foot-logo,
            .foot-social {
                flex: 0 0 calc(50% - 0.75rem);
            }
        

            .foot-info,
            .foot-links,
            .foot-contact {
                flex: 0 0 calc(50% - 0.75rem);
            }

            .foot-image {
                flex: 0 0 100%;
                text-align: center;
            }

            .foot-image img {
                height: 150px;
            }
        }

        @media (max-width: 768px) {
            .site-foot {
                padding: 0.2rem 0.2rem;
            }

            .foot-container {
                flex-direction: column;
                gap: 0.2rem;
            }

            .foot-logo,
            .foot-social,
            .foot-info,
            .foot-links,
            .foot-contact,
            .foot-image {
                flex: 0 0 100%;
                text-align: center;
            }

            .foot-social {
                justify-content: center;
            }

            .foot-contact p {
                justify-content: center;
            }

            .foot-image img {
                height: 120px;
            }

            .foot-bottom {
                flex-direction: column;
                gap: 1rem;
                text-align: center;
            }

            .foot-bottom-left,
            .foot-bottom-right {
                flex: 0 0 100%;
                justify-content: center;
            }
        }

        @media (max-width: 480px) {
            .foot-logo img {
                height: 40px;
            }

            .foot-social a {
                width: 36px;
                height: 36px;
                font-size: 1rem;
            }

            .foot-bottom-right img {
                height: 25px;
            }
        }


         .grid_snizenje {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    max-width: 1200px;
    margin: 20px auto;
  }

  .box_snizenje { position: relative; }

   .box_snizenje img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    border-radius: 10px;
  }
  /* custom css "snizenje" */
  .snizenje {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #e53935;
    color: #fff;
    border: none;
    padding: 10px 25px;
    border-radius: 30px;
    font-size: 15px;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,.3);
  }


  .zutosrce-underline {
    display: block;
    width: 60px;
    height: 8px;
    margin: 0px 0px 10px 0px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 10' preserveAspectRatio='none'%3E%3Cpath d='M0 5 Q 25 0, 50 5 T 100 5' stroke='%23f1c40f' stroke-width='3' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
}


    .grid_sveze {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    max-width: 1200px;
    margin: 20px auto;
  }

  .box_sveze { position: relative; }

   .box_sveze img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    border-radius: 10px;
  }


  .homsl-right-top-img video {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    display: block;
    border-radius: inherit; 
}

@media (max-width: 768px) {
   
         .grid_snizenje {
    display: block;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    max-width: 1200px;
    margin: 20px auto;
  }
  .box_snizenje {position: relative;padding: 20px;}
}