body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #1d3557;
  color: #222;
}
.main-nav {
  position: sticky;
  top: 0;
  z-index: 999;
  background-color: #1d3557;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.nav-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0.5rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav-logo {
  font-size: 1.2rem;
  font-weight: bold;
  color: #fff;
}
.nav-toggle {
  display: none;
  font-size: 1.8rem;
  color: white;
  cursor: pointer;
}
.nav-list {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}
.nav-list li a {
  display: block; /* így az egész sort befoglalja */
  padding: 0.5rem;
  color: white;
  text-decoration: none;
  transition: background-color 0.3s ease;
  border-radius: 5px;
}
.nav-list li a:hover {
  background-color: #457b9d;
}
.nav-list li a:focus-visible {
  outline: 2px solid #a8dadc;
  background-color: #1d3557cc;
  border-radius: 5px;
}
button:hover, .btn:hover {
  background-color: #457b9d;
  transform: scale(1.03);
}
@media (max-width: 768px) {
.nav-list .submenu {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .nav-list .submenu li {
    padding: 0;
  }

  .nav-list .submenu li a {
    padding: 0.5rem;
    font-size: 1.2rem;
    color: #f1f1f1;
    display: block;
  }
  .nav-container {
    justify-content: space-between;
    align-items: center;
  }
  .nav-logo {
    display: block;
    font-size: 1rem;
    color: #fff;
  }
  .nav-toggle {
    order: 2;
    display: block;
    font-size: 1.8rem;
    color: #f1f1f1;
    cursor: pointer;
  }
  .nav-list {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    flex-direction: column;
    display: none;
    background-color: #0f1c2e;
    padding: 2rem 1rem;
    border-radius: 0;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    animation: slideDown 0.3s ease-out forwards;
    z-index: 999;
  }
  .nav-list.active {
    display: flex;
  }
  .nav-list li {
    text-align: center;
    padding: 0.25rem 0;
  }
  .nav-list li a {
    font-size: 1.2rem;
	padding: 0.5rem;
    color: #f1f1f1;
    transition: all 0.3s ease;
  }
  .nav-list li a:hover {
    color: #a8dadc;
    transform: scale(1.05);
  }
  @keyframes slideDown {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}
@media (min-width: 769px) {
  .nav-list .has-submenu {
    position: relative;
  }
  .nav-list .submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
	list-style: none;
	margin: 0;
	padding: 0.5rem 0;
    background-color: #1d3557;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    border-radius: 0 0 8px 8px;
    min-width: 200px;
    z-index: 1000;
  }
  .nav-list .submenu li {
    padding: 0;
  }
  .nav-list .submenu li a {
    display: block;
    padding: 0.5rem 1rem;
    color: white;
    text-decoration: none;
    font-size: 1rem;
    transition: background-color 0.3s;
  }
  .nav-list .submenu li a:hover {
    background-color: #457b9d;
  }
  .nav-list .has-submenu:hover .submenu {
    display: block;
  }
}
.lang-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0; top: 0;
  width: 100vw; min-height: 100vh;
  background: rgba(0, 0, 0, 0.6);
  animation: fadeIn 0.3s ease-in-out;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.lang-modal-content {
  background: white;
  padding: 2rem;
  max-width: 320px;
  margin: 10vh auto;
  border-radius: 10px;
  text-align: center;
  position: relative;
  box-shadow: 0 0 20px rgba(0,0,0,0.3);
}
.lang-modal-content h3 {
  margin-bottom: 1rem;
  font-size: 1.2rem;
}
.lang-modal-content .lang-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.lang-modal-content .lang-list li {
  margin: 0.5rem 0;
}
.lang-modal-content .lang-list a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #1d3557;
  text-decoration: none;
  font-weight: 500;
  padding: 0.4rem 0.6rem;
  transition: background-color 0.2s;
  border-radius: 6px;
}
.lang-modal-content .lang-list a:hover {
  background-color: #f1f1f1;
}
.lang-modal-content .lang-list img {
  width: 24px;
  height: auto;
  border-radius: 3px;
  box-shadow: 0 0 2px rgba(0,0,0,0.2);
}
.close-modal {
  position: absolute;
  top: 8px;
  right: 12px;
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: #ff0000;
}
/* Hero section */
.hero-section {
  background-image: url("../images/ui/jerusalem_bg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.hero-overlay {
  background-color: rgba(0, 0, 0, 0.4);
  padding: 2rem 4rem;
  border-radius: 8px;
}
.hero-overlay h1 {
  color: white;
  font-size: 3rem;
  font-weight: bold;
  text-align: center;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.6);
  font-family: 'Georgia', serif;
}
/* Section Styling */
.content-section {
  padding: 4rem 2rem;
  background-color: #f8f9fa;
  color: #333;
}
.content-section h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: #1d3557;
}
.content-section p {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.6;
}
