#h1-container {
    margin: 0;
    height: 62px;
    padding: 50px 0;
    background-color: #2B1F16;
}

#h1-container h1 {
    margin: 0;
    font-family: "Metrophobic", sans-serif;
    font-weight: 700;
    font-size: 50px;
    font-style: normal;
    text-align: center;
    color: #E6CBA8;
}

#usluge-wrapper {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.usluge {
    display: flex;
    flex-direction: column;
    align-items: center;
    border-top: 1px solid black;
    padding-bottom: 25px;
    background: linear-gradient(180deg, #b98a5a 0%, #d2b48c 100%);
}

.usluge:nth-child(even) {
    background: linear-gradient(180deg, #c8c0b0 0%, #9d917d 100%);
}

.usluge-gallery {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    max-width: calc(100vw - 40px);
    overflow: hidden;
}

.usluge-gallery img {
    position: absolute;
    top: 0;
    left: 0;
    max-height: 50vh;
    max-width: 100%;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease-in-out;
    border-radius: 5%;
}

.usluge-gallery img.active {
    pointer-events: auto;
    position: relative;
    z-index: 2;
    -webkit-tap-highlight-color: transparent;
}

.active.opacity1 {
    opacity: 1;
}

.usluge-gallery button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(85, 60, 35, 0.45);
    color: #f4ede3;
    border: none;
    padding: 10px 12px;
    cursor: pointer;
    border-radius: 50%;
    backdrop-filter: blur(3px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
    transition: all 0.25s ease;
    font-size: 18px;
    z-index: 2;
    -webkit-tap-highlight-color: transparent;
}

.usluge-gallery button i {
    pointer-events: none;
}

.usluge-gallery button:hover {
    background: rgba(101, 77, 50, 0.85);
    color: #fffaf3;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.35);
}

.usluge-gallery button.prev { left: 12px; }
.usluge-gallery button.next { right: 12px; }

.u-text {
    padding: 30px 0 10px;
    width: 90%;
}

.u-text h2 {
    margin-top: 0px;
    font-family: "Montserrat", sans-serif;
    font-size: 30px;
}

.u-text p {
    font-family: "Open Sans", Arial, sans-serif;
    font-size: 18px;
}

.usluge:nth-child(odd) h2 {
    color: #2a1a0f;
}

.usluge:nth-child(odd) p {
    color: #2a1a0f;
}

.usluge:nth-child(even) h2 {
    color: #1e1b16;
}

.usluge:nth-child(even) p {
    color: #1e1b16;
}

@media only screen and (min-width: 1000px) {
    #main-container h1 {
        font-size: 60px;
    }
    
    #h1-container {
        height: 75px;
    }

    .usluge {
        flex-direction: row;
        align-items: center;
        border-top: 1px solid #A6845E;
        padding: 0 4% 0;
        gap: 30px;
        height: 70vh;
    }

    .usluge:nth-child(even) {
        justify-content: right;
    }

    #u1 {
        background: 
            linear-gradient(90deg, #D2B48C, #bc9f7a, #A6845E);
        background-size: cover;
        background-position: right center;
    }
    
    .usluge-gallery {
        max-width: none;
        width: auto;
        height: 80%;
    }

    .usluge-gallery img {
        max-height: none;
        height: 100%;
        width: auto;
        max-width: 100%;
    }

    .u-text {
        padding: 2%;
        width: 45%;
    }

    .u-text h2 {
        font-size: 34px;
    }

    .u-text p {
        font-size: 22px;
    }

    .usluge h2 {
        color: #4B2E05;
    }

    .usluge p {
        color: #5A4B33;
    }

    .usluge:nth-child(even) h2 {
        color: #4B2E05;
    }

    .usluge:nth-child(even) p {
        color: #5A4B33;
    }
}