/* ===== ALAP ===== */
body {
  margin: 0;
  background-color: #F6F4EF;
  color: #2E2E2E;
  font-family: "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
  margin-top: 40px;
  }
  
  .page-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
  max-width: 1400px;
  margin: auto;
  padding: 120px 20px 40px 20px;
}

/* 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;
}

/* ===== OLDAL TARTALOM ===== */
main {
  max-width: 1200px;
  margin: auto;
  padding: 120px 20px 40px 20px;
  box-sizing: border-box;


}

h1 {
  font-size: 36px;
  margin-bottom: 20px;
}

h2 {
  color: #6B8E7A;
  margin-top: 50px;
}

section {
  margin-bottom: 40px;
}

/* ===== CSEMPEK ===== */

.tiles {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 20px 10px;
  justify-content: center;
}

.tile {
  flex: 0 1 200px;
   min-height: 120px;
  background: #FFFFFF;
  padding: 20px;
  text-align: center;
  text-decoration: none;
  color: #2E2E2E;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  transition: background 0.3s, color 0.3s, transform 0.3s;
}

.tile:hover {
  background: #1C7583;
  color: white;
  transform: translateY(-5px);
}

.about-page {
  max-width: 1100px;
  margin: auto;
  padding: 60px 20px;
}

/* HERO */
.about-hero {
  text-align: center;
  margin-bottom: 70px;
}

.about-hero h1 {
  font-size: 36px;
  margin-bottom: 20px;
}

.about-hero p {
  font-size: 18px;
  max-width: 700px;
  margin: auto;
}

/* KÁRTYÁK */
.about-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 80px;
}

.about-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  transition: transform .3s ease, box-shadow .3s ease;
}

.about-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

.about-card h2 {
  margin-bottom: 16px;
  color: #1C7583;
  margin-top: 10px;
}

.about-card li {
  margin-bottom: 10px;
}

/* ===== ÉRTÉKEINK ===== */
.about-values {
  text-align: center;
  margin-bottom: 80px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.value {
  padding: 18px;
  border-radius: 40px;
  background: #F5F5F5;
  font-weight: 600;
  transition: background .3s ease, transform .3s ease;
  position: relative; /* tooltip pozíciónak */
}

.value:hover {
  background: #E7F4F6;
  transform: scale(1.05);
}

/* Alapból rejtett leírás */
.value-desc {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: #FFFFFF;
  color: #2E2E2E;
  padding: 15px 18px;
  border-radius: 20px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  opacity: 0;
  visibility: hidden;
  width: 250px;
  text-align: center;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 10;
}

/* Hoverkor megjelenik */
.value:hover .value-desc {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* DETAILS */
.about-details details {
  max-width: 800px;
  margin: 0 auto 20px;
  background: #ffffff;
  border-radius: 14px;
  padding: 18px 22px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.07);
}

.about-details summary {
  cursor: pointer;
  list-style: none;
  font-weight: 600;
}

.about-details summary::after {
  content: "+";
  float: right;
  font-size: 22px;
}

.about-details details[open] summary::after {
  content: "–";
}

.about-details p {
  margin-top: 15px;
}

/* CTA */
.about-cta {
  text-align: center;
  background: linear-gradient(135deg, #1C7583, #4FB3BF);
  color: white;
  padding: 50px 25px;
  border-radius: 22px;
  margin-top: 90px;
}

.cta-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 14px 34px;
  background: white;
  color: #1C7583;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  transition: transform .3s ease;
}

.cta-btn:hover {
  transform: scale(1.08);
}


/* ===== BAL OLDALI CSEMPÉK ===== */
.left-docs {
  position: fixed;
  left: 20px;   /* balra rögzítve */
  top: 40%;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 1001;
}

.doc-tile {
  background: #F5F5F5;
  color: #2E2E2E;
  padding: 16px 22px;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  text-align: left;
  width: 120px; /* egységes szélesség */
}

.doc-tile:hover {
  background: #1C7583;
  color: white;
  transform: translateX(5px); /* kis mozgás jobbra */
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}


/* Mobilon kisebb padding */
@media (max-width: 768px) {
  .site-footer {
    padding: 30px 15px;
    font-size: 14px;
  }
}


/* Mobilon kisebb padding */
@media (max-width: 768px) {
  .site-footer {
    padding: 30px 15px;
    font-size: 14px;
  }
}

/* Mobilon lejjebb tolva, hogy ne takarja a tartalmat */
@media (max-width: 768px) {
  .left-docs {
    position: static;
    flex-direction: row;
    justify-content: center;
    margin-bottom: 20px;
  }

  .doc-tile {
    width: auto;
    padding: 12px 18px;
  }
}


/* ===== ÉRTÉKEINK – SZÍNEZETT GOMBOK ===== */
.values-grid .value:nth-child(1) {
  background-color: #F0D9EF;
}

.values-grid .value:nth-child(2) {
  background-color: #FCDCE1;
}

.values-grid .value:nth-child(3) {
  background-color: #FFE6BB;
}

.values-grid .value:nth-child(4) {
  background-color: #E9ECCE;
}

/* Hover finom, egységes */
.values-grid .value:hover {
  background-color: #E7F4F6;
  transform: scale(1.05);
}

/* ===== NAGY KÉPERNYŐN OLDALSÓ TÉR ===== */
@media (min-width: 1200px) {
  main {
    margin-left: 220px; /* csak nagy monitoron tolódik el */
  }
}
{
  box-sizing: border-box;
}

@media (max-width: 1024px) {
  .page-layout {
    grid-template-columns: 1fr;
  }

  .left-docs {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }
}