/* ===== ALAP ===== */
body {
  margin: 0;
  background-color: #F6F4EF;
  color: #2E2E2E;
  font-family: "Segoe UI", Arial, sans-serif;
  line-height: 1.6;

/* VÍZJEL */
.vizjel {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60%;
  opacity: 0.8;      /* halvány */
  pointer-events: none;

  z-index: -1;         /* ⬅️ ez a lényeg: a háttérbe kerül */
}

header {
  background: #1C7583;
  padding: 15px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);

  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  box-sizing: border-box; /* hozzáadva */
  z-index: 1000;
}

.logo {
  height: 50px;
}

nav a {
  margin-left: 20px;
  text-decoration: none;
  color: #F08683;
  font-weight: 600;
}

nav a:hover {
  text-decoration: underline;
}

.menu {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.menu li {
    position: relative;
}

.menu a {
    text-decoration: none;
    color: #FFFFFF;
	font-size: 19px;
    font-weight: 500;
    padding: 8px 12px;
    transition: color 0.3s ease;
}

.menu a:hover {
    color: #F08683;
}

/* Menü link aláhúzás hoverkor (főmenü) */
.menu > li > a:hover {
    position: relative;
	text-decoration: none;
}

.menu > li > a:hover::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 20%;
    width: 60%;
    height: 3px;
    background-color: #F08683;
    border-radius: 2px;
}

/* Submenu doboz */
.submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    list-style: none;
    padding: 10px 0;
    white-space: nowrap;
    box-shadow: 0 4px 10px #F08675; /* zöld árnyék */
    border-left: 4px solid #F08683; /* zöld választó vonal */
    border-radius: 0 5px 5px 0;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 10;
}

/* Submenu megjelenítése hover-re */
.menu li:hover .submenu {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Submenu elemek közötti elválasztó vonal */
.submenu li {
    border-bottom: 1px solid #e0e0e0;
}

.submenu li:last-child {
    border-bottom: none;
}

.submenu a {
    padding: 8px 20px;
    display: block;
    color: #333;
    font-weight: 500;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Hover a submenu linkeken */
.submenu a:hover {
    background-color: #F08683;
    color: white;
}

/* A main tetejét toljuk le a fix header miatt */
main {
  max-width: 1200px;
  margin: auto;
  padding: 120px 40px 40px 40px; /* 120px a header miatt */
}}

h1 {
  font-size: 32px;
  margin-bottom: 20px;
}

h2 {
  font-size: 26px;
  color: #6B8E7A;
  margin-top: 50px;
  margin-bottom: 20px;
}

h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

/* ===== PILLÉREK – 2x2 ELRENDEZÉS ===== */
.pillars-container {
  display: grid;
  grid-template-columns: 1fr 1fr; /* két oszlop, de engedi a pilléreket szélesedni */
  gap: 20px;
  margin-top: 30px;
}

.pillar {
  background: #FFFFFF;
  padding: 26px; /* levegősebb belül */
  border-left: 5px solid #6B8E7A;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  font-size: 15px;
}

.pillar h3 {
  margin-top: 0;
  font-size: 18px;

}

.example {
  margin-top: 10px;
  font-style: italic;
  color: #555555;
}

.example ul {
  margin: 5px 0 0 20px;
}

/* ===== SZÁMOLT LISTÁK ===== */
ul li {
  margin-bottom: 8px;
}
.link {
  font-weight: bold;       /* vastag szöveg */
  color: black;            /* fekete */
  text-decoration: none;   /* aláhúzás eltüntetése */
}

.link:hover {
  text-decoration: underline; /* opcionális: hover-nál aláhúzás */
}
.sorkizar {
  text-align: justify; /* sorkizárt igazítás */
}
