                    /* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    line-height: 1.6;
    color: #333;
}


                    /* Navigáció */
header {
    background: #fff;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 95%;
    margin: auto;
    padding: 10px;
}



                    /* Trenner logó + szöveg */
.trenner-brand {
    display: flex;
    align-items: center;   /* középvonalhoz igazítás */
}

.trenner-brand img {
    height: 35px;          
    display: block;
    margin-right: 10px;    /* <<< itt adjuk hozzá a távolságot */
}

.brand-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
}


                    /* Szövegek a logó mellett */
.company-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 35px;
}

.company-name {
    font-size: 1.25rem;
    font-weight: bold;
    color: #0a7a28;
    line-height: 1.2;
}

.company-tagline {
    font-size: 0.85rem;
    color: #777;
    line-height: 1.2;
}


/* --- Mobilnézet: logó és szöveg arányosítása --- */
@media (max-width: 768px) {
  .trenner-brand img {
    height: 28px; /* kicsit kisebb logó */
  }

  .company-name {
    font-size: 0.7rem; /* arányosan kisebb cégnév */
  }

  .company-tagline {
    font-size: 0.7rem; /* kisebb tagline */
  }

  .trenner-brand {
    gap: 6px; /* kicsit szorosabb elrendezés */
  }
}


li {
    list-style: none;
  }

                    /* Menüpontok középen */
.nav-links {
    list-style: none;
    display: flex;
    flex: 1;
    justify-content: center;
}

.nav-links li a {
    text-decoration: none;
    color: #222;
    font-weight: 700;
    letter-spacing: 0.02em;
    transition: color 0.22s ease;
    padding: 20px 30px; /* fix érték, nem változik hoverkor */
    transition: background-color 0.2s ease;
}

.nav-links li a:hover {
    color: #0a7a28;
    background-color: #d6d5d5;
    color: #0a7a28;
}


                    /* Jobb oldali Kyocera logó */
.kyocera-logo img {
    height: 40px;
}

.kyocera-logo {
  position: relative; /* hogy a belső abszolút elem ehhez igazodjon */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: -10px; /* 🔹 5px-el feljebb tolja a logót */
}

.kyocera-subtitle {
  position: absolute;
  bottom: -15px;            /* logó alá helyezi vizuálisan */
  font-size: 0.75rem;
  color: #555;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

/* --- Mobilon ne jelenjen meg, hogy ne torlódjon a menüvel --- */
@media (max-width: 850px) {
  .kyocera-subtitle {
    display: none;
  }
}




                    /* Dropdown menü */
.dropdown {
    position: relative;
}

.dropdown .dropbtn {
    cursor: pointer;
}


                    /* Lenyíló tartalom */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #414141;
    min-width: 350px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    border-radius: 4px;
    top: calc(100% + 15px); /* ← 20px-el lejjebb nyílik meg */
    left: 0;
    z-index: 999;
}

.dropdown-content li {
    list-style: none;
}

.dropdown-content li a {
    display: block;
    padding: 10px 60px;
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
}

.dropdown-content li a:hover {
    background-color: #ffffff;
    color: #0a7a28;
    border-radius: 10px;
     border: solid 2px #0a7a28;
}

                    
                    /* Egérrel rámenve lenyílik */
.dropdown:hover .dropdown-content {
    display: block;
}


                    /* Nyíl stílusa */
.dropdown .dropbtn::after {
    content: "";
}





              /* ---  Bérelhető készülékek --- */

.kozepso_box {
    margin: auto;
    margin-top: 50px;
    width: 100%;

  }

.kozepso_box2 {
  display: flex;                /* flex elrendezés a panel és a kártyák között */
  gap: 30px;                    /* távolság a szűrő és a kártyák között */
  align-items: flex-start;      /* tetejükre igazítás */
  justify-content: flex-start;
  width: 90%;
  margin: auto;
  flex-wrap: wrap;              /* ha nem fér ki, törje új sorba */
}
@media screen and (max-width: 850px) {
    .kozepso_box2 {
      margin: 5px;
    } 
}
 




.vonal1 {
    height: 5px;
    background-color: rgb(92, 148, 253);
    width: 50%;
    margin-left: 25%;
  }
  @media screen and (max-width: 850px) {
    .vonal1 {
      display: block;
      width: 40%;
      margin-left: 30%;
    } 
  }


.container {
  display: grid;
  grid-template-columns: repeat(auto-fill, 288px); /* minden kártya 320px */
  gap: 15px; /* fix hézag */
  justify-content: start; /* balra igazítás */
  margin-bottom: 50px;
}


  /* --- Jobb oldali kártyák rugalmas grid elrendezésben --- */
.gepek {
  flex: 1;

}


.filterDiv {
    background-color: white;
    color: #ffffff;
    width: 270px;
    margin-top: 20px;
    margin-left: 20px;
    text-align: center;
    display: none;
    border: solid 1px rgb(160, 160, 160);
    border-radius: 10px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.8);
    cursor:pointer;
  }
  @media screen and (max-width: 850px) {
    .filterDiv {
      display: block;
      width: 90%;
      height: auto;
      margin: 3%;
     } 
  }

  


  /* --- Bal oldali szűrőpanel fix szélességgel --- */
.szuro-panel {
  flex: 0 0 250px;              /* fix 250px szélesség */
  margin-left: 0;
  margin-top: 20px;
  margin-bottom: 20px;
  padding: 10px;
  position: sticky;
  align-self: flex-start;
  border: 1px solid #adadad;
}

.szuro-fejlec {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.szuro-fejlec h3 {
  margin: 0;
  font-size: 18px;
  color: #333;
}

.reset-btn {
  background: #ccc;
  border: none;
  border-radius: 6px;
  padding: 6px 12px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.2s;
}

.reset-btn:hover {
  color: white;
  background: #0a7a28;
}

.szuro-csoport {
  border-top: 1px solid #ddd;
  margin-top: 10px;
  padding-top: 10px;
}

.szuro-csoport h4 {
  font-size: 16px;
  margin-bottom: 8px;
  color: #222;
}

.szuro-csoport label {
  display: block;
  font-size: 14px;
  margin-bottom: 6px;
  cursor: pointer;
}

.szuro-csoport input[type="checkbox"] {
  margin-right: 8px;
  transform: scale(1.2);
  accent-color: #0a7a28; /* Trenner zöld */
}
@media screen and (max-width: 850px) {
    .szuro-panel {
      margin: auto;
     } 
  }

  .szamlalo-box {
  margin-bottom: 15px;
  font-size: 15px;
  line-height: 1.4rem;
  color: #222;
}
.szamlalo-box b {
  color: #0a7a28;
}



/* Rendező sáv */
.rendezes-panel {
    width: 100%;
    padding: 15px 5px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.rendezes-cim {
    font-weight: bold;
    margin-right: 10px;
}

.rendezes-btn {
    padding: 6px 12px;
    background: white;
    border: 1px solid #0a7a28;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
}

.rendezes-btn:hover,
.rendezes-btn.active {
    background: #0a7a28;
    color: white;
}



.price-missing {
    position: absolute;
    top: 8px;
    right: -20px;
    background: #d9534f;
    color: white;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: bold;
    transform: rotate(45deg);
    pointer-events: none;
    z-index: 10;
    box-shadow: 0 2px 6px rgba(0,0,0,0.25);
    border-radius: 3px;
}




  .geptipus {
    color: black;
    line-height: 1.5rem;
    margin-top: 5px;
  }

  #tulajdonsagok_masolokep {
    width: 100%;
    min-height: 200px;
    display: flex; 
    align-items: center;
  }
 
  #tulajdonsagok {
    float: left;
    width: 35%;
    text-align: left;
    padding-left: 10px;
    font-size: 14px;
    color: black;
  }

#masolo_kep {
  float: right;
  margin: auto;
  width: 65%;
}


  .vetelar {
    width: 100%;
    height: 55px;
    float: left;
    padding-right: 10px;
    background-color: rgb(134, 134, 134);
    font-size: 18px;
    text-align: right;

   }

  .berlesi_dij {
    width: 100%;
    height: 55px;
    float: left;
    background-color: #0a7a28;;
    font-size: 18px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
   }

#dij_szoveg {
    float: left;
    padding-left: 10px;
    padding-top: 15px;
    text-align: left;
    font-size: 14px;
    width: 45%;
  }
.havidij {
    float: right;
    text-align: right;
    width: 55%;
    padding-top: 2px;
    padding-right: 10px;
  }

 #havidij_brutto {
    font-size: 16px;
    letter-spacing: 0.5px;
    padding-top: 5px;
  }
  #havidij_netto {
    font-size: 13px;
  }
    
  .show {
    display: block;
  }

  .havidij a { 
    text-decoration: none; 
    color: inherit; 
}

  
  @media screen and (max-width: 850px) {
    #dij_szoveg {
      font-size: 14px;
     } 
  }

  
  
  /* Style the buttons */
  .btn {
    border: none;
    outline: 0;
    display: inline-block;
    color: black;
    background-color: white;
    text-align: center;
    cursor: pointer;
    width: auto;
    min-width: 250px;
    padding: 10px;
    padding-left: 20px;
    padding-right: 20px;
    font-size: 16px;
    border: solid 1px;
    border-radius: 10px;
    margin-top: 5px;
   }
  
  .btn:hover {
    color: black;
    background-color: #FFE6A7;
  }
  @media screen and (max-width: 850px) {
    .btn {
      display: block;
      width: 100%;
    } 
  }


  


  /* === Színes / Fekete-fehér keretes megoldás + CMYK sáv === */

.filterDiv .frame {
  position: relative;
  background: #fff;
  border-radius: 10px;
  box-sizing: border-box;
  overflow: hidden;

}

/* Külön keret a színes / fekete-fehér gépekhez */
.filterDiv.black .frame::before,
.filterDiv.color .frame::before {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 12px;
  z-index: -1;
}

/* Fekete-fehér: egyszerű szürke átmenet */
.filterDiv.black .frame::before {
  background: linear-gradient(180deg, #ffffff, #585858);
}

/* Színes: CMYK átmenet */
.filterDiv.color .frame::before {
  background: linear-gradient(135deg,
  rgba(255, 0, 76, 0.6),
  rgba(255, 102, 0, 0.6),
  rgba(255, 238, 0, 0.6),
  rgba(0, 255, 133, 0.6),
  rgba(0, 170, 255, 0.6),
  rgba(204, 0, 255, 0.6));
}

/* Hover kiemelés */
.filterDiv:hover .frame {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
  transition: all 0.25s ease;
}

.filterDiv {
    position: relative;
}


/* CMYK sáv alul */
.cmyk-bar {
  height: 14px;
  width: 100%;
  margin: 0 auto 10px auto;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* 💡 Fekete-fehér sáv fényes highlight-tal */
.mono-bar {
  position: relative;
  background: linear-gradient(90deg, #e9e9e9, #000000);
  overflow: hidden;
}

.mono-bar::after {
  content: "";
  position: absolute;
  top: 0;
  left: -20%;
  width: 20%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.8), transparent);
  animation: shineMove 2s linear infinite;
  filter: blur(1px);
}



/* 🌈 Szivárványos sáv finoman mozgó highlight-tal */
.color-bar {
  position: relative;
  height: 14px;
  width: 100%;
  background: linear-gradient(90deg,
    #ff004c,
    #ff6600,
    #ffee00,
    #00ff85,
    #00aaff,
    #cc00ff,
    #ff004c); /* teljes szivárvány */
  opacity: 0.9; /* enyhe áttetszőség */
  overflow: hidden; /* a highlight ne lógjon ki */
}





                     /* ---  Lábléc--- */

.footer_box {
    background-color: rgb(80, 80, 80);
    margin: auto;
    width: 100%;
    max-height: 400px;
  }

.footer_kozepe {
    max-width:1350px;
    height: 350px;
    background-color: rgb(80, 80, 80);
    text-align: justify;
    margin: auto;
    width: 100%;  
    padding-top: 20px;  
}


                /* ---  Lábléc - bal oldali rész /térkép/ --- */

.footer_kozepe_1 {
  float: left;
  width: 40%;
  height: auto;
  max-height: 400px;
  padding-top: 30px;
  background-color: rgb(80, 80, 80);
}
@media screen and (max-width: 850px) {
  .footer_kozepe_1 {
    width: 100%;
    display: block;
    padding-top: 20px;
    padding-bottom: 20px;
    border-top: solid 1px rgb(160, 160, 160);
    height: auto;
  } 
}

.google-map {
 width: 100%;
 height: 250px;
}

.google-map iframe {
  height: 100%;
  width: 100%;
  left: 0;
  top: 0;

}
@media screen and (max-width: 850px) {
  .google-map {
    width: 100%;
    display: block;    
  } 
}


                   /* ---  Lábléc - középső rész --- */

.footer_kozepe_2 {
  float: left;
  width:30%;
  height: auto;
  padding-top: 30px;
  padding-left: 40px;
  color: white;
  background-color: rgb(80, 80, 80);
  line-height: 1.4rem;
}
@media screen and (max-width: 850px) {
  .footer_kozepe_2 {
    width: 100%;
    display: block;
    padding-top: 20px;
    padding-bottom: 20px;
    padding-left: 20px;
    border-top: solid 1px;
  } 
}


               /* ---  Lábléc - jobb szélső rész--- */

.footer_kozepe_3 {
  float: left;
  width: 30%;
  height: auto;
  color: white;
  background-color: rgb(80, 80, 80);
}
@media screen and (max-width: 850px) {
  .footer_kozepe_3 {
    display: none;
  } 
}

.footer_menu {
  width: 60%;
  margin-left: 60px;
  padding-top: 20px;
  text-align: center;
  font-weight: bold;
}
@media screen and (max-width: 850px) {
  .footer_menu {
    width: 90%;
    margin:auto;
    display: block;      
  } 
  }
  
.footer_menu a {
  background-color: rgb(80, 80, 80) ;
  color: white;
  display: block;
  padding: 10px;
  text-decoration: none;
}

.footer_menu a:hover {
  background-color: white;
  color: #0a7a28;
  border: solid 1px;
  border-radius: 10px;
}


               /*--- Legalsó szöveg rész ---*/

.also_resz {
  float: left;
  width: 100%;
  height: 75px;
  padding-top: 20px;
  background-color: white;
  color: black;
  text-align: center;
  border-top: solid 1px rgb(160, 160, 160);
 }
 @media screen and (max-width: 850px) {
  .also_resz {
    width: 100%;
    height: auto;
    display: block;
    padding-top: 15px;
    padding-bottom: 15px;
    border-top: solid 1px rgb(160, 160, 160);
    font-size: 10px;
  } 
}



/* --- Mobil navigáció (hamburger menü) --- */

.hamburger {
  display: none;
  font-size: 28px;
  cursor: pointer;
  color: #0a7a28;
  user-select: none;
}

/* Mobilnézet szabályok */
@media (max-width: 850px) {
  .nav-menu {
    position: relative;
  }

  .hamburger {
    display: block;
  }

  .nav-links {
    display: none; /* alapból rejtve */
    flex-direction: column;
    background-color: #fff;
    position: absolute;
    top: 45px;
    left: 0;
    width: 100%;
    border-top: 1px solid #ddd;
    z-index: 999;
    padding: 10px 0;
  }

  .nav-links.active {
    display: flex; /* lenyílás után megjelenik */
  }

  .nav-links li {
    text-align: center;
    padding: 5px 0;
  }

  .nav-links li a {
    font-size: 1rem;
    display: block;
    width: 100%;
  }

  /* Dropdown belül mobilon */
  .dropdown-content {
    position: static;
    box-shadow: none;
  }

  .dropdown:hover .dropdown-content {
    display: none;
  }

  .dropdown .dropbtn:after {
    font-size: 0.8rem;
    margin-left: 5px;
  }

  .dropdown .dropbtn:active + .dropdown-content,
  .dropdown-content.active {
    display: block;
  }
}



@media (max-width: 850px) {

  /* --- NAVBAR új elrendezés --- */
  .navbar {
    display: flex;
    align-items: center;
    justify-content: flex-start; /* minden balra igazítva */
    gap: 10px;
  }

  /* --- HAMBURGER a logó BAL oldalán --- */
  .hamburger {
    display: block;
    font-size: 28px;
    color: #0a7a28;
    cursor: pointer;
    user-select: none;
    margin-right: 8px; /* kis tér a logó előtt */
    z-index: 1001;
  }

  /* --- LENYÍLÓ MENÜ BAL OLDALRÓL --- */
  .nav-links {
    position: fixed;
    top: 60px; /* <<< ez a varázslat: lejjebb tolja a menüt kb. a logó alá */
    left: -100%;
    height: calc(100vh - 60px); /* így a teljes képernyő alatti rész marad látható */
    width: 75%;
    background-color: #fff;
    box-shadow: 2px 0 8px rgba(0,0,0,0.3);
    flex-direction: column;
    justify-content: flex-start;
    padding-left: 20px;
    gap: 0px;
    transition: left 0.3s ease;
    z-index: 1000;
    overflow-y: auto; /* ha hosszú lenne a menü, lehessen görgetni */
  }

  .nav-links.active {
    left: 0;
  }

  .nav-links.active {
    left: 0; /* innen csúszik be a logó mellől */
  }

  /* --- Alap stílus mobil menüben --- */
  .nav-links li {
    width: 100%;
  }

  .nav-links li a {
    font-size: 1rem;
    color: #222;
    display: block;
    padding: 10px 0;
    text-align: left;
    border-bottom: 1px solid #eee;
  }

  /* Kyocera logó elrejtése */
  .kyocera-logo {
    display: none;
  }
}

/* --- Finomhangolt mobilmenü elrendezés --- */
@media (max-width: 850px) {

  /* Főmenüpontok */
  .nav-links li a {
    font-size: 1rem;
    margin: auto;
    border-bottom: 1px solid #eee;
  }


  /* Szolgáltatások lenyíló menü pontjai */
  .dropdown-content li a {
    padding: 6px 5px;         /* szorosabb elrendezés */
    font-size: 0.95rem;
    border-bottom: 1px solid #f0f0f0;
    text-align: left;          /* kicsit természetesebb mobilon */
    color: white;
  }


  /* A lenyíló lista kissé beljebb kerüljön vizuálisan */
  .dropdown-content {
    margin-top: 4px;
    margin-left: 10px;
  }

  /* Ha a mobilmenü aktív, tiltsuk le a hoveres megjelenítést */
  .nav-links.active .dropdown:hover .dropdown-content {
    display: block !important;
  }
}




/* --- Kisebb képernyőkön a szűrő kerüljön felülre --- */
@media screen and (max-width: 1200px) {
  .kozepso_box2 {
    flex-direction: column;     /* egymás alá helyezi a panelt és a kártyákat */
  }

  .szuro-panel {
    width: 100%;
    position: relative;         /* ne legyen sticky mobilon */
  }

  .gepek {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }
}