/* Felülvizsgálatok oldal stílusai */
.inspection-container {
    text-align: center;
    padding: 50px 10%;
    background: white;
}

.inspection-container h1 {
    font-size: 36px;
    color: #A31C20;
    margin-bottom: 40px;
}

.inspection-block {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f8f8f8;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    opacity: 1; /* Ezt 0-ról 1-re állítjuk */
    transform: translateY(0); /* Nem mozdul el alapból */
}


.inspection-block img {
    width: 45%;
    border-radius: 10px;
    object-fit: cover;
}

.inspection-text {
    width: 50%;
    text-align: left;
}

.inspection-text h2 {
    font-size: 28px;
    color: #A31C20;
    margin-bottom: 15px;
}

.inspection-text p {
    font-size: 18px;
    color: #444;
}

/* Animáció betöltéskor */
.inspection-block.active {
    opacity: 1;
    transform: translateY(0);
}

/* Reszponzív nézet */
@media (max-width: 768px) {
    .inspection-block {
        flex-direction: column;
        text-align: center;
    }

    .inspection-block img {
        width: 100%;
        margin-bottom: 20px;
    }

    .inspection-text {
        width: 100%;
    }
}

/* Felülvizsgalatok oldali hero-diasor – hasonló a főoldali hero-sliderhez */
.hero-diasor {
    position: relative;
    height: 45vh; /* Ugyanaz a magasság, mint a főoldalon */
    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;
}

/* Szöveg-overlay, hasonló a .hero-text-hez a főoldalon */
.hero-diasor .hero-slide p {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    color: white;
    max-width: 600px;
    z-index: 2;
    font-size: 22px;
    line-height: 1.6;
    padding: 10px 20px;
    border-radius: 5px;
}
