/* ==================================================
   STYLE.CSS – TISZTA ALAP
   Tartalmazza: reset, base, gombok, header + mobil menü,
   hero (közös), mobil fix CTA + parkoló, footer.
   NEM tartalmaz: main tartalom (contact/arak/stb.)
================================================== */

/* =========================
   RESET / BASE
========================= */
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

html{
  scroll-behavior: smooth;
  background: #111;            /* ha overscroll látszik, ne fehér legyen */
  overscroll-behavior: none;
}

body{
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #222;
  background: #f4f4f4;
}

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

img{ max-width: 100%; display: block; }

/* =========================
   VARIABLES
========================= */
:root{
  --brand-primary: #ff7a00;

  --header-bg: rgba(20,20,20,.96);
  --footer-bg: rgba(20,20,20,.96);

  --container-pad: 20px;
}

/* =========================
   CONTAINER
========================= */
.container{
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}

/* =========================
   BUTTONS (globál)
========================= */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;

  cursor: pointer;
  border: none;
  background: none;

  padding: 12px 18px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;

  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  transform: translateY(0);
}

.btn:active{ transform: translateY(1px); }

.btn:focus-visible{
  outline: none;
  box-shadow: 0 0 0 3px rgba(255,122,0,0.35);
}

.btn-primary{
  background: linear-gradient(135deg,#ff9a1a,#ff7a00);
  color: #2b1a00;
  box-shadow: 0 6px 14px rgba(255,122,0,0.35);
  font-weight: 700;
  letter-spacing: 0.2px;
}
.btn-primary:hover{
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(255,122,0,0.45), 0 0 20px rgba(255,154,26,0.5);
}
.btn-primary:active{
  transform: translateY(0);
  box-shadow: 0 6px 14px rgba(255,122,0,0.35);
}

.btn-secondary{
  background:#fff;
  color:#222;
  border: 1px solid #ddd;
  box-shadow: 0 4px 10px rgba(0,0,0,0.12);
}
.btn-secondary:hover{
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.18);
}
.btn-secondary:active{
  transform: translateY(0);
  box-shadow: 0 3px 8px rgba(0,0,0,0.08);
}

/* opcionális – vélemény gombhoz */
.btn-tertiary{
  background: linear-gradient(90deg, #f8d19d, #f5b862);
  color: #2b1a00;
  border: 1px solid rgba(245,184,98,0.55);
  border-radius: 12px;
  box-shadow: 0 10px 26px rgba(245,184,98,0.28);
  font-weight: 800;
}
.btn-tertiary:hover{
  box-shadow: 0 14px 34px rgba(245,184,98,0.38);
  transform: translateY(-1px);
}
.btn-tertiary:active{
  transform: translateY(0);
  box-shadow: 0 10px 26px rgba(245,184,98,0.28);
}

/* =========================
   HEADER
========================= */
.site-header{
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--header-bg);
}

.header-inner{
  display:flex;
  justify-content: space-between;
  align-items:center;
  padding-top: 16px;
  padding-bottom: 16px;
}

.logo img{ height: 44px; }

.main-nav{
  display:flex;
  gap: 28px;
}
.main-nav a{
  color:#fff;
  position: relative;
  padding: 6px 0;
  font-size: 14px;
}
.main-nav a::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-6px;
  width:0;
  height:2px;
  background:#ff6a00;
  transition: width .25s ease, bottom .25s ease, background-color .25s ease;
}
.main-nav a:hover::after{ width:100%; }
.main-nav a.active::after{
  width:100%;
  background-color:#ff7a00;
  bottom:-1px;
}

.header-right{
  display:flex;
  align-items:center;
  gap: 18px;
}

.header-emergency{
  display:flex;
  flex-direction: column;
  text-align:right;
  line-height: 1.15;
}
.header-emergency .emergency-label{
  font-size: 11px;
  color:#fff;
  opacity: .85;
  margin-bottom: 2px;
}
.header-emergency strong{
  color:#ff7a00;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .2px;
}

.header-cta{
  padding: 8px 16px;
  font-size: 14px;
}

/* =========================
   MOBILE MENU
========================= */
#menu-toggle{ display:none; }

.hamburger{
  display:none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;

  position: absolute;
  top: 50%;
  right: var(--container-pad);
  transform: translateY(-50%);
  z-index: 6000;
}
.hamburger span{
  width: 24px;
  height: 2px;
  background:#fff;
  display:block;
  transition: all .3s ease;
}

#menu-toggle:checked + .hamburger span:nth-child(1){
  transform: rotate(45deg) translate(5px,5px);
}
#menu-toggle:checked + .hamburger span:nth-child(2){ opacity:0; }
#menu-toggle:checked + .hamburger span:nth-child(3){
  transform: rotate(-45deg) translate(5px,-5px);
}

.mobile-nav{
  position: fixed;
  top: 0;
  right: -100%;
  width: 70%;
  height: 100vh;

  background: var(--header-bg);
  padding: 80px 28px;

  display:flex;
  flex-direction: column;
  gap: 26px;

  transition: right .35s ease;
  z-index: 5500;
}

#menu-toggle:checked ~ .mobile-nav{ right:0; }

.mobile-nav a{
  font-size: 18px;
  color:#fff;
  font-weight: 400;
  display:block;
  width: 100%;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.mobile-nav a.active{
  color:#fff;
  position: relative;
}
.mobile-nav a.active::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-6px;
  width: 40px;
  height:2px;
  background:#ff7a00;
  border-radius:2px;
  opacity:.8;
}

/* =========================
   HERO (közös)
========================= */
.hero{
  position: relative;
  overflow: hidden;
  color:#fff;

  height: 600px;
  min-height: 560px;
  max-height: 620px;

  display:flex;
  align-items:center;

  background-size: cover;
  background-position: center bottom;
}

.hero::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  z-index: 1;

  /* desktop alap overlay */
  background: linear-gradient(
    90deg,
    rgba(0,0,0,0.82) 0%,
    rgba(0,0,0,0.68) 28%,
    rgba(0,0,0,0.40) 55%,
    rgba(0,0,0,0.22) 72%,
    rgba(0,0,0,0.08) 88%
  );
}

.hero-inner{
  position: relative;
  z-index: 2;

  width: 100%;
  max-width: 1200px;
  margin: 0 auto;

  display:flex;
  flex-direction: column;


  justify-content: center;

  padding-top: 40px;
}

.hero-inner > *{ max-width: 640px; }

.hero-badge{
  display:inline-block;
  align-self: flex-start;
  background: rgba(255,154,26,0.18);
  color:#ffb347;
  font-size: 12px;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
  max-width: max-content;
}

.hero h1{
  font-size: 41px;
  line-height: 1.12;
  margin-bottom: 30px;
  font-weight: 600;
}

.hero .highlight{ color:#ff7a00; }

.hero p{
  font-size: 15px;
  line-height: 1.55;
  max-width: 520px;
  margin-bottom: 10px;
  color: rgba(255,255,255,0.9);
}

.hero-highlight-text{
  color:#ff7a00;
  margin-top: 5px;
  font-weight: 600;
  font-size: 14px;
  line-height: 1.5;
}

.hero-emergency-line{
  margin-top: 30px;
  font-size: 14px;
  font-weight: 400;
  color: rgba(255,255,255,0.85);
  line-height: 1.4;
}
.hero-emergency-line strong{
  color:#ff7a00;
  font-weight: 600;
  margin-left: 6px;
  white-space: nowrap;
}

.hero-buttons{
  display:flex;
  gap: 16px;
  margin-top: 20px;
}

/* Hero képek – DESKTOP (régi + új class támogatás) */
.hero--index,
.hero-index{ background-image: url("/img/index-hero-desktop.jpg"); }

.hero--kapcsolat,
.hero-contact{ background-image: url("/img/kapcsolat-hero-desktop.jpg"); }

.hero--arak,
.hero-arak{ background-image: url("/img/arak-hero-desktop.jpg"); }

/* =========================
   HERO – MOBIL
========================= */
@media (max-width:900px){
  .hero{
    height: 65vh;
    min-height: 340px;
    max-height: 500px;
    background-position: center;
  }

  .hero::before{
    background: linear-gradient(
      to bottom,
      rgba(0,0,0,0.60) 0%,
      rgba(0,0,0,0.75) 40%,
      rgba(0,0,0,0.65) 100%
    );
  }

  /* Hero képek – MOBIL (régi + új) */
  .hero--index,
  .hero-index{ background-image: url("/img/index-hero-mobile.jpg"); }

  .hero--kapcsolat,
  .hero-contact{ background-image: url("/img/kapcsolat-hero-mobile.jpg"); }

  .hero--arak,
  .hero-arak{ background-image: url("/img/arak-hero-mobile.jpg"); }

  /* header mobil */
  .header-cta{ display:none; }
  .hamburger{ display:flex; }
  .main-nav, .header-right{ display:none; }

  /* hero tipó mobil */
  .hero h1{ font-size: 25px; margin-bottom: 14px; line-height: 1.20;}
  .hero-emergency-line{ font-size: 13px; }
  .hero-inner{
    justify-content: flex-start;
    padding-top: 80px;
    transform: translateY(-20px);
  }

  /* gombok mobil */
  .hero-buttons{
    display:flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
  }
  .hero-buttons .btn-primary{ display:none !important; }
  .hero-buttons .btn-secondary{
    width: 100%;
    min-height: 52px;
    text-align:center;
    padding: 14px 24px;
    font-weight: 700;
    border-radius: 10px;
    box-shadow: 0 6px 14px rgba(0,0,0,0.1);
  }
}

/* =========================
   MOBILE FIX CTA + PARKOLÓ
   (NINCS body padding-bottom -> nincs fehér sáv)
========================= */
.mobile-fixed-cta{ display:none; }

.footer-cta-parkolo{ display:none; }

@media (max-width:900px){
  .mobile-fixed-cta{
    display:flex;
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;

    justify-content:center;
    align-items:center;

    z-index: 9999;

    /* a gomb kinézete marad a primary-hoz illesztve */
    background: linear-gradient(135deg,#ff9a1a,#ff7a00);
    color:#2b1a00;
    font-weight: 700;
    font-size: 15px;
    padding: 16px 18px;
    border-radius: 12px;
    text-decoration:none;
    box-shadow: 0 6px 14px rgba(255,122,0,0.35);
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  }

  .mobile-fixed-cta:hover,
  .mobile-fixed-cta:focus,
  .mobile-fixed-cta:focus-visible{
    transform: none;
    box-shadow: 0 6px 14px rgba(255,122,0,0.35);
    background: linear-gradient(135deg,#ff9a1a,#ff7a00);
  }
  .mobile-fixed-cta:active{
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(255,122,0,0.45), 0 0 20px rgba(255,154,26,0.5);
    background: linear-gradient(135deg,#ffb347,#ff7a00);
  }

  /* Footer után “parkoló” – a footer színével */
  .footer-cta-parkolo{
    display:block;
    height: 96px;                 /* CTA + biztonsági tér */
   
  }
}

/* =========================
   FOOTER
========================= */
.site-footer{
  background: var(--footer-bg);
  color: #bbb;
  width: 100%;
}

.footer-inner{
  display:flex;
  justify-content: space-between;
  align-items:flex-start;
  flex-wrap: wrap;
  gap: 30px;

  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.footer-brand{
  display:flex;
  align-items:center;
  gap: 12px;
  font-size: 13px;
  line-height: 1.4;
}
.footer-brand img{ height: 28px; }

.footer-links{
  display:flex;
  gap: 20px;
  justify-content:center;
  flex: 1;
}
.footer-links a{
  font-size: 13px;
  color: #bbb;
}
.footer-links a:hover{ color:#fff; }

.footer-contact{
  display:flex;
  gap: 18px;
  flex-wrap: wrap;
  align-items:center;
  font-size: 13px;
  color: #ff7a00;
}
.footer-contact a{
  color:#ff7a00;
}

.info-icon{
  width: 18px;
  height: 18px;
  min-width: 18px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  color:#ff7a00;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}

.footer-bottom{
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 16px 20px;
  text-align:center;
  font-size: 12px;
  color: rgba(255,255,255,0.55);

  max-width: 1200px;
  margin: 0 auto;
}

/* Footer mobil */
@media (max-width:900px){
  .footer-inner{
    flex-direction: column;
    align-items:center;
    text-align:center;
    gap: 20px;
    padding: 20px;
  }
  .footer-links{
    flex-wrap: nowrap;
    justify-content:center;
    gap: 16px;
  }
  .footer-links a{
    white-space: nowrap;
    font-size: 13px;
  }
  .footer-contact{ justify-content:center; }
}

/* Desktop finomítás */
@media (min-width:901px){
  .footer-inner{
    display:grid;
    grid-template-columns: 1fr auto 1fr;
    align-items:center;
  }
  .footer-brand{ justify-self:start; }
  .footer-links{ justify-self:center; text-align:center; }
  .footer-contact{ justify-self:end; }

  .hero-buttons{ gap: 16px; }
  .hero-buttons a{
    min-width: 300px;
    padding: 10px 24px;
    font-size: 15px;
    justify-content:center;
    text-align:center;
  }
}


/* ===== FIX: CTA alatti sáv = ugyanaz, mint a footer (mobil) ===== */
@media (max-width: 900px){
  .site-footer{ position: relative; }

  /* a footer UTÁNI parkoló sáv ugyanazt a hátteret vegye fel, mint a footer */
  .footer-cta-parkolo{
    background: inherit !important;
    background-color: transparent !important;
  }
}


/* ==================================================
   MOBIL – TIPOGRÁFIA + SZÖVEGTÖRDELÉS FINOMÍTÁS (≤900px)
================================================== */
@media (max-width: 900px){

  /* Szebb tördelés (ha a böngésző támogatja) */
  h1, h2, h3 { text-wrap: balance; }
  p, li      { text-wrap: pretty; }

  /* Általános olvashatóság: ne legyen túl széles a szöveg mobilon */
  .section-lead,
  .reviews-subtitle,
  .map-head p,
  .form-head p{
    max-width: 38ch;
    margin-left: auto;
    margin-right: auto;
    hyphens: auto;
  }

  /* Szekciócímek: kisebb eséllyel esnek 2 sorba “csúnyán” */
  .section-title,
  .reviews-title,
  .map-head h2,
  .form-head h2{
    font-size: clamp(22px, 5.2vw, 28px);
    line-height: 1.18;
    letter-spacing: -0.2px;
  }

  /* Középre rendezett szekciókban a lista legyen balra zárt (jobb olvasni) */
  .guarantee-section ul,
  .guarantee-list{
    max-width: 40ch;
    margin: 0 auto;
    text-align: left;
  }

  /* Ha van “miért válassza” jellegű pipás lista, itt is balra zárjuk */
  .why-section ul,
  .benefits-section ul,
  .features-section ul{
    max-width: 40ch;
    margin: 0 auto;
    text-align: left;
  }

  /* Lista ritmus – ne legyen “szétesős” */
  .guarantee-section li,
  .guarantee-list li,
  .why-section li,
  .benefits-section li,
  .features-section li{
    line-height: 1.55;
    margin-bottom: 10px;
  }
}

/* HERO sorok tördelése mobilon */

.hero-desc--lines span{
  display: inline;
}

@media (max-width:900px){
  .hero-desc--lines span{
    display: block;
  }
}


/* HERO sorok tördelése desktopon */

/* alap: a span-ek desktopon inline-ok (egyben folyik) */
.hero-desc--lines span { display: inline; }

/* a desktopos br alapból rejtve */
.break-desktop { display: none; }

/* mobilon: span-ekből sorok lesznek */
@media (max-width:900px){
  .hero-desc--lines span { display: block; }
}

/* desktopon: a br legyen aktív */
@media (min-width:901px){
  .break-desktop { display: inline; } /* vagy display:block; mindkettő jó */
}

/* mobile overlay beállítások */
@media (max-width: 900px) {

  /* mobil overlay: fent erősebb, lent gyengébb */
  .hero::before {
    background:
      linear-gradient(
      135deg, 
        rgba(0,0,0,0.88) 0%,
        rgba(0,0,0,0.64) 42%,
        rgba(0,0,0,0.25) 100%
      ) !important;
  }

}















