/* ===== HÁTTÉR ===== */
body {
    background: url("MF_LOGO.png") no-repeat center center fixed;
    background-size: cover;
    margin: 0;
    padding: 0;
}

/* ===== CÍM ===== */
#kapcsolat h1 {
    font-size: clamp(2.2rem, 6vw, 4.2rem);
    letter-spacing: 3px;
    text-transform: uppercase;
    text-align: center;
    font-weight: 700;
    color: #d0d0d0;
    text-shadow: #0d0d0d 3px 3px;
    margin: 0 0 0.3em;
    transition: 0.3s ease;
}


#kapcsolat h1:hover{
     color: #ffffff;
    transform: translateY(-3px); 
    text-shadow:
        0 0 8px rgba(0, 140, 255, 0.7),
        0 0 15px rgba(0, 140, 255, 0.5),
        0 0 25px rgba(0, 140, 255, 0.3);
}

/* ===== KÖZPONTI KÁRTYA ===== */
.contact-card {
    width: 850px;
    padding: 40px;
    margin: 0 auto 80px auto;
    border-radius: 20px;

    background: linear-gradient(145deg, #1a1a1a, #0d0d0d);
    border: 2px solid rgba(120,120,120,0.4);

    transform: perspective(900px) rotateX(12deg) rotateY(-6deg);
    transition: 0.5s ease;

    box-shadow:
        0 25px 45px rgba(0,0,0,0.8),
        0 0 35px rgba(0, 140, 255, 0.4),
        inset 0 0 25px rgba(255,255,255,0.05),
        inset 0 0 10px rgba(0,0,0,0.6);
}

.contact-card:hover {
    transform: perspective(900px) rotateX(4deg) rotateY(4deg) scale(1.05);
    box-shadow:
        0 35px 55px rgba(0,0,0,0.9),
        0 0 55px rgba(0, 140, 255, 0.7),
        inset 0 0 35px rgba(255,255,255,0.08);
}

/* ===== FORM ===== */
.contact-form label {
    color: #d0d0d0;
    font-weight: 600;
    margin-top: 15px;
    display: block;
    align-items: center;

    text-shadow:
        0 0 6px rgba(0, 140, 255, 0.25),
        0 0 12px rgba(0, 140, 255, 0.15);
}

.contact-form input,
.contact-form textarea {
    max-width: 800px;
    width: 100%;
    padding: 12px 14px;
    margin-top: 6px;
    align-items: center;

    background: #0f0f0f;
    border: 2px solid rgba(120,120,120,0.4);
    border-radius: 12px;
    color: #ffffff;
    font-size: 18px;

    box-shadow:
        inset 0 0 12px rgba(0,0,0,0.6),
        0 0 12px rgba(0,140,255,0.3);

    transition: 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #008cff;
    box-shadow:
        0 0 18px rgba(0,140,255,0.8),
        inset 0 0 15px rgba(255,255,255,0.1);
}

/* ===== GOMB ===== */
.contact-form button {
    margin-top: 25px;
    padding: 14px 20px;

    background: linear-gradient(145deg, #0f0f0f, #050505);
    color: #ffffff;
    font-size: 20px;
    font-weight: 600;
    border: 2px solid rgba(120,120,120,0.4);
    border-radius: 12px;
    cursor: pointer;

    box-shadow:
        0 10px 25px rgba(0,0,0,0.7),
        0 0 25px rgba(0,140,255,0.4),
        inset 0 0 12px rgba(255,255,255,0.05);

    transition: 0.35s ease;
}

.contact-form button:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow:
        0 0 25px rgba(0,140,255,0.9),
        0 0 35px rgba(0,140,255,0.7),
        inset 0 0 15px rgba(255,255,255,0.1);
}

/* ===== LOGÓ A FORM TETEJÉN ===== */
.kapcsolat-fejlec {
    text-align: center;
    margin-bottom: 30px;
}

.kapcsolat-logo {
    max-width: 620px;
    width: 60%;
    height: auto;
    display: inline-block;

    padding: 20px;
    background: #0f0f0f;
    border: 2px solid rgba(120,120,120,0.4);
    border-radius: 20px;

    box-shadow:
        inset 0 0 12px rgba(0,0,0,0.6),
        0 0 20px rgba(0,140,255,0.4);

    transition: 0.35s ease;
}

.kapcsolat-logo:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow:
        inset 0 0 15px rgba(255,255,255,0.08),
        0 0 30px rgba(0,140,255,0.7);
}

/* ============================================
   MOBIL FINOMÍTÁS (<=760px)
   ============================================ */
@media (max-width: 760px) {
    .contact-card {
        width: 100%;
        max-width: 92vw;
        padding: 22px;
        transform: none;
    }
    .contact-card:hover {
        transform: scale(1.01);
    }

    .contact-form input,
    .contact-form textarea {
        font-size: 16px; /* 16px alatt egyes mobil böngészők beleközelítenek a mezőbe */
    }

    .kapcsolat-logo {
        width: 80%;
        padding: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .contact-card, .kapcsolat-logo { transition-duration: 0.01ms; }
}