/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

.usluge-naslovnica {
    aspect-ratio: 421/730;
    padding: 6rem 5rem 5rem;
    border-radius: 3.2rem;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient( to bottom, rgb(0 45 87 / 80%) 0%, rgb(0 25 80 / 20%) 30% );
    pointer-events: none;
}
.strelica::after {
    content: "";
    width: 30px;
    height: 20px;
    display: inline-flex;
    flex-shrink: 0;
    background: url(/wp-content/uploads/2026/11/strelica.svg) center / contain no-repeat;
    filter: brightness(0) invert(1);
    order: 2;
    align-items: center;
}
.galerija {
    transition: none !important;
}
.galerija {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    height: 800px;
    overflow: hidden;
    position: relative;
}
.galerija .gallery-track {
    display: grid;
    grid-template-columns: repeat(9, 440px);
	grid-template-rows: repeat(2, 398px);
    gap: 4px; 
    width: max-content;
	padding-left: 100px;
    box-sizing: border-box;
}

.galerija .gallery-item {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
}

.galerija .gallery-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.galerija .gallery-item {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
    border-radius: 30px;
}
/* Portrait images */
.galerija .gallery-item:nth-child(1),
.galerija .gallery-item:nth-child(5),
.galerija .gallery-item:nth-child(9) {
    grid-row: span 2;
}

/* Landscape images */
.galerija .gallery-item:nth-child(2) {
    grid-column: 2 / 4;
    grid-row: 1;
}

.galerija .gallery-item:nth-child(7) {
    grid-column: 5 / 7;
    grid-row: 2;
}

.galerija .gallery-item:nth-child(10) {
    grid-column: 8 / 10;
    grid-row: 1;
}

/* Square images */
.galerija .gallery-item:nth-child(3) {
    grid-column: 2;
    grid-row: 2;
}

.galerija .gallery-item:nth-child(4) {
    grid-column: 3;
    grid-row: 2;
}

.galerija .gallery-item:nth-child(6) {
    grid-column: 5;
    grid-row: 1;
}

.galerija .gallery-item:nth-child(8) {
    grid-column: 6;
    grid-row: 1;
}

.galerija .gallery-item:nth-child(11) {
    grid-column: 8;
    grid-row: 2;
}

.galerija .gallery-item:nth-child(12) {
    grid-column: 9;
    grid-row: 2;
}
.galerija .gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 1.5px;
}

.galerija .item__info {
    position: absolute;
    top: auto;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 33.333%;
    box-sizing: border-box;
    z-index: 2;

    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;

    padding: 2rem;
    color: var(--color-base, #fff);
    background: rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(29.5px);
    -webkit-backdrop-filter: blur(29.5px);

    border-radius: 0;
    pointer-events: none;
}

@media (min-width: 768px) {
    .galerija .item__info {
        padding: 2rem;
    }
}

.galerija .item__icon {
    width: 6rem;
    height: 6rem;
    margin: 0 0 1rem;
}

.galerija .item__icon svg {
    width: 100%;
    height: 100%;
}

.galerija .item__counter {
    font-size: 3rem;
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 0.8rem;
}

.galerija .item__caption {
    font-size: 1.3rem;
    line-height: 1.4;
}