/* Szolgáltatások oldal általános elrendezése */

/* Oldal fejléc */
.page-header {
    background: #0077cc;
    color: white;
    padding: 40px 10%;
    text-align: center;
    font-size: 32px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Szolgáltatások rész (felsorolás) */
.services-detail {
    padding: 50px 10%;
    background: #fff;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-around;
}

/* Egyedi szolgáltatás elemek */
.service-item {
    flex: 1 1 calc(33.33% - 40px);
    background: #f8f8f8;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin: 10px 0;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.service-item h2 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #A31C20;
}

.service-item p {
    font-size: 16px;
    color: #333;
    margin-bottom: 0;
}

/* Részletes ismertető */
.service-info {
    padding: 40px 10%;
    background: #f0f0f0;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
}

/* Responsive beállítások */
@media (max-width: 768px) {
    .service-item {
        flex: 1 1 calc(100% - 40px);
    }

    .page-header {
        font-size: 28px;
        padding: 30px 5%;
    }

    .services-detail {
        padding: 30px 5%;
    }

    .service-info {
        padding: 30px 5%;
        font-size: 15px;
    }
}
/* Hero-diasor a szolgáltatások oldalon – hasonló megjelenés, mint a főoldali hero-slider */
.hero-diasor {
    position: relative;
    height: 45vh;
    overflow: hidden;
}

.hero-diasor .hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-diasor .hero-slide.active {
    opacity: 1;
    z-index: 1;
}

.hero-diasor .hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(50%);
}

.hero-diasor .hero-slide p {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    color: #fff;
    max-width: 600px;
    z-index: 2;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.7);
    font-size: 22px;
    margin: 0;
}


/* Alternáló háttérszínek, itt lineáris gradiensekkel */
.bg1 {
    background: linear-gradient(135deg, #0077cc, #00aaff);
}

.bg2 {
    background: linear-gradient(135deg, #005fa3, #0088cc);
}

/* Responsive beállítások */
@media (max-width: 768px) {
    .hero-slide p {
        font-size: 18px;
        padding: 0 10px;
    }
}
.cim h1{
    font-size: 36px;
    color: #0077cc;
    margin-bottom: 40px;
}

.cim {
    text-align: center;
    padding: 50px 10%;
    background: white;
}