/* ===== ALAP ===== */
body {
  margin: 0;
  background-color: #F6F4EF;
  color: #2E2E2E;
  font-family: "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
  margin-top: 100px;

/* 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;
}

/* ===== HERO + ADOMÁNY ===== */
.hero-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1000px;
  margin: 40px auto;
  gap: 30px;
}

.hero {
  flex: 1;
}

.hero h1 {
  font-size: 36px;
  margin-bottom: 20px;
}

.hero p {
  font-size: 18px;
  color: #555;
}

.help-tile {
  background: #F08683;
  color: #FFFFFF;
  padding: 20px 30px;
  border-radius: 14px;
  width: 250px;
  height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.help-tile p {
  margin: 0 0 20px 0;
  font-size: 16px;
  line-height: 1.3;
}

.help-tile a {
  background: #FFFFFF;
  color: #F08683;
  padding: 12px 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);
}

/* ===== TILE-KÁRTYÁK ===== */
.tiles {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 40px;
  justify-content: center;
}

.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);
}

/* ===== BOTTOM BAR – KOMPAKT ===== */
.bottom-bar {
  background: #1C7583;
  color: #FFFFFF;
  padding: 30px 40px;       /* kisebb padding, kompaktabb */
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 14px;          /* kisebb betűméret */
  border-top: 3px solid #F08683;
}

.bottom-left, .bottom-right {
  display: flex;
  flex-direction: column;
  gap: 15px;
  flex: 1;
  min-width: 200px;         /* kisebb minimum szélesség */
}

.search-box, .info-box, .contact-box {
  background: rgba(255, 255, 255, 0.08);
  padding: 12px 15px;       /* kisebb padding */
  border-radius: 8px;
  box-sizing: border-box;
}

.search-row {
  display: flex;
  gap: 6px;
}

.search-row input {
  flex: 1;
  padding: 6px 10px;
  border: none;
  background: rgba(255,255,255,0.15);
  color: white;
  border-radius: 4px;       /* finomított sarkok */
  max-width: 200px;         /* keresőmező ne legyen túl széles */
}

.search-row input::placeholder {
  color: #E0E0E0;
  font-size: 13px;
}

.search-row button {
  padding: 6px 12px;
  border: none;
  background: #F08683;
  color: white;
  font-weight: 600;
  cursor: pointer;
  border-radius: 4px;
  transition: background 0.3s ease;
}

.search-row button:hover {
  background: #e36f6b;
}

.info-box a {
  color: #FFFFFF;
  text-decoration: none;
  font-weight: 500;
}

.info-box a:hover {
  color: #F08683;
  text-decoration: underline;
}

.contact-box p {
  margin: 3px 0;            /* kisebb margó */
}

/* Kövess minket – nincs buborék, nagyobb ikon */
.follow-box {
  background: transparent;  /* eltüntetjük a buborékot */
  padding: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.follow-box a img {
  width: 50px;              /* nagyobb ikon */
  height: 50px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.follow-box a img:hover {
  transform: scale(1.1);
  opacity: 0.85;
}

/* Mobil optimalizálás */
@media (max-width: 900px) {
  .bottom-bar {
    flex-direction: column;
    padding: 20px 15px;
    text-align: center;
  }

  .bottom-left, .bottom-right {
    align-items: center;
    flex: unset;
  }

  .search-row {
    flex-direction: column;
    gap: 8px;
  }

  .search-row input, .search-row button {
    width: 100%;
    max-width: unset;
  }
}


/* ===== MOBIL ===== */
@media (max-width: 700px) {
  .hero-wrapper {
    flex-direction: column;
    align-items: stretch;
  }

  .help-tile {
    margin: 20px auto 0 auto;
    width: 100%;
    height: auto;
  }

  .hero h1 {
    font-size: 28px;
  }

  .tiles {
    margin: 20px;
    gap: 15px;
  }

  .tile {
    min-height: 100px;
    padding: 16px;
  }
}
.facebook-link {
  position: absolute;
  top: 100px;      /* menüsor alá */
  right: 20px;
  z-index: 10;
}

.facebook-icon {
  width: 60px;     /* ikon mérete */
  height: auto;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.facebook-icon:hover {
  transform: scale(1.1);
  opacity: 0.85;
}
/* ===== TILE SZÍNEK ===== */
.tile:nth-child(1) { background-color: #FFB3D9; }
.tile:nth-child(2) { background-color: #D8B4F8; }
.tile:nth-child(3) { background-color: #74C0FC; }
.tile:nth-child(4) { background-color: #95E1A3; }
.tile:nth-child(5) { background-color: #FFD670; }
.tile:nth-child(6) { background-color: #F08683; }

/* Hover egységes marad */
.tile:hover {
  background: #1C7583;
  color: white;
  transform: translateY(-5px);
}