/* Alapértelmezett stílusok */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

.container {
    max-width: 800px;
    margin: 20px auto;
    padding: 10px 20px;
}

h1.title {
    font-size: 4.0rem;
    color: #FFAE00;
    font-weight: bold;
    text-align: center;
    margin: 0;
    margin-bottom: 10px;
}

header {
    margin-bottom: 20px;
}

header h1 {
    text-shadow: 4px 6px 4px rgba(0, 0, 0, 0.3);
}

p.subtitle {
    font-size: 1.8rem;
    color: #fff;
    line-height: 1.8;
    text-shadow: 4px 6px 6px rgba(0, 0, 0, 0.3);
    padding: 40px 0;
    margin: 0;
    text-align: center;
}

h2, h3 {
    color: #333;
    text-align: center;
}

p {
    color: #555;
    line-height: 1.6;
}

.services {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.service {
    flex: 1;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 4px 6px 5px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    margin-right: 2px;
    margin-left: 2px;
}

.service:hover {
    transform: translateY(-5px);
    box-shadow: 2px 5px 25px rgba(0,0,0,0.2);
}

.service h3 {
    color: #555;
}

.service p {
    color: #777;
}

footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 10px 0;
}

.background {
    background-image: url("Mavic3Multi.webp");
    background-size: cover;
    background-position: center bottom 20%;
    padding: 60px 0;
    text-align: center;
    color: white;
    margin: 0;
}

.contact {
    color: #fff;
}

/* Telefonos állóképes nézethez tartozó stílusok */
@media only screen and (max-aspect-ratio: 20/9) and (orientation: portrait) {
    h1.title {
        font-size: 1.7rem;
        text-align: center;
    }

    p.subtitle {
        font-size: 1.5rem;
    }

    .services {
        flex-direction: column;
    }

    .service {
        margin-bottom: 20px;
    }

    p.subtitle {
        text-align: center;
    }

    .background {
        background-size: 200% auto;
        background-position: center bottom 20%;
        padding: 20px 0;
    }

    .contact a[href^="tel:"] {
        color: #00FF00;
    }
}

/* Tablet álló és fekvő nézetéhez tartozó stílusok */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) {
    .container {
        max-width: 600 autopx;
    }

    h1.title {
        font-size: 3.5rem;
    }

    p.subtitle {
        font-size: 2.0rem;
    }

    .services {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        margin-bottom: 40px;
    }

    .service {
        width: calc(40% - 0px);
        transition: all 0.3s ease;
    }

    .service:hover {
        transform: translateY(-5px);
        box-shadow: 2px 5px 25px rgba(0,0,0,0.2);
    }

    .background {
        background-size: 200% auto;
        background-position: center bottom 20%;
        padding: 40px 0;
    }

    footer {
        padding: 20px 0;
    }

    .contact a[href^="tel:"] {
        color: #00FF00;
    }
}

