/* style.css */
* { box-sizing: border-box; }

html{
  scroll-behavior: auto;
  scrollbar-gutter: stable;
  overflow-x: hidden;
  overflow-y: scroll;
  scrollbar-width: none;
}

html:not(.is-loading) {
  scrollbar-width: auto;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  background-color: #20252b;
  color: #111;
  overflow-x: hidden;
  overflow-y: auto;
}

a { color: inherit; }

.hero {
  color: white;
  padding: 24px 0 64px;
  background: transparent;
}

.nav {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  font-weight: 800;
  letter-spacing: 0.2px;
}

.nav-links {
  display: flex;
  gap: 16px;
}

.nav-links a {
  text-decoration: none;
  opacity: 0.9;
}

.nav-links a:hover { opacity: 1; text-decoration: underline; }

.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 20px 0;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 28px;
  align-items: start;
}

.hero-text h1 {
  font-size: 48px;
  margin: 0 0 14px;
  line-height: 1.05;
}

.hero-text p {
  font-size: 18px;
  opacity: 0.9;
  margin: 0 0 18px;
  line-height: 1.5;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 14px 0 16px;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 14px;
  opacity: 0.9;
}

.badges span {
  background: rgba(255,255,255,0.08);
  padding: 8px 10px;
  border-radius: 999px;
}

.btn {
  display: inline-block;
  padding: 14px 18px;
  background-color: var(--accent);
  color: var(--accent-text);
  text-decoration: none;
  font-weight: 700;
  border-radius: 10px;
  border: 0;
  cursor: pointer;
  transition: transform 160ms ease, filter 160ms ease, box-shadow 160ms ease;
  box-shadow: 0 10px 22px rgba(0,0,0,0.18);
}

#kapcsolat .card .btn{
  display: block;
  margin: 14px auto 0;
  text-align: center;
}

.btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow: 0 14px 30px rgba(0,0,0,0.24);
}

.btn:active {
  transform: translateY(0px);
}

.btn-ghost {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.25);
}

.btn-full { width: 100%; text-align: center; }

.hero-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  padding: 18px;
}

.hero-card h3 {
  margin: 0 0 10px;
  font-size: 16px;
  opacity: 0.95;
}

.hours, .mini { display: grid; gap: 10px; }

.hours div, .mini div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
  opacity: 0.92;
}

.divider {
  height: 1px;
  background: rgba(255,255,255,0.12);
  margin: 14px 0;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px 20px 60px;
}

.section {
  background: #ffffff;
  border-radius: 18px;
  padding: 26px;
  margin-top: 18px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}

.section h2 {
  margin: 0 0 8px;
  font-size: 26px;
}

.lead {
  margin: 0 0 18px;
  color: #444;
  line-height: 1.55;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.card {
  background: #f4f4f5;
  border: 1px solid #ececec;
  border-radius: 16px;
  padding: 16px;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(0,0,0,0.10);
}

.card h3 { margin: 0 0 8px; }
.card p{
  margin: 0;
  color: #444;
  line-height: 1.65;
}

#kapcsolat .card p + p{
  margin-top: 10px;
}

.table{
  border: 0;
  border-radius: 16px;
  overflow: visible;
  display: grid;
  gap: 8px;
}

.row{
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  padding: 14px 14px;
  border: 1px solid transparent;
  border-radius: 14px;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.row.header{
  background: transparent;
  font-weight: 800;
  border: 0;
  padding: 10px 14px 6px;
}

.row:not(.header):hover{
  border-color: rgba(0,0,0,0.20);
  box-shadow: 0 12px 26px rgba(0,0,0,0.12);
  transform: translateY(-2px);
}

.cta {
  background: #111;
  color: white;
}

.cta .lead { color: rgba(255,255,255,0.82); }

.form {
  display: grid;
  gap: 12px;
  max-width: 520px;
}

label { display: grid; gap: 6px; font-weight: 700; }

input, select, textarea {
  width: 100%;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid #2b2b2b;
  background: rgba(255,255,255,0.06);
  color: white;
  outline: none;
}

select option{
  background: #ffffff;
  color: #111111;
}

select option:disabled{
  color: #777;
}

textarea { min-height: 100px; resize: vertical; }

.fineprint { margin: 0; font-size: 14px; opacity: 0.9; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 14px;
  align-items: stretch;
}

.map {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #ececec;
  background: #f7f7f7;
}

.map iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
}

.footer {
  padding: 18px 0;
  color: #ccc;
  background: #0d0f12;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

.footer-links { display: flex; gap: 14px; }
.footer a { opacity: 0.9; text-decoration: none; }
.footer a:hover { opacity: 1; text-decoration: underline; }

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .hero-text h1 { font-size: 38px; }
}

.page-overlay{
  position: fixed;
  inset: 0;
  background: #1b1f24;
  display: grid;
  place-items: center;
  z-index: 9999;
  opacity: 1;
  transition: opacity 520ms cubic-bezier(.2,.8,.2,1);
}

.page-overlay.hidden{
  opacity: 0;
  pointer-events: none;
}

.loader{
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 3px solid rgba(255,255,255,0.16);
  border-top-color: rgba(255,255,255,0.65);
  animation: spin 900ms linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

#app{
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1200ms ease, transform 1200ms ease;
  height: auto;
  overflow: visible;
}

#app.loaded {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce){
  .page-overlay{ transition: none; }
  .loader{ animation: none; }
  #app{ opacity: 1; transform: none; transition: none; }
}

:root{
  --bg-overlay: 0.70;
  --accent: #ff3c00;
  --accent-text: #ffffff;
}

body{
  position: relative;
  background: transparent;
}

body::before,
body::after{
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  will-change: opacity;
  transform: translateZ(0);
  backface-visibility: hidden;
}

body::before{
  background-image:
    linear-gradient(rgba(0,0,0,var(--bg-overlay)), rgba(0,0,0,var(--bg-overlay))),
    url("bg1.jpg");
  opacity: 1;
}

body::after{
  background-image:
    linear-gradient(rgba(0,0,0,var(--bg-overlay)), rgba(0,0,0,var(--bg-overlay))),
    url("bg2.jpg");
  opacity: var(--bg2-opacity, 0);
}

.hero{
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: transparent;
  position: relative;
  padding: 40px 20px;
}

.hero-center{
  width: min(920px, 92vw);
  text-align: center;
  color: #fff;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.brand{
  margin: 0 0 10px;
  font-weight: 800;
  letter-spacing: 1px;
  opacity: 0.85;
  font-size: 18px;
  text-transform: uppercase;
}

.headline{
  margin: 0 0 10px;
  font-size: 52px;
  line-height: 1.05;
}

.subhead{
  margin: 0 auto 16px;
  max-width: 720px;
  opacity: 0.9;
  line-height: 1.55;
}

.hero-actions{
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
}

.hero-badges{
  justify-content: center;
  margin-top: 10px;
}

.scroll-hint{
  display: inline-block;
  margin-top: 18px;
  opacity: 0.85;
  text-decoration: none;
}
.scroll-hint:hover{ opacity: 1; text-decoration: underline; }

.side-nav{
  position: fixed !important;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 9998;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-end;
  gap: 8px;
}

.side-link{
  text-decoration: none;
  color: rgba(255,255,255,0.9);
  background: rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: background 160ms ease, transform 160ms ease;
}

.hero-info{
  position: absolute;
  top: 16px;
  right: 18px;
  z-index: 60;
  width: min(420px, 86vw);
  background: rgba(0,0,0,0.42);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 18px;
  padding: 14px;
  color: rgba(255,255,255,0.92);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.info-row{
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 10px;
  align-items: center;
  padding: 6px 0;
}

.info-label{
  opacity: 0.8;
  font-weight: 800;
  font-size: 13px;
}

.info-link, .info-text{
  color: rgba(255,255,255,0.95);
  text-decoration: none;
  font-size: 13px;
  line-height: 1.35;
}

.info-link:hover{ text-decoration: underline; }

.icon{
  width: 16px;
  height: 16px;
  vertical-align: -3px;
  margin-right: 6px;
  opacity: 0.95;
}

@media (max-width: 900px){
  .headline{ font-size: 38px; }
  .hero-center{ text-align: left; }
  .hero-actions{ justify-content: flex-start; }

  .side-nav{
    right: 12px;
    left: 12px;
    top: auto;
    bottom: 12px;
    transform: none;
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between;
    gap: 10px;
  }

  .side-link{
    text-align: center;
    border-radius: 14px;
    padding: 10px 10px;
    font-size: 13px;
  }

  .hero-info{
    left: 12px;
    right: 12px;
    width: auto;
  }
}

.headline, .subhead, .brand {
  text-shadow: 0 10px 30px rgba(0,0,0,0.55);
}

.side-nav:not(.nav-dots) .side-link{
  opacity: 0;
  transform: none;
  clip-path: inset(0 0 0 100%);
  transition: opacity 420ms ease, clip-path 420ms ease;
  pointer-events: none;
  will-change: opacity, clip-path;
}

body.ui-ready .side-nav:not(.nav-dots) .side-link{
  opacity: 1;
  clip-path: inset(0 0 0 0);
  pointer-events: auto;
}

.side-nav.nav-dots .side-link{
  opacity: 0;
  transition: opacity 420ms ease;
  pointer-events: none;
}
body.ui-ready .side-nav.nav-dots .side-link{
  opacity: 1;
  pointer-events: auto;
}

body.ui-ready .side-nav .side-link:nth-child(1){ transition-delay: 0ms; }
body.ui-ready .side-nav .side-link:nth-child(2){ transition-delay: 90ms; }
body.ui-ready .side-nav .side-link:nth-child(3){ transition-delay: 180ms; }
body.ui-ready .side-nav .side-link:nth-child(4){ transition-delay: 270ms; }

body.ui-ready .side-link:hover{
  transform: none;
  background: rgba(0,0,0,0.7);
}

body.ui-done .side-link,
body.ui-done .hero-info{
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

body.is-loading{
  overflow: hidden;
}

#app, .container, main, header{
  overflow: visible !important;
}

html.is-loading,
body.is-loading{
  overflow: hidden !important;
}

.section{
  scroll-margin-top: 0px;
}

.services{
  width: 100%;
  margin-top: 18px;
  padding: 0;
}

.services-inner{
  background: rgba(12, 14, 18, 0.78);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 18px;
  padding: 34px 32px 40px;
  box-shadow: 0 14px 34px rgba(0,0,0,0.35);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.services .section-title{
  margin: 0;
  color: #fff;
  font-size: 28px;
  text-align: center;
}

.services-subtitle{
  margin: 10px 0 0;
  text-align: center;
  color: rgba(255,255,255,0.75);
  line-height: 1.5;
  font-size: 15px;
}

.services-subtitle::after{
  content: "";
  display: block;
  width: 86px;
  height: 3px;
  margin: 16px auto 26px;
  border-radius: 999px;
  background: var(--accent);
}

.services-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 6px;
}

.service-card{
  background: #ffffff;
  border-radius: 14px;
  padding: 20px 18px;
  border: 1px solid rgba(0,0,0,0.35);
  box-shadow: 0 8px 18px rgba(0,0,0,0.14);
  text-align: center;
  transition: transform 160ms ease, box-shadow 160ms ease;
  will-change: transform;
}

.service-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(0,0,0,0.22);
}

.service-icon{
  width: 72px;
  height: 72px;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
}

.service-icon img{
  width: 80px;
  height: 80px;
  object-fit: contain;
  display: block;
  filter: brightness(1.03) contrast(1.05);
  image-rendering: -webkit-optimize-contrast;
}

.big-icon img{
  width: 90px;
  height: 90px;
}

.service-title{
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 800;
  color: #111;
}

.service-text{
  margin: 0;
  font-size: 13.8px;
  line-height: 1.5;
  color: #555;
}

@media (max-width: 900px){
  .services-grid{ grid-template-columns: 1fr; }
  .services-inner{ padding: 22px; }
}
@media (min-width: 901px) and (max-width: 1100px){
  .services-grid{ grid-template-columns: repeat(2, 1fr); }
}

.price-pill{
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-text);
  font-weight: 800;
  font-size: 13px;
  line-height: 1;
  white-space: nowrap;
}

.prices-hint{
  margin: 6px 0 14px;
  color: #666;
  font-size: 14px;
}

.price-row{
  cursor: pointer;
  border-radius: 12px;
  transition: transform 160ms ease, box-shadow 160ms ease, outline 160ms ease, background 160ms ease;
  position: relative;
  z-index: 2;
  pointer-events: auto;
}

.price-row:hover{
  outline: 1px solid rgba(0,0,0,0.18);
  box-shadow: 0 10px 22px rgba(0,0,0,0.10);
  transform: translateY(-1px);
  background: rgba(0,0,0,0.02);
}

.side-nav.nav-dots{
  position: fixed !important;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 9998;
  display: flex !important;
  flex-direction: column !important;
  align-items: center;
  gap: 12px;
}

.side-nav.nav-dots::before,
.side-nav.nav-dots::after{
  content: none !important;
}

.side-nav.nav-dots .side-link{
  position: relative;
  width: 24px;
  height: 24px;
  display: block;
  padding: 0;
  text-decoration: none;
  overflow: visible;
  color: transparent;
  font-size: 0;
  line-height: 0;
}

.side-nav.nav-dots .side-link::before{
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 999px;
  z-index: 1;
  background: rgba(0,0,0,0.55);
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: 0 10px 22px rgba(0,0,0,0.20);
  transition:
    transform 160ms ease,
    border-radius 220ms cubic-bezier(.2,.8,.2,1),
    background 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.side-nav.nav-dots .side-link:not(.home-link):hover::before{
  transform: scale(1.08);
  border-radius: 8px;
  border-color: rgba(255,255,255,0.30);
  box-shadow: 0 14px 30px rgba(0,0,0,0.26);
}

.side-nav.nav-dots .side-link.home-link:hover::before{
  transform: scale(1.08);
  border-radius: 999px;
}

.side-nav.nav-dots .side-link.is-active::before{
  background: var(--accent);
  border-color: rgba(0,0,0,0.22);
}

.side-nav.nav-dots .side-link.home-link::before{
  background: var(--accent);
  border-color: rgba(0,0,0,0.22);
}

.side-nav.nav-dots .side-link.home-link{
  margin-bottom: 40px;
}

.side-nav.nav-dots .side-link::after{
  content: attr(data-label);
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%) translateX(10px);
  z-index: 9999;
  text-indent: 0 !important;
  background: rgba(0,0,0,0.70);
  border: 1px solid rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.95);
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  opacity: 0;
  transform: translateY(-50%) translateX(6px);
  pointer-events: none;
  white-space: nowrap;
  transition:
    opacity 140ms ease,
    transform 220ms cubic-bezier(.2,.8,.2,1);
}

.side-nav.nav-dots .side-link:hover::after{
  opacity: 1 !important;
  transform: translateY(-50%) translateX(0px) !important;
}

.side-nav.nav-dots .side-link.is-active:not(.home-link)::before{
  border-radius: 8px;
  transform: scale(1.08);
}

.typewrap{
  display: inline-block;
  white-space: nowrap;
  font-size: 20px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 0.2px;
}

.type-text{
  display: inline-block;
  color: inherit;
}

.type-caret{
  display: inline-block;
  margin-left: 2px;
  animation: caretBlink 0.9s steps(1) infinite;
  opacity: 0.95;
  color: inherit;
}

@keyframes caretBlink{
  50%{ opacity: 0; }
}

.hero-sub.typewrap{
  margin: 6px auto 10px;
  padding: 0;
  line-height: 1.15;
}

.headline{
  margin: 0 0 6px;
}

.hero-badges{
  margin-top: 8px;
}

.headline, .section-title{
  letter-spacing: -0.3px;
}

@media (max-width: 900px){
  .hero{
    padding-bottom: calc(12px + env(safe-area-inset-bottom));
  }

  .hero-center{
    padding-top: 168px;
  }

  .brand{
    display: block;
    margin: 0 0 10px;
    font-size: 15px;
    opacity: 0.95;
  }

  .hero-info{
    top: 12px;
    left: 12px;
    right: 12px;
    width: auto;
    padding: 12px;
  }

  .side-nav.nav-dots{
    left: 12px;
    right: 12px;
    top: auto;
    bottom: calc(12px + env(safe-area-inset-bottom));
    transform: none;
    flex-direction: row !important;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border-radius: 18px;
    background: rgba(0,0,0,0.45);
    border: 1px solid rgba(255,255,255,0.12);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }

  .side-nav.nav-dots .side-link{
    width: auto;
    height: auto;
    flex: 1;
    padding: 10px 10px;
    border-radius: 14px;
    color: rgba(255,255,255,0.92) !important;
    font-size: 12px !important;
    line-height: 1 !important;
    text-align: center;
    background: rgba(0,0,0,0.35);
    border: 1px solid rgba(255,255,255,0.12);
    text-decoration: none;
  }

  .side-nav.nav-dots .side-link::before,
  .side-nav.nav-dots .side-link::after{
    content: none !important;
  }

  .side-nav.nav-dots .side-link.is-active{
    background: var(--accent);
    border-color: rgba(0,0,0,0.22);
    color: #fff !important;
  }

  .side-nav.nav-dots .side-link.home-link{
    margin-bottom: 0;
  }
}

@media (max-width: 900px){
  .side-nav.nav-dots .side-link.home-link{
    display: none !important;
  }
}