/* Reset és alapbeállítás */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Open Sans', sans-serif;
  background-color: #EFE5DA;
  color: #333333;
  line-height: 1.6;
  scroll-behavior: smooth;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  max-width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Fejléc */
.header {
  background-color: #FFFFFF;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 40px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 999;
}

.logo {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 2rem;
  color: #4A7C59;
}

.logo span {
  font-weight: 300;
  color: #D9BF77;
}

.navbar ul {
  list-style: none;
  display: flex;
  gap: 25px;
}

.navbar a {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  color: #4A7C59;
  transition: color 0.3s, border-bottom 0.3s;
  padding-bottom: 5px;
  border-bottom: 2px solid transparent;
}

.navbar a:hover {
  color: #803D3B;
  border-bottom: 2px solid #803D3B;
}

/* Hero szakasz */
.hero {
  background-image: url('IMG_5881.jpeg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: white;
  text-align: center;
  padding: 140px 20px;
  border-radius: 0 0 40px 40px;
  position: relative;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}



.hero h1 {
  font-size: 4rem;
  font-family: 'Montserrat', sans-serif;
  color: #FDFDFD;
}

.hero p {
  margin-top: 20px;
  font-size: 1.4rem;
}

.hero img {
  position: absolute;
  bottom: -50px;
  left: 50%;
  transform: translateX(-50%);
  max-width: 80%;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

/* Szekciók */
.section {
  padding: 100px 20px;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.section.visible {
  opacity: 1;
  transform: translateY(0);
}

.section:nth-child(even) {
  background-color: #F3E9D2;
}

.section:nth-child(odd) {
  background-color: #FFFFFF;
}

.section h2 {
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  font-size: 3rem;
  margin-bottom: 50px;
  color: #4A7C59;
}

.section p {
  max-width: 800px;
  margin: 0 auto 40px;
  text-align: center;
  font-size: 1.3rem;
}

/* Képblokkok */
.image-block {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.image-block img {
  max-width: 300px;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.image-block img:hover {
  transform: scale(1.05);
}

/* Táblázat */
table {
  width: 90%;
  max-width: 800px;
  margin: 0 auto;
  border-collapse: collapse;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

th, td {
  padding: 20px;
  text-align: left;
}

th {
  background-color: #4A7C59;
  color: white;
}

table tr {
  background-color: #ffffff !important;
}


/* Form */
form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

input, textarea {
  padding: 15px;
  border-radius: 8px;
  border: 1px solid #ddd;
  font-size: 1rem;
  transition: all 0.3s;
}

input:focus, textarea:focus {
  border-color: #4A7C59;
  outline: none;
}

button {
  background-color: #4A7C59;
  color: white;
  padding: 15px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.3s;
}

button:hover {
  background-color: #803D3B;
  transform: scale(1.05);
}

/* Footer */
.footer {
  background-color: #4A7C59;
  color: white;
  text-align: center;
  padding: 20px;
  font-size: 0.9rem;
}

/* Responsiveness */
@media (max-width: 768px) {
  .navbar ul {
      flex-direction: column;
      align-items: center;
      gap: 10px;
  }

  .hero h1 {
      font-size: 2.5rem;
  }

  .section {
      padding: 60px 20px;
  }

  .image-block img {
      max-width: 90%;
  }
}

.section {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.section.visible {
  opacity: 1;
  transform: translateY(0);
}


.legal-notice-wrapper {
  display: flex;
  justify-content: flex-end;
  margin-top: 40px;
  padding-right: 40px;
}

.legal-notice {
  max-width: 300px;
  font-family: 'Caveat', cursive;
  font-size: 12px;
  color: #000000;
  background: transparent;
  padding: 10px;
  border-radius: 8px;
  text-align: right;
}

.legal-notice img {
  display: inline-block;
  height: 30px;
  width: auto;
  vertical-align: middle;
  margin-bottom: 8px;
}

#fontos-info {
  text-align: center;
  margin-top: 40px;
  padding: 20px;
  background-color: #F3E9D2; /* vagy az, amit a többi szekciónál használsz */
  border-radius: 8px;
}

#fontos-info .kiemelt {
  color: red;
  font-weight: bold;
  font-size: 20px;
  margin-bottom: 10px;
}


.legal-notice-wrapper {
  text-align: center;
  margin-top: 30px;
  padding: 10px;
}

.legal-logo {
  width: 300px; /* arányos a szöveghez */
  height: auto;
  margin-bottom: 15px;
}

.legal-text {
  font-size: 12px !important;
  max-width: 400px !important;
  margin: 0 auto;
  line-height: 1.2;
  text-align: right !important;
}

.legal-footer {
  background-color: #ffffff;
  padding: 40px;
}

.legal-logo {
  width: 300px; /* arányos a szöveghez */
  height: auto;
  margin-bottom: 15px;
}

.legal-text {
  font-size: 12px !important;
  max-width: 400px !important;
  margin: 0 auto;
  line-height: 1.2;
  text-align: right !important;
  }


#scrollTopBtn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  background-color: #ddd;
  color: white;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 50px; /* visszavettem a nyilat, hogy beleférjen a körbe */
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  transition: background-color 0.3s ease, transform 0.2s ease;

  display: flex;
  justify-content: center;
  align-items: center;
}



/* ---------------------------------------------------
   HAMBURGER + MOBILE MENU RULES (target width ≤768px)
   --------------------------------------------------- */
/* 1) Hide the hamburger on desktop, show it on mobile */
#hamburger {
  display: none;
}

/* 2) By default (desktop), keep nav links visible. On mobile, hide the UL */
@media (max-width: 768px) {
  /* Show the hamburger */
  #hamburger {
    display: block;
    z-index: 1001; /* sit above the nav when open/closed */
  }

  /* Hide the nav UL by default on mobile */
  .navbar ul {
    display: none !important;
    flex-direction: column;      /* when shown, stack vertically */
    background-color: #f8f8f8;   /* same background as header/nav */
    position: absolute;
    top: 60px;                   /* adjust if your header is taller/shorter */
    right: 10px;
    width: 200px;                /* width of the dropdown menu */
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    padding: 10px 0;
    border-radius: 4px;
  }

  /* When .show is added, reveal the menu */
  .navbar ul.show {
    display: flex !important;
  }

  /* Make each <li> full-width and center text for easier tapping */
  .navbar ul li {
    width: 100%;
    margin: 6px 0;
    text-align: center;
  }

  .navbar ul li a {
    display: block;
    padding: 8px 0;
    color: #4a7c59;      /* keep your original link color */
    font-weight: bold;   /* match your desktop styling */
  }

  /* Optional: slightly reduce header padding on mobile */
  header.header {
    padding: 10px 10px;
  }

  /* Optional: if your header used a CSS grid with 3 columns, override it on mobile */
  header.header {
    display: flex !important;
    flex-direction: column;
    align-items: center;
  }

  /* You can also adjust the top offset of the dropdown 
     if your header height is different on mobile. */
  /* .navbar ul { top: 50px; } <-- tweak as needed */
/* Alapértelmezésben a .nav-menu rejtett */
.nav-menu {
  display: none;
}

/* Ha kapja az .active osztályt, mobilon mutatjuk */
.nav-menu.active {
  display: block;
}

/* Kisebb képernyőn a <ul> függőleges, szélre igazított */
.nav-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  /* Mobilra felvesszük a hátteret és paddinget, ha kell */
  background-color: white;
}

.nav-menu ul li {
  margin: 8px 0;
  text-align: center;
}

.nav-menu ul li a {
  text-decoration: none;
  color: #4A7C59;
  display: block;
  padding: 8px 0;
  font-size: 16px;
}

/* Ha nagyobb képernyőn mindig látszik a menü (opcionális) */
@media (min-width: 769px) {
  .nav-menu {
    display: block; /* vagy flex, ha így tervezed */
  }
  .nav-menu ul {
    display: flex;
    gap: 20px;
  }
  .nav-menu ul li {
    margin: 0;
  }
  .nav-toggle {
    display: none; /* ne lásd a hamburger ikont asztalon */
  }
}



#arazas {
    background-color: #fff9f5 !important;
}
body {
    background-color: #fff9f5;
    margin: 0;
    padding: 0;
}
#arazas,
#arazas * {
    background-color: #fff9f5 !important;
}
/* Csak az Árazás blokk színe */
#arazas {
    background-color: #fff9f5 !important;
    padding: 40px;
}

/* Minden benne lévő elem örökölje a háttérszínt */
#arazas * {
    background-color: #fff9f5 !important;
}
#tapasztalatok .tapszt-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid rgba(0,0,0,.25);
    background: rgba(255,255,255,.8);
    cursor: pointer;
    font-size: 28px; /* nagyobb nyíl */
    line-height: 50px; /* középre hozza a nyilat */
    text-align: center;
    user-select: none;
    transition: background .2s, transform .1s;
}

#tapasztalatok .tapszt-nav:hover {
    background: rgba(255,255,255,.95);
}

#tapasztalatok .tapszt-nav:active {
    transform: translateY(-50%) scale(.97);
}

#tapasztalatok .tapszt-nav.left {
    left: 15px; /* bal szélen */
}

#tapasztalatok .tapszt-nav.right {
    right: 15px; /* jobb szélen */
}
/* 0) Oldalszintű fehér kényszer kiiktatása */
html, body { background-color: #fff9f5; } /* és TÖRÖLD a white !important sort a fájl elejéről */

/* 1) Ne fesd át globálisan az összes <section>-t */
section { background-color: initial; } /* vagy kommenteld ki a korábbi section { background-color: #f8ecd4; } sort */

/* 2) A kiválasztott szekció egységes háttere */
#baba-bowen-gyengedseg { background-color: #f3e9d2 !important; }

/* 3) A szekción belüli tipikus elemek háttér-átírásának semlegesítése */
#baba-bowen-gyengedseg div,
#baba-bowen-gyengedseg h1,
#baba-bowen-gyengedseg h2,
#baba-bowen-gyengedseg p,
#baba-bowen-gyengedseg ul,
#baba-bowen-gyengedseg li,
#baba-bowen-gyengedseg img,
#baba-bowen-gyengedseg table,
#baba-bowen-gyengedseg tr,
#baba-bowen-gyengedseg td,
#baba-bowen-gyengedseg th {
  background-color: transparent !important;
}

/* 4) FAQ ne írja felül a szekciószínt */
#gyik-baba .faq-list,
#gyik-baba .faq-item,
#gyik-baba .faq-q,
#gyik-baba .faq-a {
  background-color: transparent !important;
}

/* 5) Ha valamelyik táblázatot direkt fehérre szeretnéd, csak ott add vissza: */
/* #arak table tr { background-color: #ffffff !important; } */

}