/* FŐOLDAL SPECIFIKUS STÍLUSOK */

/* Hero szekció */
.hero-slider {
    position: relative;
    height: 70vh;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
    z-index: 1;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(50%);
}

.hero-text {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    color: white;
    max-width: 600px;
    z-index: 2;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.7);
    animation: fadeIn 1s ease-out;
}

.hero-text h1 {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 15px;
    line-height: 1.3;
}

.hero-text p {
    font-size: 18px;
    margin-bottom: 20px;
}

/* Információs blokk */
.info-section {
    padding: 40px 10%;
    background: white;
    text-align: center;
}

.info-section h2 {
    font-size: 28px;
    margin-bottom: 15px;
    color: #A31C20;
}

.info-section p {
    font-size: 16px;
    margin-bottom: 10px;
}
@media (max-width: 768px) {
    /* A szolgáltatások konténerében a kártyák egymás alá kerülnek */
    .services {
        flex-direction: column;
        align-items: center;
        padding: 20px 5%;
    }

    /* A kártyáknak szélesebbnek kell lenniük, hogy kitöltsék a képernyő szélességét */
    .services .card {
        width: 90%;
        margin-bottom: 20px;
    }
}


.card {
    background: white;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    width: 30%;
    text-align: center;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.card h3 {
    margin: 10px 0;
    font-size: 18px;
    color: #0077cc;
}

.card p {
    font-size: 14px;
    margin-bottom: 10px;
}

.read-more {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 16px;
    background-color: #0077cc;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.read-more:hover {
    background-color: #005fa3;
}

/* Kontakt (contact-hero) rész */
.contact-hero {
    position: relative;
    width: 100%;
    height: 450px;
    background: url('img/contact-image.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    padding: 0 10%;
    color: white;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.contact-hero-text {
    position: relative;
    z-index: 2;
    max-width: 600px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
    animation: fadeIn 1.5s ease-out;
}

.contact-hero-text h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.contact-hero-text p {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.contact-buttons a {
    display: inline-block;
    padding: 12px 24px;
    margin-right: 10px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    font-size: 14px;
    text-transform: uppercase;
}

.contact-buttons .button {
    background-color: #ff6600;
    color: white;
}

.contact-buttons .button:hover {
    background-color: #cc5500;
    transform: translateY(-3px);
}

.contact-buttons .button-secondary {
    background-color: #0077cc;
    color: white;
}

.contact-buttons .button-secondary:hover {
    background-color: #005fa3;
    transform: translateY(-3px);
}

/* Vélemények */
.testimonials {
    text-align: center;
    padding: 40px 10%;
    background: #f0f0f0;
}

.testimonials h2 {
    font-size: 28px;
    margin-bottom: 20px;
}

.testimonial-cards {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.testimonial-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.testimonial-card blockquote {
    font-size: 14px;
    font-style: italic;
    color: #555;
    margin-bottom: 15px;
}

.testimonial-card .author {
    font-weight: bold;
    font-size: 16px;
}

/* Céginfó blokk */
.company-info {
    background-color: #a31c20;
    color: white;
    padding: 50px 5%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.company-info-inner {
    text-align: center;
    max-width: 1200px;
}

/* Animáció a főoldal elemeire */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero szöveg */
.hero-text, .contact-hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    max-width: 700px;
    z-index: 2;
    text-shadow: 0 3px 15px rgba(0, 0, 0, 0.7);
    animation: fadeIn 1s ease-out;
}

.hero-text h1, .contact-hero-text h1 {
    font-size: 3vw; /* Rugalmas méretezés */
    font-weight: bold;
    margin-bottom: 15px;
    line-height: 1.3;
}

.hero-text p, .contact-hero-text p {
    font-size: 1.5vw;
    margin-bottom: 15px;
}

/* Mobilra optimalizálás */
@media (max-width: 768px) {
    .hero-slider {
        height: 60vh;
    }

    .hero-text, .contact-hero-text {
        max-width: 90%;
    }

    .hero-text h1, .contact-hero-text h1 {
        font-size: 22px; /* Kisebb méret */
    }

    .hero-text p, .contact-hero-text p {
        font-size: 14px; /* Jobb olvashatóság */
    }
}