.fodal{margin-left:auto; margin-right:auto; display:block;}



:root{
  --cream: #f1efe8;
  --dark:  #131313;
  --thin:  #a1a09d;
  /* általános méretek */
  --max-width: 1000px;
  --radius: 8px;
}

html,body{
  height: 100%;
  margin: 0;
  padding: 0;
}
body {
  margin: 0;
  font-family: "Microsoft YaHei", "Segoe UI", Roboto, Arial, sans-serif;
  background-color: var(--cream); /* vajszínű háttér */
  color: var(--dark); /* sötét barna / betűszín */
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.kep-szoveg {
  display: flex;
  align-items: center; /* Kép és szöveg függőlegesen középen */
  gap: 30px; /* nagyobb távolság */
}
.kep-szoveg img { 
  width: 45%;       /* nagyobb arány a szöveghez képest */
  max-width: 600px; /* hogy ne legyen túl nagy */
  border-radius: 8px;
}
/* Mobilbarát beállítás */
@media (max-width: 768px) {
  .kep-szoveg {
      flex-direction: column;
      text-align: center;
  }
  .kep-szoveg img {
      width: 100%;
      max-width: none;
  }
}
/* Fejléc + menü */
header {
  background-color: var(--dark);
  position: sticky;
  top: 0;
  z-index: 1000;
}
/* vékony csík a fejléc alatt (pseudo-element) */
header::after{
  content: "";
  display: block;
  height: 4px; /* kérted vékony csík */
  background: var(--thin);
}
/* navigáció */
.nav-menu {
  display: flex;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}


/* Általános szakaszok */
section {
  padding: 40px 20px;
  max-width: var(--max-width);
  margin: auto;
}
h1, h2 {
  text-align: center;
  margin: 0 0 18px 0;
}
/* Hero / kezdő kép */
.hero {
  text-align: center;
  padding: 40px 20px;
  background-color: transparent;
}
.hero img {
  max-width: 100%;
  border-radius: var(--radius);
  display: block;
  margin: 20px auto 0 auto;
}
/* Képek általános */
img {
  max-width: 100%;
  border-radius: var(--radius);
  display: block;
}
/* Galéria rács */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
  margin-top: 20px;
}
/* Formok */
form {
  display: grid;
  gap: 10px;
  max-width: 500px;
  margin: auto;
}
input, textarea, select {
  padding: 10px;
  border: 1px solid #d8d6d2;
  border-radius: 6px;
  font-family: inherit;
  font-size: 15px;
  background: #fff;
  color: var(--dark);
  box-sizing: border-box;
}
textarea { min-height: 100px; resize: vertical; }
/* Gombok */
button {
  padding: 10px 14px;
  background: var(--dark);
  color: var(--cream);
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
}
button:hover {
  filter: brightness(1.12);
}
/* Footer */
footer {
  background-color: var(--dark);
  color: var(--cream);
  text-align: center;
  padding: 15px;
  margin-top: 40px;
}
/* Lightbox / modal galéria (kattintásra megnyíló nagy kép) */
.lightbox {
  display: none; /* JS kapcsolja be */
  position: fixed;
  z-index: 9999;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.9);
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 30px;
  box-sizing: border-box;
}
.lightbox[aria-hidden="false"]{ display: flex; }
.lightbox img {
  max-width: 90%;
  max-height: 80%;
  border-radius: 6px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.6);
}
.lightbox .close,
.lightbox .prev,
.lightbox .next {
  position: absolute;
  color: white;
  font-size: 2.2rem;
  cursor: pointer;
  background: rgba(255,255,255,0.06);
  padding: 10px;
  border-radius: 50%;
  user-select: none;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.lightbox .close{ top: 20px; right: 20px; }
.lightbox .prev { left: 30px; top: 50%; transform: translateY(-50%); }
.lightbox .next { right: 30px; top: 50%; transform: translateY(-50%); }
/* mobil finomhangolás */
@media (max-width: 600px){
  .nav-menu a { padding: 12px 10px; font-size: 14px; }
  .lightbox img { max-width: 95%; max-height: 70%; }
  section { padding: 24px 12px; }
}
/* kisebb esztétikai javítások */
ol, ul { padding-left: 1.2rem; }
a { color: inherit; } /* linkek öröklik a betűszínt (sötét barna) */
.progress-steps {
  max-width: 600px;
  margin: 30px auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 6px; /* nagyon kicsi távolság */
}
/* Lépésdoboz */
.step {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  padding: 14px 16px;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.04);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.step strong {
  display: block;
  margin-bottom: 5px;
  font-size: 15px;
  font-weight: 600;
  color: #131313;
}
.desc {
  font-size: 13px;
  line-height: 1.4;
  color: rgba(19,19,19,0.85);
}
/* Hover */
.step:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  border-color: #a1a09d;
}
/* Nyíl */
.arrow {
  margin: 2px 0; /* minimális térköz */
  color: #a1a09d;
  display: flex;
  justify-content: center;
  align-items: center;
}
.arrow svg {
  width: 26px;
  height: 26px;
  transition: transform 0.2s ease;
}
.arrow:hover svg {
  transform: translateY(1px);
}
/* Mobil */
@media (max-width: 768px) {
  .step {
    width: 80%;
    margin: 0 auto;
    text-align: left;
    padding: 12px 14px;
  }
  .arrow svg {
    width: 30px;
    height: 30px;
  }
}
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 30px;
  height: 90px; /* nagyobb magasság */
  background-color: #fff;
  border-bottom: 1px solid #ccc;
}
.logo img {
  height: 80px; /* arányosan nagyobb logó */
  width: auto;
}
.nav-menu {
  flex-grow: 1;
  display: flex;
  justify-content: flex-end;
}
.nav-menu ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  height: 100%;
}
.nav-menu li {
  height: 100%;
}
.nav-menu a {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 25px;
  text-decoration: none;
  color: #2d241f;
  font-weight: bold;
  font-size: 17px;
  position: relative;
  transition: background-color 0.3s ease, color 0.3s ease;
}
/* Szebb hover: háttér + animált aláhúzás */
.nav-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 3px;
  background: #2d241f;
  transition: width 0.3s ease;
}
.nav-menu a:hover {
  background: linear-gradient(to bottom, rgba(45, 36, 31, 0.05), rgba(45, 36, 31, 0.15));
  color: #000;
}
.nav-menu a:hover::after {
  width: 100%;
}
/* Mobil nézet */
@media (max-width: 768px) {
  .site-header {
    flex-direction: column;
    align-items: center;
    height: auto;
    padding: 15px;
  }
  .logo img {
    height: 60px;
  }
  .nav-menu {
    justify-content: center;
    width: 100%;
  }
  .nav-menu ul {
    flex-direction: column;
    gap: 5px;
    align-items: center;
    height: auto;
  }
  .nav-menu a {
    padding: 12px 20px;
    height: auto;
  }
  .nav-menu a::after {
    bottom: 5px;
  }
}
.rolunk {
display: flex;
align-items: flex-start;
gap: 20px;
background-color: #f8f3e8; /* vajszín */
padding: 20px;
}
.rolunk img {
max-width: 350px;
height: auto;
border-radius: 4px;
}
.rolunk-text {
flex: 1;
color: #2e1e1c; /* barna */
}
.rolunk-text p {
margin-bottom: 15px;
line-height: 1.6;
}
.rolunk-text .bold {
font-weight: bold;
}
.rolunk-text .quote {
text-align: right;
font-style: italic;
}








/* Aktív link stílus */
.nav-menu a.active {
  background: linear-gradient(to bottom, rgba(45, 36, 31, 0.12), rgba(45, 36, 31, 0.22));
  color: #000;
  box-shadow: inset 0 -3px #2d241f;
}

/* Hover állapot feltűnőbb */
.nav-menu a:hover {
  background: linear-gradient(to bottom, rgba(45, 36, 31, 0.1), rgba(45, 36, 31, 0.2));
  color: #000;
  box-shadow: inset 0 -3px #2d241f, 0 3px 8px rgba(0,0,0,0.15);
  transform: translateY(-1px);
}

/* Hover aláhúzás marad */
.nav-menu a:hover::after {
  width: 100%;
}

/* Hover & Active állapot magasság kitöltése */
.nav-menu li {
  display: flex;
  align-items: stretch;
}
.nav-menu a {
  display: flex;
  align-items: center;
  height: 100%;
}







/* Header layout */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 30px;
  height: 90px; /* kicsit kisebb, arányos magasság */
  background: #fff;
  border-bottom: 1px solid #ccc;
}

/* Logó + cégnév */
.logo-area {
  display: flex;
  flex-direction: column;
  align-items: center; /* középre igazítja a logót + nevet */
}
.logo-area img {
  height: 58px; /* kisebb logó */
  width: auto;
}
.company-name {
  font-size: 16px;
  font-weight: 700;
  margin-top: 3px;
  color: #2d241f;
  text-align: center; /* pontos közép a logó alatt */
}
/* Szlogen */
.slogan {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-left: 25px;
  font-family: "Microsoft YaHei", Arial, sans-serif;
  color: #2d241f;
  white-space: nowrap;
}
.slogan .line1 {
  font-size: 17px;
  font-weight: 600;
  margin-left: 5px; /* balra tolva */
}
.slogan .line2 {
  font-size: 15px;
  font-style: italic;
  margin-top: 0px;
  margin-left: 80px; /* jobbra tolva */
}


@media (max-width: 768px) {
  .slogan {
    margin: 8px 0;
    align-items: center;
  }
  .slogan .line1,
  .slogan .line2 {
    margin-left: 0; /* mobilon mindkettő középen */
  }
}






.arajanlat {
  max-width: 600px;
  margin: 40px auto;
  background: #fff;
  padding: 25px 28px;
  border-radius: var(--radius);
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}
.arajanlat h1 {
  text-align: center;
  margin-bottom: 10px;
}
.arajanlat .intro {
  text-align: center;
  margin-bottom: 25px;
  color: #444;
}

.arajanlat form {
  display: grid;
  gap: 16px;
}
.arajanlat label {
  display: flex;
  flex-direction: column;
  font-weight: 600;
  font-size: 14px;
  color: var(--dark);
}
.arajanlat input,
.arajanlat select,
.arajanlat textarea {
  margin-top: 5px;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 15px;
  font-family: inherit;
}
.arajanlat button {
  padding: 14px;
  background: var(--dark);
  color: var(--cream);
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.25s ease;
}
.arajanlat button:hover {
  background: #333;
}


 



.arajanlat fieldset.butor-tipus {
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 16px 18px;
  background: #fafafa;
}

.arajanlat fieldset.butor-tipus legend {
  font-weight: 600;
  margin-bottom: 12px;
  font-size: 15px;
  color: var(--dark);
}

.radio-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
}

.radio-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.radio-group label:hover {
  border-color: var(--dark);
  background: #f3f3f3;
}

.radio-group input[type="radio"] {
  accent-color: var(--dark); /* szebb natív stílus */
  transform: scale(1.2);
}









.kapcsolat {
  max-width: 1000px;
  margin: 40px auto;
  padding: 20px;
}

.kapcsolat-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  align-items: flex-start;
  margin-bottom: 30px;
}

.kapcsolat-kep img {
  max-width: 350px;
  border-radius: 8px;
  box-shadow: 0 3px 12px rgba(0,0,0,0.2);
}

.kapcsolat-adatok {
  flex: 1;
  font-size: 16px;
  line-height: 1.6;
}

.kapcsolat-adatok a {
  color: #2d241f;
  font-weight: bold;
  text-decoration: none;
}

.kapcsolat-adatok a:hover {
  text-decoration: underline;
}

.kapcsolat-terkep iframe {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 3px 12px rgba(0,0,0,0.2);
}

/* Mobil nézet */
@media (max-width: 768px) {
  .kapcsolat-wrapper {
    flex-direction: column;
    align-items: center;
  }
  .kapcsolat-kep img {
    max-width: 100%;
  }
}




/* ---- Mobilbarát fejléc javítás ---- */
@media (max-width: 768px) {
  .site-header {
    flex-direction: column;
    align-items: center;
    height: auto;
    padding: 15px;
    text-align: center;
  }

  .logo img {
    height: 55px;  /* kisebb logó mobilon */
  }

  .logo h1 {
    font-size: 20px;
    margin-top: 5px;
  }

  .slogan {
    font-size: 14px;
    margin-top: 4px;
    line-height: 1.3;
  }

  .nav-menu {
    width: 100%;
    justify-content: center;
    margin-top: 10px;
  }

  .nav-menu ul {
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 0;
  }

  .nav-menu a {
    width: 100%;
    text-align: center;
    padding: 12px 0;
  }
}








