/*zelena pozadina - #1B3D11*/

.bg-img {
    position: relative;
    background-image: url('../img/bg-mobile.webp');
    background-size: cover;
}

.bg-img::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0));
}

.bg-img > * {
    text-shadow: 0 2px 6px rgba(0,0,0,0.6);
    z-index: 1;
}

#hero-section {
    width: 100vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 0;
}

#hero-section .img-wrapper {
    width: 80%;
    margin: 40px 10px 40px 0;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.4));
}

.img-wrapper img {
    width: 100%;
    height: 100%;
}

#hero-section p {
    margin: 0 10% 50px;
    text-align: center;
    font-weight: 600;
    letter-spacing: 0.6px;
    max-width: 900px;
    color: #F4E8D0;
    font-size: 1.6rem;
}

#hero-section p span {
    color: #E9D7B7;
}

#button-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    width: 80%;
    margin-bottom: 40px;
}

#button-wrapper a, button {
    height: 70px;
    width: 100%;
}

.btn {
    font-family: "Open Sans", Arial, sans-serif;
    font-weight: 600;
    font-size: 20px;
    color: #F4E8D0;
    border: none;
    border-radius: 20px;
    background-color: #A67C52;
    transition: transform 0.12s, background-color 0.12s ease-in-out, border 0.12s ease-in-out, color 0.06s ease-in-out, opacity .35s ease-out;
    -webkit-tap-highlight-color: transparent;
    box-shadow: 0 4px 8px rgba(0,0,0,0.4);
}

.btn:hover {
    cursor: pointer;
    background-color: #8C6239;
    transform: translateY(-2px);
}

#products-wrapper {
    width: 100%;
    background: linear-gradient(to bottom, #224f14, #1d3f12);
    padding: 35px 10% 30px;
    margin: 0;
    border-top: 1px solid gray;
}

.product {
    margin: 0;
    display: flex;
    flex-direction: column-reverse;
    justify-content: center;
    transition: opacity .2s ease-out;
}

.display-none {
    display: none;
}

.product-block-desktop {
    padding-bottom: 20px;
}

.product-block-desktop button {
    background-color: #A67C52;
    color: #e7dccb;
}

.product-block-desktop button:hover {
    background-color: #8C6239;
    color: #dfd4c1;
}

.product-text .h-c1 {
    color: #EAD7A4;
}

.btn1 {
    background-color: #D4B67A;
    color: #3A2400;
    font-weight: 700;
    font-size: 24px;
    border: none;
    box-shadow: 0 0 2px rgba(0,0,0,0.3);
}

.btn1:hover {
    background-color: #A26E3E;
    color: #FFF6E5;
    transform: translateY(0px);
}

#breadcrumbs {
    margin-top: 24px;
    display: none;
    flex-direction: row;
    gap: 10px;
}

.bc {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: none;
    background-color: #CBB893;
    cursor: pointer;
    box-shadow: 0 0 5px rgba(0,0,0,0.3);
    -webkit-tap-highlight-color: transparent;
    transition: background-color 0.1s ease-in-out;
}

.bc.active {
    background-color: #4A5A42;
}

.bc:hover {
    background-color: #a89c87;
}

#product-counter {
    font-size: 20px;
    font-weight: 500;
    text-align: center;
    margin: 16px 0;
    color: #EAD7A4;
}

.usluge {
    border-top: 1px solid gray;
}

.usluge:nth-child(odd) {
    background: linear-gradient(135deg, #D4B67A, #bd986f);
}

.usluge:nth-child(even) {
    background: linear-gradient(to bottom, #A6845E, #8F7653);
}

.usluge:nth-child(odd) h2 {
    color: #4B2E06;
}

.usluge:nth-child(odd) p {
    color: #2A1C0E;
}

.usluge:nth-child(even) h2 {
    color: #35281b;
}

.usluge:nth-child(even) p {
    color: #35281b;
}

.usluge-gallery button {
    position: absolute;
    width: auto;
    height: auto;
    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; }

#maps-wrapper {
    width: 100%;
    align-items: center;
    border-top: 1px solid #A6845E;
    background-color: #BFA47B;
    margin: 0;
    padding: 20px 0 30px;
}

#maps-wrapper .h-c1 {
    color: #4B2E06;
}

.maps {
    width: 80%;
}

@media only screen and (min-width: 1000px) {
    .bg-img {
        position: relative;
        background-image: url('../img/bg2.webp');
        background-size: cover;
    }

    .bg-img::after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
        width: 100%;
        background-color: rgba(0, 0, 0, 0);
    }

    #hero-section .img-wrapper {
        max-width: 50%;
        margin: 55px 33px 35px 0;
        filter: drop-shadow(0 2px 6px rgba(255,255,255,0.15));
    }

    #hero-section p {
        font-size: 1.6rem;
        margin: 0 10% 80px;
        padding: 0;
    }

    #button-wrapper {
        flex-direction: row;
        gap: 40px;
        margin-bottom: 55px;
    }

    .btn {
        font-size: 22px;
    }

    #products-wrapper {
        width: auto;
    }

    .product {
        flex-direction: row-reverse;
    }

    .product-text {
        background-color: #BFA47B;
    }

    .product-text .h-c1 {
        color: #3A2400;
    }

    .product-text .p-c {
        color: #2E2A1F;
    }

    #breadcrumbs {
        display: flex;
    }

    #product-counter {
        display: none;
    }

    .btn1 {
        background-color: #A26E3E;
    }

    .btn1:hover {
        background-color: #8E5E30;
    }

    .usluge {
        border-top: 1px solid #A6845E;
    }

    .usluge:nth-child(odd) .u-text {
        padding-left: 6%;
    }

    .usluge:nth-child(even) .u-text {
        padding-right: 6%;
    }

    #maps-wrapper {
        margin: 0;
        padding: 10px 0 30px;
    }

    .maps {
        width: 45%;
    }
}