﻿body {
    font-family: 'Arial', sans-serif;
    background-color: #f4f4f4;
    color: #333;
    margin: 0;
    padding: 0;
}

.silos-text {
    color: #666;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}




.logoOmega {
    float: left;
    display: inline-block; /* ili block, po želji */
    margin: 0; /* uklanjaš sve neočekivane margine */
    transition: transform 0.3s ease, opacity 0.3s ease;
}

    .logoOmega:hover {
        transform: translateY(-5px);
        opacity: 0.8;
    }

    .logoOmega img {
        height: 80px;
        width: auto;
        vertical-align: middle;
        transition: filter 0.3s ease;
    }

    .logoOmega:hover img {
        filter: brightness(1.2);
    }


.container {
    max-width: 1200px; /* Ograničenje širine kontejnera */
    margin: 0 auto; /* Centriranje kontejnera */
    padding: 0 20px;
}

.services {
    position: relative; /* Omogućava pozicioniranje pseudo-elemenata */
    padding: 60px 0;
    overflow: hidden; /* Sprečava preklapanje sa pseudo-elementima */
}

    .services:after {
        content: '';
        background-image: url(../images/services-left-dec.jpg);
        background-repeat: no-repeat;
        position: absolute;
        left: 0;
        top: 0;
        width: 786px;
        height: 1217px;
        z-index: -1; /* Postavljamo iza sadržaja */
        opacity: 0.8; /* Smanjena providnost za bolji efekat */
    }

    .services:before {
        content: '';
        background-image: url(../images/services-right-dec.jpg);
        background-repeat: no-repeat;
        position: absolute;
        right: 0;
        top: 400px;
        width: 161px;
        height: 413px;
        z-index: -1; /* Postavljamo iza sadržaja */
        opacity: 0.8; /* Smanjena providnost za bolji efekat */
    }

    .services .section-heading {
        text-align: center;
        margin-bottom: 60px;
    }

        .services .section-heading h6 {
            font-size: 16px;
            color: #4da6e7;
            margin-bottom: 10px;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .services .section-heading h4 {
            font-size: 32px;
            color: #333;
            margin-bottom: 20px;
            font-weight: 600;
        }

        .services .section-heading .line-dec {
            width: 60px;
            height: 3px;
            background-color: #4da6e7;
            margin: 0 auto;
        }

.service-list {
    position: relative; /* Osigurava da tekst ostane iznad pozadinskih slika */
    z-index: 1; /* Tekst i sadržaj su iznad pozadinskih slika */
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.service-item {
    background-color: white;
    padding: 25px;
    border-radius: 12px; /* Veći zaobljeni uglovi */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); /* Suptilnija senka */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

    .service-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15); /* Jača senka na hover */
    }

    .service-item .icon img {
        max-width: 60px; 
        max-height: 60px; 
        width: auto;
        height: auto;
        margin-bottom: 0;
    }
    .service-item .service-content {
        flex: 1;
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .service-item .service-text {
        flex: 1;
    }

    .service-item h4 {
        font-size: 22px;
        color: #4da6e7;
        margin-bottom: 10px;
        font-weight: 600;
    }

    .service-item p {
        font-size: 14px;
        color: #777; /* Svetlo siva boja teksta */
        line-height: 1.6;
        margin-bottom: 15px;
    }

.ticks-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

    .ticks-list span {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 14px;
        color: #555;
    }

        .ticks-list span i {
            color: #28a745;
        }

.service-details {
    margin-top: 15px;
}

.service-item .service-image {
    flex: 0 0 30%;
    border-radius: 15px;
    overflow: hidden;
    margin-left: 125px;
}

    .service-item .service-image img {
        width: 100%;
        height: auto;
        border-radius: 8px;
        transition: transform 0.3s ease;
        max-width: 350px; 
    }

.service-item:hover .service-image img {
    transform: scale(1.05); 
}

/* Media Queries za responsivnost */
@media (max-width: 992px) {
    .service-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

        .service-item .service-content {
            align-items: center;
        }

        .service-item .service-image {
            flex: 0 0 auto;
            margin-top: 20px;
        }
}

@media (max-width: 768px) {
    .services .section-heading h4 {
        font-size: 28px;
    }

    .service-item h4 {
        font-size: 20px;
    }

    .service-item p {
        font-size: 13px;
    }

    .ticks-list span {
        font-size: 13px;
    }
}

@media (max-width: 576px) {
    .services {
        padding: 40px 0;
    }

    .service-item {
        padding: 20px;
    }

        .service-item .service-image {
            flex: 0 0 100%;
        }

            .service-item .service-image img {
                width: 80%;
                margin: 0 auto;
            }
}
