/* ---- Általános reset ---- */
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
/* ----- HEADER ----- */
header {
    background: #1E3A5F;
    color: white;
    margin: 0;
    padding: 0;
    width: 100%;
    box-shadow: 0 0 8px rgba(0,0,0,0.3);
    position: relative;
    z-index: 1000;
}
header h2 {
    color: white !important;
}


/* ----- FELSŐ SÁV: mindig egy sor! ----- */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;  				
    padding: 12px 16px;
    box-sizing: border-box;
}

/* ----- LOGO ----- */
.logo img {
    height: 55px;
    width: auto;
}

/* ----- OLDAL CÍM (középen) ----- */
#oldal-cim {
    flex: 1;
    text-align: center;
    margin: 0;
    font-size: 22px;
}

/* ----- HAMBURGER ----- */
.hamburger {
    width: 35px;
    cursor: pointer;
    display: block;
}


.hamburger span {
	  width: 28px; 
    height: 4px;
    background: white;
    display: block;
    margin:6px 0;
    border-radius: 3px;
    transition: 0.3s;
}


/* ----- LENYÍLÓ MENÜ DOBOZ ----- */
.nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;       /* mindig közvetlen a header alatt */
    right: 0;
    width: 230px;
    background: white;
    padding: 10px 0;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    z-index: 999;
}

/* ----- MENU LINKEK ----- */
.nav-links a {
    display: block;
    padding: 12px 20px;
    color: #1E3A5F;
    text-decoration: none;
    border-bottom: 1px solid #ddd;
}

.nav-links a:hover {
    background: #e6e6e6;
}

/* ----- NYITVA ÁLLAPOT ----- */
.nav-links.open {
    display: flex;
}

/*E_MAIL Kapcsolathoz*/
.kapcsolat-container {
    max-width: 600px;
    margin: 40px auto;
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.kapcsolat-form label {
    font-weight: bold;
    margin-top: 10px;
    display: block;
    color: #1E3A5F;
}

.kapcsolat-form input,
.kapcsolat-form textarea {
    width: 100%;
    padding: 10px;
    margin-top: 6px;
    margin-bottom: 18px;
    border: 1px solid #ccc;
    border-radius: 8px;
}

.kapcsolat-form button {
    background: #1E3A5F;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
}

.kapcsolat-form button:hover {
    background: #29466F;
}


