/* ===== ALAP ===== */
body {
  margin: 0;
  background-color: #F6F4EF;
  color: #2E2E2E;
  font-family: "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
  margin-top: 80px;

/* 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;   /* FIXÁLÁS */
  top: 0;
  left: 0;
  width: 100%;       /* teljes szélesség */
  box-sizing: border-box; /* padding beleszámít a szélességbe */
  z-index: 999;
}

.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;
  border-left: 4px solid #F08683;
  border-radius: 0 5px 5px 0;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 10;
}

.menu li:hover .submenu {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.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;
}

.submenu a:hover {
  background-color: #F08683;
  color: white;
}

p {
  max-width: 850px;
  font-size: 18px;
}

/* ===== KÉTOSZLOPOS ELRENDEZÉS ===== */
.content-wrapper {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  margin: 40px;
  flex-wrap: wrap;
}

.intro-column {
  flex: 1 1 45%;
  min-width: 280px;
  text-align: justify; /* Sorkizárt szöveg */
}

.details-column {
  flex: 1 1 45%;
  min-width: 280px;
}

/* ===== LENYITHATÓ SZEKCIÓK ===== */
details {
  background: #FFFFFF;
  border-radius: 14px;
  padding: 20px 26px;
  margin: 22px 0;
  width: 100%;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  transition: box-shadow 0.25s ease;
  box-sizing: border-box;
}

details[open] {
  box-shadow: 0 10px 28px rgba(0,0,0,0.14);
}

summary {
  cursor: pointer;
  font-size: 18px;
  font-weight: 600;
 
  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;
}

/* Lenyíló listák címei színezése */
.details-column details.red summary {
  color: #E74C3C; /* piros */
}

.details-column details.orange summary {
  color: #E67E22; /* narancs */
}

.details-column details.green summary {
  color: #27AE60; /* zöld */
}

.details-column details.blue summary {
  color: #2980B9; /* kék */
}


/* ===== TILE-KÁRTYÁK ===== */
.tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 oszlop */
  gap: 20px;                             /* távolság a csempék között */
  margin-top: 20px;
}

.tile {
  flex: 0 1 200px;
  min-height: 120px;
  background: #FFFFFF;
  padding: 20px;
  text-align: center;      /* vízszintesen középre */
  display: flex;
  justify-content: center; /* függőlegesen középre */
  align-items: center;
  font-size: 1.3rem;       /* nagyobb betűméret */
  text-decoration: none;
  color: #2E2E2E;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  font-weight: 600;
  transition: background 0.3s, color 0.3s, transform 0.3s;
}

.tile:hover {
  background: #1C7583;
  color: white;
  transform: translateY(-5px);
}

/* ===== 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;
}

/* ===== FOOTER ===== */
footer {
  padding: 30px;
  font-size: 14px;
 
  bottom: 0;
  width: 100%;
  text-align: center;
}

/* ===== MOBIL ===== */
@media (max-width: 700px) {
 .content-wrapper {
  display: flex;
  gap: 40px;
  align-items: flex-start; /* tetején kezdődjön a két oszlop */
}

/* Bal oszlop fix szélességgel a csempék miatt */
.intro-column {
  flex: 0 0 45%;  /* fix szélesség */
  min-width: 280px;
}

/* Jobb oszlop görgethető, ha a listák nyitva vannak */
.details-column {
  flex: 1 1 45%;
  min-width: 280px;
  max-height: 80vh;      /* fix magasság a viewport-hoz képest */
  overflow-y: auto;       /* görgetés, ha a listák magasra nyílnak */
}

  .tiles {
    margin: 20px;
    gap: 15px;
  }

  .tile {
    min-height: 100px;
    padding: 16px;
  }

  .hero h1 {
    font-size: 28px;
  }
}

.pdf-download-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #e74c3c; /* piros, figyelemfelkeltő */
    color: white;
    font-weight: bold;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
    transition: background-color 0.3s, transform 0.2s;
    z-index: 1000; /* mindig felül legyen */
}

.pdf-download-btn:hover {
    background-color: #c0392b;
    transform: translateY(-2px);
}
/* ===== 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; }

/* Hover egységes marad */
.tile:hover {
  background: #1C7583;
  color: white;
  transform: translateY(-5px);
}
