/* ===== 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;
}

/* A main tetejét toljuk le a fix header miatt */
main {
  max-width: 1000px;
  margin: auto;
  padding: 120px 40px 40px 40px; /* 120px a header miatt */
}

h1 {
  font-size: 36px;
  margin-bottom: 20px;
}

h2 {
  color: #6B8E7A;
  margin-top: 60px;
}

h3 {
  margin-top: 40px;
}

/* ===== BEVEZETŐ SZÖVEG ===== */
p {
  max-width: 850px;
  font-size: 18px;
}

/* ===== ÁTTEKINTŐ KÁRTYÁK ===== */
.tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
  margin-top: 30px;


}

.tile {
	  font-size: 20px;
  align-items: center;     /* függőleges közép */
  justify-content: center; /* vízszintes közép */
  text-align: center;
  background: #FFFFFF;
  padding: 26px;
  border-radius: 14px;
  text-align: center;
  font-weight: 600;
  cursor: default;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.tile:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 26px rgba(0,0,0,0.14);
  background-color: #F08683;
  color: #FFFFFF;
}

/* ===== LENYITHATÓ (INTERAKTÍV) SZEKCIÓK ===== */
details {
  background: #FFFFFF;
  border-radius: 14px;
  padding: 20px 26px;
  margin-top: 22px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  transition: box-shadow 0.25s ease;
}

details[open] {
  box-shadow: 0 10px 28px rgba(0,0,0,0.14);
}

summary {
  cursor: pointer;
  font-size: 18px;
  font-weight: 600;
  color: #6B8E7A;
  list-style: none;
}

summary::marker {
  display: none;
}

summary::after {
  content: "＋";
  float: right;
  font-size: 22px;
  transition: transform 0.2s ease;
}

details[open] summary::after {
  content: "－";
}

/* ===== LISTÁK ===== */
ul {
  margin-top: 15px;
  padding-left: 20px;
}

li {
  margin-bottom: 10px;
}

/* ===== FIGYELMEZTETŐ BLOKK ===== */
.warning {
  background: #FFF0ED;
  border-left: 8px solid #C97A63;
  padding: 30px 34px;
  border-radius: 14px;
  margin-top: 70px;
}

.warning h2 {
  margin-top: 0;
  color: #8A3F2D;
}

/* ===== SEGÍTSÉG / CTA ===== */
.help-tile {
  background: #F08683;
  color: #FFFFFF;
  padding: 40px;
  border-radius: 18px;
  margin-top: 80px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.18);
}

.help-tile h2 {
  color: #FFFFFF;
  margin-top: 0;
}

.help-tile a {
  display: inline-block;
  margin-top: 18px;
  background: #FFFFFF;
  color: #F08683;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.help-tile a:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(0,0,0,0.25);
}



/* ===== MOBIL ===== */
@media (max-width: 700px) {
  main {
    padding: 40px 20px;
  }

  h1 {
    font-size: 30px;
  }

  summary {
    font-size: 17px;
  }
}
footer {
  padding: 30px;
  font-size: 14px;
  bottom: 0;
  width: 100%;
  text-align: center;
}
.content {
  display: none;
  background: #FFFFFF;
  margin-top: 30px;
  padding: 30px;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.content.active {
  display: block;
}
/* ===== TILE SZÍNEK ===== */
.tile:nth-child(1) { background-color: #F0D9EF; }
.tile:nth-child(2) { background-color: #FCDCE1; }
.tile:nth-child(3) { background-color: #FFE6BB; }
.tile:nth-child(4) { background-color: #E9ECCE; }
.tile:nth-child(5) { background-color: #CDE9DC; }
.tile:nth-child(6) { background-color: #C4DFE5; }
.tile:nth-child(7) { background-color: #F0D9EF; }
.tile:nth-child(8) { background-color: #FCDCE1; }
.tile:nth-child(9) { background-color: #FFE6BB; }
.tile:nth-child(10) { background-color: #E9ECCE; }
.tile:nth-child(11) { background-color: #CDE9DC; }
.tile:nth-child(12) { background-color: #C4DFE5; }
.tile:nth-child(13) { background-color: #F0D9EF; }

/* Hover egységes marad */
.tile:hover {
  background: #1C7583;
  color: white;
  transform: translateY(-5px);
}