/* Team section styled like landing section */
.team-section {
  background: none !important;
  min-height: 480px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.team-section-content {
  background: rgba(237,231,214,0.85);
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.10);
  padding: 40px 48px;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}
@media (max-width: 600px) {
  .contact-link-block {
    max-width: 90vw !important;
    padding: 8px 4px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  /* Public info section content even smaller on mobile */
  #public-legislation-desc,
  #public-faq-desc,
  #public-complaints-desc,
  #public-change-supplier-desc,
  #public-contract-conditions-desc,
  #public-comparator-desc,
  #public-change-supplier-step1-desc,
  #public-change-supplier-step2-desc,
  .public-documents,
  .section-block {
    font-size: 0.85em !important;
  }

  .team-section-content {
    text-align: center;
    max-width: 90vw;
    padding: 16px 8px;
    margin: 0 auto;
  }
  #public-legislation-title,
  #public-faq-title,
  #public-complaints-title,
  #public-change-supplier-title,
  #public-contract-conditions-title,
  #public-comparator-title,
  #public-change-supplier-docs-title,
  #public-change-supplier-steps-title,
  #public-change-supplier-step1-title,
  #public-change-supplier-step2-title,
  #public-change-supplier-step3-title {
    font-size: 1.6em !important;
  }
}
  html, body {
    overflow-x: hidden !important;
    overflow-y: auto !important;
    scrollbar-width: none;
  }
  body::-webkit-scrollbar, html::-webkit-scrollbar {
    display: none;
  }
  .section-nav {
    display: none !important;
  }

.about-team-title {
  color: #fff;
  text-align: center;
  font-size: 2.8em;
  font-weight: 700;
  margin-bottom: 64px;
  letter-spacing: 1px;
  text-shadow: 0 2px 12px #000;
  display: block;
  width: 100%;
  background: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

.about-team-desc {
  color: #4b3a1a;
  font-size: 1.15em;
  font-weight: 500;
  text-align: center;
}
.about-section-hr-mobile {
  border: none;
  border-top: 3px solid #bfa64a;
  width: 90%;
  margin: 100px auto 0 auto;
}
@media (max-width: 600px) {
  /* Standardize spacing for section dividers and titles */
  .about-section-hr,
  .about-section-hr-mobile {
    margin-bottom: 0 !important;
  }
  .about-team-title,
  .about-offer-title {
    font-size: 1.6em !important;
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    display: block !important;
    width: 90vw !important;
    margin-top: 48px !important;
    margin-bottom: 36px !important;
    color: #fff !important;
    font-weight: 700 !important;
    letter-spacing: 1px !important;
    text-shadow: 0 2px 12px #000 !important;
  }
  .about-performance-title {
    font-size: 1.15em !important;
  }
  .about-documents-title {
    font-size: 1.15em !important;
  }
  .autoindex-content {
    max-width: 92vw !important;
    padding: 18px 8px !important;
    font-size: 0.98em !important;
    margin-left: 4vw !important;
    margin-right: 4vw !important;
  }
  .offer-content {
    max-width: 92vw !important;
    padding: 18px 8px !important;
    font-size: 0.98em !important;
    margin-left: 4vw !important;
    margin-right: 4vw !important;
  }
  .about-content {
    max-width: 92vw !important;
    padding: 18px 8px !important;
    font-size: 0.98em !important;
    margin-left: 4vw !important;
    margin-right: 4vw !important;
  }
  #autoindex-title {
    font-size: 1.3em !important;
  }
  #autoindex-desc {
    font-size: 0.95em !important;
  }
  #about-title {
    font-size: 1.3em !important;
  }
  #about-desc {
    font-size: 0.95em !important;
  }
  .section-nav {
    display: none !important;
  }
  #offer-title {
    font-size: 1.3em !important;
  }
  #offer-desc {
    font-size: 0.95em !important;
  }
    .about-hero-content {
      max-width: 92vw !important;
      padding: 18px 8px !important;
      margin-left: 4vw !important;
      margin-right: 4vw !important;
      text-align: center !important;
    }
    .about-hero-title {
      font-size: 1.6em !important;
      text-align: center !important;
      margin-left: auto !important;
      margin-right: auto !important;
      display: block !important;
      position: absolute !important;
      top: 50% !important;
      left: 50% !important;
      transform: translate(-50%, -50%) !important;
      width: 90vw !important;
      margin: 0 !important;
    }
    .about-hero-desc {
      font-size: 1.08em !important;
      text-align: center !important;
      margin-left: auto !important;
      margin-right: auto !important;
      display: block !important;
      width: 90vw !important;
      margin: 0 !important;
    }
    .contact-content {
  max-width: 85vw !important;
  padding: 8px 4px !important;
      font-size: 0.98em !important;
      margin-left: 4vw !important;
      margin-right: 4vw !important;
    }
    #contact-title {
      font-size: 1.3em !important;
    }
    #contact-desc {
      font-size: 0.95em !important;
    }
}
@media (max-width: 600px) {
  .home-hero-features {
    display: none !important;
  }
}
/* Home hero title mobile styles */
@media (max-width: 600px) {
  #home-hero-title {
    font-size: 1.6em !important;
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    display: block !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 90vw !important;
    margin: 0 !important;
  }
  #home-hero-subtitle {
    font-size: 1em !important;
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    display: block !important;
    position: absolute !important;
    top: 60% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 90vw !important;
    margin: 0 !important;
  }
  #home-hero-box {
    display: none !important;
  }
}
html, body {
  overflow-x: hidden;
}
/* Egységes szekció tartalom szélesség minden oldalon */
.section-content {
  max-width: 800px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Desprenoi team section is is igazodjon */
.team-section .section-content {
  max-width: 800px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
/* Contact link gombok balra igazítása */
.contact-links {
  text-align: left;
}
.contact-link-btn {
  margin-left: 0;
}
/* Egységes gombstílus a contact-link-btn-hez (mint a #form-send) */
.contact-link-btn, #form-send {
  background: #bfa64a;
  color: #fff;
  padding: 12px 32px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  margin-top: 16px;
  display: inline-block;
  border: none;
  font-size: 1.1em;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.contact-link-btn:hover, #form-send:hover {
  background: #a08a3a;
  color: #fff;
}
/* Language switcher (flags) */
.lang-switcher {
  text-align: right;
  margin: 10px 20px 0 0;
}
.lang-flag {
  vertical-align: middle;
  cursor: pointer;
  margin-left: 8px;
}
/* Navbar container and logo */
.nav-container {
  display: flex;
  align-items: center;
}
.logo {
  /* height: 48px; */
  /* margin-right: 24px; */
}
/* Navbar links */
.nav-links {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
  gap: 16px;
}
/* Navbar link style */
.nav-links a {
  display: block;
  text-decoration: none;
  font-size: 1.25rem;
  padding: 8px 14px;
  transition: color 0.2s, background 0.2s, transform 0.15s;
  font-weight: 500;
  border-radius: 8px;
  color: #4b3a1a;
}
.nav-links a:hover {
  color: #8c7a2a;
  background: rgba(191, 166, 74, 0.12);
  transform: scale(1.08);
}
/* Egységes footer logó méret minden oldalon */
.footer-logo {
  height: 48px;
  width: auto;
  margin-bottom: 12px;
  max-width: 100%;
  display: block;
}
/* Teljes reset a lenyíló fejlécekhez, hogy ne örököljön semmilyen gombstílust */
button.header, button.accordion-header, .accordion-header {
  all: unset;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  cursor: pointer;
  padding: 18px 22px;
  background: rgba(237,231,214,0.85);
  color: #6a5432;
  font-size: 1.15em;
  font-family: "Segoe UI", "Arial", sans-serif;
  font-weight: 600;
  border-radius: 12px;
  transition: background 0.18s, box-shadow 0.18s;
  margin-bottom: 0;
  letter-spacing: 0.01em;
  box-shadow: none;
  text-align: left;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}
/* --- Accordion szekció: pixel-perfect, minta szerinti stílus --- */
.accordion-section {
  max-width: 900px;
  margin:  0 auto;
}

.about-offer-title {
  color: #fff;
  text-align: center;
  font-size: 2.8em;
  font-weight: 700;
  margin-bottom: 48px;
  letter-spacing: 1px;
  text-shadow: 0 2px 12px #000;
}

.accordion {
  width: 100%;
  padding: 24px;
  margin-bottom: 72px;
}

.item {
  overflow: hidden;
}
.item-margin {
  margin-top: 16px;
}

/* Accordion header: mindkét oldal lekerekítve */
.accordion-header {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  cursor: pointer;
  padding: 18px 22px;
  background: rgba(237,231,214,0.85);
  border: none;
  color: #4b3a1a;
  font-size: 1.2em;
  font-weight: 600;
  border-radius: 12px;
  transition: background 0.18s, box-shadow 0.18s;
  outline: none;
}

.accordion-header .chev {
  /* Language switcher (flags) */
  .lang-switcher {
  transition: transform .3s;
}


  font-size: 1.25em;
  color: #4b3a1a;
  font-weight: 500;
  background: rgba(237,231,214,0.85);
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.10);
  padding: 32px 24px;
  float: right;
}
.about-section-hr {
  border: none;
  border-top: 3px solid #bfa64a;
  width: 90%;
  margin: 100px auto 0 auto;
}
/* Accordion section (desprenoi.html) */
/* Accordion header (dropdown title) pixel-perfect style */
/* Accordion header (dropdown title) korábbi, visszaállított stílus */
/* Accordion header (dropdown title) - pixel-perfect, mintában megadott stílus */
/* Accordion header (dropdown title) - egyezik a lenyíló szövegek stílusával, de sötétebb színnel */
/* Accordion header (dropdown title) - pontosan a panel-inner szövegstílusával, csak sötétebb színnel */
button.accordion-header, .accordion-header {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  cursor: pointer;
  padding: 18px 22px;
  background: rgba(237,231,214,0.85);
  border: none;
  color: #6a5432;
  font-size: 1.15em;
  font-family: "Segoe UI", "Arial", sans-serif;
  font-weight: 400;
  border-radius: 12px;
  transition: background 0.18s, box-shadow 0.18s;
  outline: none;
  margin-bottom: 0;
  letter-spacing: 0.01em;
  box-shadow: none;
  text-align: left;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.accordion-header .chev {
  transition: transform .3s;
}

.accordion-header .title {
  font-size: 1.15em;
  font-family: "Segoe UI", "Arial", sans-serif;
  font-weight: 600;
  color: #6a5432;
  letter-spacing: 0.01em;
  background: none;
  border: none;
  box-shadow: none;
}

.accordion-header .chev {
  transition: transform .3s;
}

.accordion-header .title {
  font-size: 1.2em;
  font-weight: 600;
  color: #6a5432;
}

.accordion-header .chev {
  transition: transform .3s;
}

.accordion-header .title {
  font-size: 1.2em;
  font-weight: 600;
  color: #4b3a1a;
}
.item {
  overflow: hidden;
}
.item-margin {
  margin-top: 16px;
}
.accordion-header {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  cursor: pointer;
  padding: 8px 18px 8px 18px;
  background: #fcf7e8;
  border: 1px solid #e0dac7;
  color: #4b3a1a;
  font-size: 1.08em;
  font-weight: 500;
  border-radius: 6px;
  box-shadow: 0 1px 4px rgba(191,166,74,0.10);
  transition: background 0.18s, box-shadow 0.18s;
}
.accordion-header:hover, .accordion-header:focus {
  background: #f4ecd2;
  box-shadow: 0 2px 8px rgba(191,166,74,0.13);
}
.accordion-header .chev {
  transition: transform .3s;
}
.accordion-panel {
  height: 0;
  overflow: hidden;
  transition: height .35s cubic-bezier(.21, 1, .21, 1);
  background: transparent;
  border-radius: 12px;
}


.accordion .item {
  margin-bottom: 18px;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(237,231,214,0.85);
  box-shadow: 0 4px 24px rgba(0,0,0,0.10);
}

.accordion-header,
.header {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.2em;
  font-weight: 600;
  color: #4b3a1a;
  padding: 24px 32px 24px 24px;
  cursor: pointer;
  border-radius: 0;
  background: none;
  box-shadow: none;
  transition: background 0.2s;
}


.accordion-panel,
.panel {
  background: transparent;
  border-radius: 0;
  padding: 0;
  margin: 0;
  border: none;
  box-shadow: none;
  transition: background 0.2s;
}

.accordion-panel.open,
.panel.open,
.accordion-panel[aria-expanded="true"],
.panel[aria-expanded="true"] {
  background: rgba(237,231,214,0.85);
}

.panel-inner {
  background: transparent;
  padding: 0 32px 24px 24px;
}

/* Első elem: felül lekerekített */
.accordion .item:first-child {
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
}
/* Utolsó elem: alul lekerekített */
.accordion .item:last-child {
  border-bottom-left-radius: 18px;
  border-bottom-right-radius: 18px;
}
.panel-inner {
  padding: 0 22px 18px 38px;
  color: #7c6a4a;
  background: transparent;
  border-radius: 0 0 12px 12px;
}
/* About documents section (desprenoi.html) */
.documents-section {
  max-width: 1200px;
  margin: 48px auto 0 auto;
}
.about-documents-title {
  color: #4b3a1a;
  font-size: 2em;
  font-weight: 700;
  text-align: left;
  margin-bottom: 12px;
}
.about-documents-hr {
  border: none;
  border-top: 2px solid #bfa64a;
  margin-bottom: 32px;
}
.documents-gallery {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
}
.documents-gallery-link {
  display: block;
}
.documents-gallery-img {
  height: 180px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.10);
  border-radius: 8px;
  transition: box-shadow 0.2s;
}
.about-performance-block {
  margin-top: 64px;
  text-align: center;
}
.about-performance-title {
  font-size: 2em;
  color: #4b3a1a;
  font-weight: 700;
  text-align: left;
  margin-bottom: 12px;
  display: inline-block;
}
.indicator-link {
  color: #4b3a1a;
  text-decoration: none;
  font-size: 1.1em;
  font-weight: 500;
  padding: 10px 24px;
  display: inline-block;
  border-bottom: 1px solid #e0dac7;
  background: #ede7d6;
  border-radius: 8px;
  transition: background 0.2s;
  margin-top: 12px;
}
.indicator-link:hover {
  background: rgba(237,231,214,0.45) !important;
}
/* About Hero Section Styles */
.about-hero-flex {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(120deg, #ede7d6 80%, #fffde6 100%);
  box-shadow: 0 4px 24px rgba(0,0,0,0.10), 0 1.5px 0 #d6cfc0 inset;
  border-radius: 24px;
  margin: 48px auto 0 auto;
  padding: 48px 0 32px 0;
  max-width: 900px;
  min-height: 120px;
}
.about-hero-title {
  color: #fff;
  font-size: 2.8em;
  font-weight: 700;
  text-align: center;
  margin:0;
  letter-spacing: 1px;
  text-shadow: 0 2px 12px #000;
}
.about-hero-desc {
  max-width: 700px;
  margin: 64px auto 0 auto;
  text-align: center;
  font-size: 1.25em;
  color: #4b3a1a;
  font-weight: 500;
  background: rgba(237,231,214,0.85);
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.10);
  padding: 32px 24px;
}
/* (reverted public_info.html inline-to-css classes) */
/* Contact info box next to form */
.contact-flex {
  display: flex;
  gap: 40px;
  max-width: 1100px;
  margin: 60px auto 80px auto;
  justify-content: center;
  align-items: flex-start;
}
.contact-info {
  background: #ede7d6;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(191,166,74,0.08);
  border: 1px solid #e0dac7;
  padding: 32px 28px;
  min-width: 220px;
  max-width: 320px;
  flex: 0 0 260px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  font-size: 1.08em;
  color: #4b3a1a;
  margin: 0 auto;
}
.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 6px;
}
.contact-icon {
  font-size: 1.3em;
  color: #bfa64a;
  min-width: 28px;
  text-align: center;
  margin-right: 2px;
}
@media (max-width: 900px) {
  .logo {
    max-width: 120px !important;
    height: auto !important;
    display: block !important;
    margin: 0 auto 12px auto !important;
  }
  .contact-flex {
    flex-direction: column;
    gap: 32px;
    max-width: 98vw;
    margin: 32px 2vw 48px 2vw;
  }
  .contact-info {
    max-width: 100%;
    min-width: 0;
    margin: 0 auto;
  }
}
/* Contact page two-column layout */
.ffbox {
  display: flex;
  gap: 40px;
  max-width: 900px;
  margin: 60px auto 80px auto;
  justify-content: center;
  align-items: stretch;
}
.ffbox1 {
  background: #ede7d6;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.10);
  border: 1px solid #e0dac7;
  padding: 38px 32px 32px 32px;
  min-width: 320px;
  max-width: 420px;
  flex: 1 1 320px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0 auto;
}
.ffbox1 h2 {
  color: #4b3a1a;
  font-size: 2em;
  font-weight: 700;
  text-align: center;
  margin-top: 0;
  margin-bottom: 28px;
  letter-spacing: 1px;
}
.ffbox1 form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.ffbox1 .field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ffbox1 label {
  color: #4b3a1a;
  font-weight: 600;
  font-size: 1.08em;
}
.ffbox1 input[type="text"],
.ffbox1 input[type="email"],
.ffbox1 textarea {
  background: #fff !important;
  border-radius: 10px;
  border: 1px solid #e0dac7;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
  padding: 12px 14px;
  font-size: 1.08em;
  color: #4b3a1a;
  margin-top: 4px;
  margin-bottom: 2px;
  transition: border 0.18s, box-shadow 0.18s;
}
.ffbox1 input[type="text"]:focus,
.ffbox1 input[type="email"]:focus,
.ffbox1 textarea:focus {
  border: 1.5px solid #bfa64a;
  outline: none;
  box-shadow: 0 4px 18px rgba(191,166,74,0.10);
}
.ffbox1 textarea {
  min-height: 120px;
  resize: vertical;
}
.ffbox1 button[type="submit"] {
  background: #bfa64a;
  color: #fff;
  font-size: 1.12em;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  padding: 13px 0;
  margin-top: 10px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(191,166,74,0.10);
  transition: background 0.18s, color 0.18s, transform 0.12s;
}
.ffbox1 button[type="submit"]:hover {
  background: #a08a3a;
  color: #fffde6;
  transform: scale(1.04);
}
.ffbox1 .alert {
  margin-bottom: 18px;
  padding: 12px 18px;
  border-radius: 8px;
  font-size: 1.08em;
  background: #fffbe6;
  color: #bfa64a;
  border: 1px solid #e0dac7;
  text-align: center;
}
.ffbox1 .alert.error {
  background: #ffeaea;
  color: #b94a4a;
  border-color: #e0bfbf;
}
.ffbox1 .alert.success {
  background: #eaffea;
  color: #4abf4a;
  border-color: #bfe0bf;
}
.map-div {
  min-width: 320px;
  max-width: 1000px;
  width: 100%;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  overflow: visible;
  background: none;
  box-shadow: none;
  border: none;
  padding: 0;
  margin: 0 auto 32px auto;
}
.map-div iframe {
  border: none;
  width: 100%;
  max-width: 1000px;
  height: 400px;
  min-height: 220px;
  border-radius: 16px;
}
@media (max-width: 900px) {
  .ffbox {
    flex-direction: column;
    gap: 32px;
    max-width: 98vw;
    margin: 32px 2vw 48px 2vw;
  }
  .ffbox1, .map-div {
    max-width: 100%;
    min-width: 0;
    border-radius: 16px;
  }
  .map-div iframe {
    border-radius: 0 0 16px 16px;
    height: 220px;
  }
}
/* Contact form fields styled like main site boxes */
.field input[type="text"],
.field input[type="email"],
.field textarea {
  background: #ede7d6;
  border-radius: 12px;
  border: 1px solid #e0dac7;
  box-shadow: 0 2px 12px rgba(0,0,0,0.10);
  padding: 14px 18px;
  font-size: 1.08em;
  color: #4b3a1a;
  margin-top: 4px;
  margin-bottom: 2px;
  transition: border 0.18s, box-shadow 0.18s;
}
.field input[type="text"]:focus,
.field input[type="email"]:focus,
.field textarea:focus {
  border: 1.5px solid #bfa64a;
  outline: none;
  box-shadow: 0 4px 18px rgba(191,166,74,0.10);
}
form button[type="submit"] {
  background: #bfa64a;
  color: #fff;
  font-size: 1.12em;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  padding: 13px 0;
  margin-top: 10px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(191,166,74,0.10);
  transition: background 0.18s, color 0.18s, transform 0.12s;
}
form button[type="submit"]:hover {
  background: #a08a3a;
  color: #fffde6;
  transform: scale(1.04);
}
/* Alap stílus */
.nav-container {
  display: flex;
  align-items: center;
}

.logo {
  height: 32px;
  margin-right: 12px;
}

.nav-links {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
  gap: 16px;
}

/* Hamburger gomb desktopon rejtve */
.menu-toggle { 
  display: none; 
  font-size: 2rem; 
  background: none; 
  border: none; 
  color: #4b3a1a; 
  cursor: pointer; 
  margin-left: auto;
}

/* Mobil nézet */
@media (max-width: 900px) {
  .menu-toggle { display: block; }

  /* Az inline display:flex felülírása */
  .nav-links { 
    display: none !important; 
    flex-direction: column; 
    gap: 12px; 
    width: 100%;
    margin-top: 12px;
    background: #ede7d6;
    border-radius: 18px;
    padding: 18px 0 18px 0;
    box-shadow: 0 4px 24px rgba(191,166,74,0.12);
    border: 1px solid #e0dac7;
    max-width: 350px;
    margin-left: auto;
    margin-right: auto;
  }
  .nav-links.active { 
    display: flex !important; 
  }

  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 12px; border-radius: 8px; background: #f4f1e6; }
  .nav-links a:hover { background: rgba(191,166,74,0.12); }
}
body {
    margin: 0;
    font-family: 'Segoe UI', Arial, sans-serif;
    background: url('images/wallp5.png') no-repeat center center fixed, linear-gradient(120deg, #f8fafc 0%, #e0e7ff 100%);
    background-size: cover;
    color: #222;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-y: scroll;
}
html {
    height: 100%;
    scroll-snap-type: y mandatory;
    overscroll-behavior-y: contain;
}
.navbar {
    width: 100%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.navbar > div {
  display: flex;
  align-items: center;
  background: #ede7d6;
  padding-left: 12px;
  margin: 6px 16px;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.18), 0 1.5px 0 #d6cfc0 inset;
  border: 1px solid #e0dac7;
  position: relative;
  z-index: 10;
}
.navbar ul {
    display: flex;
    align-items: center;
    margin: 0 auto;
    padding: 0;
    list-style: none;
    justify-content: center;
    flex: 1;
}
.navbar li {
    margin: 0 24px;
}
.navbar a {
  display: block;
  /* scroll-snap-type: y mandatory; */
  text-decoration: none;
  font-size: 1.25rem;
  padding: 8px 14px;
  transition: color 0.2s, background 0.2s, transform 0.15s;
  font-weight: 500;
  border-radius: 8px;
  color: #4b3a1a;
}
.navbar a:hover {
    color: #8c7a2a;
    background: rgba(191, 166, 74, 0.12);
    transform: scale(1.08);
}
.navbar img[alt="HR Energy Logo"] {
    flex-shrink: 0;
}
h1 {
    margin-top: 60px;
    text-align: center;
}
.double-box-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
    min-height: 0;
    margin: 0;
}
.double-box {
    background: #ede7d6;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.18), 0 1.5px 0 #d6cfc0 inset;
    border: 1px solid #e0dac7;
    padding: 28px 24px;
    min-width: 260px;
    max-width: 340px;
    min-height: 180px;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.box-link {
    text-decoration: none;
    display: flex;
    justify-content: center;
    width: 100%;
}
.box-link:visited,
.box-link:active,
.box-link:focus,
.box-link:hover {
    color: inherit;
}
.box-link h2, .box-link p, .box-link:visited h2, .box-link:visited p, .box-link:active h2, .box-link:active p, .box-link:focus h2, .box-link:focus p, .box-link:hover h2, .box-link:hover p {
    color: #4b3a1a !important;
}
.site-footer {
  background: #ede7d6;
  color: #4b3a1a;
  padding: 32px 0 0 0;
  border-top: 1px solid #e0dac7;
  font-size: 1rem;
  margin-top: auto;
  width: 100%;
  box-sizing: border-box;
}
.footer-main {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 64px;
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 16px;
}
.footer-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 180px;
}
.footer-company {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 4px;
}
.footer-desc {
    font-size: 1rem;
    color: #7c6a4a;
    margin-bottom: 12px;
}
.footer-links {
    display: flex;
    gap: 48px;
}
.footer-col {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.footer-col a {
    color: #4b3a1a;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}
.footer-col a:hover {
    color: #bfa64a;
    text-decoration: underline;
}
.footer-bottom {
    text-align: center;
    padding: 16px 0 8px 0;
    font-size: 0.95rem;
    color: #7c6a4a;
    border-top: 1px solid #e0dac7;
    background: #ede7d6;
}
.footer-content p {
    margin: 8px 0;
}
.landing-section {
    width: 100vw;
    min-height: 100vh;
    height: 100vh;
    box-sizing: border-box;
    margin: 0 !important;
    padding: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover !important;
    background-position: center !important;
    min-height: 100svh;
    /* scroll-snap-align: start; */
    /* scroll-snap-stop: always; */
}
.section-nav {
    position: fixed;
    top: 50%;
    right: auto;
    left: 32px;
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}
.section-nav-arrow {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.section-nav-arrow svg {
    width: 24px;
    height: 24px;
    stroke: #fff;
    stroke-width: 3;
    fill: none;
}
.section-nav-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fff;
    opacity: 1;
    transition: background 0.2s, box-shadow 0.2s;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
}
.section-nav-dot.active {
    background: #bfa64a;
    box-shadow: 0 2px 12px rgba(191,166,74,0.25);
}

/* New styles for section buttons hover effect */
.landing-section a[style*="background:#bfa64a"]:hover,
.landing-section a[style*="background: #bfa64a"]:hover {
    opacity: 0.65;
    transition: opacity 0.2s;
}

/* Responsive styles */
@media (max-width: 900px) {
  .navbar {
    flex-direction: column;
    padding: 12px 8px;
  }
  .navbar ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .navbar img {
    margin-bottom: 12px;
    margin-right: 0;
  }
  .double-box-container {
    margin: 32px 8px;
  }
  .double-box {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    font-size: 1.1em;
    padding: 18px 10px;
  }
  .site-footer {
    flex-direction: column;
    padding: 18px 8px;
    border-radius: 18px;
  }
  .footer-main {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .footer-links {
    flex-direction: column;
    gap: 12px;
  }
  .footer-col {
    margin-bottom: 12px;
  }
  .footer-left img {
    margin-bottom: 8px;
  }
}

@media (max-width: 600px) {
  .navbar {
    font-size: 1em;
    padding: 8px 4px;
  }
  .navbar ul {
    gap: 4px;
  }
  .double-box {
    font-size: 1em;
    padding: 12px 6px;
  }
  .site-footer {
    font-size: 0.95em;
    padding: 12px 4px;
    border-radius: 12px;
  }
  .footer-main {
    gap: 10px;
  }
  .footer-links {
    gap: 8px;
  }
  .footer-col {
    margin-bottom: 8px;
  }
  .footer-left img {
    height: 32px;
  }
  .navbar img {
    height: 32px;
  }
  .double-box {
    min-height: 60px;
  }
  .footer-left {
    font-size: 0.95em;
  }
  .section-nav {
    display: none !important;
  }
}

/* Flag icons responsive */
/* CSAK a zászlók méretezése mobilon */
@media (max-width: 600px) {
  .lang-flag {
    height: 20px !important;
    width: 28px !important;
  }
  .navbar img.logo { height: auto !important; width: auto !important; }
}

@media (max-width: 900px) {
  .nav-logo {
    display: none !important;
  }
}

.dropdown { position: relative; }
.dropdown-menu {
  display: none !important;
  position: absolute;
  left: 0;
  top: 100%;
  background: #ede7d6;
  min-width: 180px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.10);
  border-radius: 0 0 12px 12px;
  z-index: 100;
  padding: 0;
  overflow: hidden;
}
.dropdown-menu li { display: block; }
.dropdown-menu a {
  display: block;
  padding: 12px 24px;
  color: #4b3a1a;
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid #e0dac7;
  background: none;
  border-radius: 0;
  transition: background 0.2s, color 0.2s;
}
.dropdown-menu a:hover {
  color: #8c7a2a;
  background: rgba(191, 166, 74, 0.12);
  transform: scale(1.08);
}
.dropdown.open > .dropdown-menu {
  display: block !important;
}
@media (max-width: 600px) {
  .dropdown-menu {
    position: static;
    min-width: 100%;
    box-shadow: none;
    border-radius: 0 0 12px 12px;
  }
}

.section-nav {
  display: none !important;
}

.section-content > div[style*="background:rgba(237,231,214"] {
    margin-bottom: 32px !important;
}
.section-content .feature-row svg polyline {
    stroke: #218c2c !important;
}

/* Default color for county dropdown (same as button background) */
#autoindex-county-select {
  color: #bfa64a;
}

/* Optional: When dropdown is open, you can set a different color if needed */
#autoindex-county-select:focus {
  color: #4b3a1a;
}

@media (max-width: 600px) {
    .accordion-section { padding-left: 8px; padding-right: 8px; }
  .accordion { padding: 0 0 !important; }

  
  .accordion-header,
  button.header,
  button.accordion-header {
    display: flex;
    align-items: center;
    justify-content: center;         /* középre */
    gap: 10px;
    width: 100%;                     /* ne legyen szélesebb a viewportnál */
    max-width: 100%;
    box-sizing: border-box;          /* padding beleszámítson */
    font-size: 1em !important;       /* kérés szerint */
    padding: 10px 12px !important;   /* kérés szerint */
    text-align: center !important;   /* szöveg középre */
    white-space: normal;             /* tördelődjön */
    overflow-wrap: anywhere;         /* hosszú szó se lógjon ki */
  }

  /* A cím mérete mobilon */
  .accordion .header .title,
  .accordion .accordion-header .title {
    flex: 1 1 auto;              /* vegye fel a maradék helyet */
    text-align: left !important; /* balra a cím */
    margin: 0;
  }
  .accordion .header .chev,
  .accordion .accordion-header .chev {
    flex: 0 0 auto;              /* az ikon ne nyúljon */
    margin-right: 8px;
  }

  /* A lenyíló panel se lógjon ki és legyen középre igazítva */
  .accordion-panel,
  .panel {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    text-align: center;
  }
  .section-nav {
    display: none !important;
  }
  .oferta-wrap {
    width: 98vw !important;
    max-width: 98vw !important;
    padding: 12vw 2vw !important;
    box-sizing: border-box !important;
  }
}
