/* === ALAP STÍLUSOK === */
body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background: #fff;
    color: #222;
}

/* === HERO SZAKASZ, SLIDESHOW === */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-align: center;
    color: #fff;
    padding: 0 20px; /* Mobil szélvédés */
}

.slideshow-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 2s ease-in-out;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 500px;
    padding: 30px 40px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.75);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    text-align: center;
    backdrop-filter: blur(6px);
    color: #222;
}

.hero-content h1 {
    font-size: 1.5em;
    color: #333;
}

.hero-note {
    margin-top: 10px;
    font-size: 1rem;
    color: #444;
    opacity: 0.85;
}

/* === GOMBSTÍLUSOK === */
.btn {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 25px;
    background: #333333;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s;
}

.btn:hover {
    background: #264653;
}

/* === KAPCSOLATFELVÉTELI ŰRLAP === */
.contact-form {
    padding: 80px 20px;
    background: #f8f8f8;
    text-align: center;
    min-height: 33vh; /* a képernyő ~2/3-a */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-form input,
.contact-form textarea {
    width: 90%;
    max-width: 500px;
    margin: 20px auto;
    font-size: 1.1rem;
    display: block;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

/* Gomb */
.contact-form button {
    background-color: #333333;
    margin-top: 20px;
    color: #fff;
    padding: 10px 25px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s ease;
}

.contact-form button:hover {
    background-color: #264653;
}

.form-privacy-note {
    font-size: 0.85rem;
    font-style: italic;
    color: #555;
    max-width: 500px;
    margin: 20px auto 0;
    padding: 0 10px;
    line-height: 1.6;
    text-align: justify;
}

/* === PRIVÁCI NYILATKOZAT STÍLUSOK === */
.form-privacy {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin: 10px auto;
    max-width: 500px;
    padding: 0 20px;
}

.form-privacy label {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    color: #333;
    gap: 8px;
    border: none;
    padding: 0;
    margin: 0;
}

.form-privacy input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin: 0 8px 0 0;
}

/* === LÁBLÉC === */
footer {
    background: #eee;
    padding: 40px;
    text-align: center;
    font-size: 0.9em;
}

.footer-details div {
    margin: 4px 0;
}

.company-info {
    text-align: center;
    font-size: 0.75rem;
    line-height: 1.6;
    color: #222;
    margin-top: 40px;
    margin-bottom: 20px;
}

.company-info .line {
    margin: 10px 0;
    word-break: break-word;
}

.company-info strong {
    font-weight: 600;
}

/* === MOBIL STÍLUSOK === */
@media (max-width: 768px) {
    .hero-content {
        padding: 20px;
        max-width: 90%;
        border-radius: 12px;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }

    .hero-content img {
        width: 140px;
        height: auto;
        margin-bottom: 10px;
    }

    .hero-content h1 {
        font-size: 1.1rem;
        line-height: 1.5;
        margin: 0 0 10px;
    }

    .hero-content h1 em {
        font-size: 1rem;
        display: block;
        margin-top: 6px;
    }

    .btn {
        font-size: 0.9rem;
        padding: 10px 22px;
        border-radius: 6px;
        background-color: #333333;
    }

    .btn:hover {
        background-color: #264653;
    }

    .company-info {
        font-size: 0.85rem;
        padding: 0 10px;
    }

    .slideshow-container,
    .slide {
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
    }

    .slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

footer,
.company-info {
    padding: 20px;
    text-align: center;
}