/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Alap betűtípusok */
body {
  font-family: 'Roboto', sans-serif;
  color: #333;
  background-color: #fff;
  line-height: 1.6;
}

/* Luxus font alkalmazása a formokhoz és általános szövegekhez */
.form-container, form, textarea, input, select, button {
  font-family: 'Lora', serif;
}

/* Fejléc */
header {
  background-color: #fff;
  border-bottom: 1px solid #ddd;
  padding: 15px 20px;
}
.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo a {
  font-family: 'Playfair Display', serif;
  font-size: 1.8em;
  color: #333;
  text-decoration: none;
}
nav ul {
  list-style: none;
  display: flex;
}
nav ul li {
  margin-left: 20px;
}
nav ul li a {
  text-decoration: none;
  color: #333;
  font-family: 'Lora', serif;
  font-size: 1.1em;
  transition: color 0.3s;
}
nav ul li a:hover {
  color: #bfa05a;
}

/* Fő tartalom */
main {
  position: relative;
  min-height: calc(100vh - 70px);
  overflow: hidden;
}
#background-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: -1;
  transform: translate(-50%, -50%);
  background-size: cover;
}

/* Tartalom konténer */
.content-container {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
}

/* Form konténer – maximum szélesség, középre igazítva */
.form-container {
  max-width: 500px;
  margin: 20px auto;
}

/* Űrlap stílusok */
form label {
  font-weight: bold;
  display: block;
  margin-bottom: 5px;
}
form input[type="text"],
form input[type="email"],
form input[type="url"],
form input[type="file"],
form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
}
form input[type="submit"],
form button {
  background-color: #bfa05a;
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1em;
  transition: background-color 0.3s;
}
form input[type="submit"]:hover,
form button:hover {
  background-color: #a38d5a;
}
.error {
  color: red;
  margin-bottom: 15px;
}

/* Textarea alapméret, így a hosszabb üzenetek is jól láthatók */
textarea {
  min-height: 150px;
}

/* Hero szekció – minden oldalon a social share kép is */
.hero {
  position: relative;
  text-align: center;
  color: #fff;
  margin-bottom: 20px;
}
.hero img {
  width: 100%;
  max-height: 300px;
  object-fit: cover;
  border-radius: 8px;
}
.hero h1 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Playfair Display', serif;
  font-size: 1.8em; /* Kisbetűs */
  background: rgba(0, 0, 0, 0.7); /* Sötétebb háttér */
  padding: 10px 20px;
  border-radius: 4px;
}

/* Munkakártyák */
.job-listing {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
}
.job-card {
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 20px;
  width: calc(33.333% - 20px);
  background-color: #fff;
  transition: box-shadow 0.3s;
}
.job-card:hover {
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.job-card h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5em;
  margin-bottom: 10px;
}
.job-card p {
  font-family: 'Lora', serif;
  font-size: 1em;
  margin-bottom: 10px;
}
.job-card a {
  display: inline-block;
  margin-top: 10px;
  text-decoration: none;
  color: #bfa05a;
  font-weight: bold;
}

/* Reszponzív design */
@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    align-items: center;
  }
  nav ul {
    flex-direction: column;
    align-items: center;
  }
  nav ul li {
    margin: 10px 0;
  }
  .job-card {
    width: calc(50% - 20px);
  }
}
@media (max-width: 480px) {
  .job-card {
    width: 100%;
  }
}


/* Modal stílusok */
.modal {
  display: none; /* Alapértelmezett rejtett */
  position: fixed; 
  z-index: 9999; 
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto; 
  background-color: rgba(0,0,0,0.7);
}

.modal-content {
  background-color: #fefefe;
  margin: 15% auto; 
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  max-width: 500px;
  border-radius: 8px;
  text-align: center;
  font-family: 'Lora', serif;
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}