@charset "UTF-8";

/* --- Body --- */
body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  background-color: #f2f2f2;
  margin: 0;
  font-weight: 200;
  scroll-behavior: smooth;
}

/* --- Container --- */
.container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  background-color: #fff;
  padding-top: 60px;
}

/* --- Header & Hamburger --- */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background-color: #535353;
  border-bottom: 1px solid #535353;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
}

.header-inner {
  width: 90%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

#menu-toggle { display: none; }

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 22px;
  cursor: pointer;
  margin-left: auto;
}

.hamburger span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: #fff;
  border-radius: 2px;
}

/* Navigáció desktop */
nav { display: flex; }

nav ul {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}

nav ul li { margin-left: 25px; }

nav ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: 300;
  letter-spacing: 2px;
  font-size: 14px;
  transition: all 0.3s linear;
}

nav ul li:hover a { color: #535353; }

/* --- Hero Section (desktop alap) --- */
.hero {
  height: 400px;
  background-image: url('../images/hero-desktop.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero img.hero-logo-desktop {
  display: block;
  width: 100%;
  max-width: 500px;
  height: auto;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}

.hero img.hero-logo-mobile {
  display: none;
}

/* --- About 50-50 --- */
.about.about-split {
  display: flex;
  gap: 40px;
  padding: 40px 25px;
  align-items: center;
  justify-content: center;
}

.about-text, 
.about-image {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* --- Szekció szöveg és cím --- */
.about-text {
  color: #737373;
  line-height: 20px;
  text-align: justify;
  font-weight: 300;
  font-size: 14px;
  letter-spacing: 0.2px;
}

.about-text p {
  margin-top: 0;
  margin-bottom: 8px;
  line-height: 20px;
}

.about-text h2 {
  color: #737373;
  font-weight: 400;
  font-size: 20px;
  letter-spacing: 1px;
  margin-bottom: 14px;
}

/* --- Lista címek --- */
.list-title {
  margin: 0 0 4px 0;
  font-weight: 500;
  color: #737373;
  letter-spacing: 0.5px;
  text-align: left;
  line-height: 1.3;
}

/* --- Lista stílus (tipográfia finomítva) --- */
.info-list {
  margin: 0 0 12px 18px;
  padding: 0;
  list-style: disc;
  color: #737373;
  font-weight: 300;
  font-size: 14px;
  line-height: 1.4;       /* <<< egy ponton BELÜLI sortáv */
  text-align: left;
}

.info-list li {
  text-align: left;
  padding-left: 4px;
  margin-bottom: 8px;    /* <<< pontok KÖZÖTTI tér */
}

.info-list li:last-child {
  margin-bottom: 0;
}

/* --- Képek --- */
.about-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* --- Google Maps iframe container --- */
.map-container {
  position: relative;
  width: 100%;
  height: 300px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  border-radius: 4px;
  overflow: hidden;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.map-container:hover {
  transform: scale(1.02);
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

/* --- Scroll-margin top (fix header miatt) --- */
section {
  scroll-margin-top: 60px;
}

/* --- Tükrözés minden második szekciónál --- */
.about.about-split:nth-of-type(even) {
  flex-direction: row-reverse;
}

/* --- Responsive (mobil) --- */
@media (max-width: 900px) {

  .about.about-split { 
    flex-direction: column !important;
    gap: 20px; 
    padding: 25px 15px; 
  }

  .about-text, 
  .about-image {
    justify-content: flex-start;
  }

  .hamburger { display: flex; }

  nav {
    position: absolute;
    top: 60px;
    left: 5%;
    background-color: #535353;
    flex-direction: column;
    overflow: hidden;
    height: 0;
    transition: height 0.3s ease;
  }

  #menu-toggle:checked ~ .header-inner nav {
    height: auto;
    max-height: 500px;
  }

  nav ul {
    flex-direction: column;
    align-items: flex-start;
  }

  nav ul li {
    margin: 0;
    padding: 10px 15px;
  }

  /* --- Mobil hero finomhangolás (PARAMÉTEREZHETŐ) --- */
  .hero {
    height: auto;
    background: none;
    padding-top: 5px;     /* <<< FEJLÉC ALATTI TÁVOLSÁG */
    padding-bottom: 5px; /* <<< LOGÓ ALATTI TÁVOLSÁG */
    margin-top: 60px;
  }

  .hero img.hero-logo-desktop { 
    display: none; 
  }

  .hero img.hero-logo-mobile {
    display: block;
    width: auto;
    max-width: 360px;     /* <<< MOBIL LOGÓ MAX SZÉLESSÉG */
    margin: 0 auto;
    padding: 0 20px;     /* <<< BAL-JOBB PADDING */
  }
}

/* --- Footer --- */
.site-footer {
  width: 100%;
  background-color: #535353;
  border-top: 1px solid #535353;
  padding: 8px 0;
  text-align: center;
}

.site-footer p {
  margin: 4px 0;
  font-size: 12px;
  color: #ffffff;
  letter-spacing: 1px;
  font-weight: 300;
}

/* Floating logo alaphelyzetben */
.floating-logo {
  position: fixed;
  top: 120px;
  left: 50px;
  width: 25vw;
  max-width: 350px;
  min-width: 160px;
  z-index: 50;
  display: block;
  text-decoration: none;
  transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
}

.floating-logo img {
  width: 100%;
  height: auto;
  display: block;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
  border-radius: 4px;
}

.floating-logo:hover {
  transform: translateY(-4px);
  opacity: 0.9;
}

/* Reakció, amikor a "Szolgáltatásaink" szekció látszik */
.floating-logo.is-hidden {
  opacity: 0;             /* átlátszóvá válik */
  pointer-events: none;    /* ne lehessen rá kattintani */
  transform: translateY(-10px);  /* kis fel-le mozgás */
}

/* Mobilon változatlan pozíció */
@media (max-width: 900px) {
  .floating-logo {
    top: 35px;
    right: 12px;
    left: auto;
    width: 55vw;
    max-width: 220px;
    min-width: 160px;
    z-index: 10000;
  }

  .floating-logo img {
    box-shadow: 0 6px 16px rgba(0,0,0,0.35);
    border-radius: 4px;
  }
}
