/* Modern, minimalistikus látogasson el hozzánk szekció Apple-stílusú Dark Theme kivitelben */
.visit-us-section {
  display: flex;
  align-content: center;
  align-items: center;
  flex-direction: column;
  width: 100%;
  background-color: #0d0d0d; /* Sötét háttér az Apple dark mode stílushoz - azonos a szolgáltatások szekcióval */
  padding: 8rem 0;
  position: relative;
  overflow: hidden;
  z-index: 1; /* z-index hozzáadva a szolgáltatások szekcióval egyezően */
}

/* Háttér gradiens effekt - azonos a szolgáltatások szekcióval */


/* Neon fényhatás a háttéren - azonos a szolgáltatások szekcióval */
.visit-us-section .background-glow {
  content: "";
  position: absolute;
  top: 10%; /* Fenti résznél kezdődik */
  left: 50%;
  transform: translateX(-50%);
  width: 50%;
  height: 10px;
  background: rgba(229, 130, 0, 0.5);
  filter: blur(70px);
  opacity: 0.3;
  border-radius: 50%;
  z-index: -1;
  animation: glow 4s infinite alternate;
  transition: transform 0.8s ease-out; /* Lassú, sima átmenet kurzor követéshez */
}

@keyframes glow {
  0% {
    opacity: 0.3;
    width: 50%;
    filter: blur(70px);
  }
  100% {
    opacity: 0.4;
    width: 60%;
    filter: blur(90px);
  }
}

/* Finom háttér ragyogások */

@keyframes float {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(5%, 5%);
  }
}

.visit-us-section .section-title {
  font-family: var(--regular-text);
  font-weight: 300; /* Vékony betűstílus, szolgáltatásokkal egyezően */
  font-size: 2.8rem;
  color: var(--primary-light);
  margin-bottom: 4rem;
  text-align: center;
  letter-spacing: 0.04em; /* Növelt betűköz az Apple stílusához, szolgáltatásokkal egyezően */
  position: relative;
  z-index: 2; /* Szolgáltatásokkal egyezően */
  transition: color 0.3s ease;
}

.location-details {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 2.5rem;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* Glassmorphism információs kártya */
.location-info,
.map-container {
  flex: 1;
  max-width: 550px;
  /* min-height: 450px;  Minimum magasság beállítása */
  height: auto; /* Automatikus magasság */
  border-radius: 1.2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
  position: relative;
}


.location-info {
  display: flex;
  flex-direction: column;
  background-color: rgba(25, 25, 25, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgb(235, 170, 5, 0.25);
}

.location-info h2 {
  font-family: var(--regular-text);
  font-size: 1.8rem;
  font-weight: 500;
  color: var(--primary-light); /* Greenyellow alcím */
  margin: 1.2rem 0;
  padding: 0 2rem;
  text-align: center;
  letter-spacing: -0.02em;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0 2rem 1.5rem;
  overflow: visible; /* Változtatás: visible-re */
  height: auto; /* Automatikus magasság */
}

.contact-item-title {
  display: flex;
  align-items: center;
  margin-top: 1rem;
  margin-bottom: 0.2rem;
}

.contact-item-title:first-child {
  margin-top: 0;
}

.contact-item-title img {
  width: 20px;
  height: 20px;
  margin-right: 0.8rem;
  filter: brightness(0) saturate(100%) invert(78%) sepia(54%) saturate(608%) hue-rotate(333deg) brightness(108%) contrast(102%); /* Greenyellow ikonok */
}

.contact-item-title h3 {
  font-family: var(--regular-text);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--primary-light); /* Greenyellow alcímek */
  margin: 0;
  letter-spacing: -0.01em;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-left: 2.1rem;
}

/* Másolás ikon stílusa */
.copy-icon {
  cursor: pointer;
  width: 18px;
  height: 18px;
  margin-left: 0.5rem;
  opacity: 1;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  transform-origin: center;
  /* Nincs szükség filter-re, az SVG már greenyellow színű */
}

.info-item:hover .copy-icon {
  opacity: 1;
}

.copy-icon:hover {
  opacity: 1 !important;
  transform: scale(1.2); /* Nagyobb növekedés hover esetén */
  /* Csak egy filter tulajdonság a ragyogás/glow hatáshoz */
  
  filter: drop-shadow(0 0 3px rgba(229, 130, 0, 0.9))
    drop-shadow(0 0 6px rgba(229, 130, 0, 0.7));
}

.copy-icon.copied {
  animation: pulse 0.5s ease-in-out;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}

/* Toast értesítés stílusa */
.copy-toast {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(35, 35, 35, 0.9);
  color: var(--primary-light);
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 14px;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  z-index: 1000;
  pointer-events: none;
  font-family: var(--regular-text);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(235, 170, 5, 0.2);
  letter-spacing: 0.02em;
}

.copy-toast.show {
  opacity: 1;
}

.info-item {
  display: flex;
  align-items: center;
  position: relative;
}

/* A kapcsolati információk egységes betűmérete minden elemre */
.info-item p {
  margin: 0;
  padding: 0;
  font-size: 1rem;
  font-family: var(--regular-text);
  color: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
  letter-spacing: 0;
  overflow-wrap: break-word;
  word-wrap: break-word;
  max-width: 100%;
}

/* Minden kontakt információ egységes betűmérete, függetlenül a tartalom típusától */
.info-item:first-child p,
.info-item:nth-child(n) p {
  font-size: 1rem; /* Alapértelmezett egységes méret minden elemnek */
}

/* Eltávolítjuk az alapértelmezett link-stílusokat */
.info-item p a,
.info-item p[data-contact-type="phone"],
.info-item p[data-contact-type="email"] {
  color: inherit; /* Örökölt szín használata */
  text-decoration: none; /* Aláhúzás eltávolítása */
  transition: all 0.3s cubic-bezier(0.17, 0.67, 0.83, 0.67);
}

/* Neon glow hover effekt a kapcsolati információkhoz - csak a betűkön */
.info-item p:hover,
.info-item p:hover a,
.info-item p[data-contact-type="phone"]:hover,
.info-item p[data-contact-type="email"]:hover {
  color: var(--primary-light);
  /*transform: scale(1.05); */
  font-weight: 500;
  /*letter-spacing: 0.01em;*/
  text-shadow: 0 0 5px rgba(235, 170, 5, 0.8), 0 0 10px rgba(235, 170, 5, 0.5),
    0 0 15px rgba(235, 170, 5, 0.3);
  text-decoration: none; /* Link aláhúzás eltávolítása hover esetén is */
}

/* Glassmorphism térkép konténer */
.map-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(235, 170, 5, 0.5),
    transparent
  );
  z-index: 1;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 1px solid rgb(235, 170, 5, 0.25);
  filter: saturate(0.9) contrast(1.1);
}

/* Elegáns megjelenítési animáció */
.location-info,
.map-container {
  opacity: 0;
  transform: translateY(20px);
  animation: fade-up 0.9s cubic-bezier(0.17, 0.67, 0.26, 0.98) forwards;
}

.location-info {
  animation-delay: 0.2s;
}

.map-container {
  animation-delay: 0.4s;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Egységes betűméret nagyobb képernyőknél is */
@media (min-width: 1440px) {
  .visit-us-section .section-title {
    font-size: 2.8rem; /* Egységes méret a services-szel */
    letter-spacing: 0.04em; /* Szolgáltatásokkal egyezően */
  }

  .location-details {
    max-width: 1400px;
    gap: 3.5rem;
  }

  .location-info,
  .map-container {
   /* min-height: 480px;  Nagyobb minimum magasság */
    height: auto; /* Automatikus magasság */
  }

  .location-info h2 {
    font-size: 2rem;
    margin: 1.5rem 0;
  }

  .contact-item-title h3 {
    font-size: 1.2rem;
  }

  .info-item p,
  .info-item:first-child p,
  .info-item:nth-child(n) p {
    font-size: 1.1rem; /* Egységes nagyobb méret minden elemnek */
    line-height: 1.5;
  }

  .contact-item-title img {
    width: 22px;
    height: 22px;
  }

  .contact-item-title {
    margin-top: 1.2rem;
  }

  /* Erősebb neon hatás nagyobb képernyőn - csak a betűkön */
  .info-item p:hover {
    color: var(--primary-light);
    text-shadow: 0 0 6px rgba(235, 170, 5, 0.8),
      0 0 12px rgba(235, 170, 5, 0.6), 0 0 18px rgba(235, 170, 5, 0.4);
  }

  /* Nagyobb másolás ikon nagy képernyőkön */
  .copy-icon {
    width: 20px;
    height: 20px;
    margin-left: 0.6rem;
  }

  /* Hover effekt nagy képernyőkön */
  .copy-icon:hover {
    transform: scale(1.25);
    filter: drop-shadow(0 0 4px rgba(229, 130, 0, 0.9))
      drop-shadow(0 0 8px rgba(229, 130, 0, 0.7));
  }
}

/* Reszponzív beállítások */
@media (max-width: 1200px) {
  .location-details {
    max-width: 90%;
    gap: 1.8rem;
  }

  .visit-us-section .section-title {
    font-size: 2.8rem; /* Egységes méret a services-szel */
    letter-spacing: 0.04em; /* Szolgáltatásokkal egyezően */
  }
}

@media (max-width: 992px) {
  .visit-us-section {
    padding: 5rem 0;
  }

  .visit-us-section .section-title {
    font-size: 2.3rem;
    font-weight: 300; /* Egységes vékony betűstílus */
    margin-bottom: 2.5rem;
    letter-spacing: 0.03em; /* Konzisztens betűköz a services reszponzív beállításaival */
  }

  .location-info,
  .map-container {
    /*min-height: 420px;  Kissé kisebb minimum magasság */
    height: auto; /* Automatikus magasság */
  }

  .location-info h2 {
    font-size: 1.5rem;
    padding: 0 1.5rem;
    margin: 1.2rem 0;
  }

  .contact-info {
    padding: 0 1.5rem 1.2rem;
    gap: 0.4rem;
  }

  .contact-item-title h3 {
    font-size: 1.05rem;
  }

  .info-item p,
  .info-item:first-child p,
  .info-item:nth-child(n) p {
    font-size: 0.95rem; /* Egységes méret minden elemnek */
    line-height: 1.3;
  }

  /* Módosított hover hatás - csak a betűkön */
  .info-item p:hover {
    /*transform: scale(1.04);*/
    filter: drop-shadow(0 0 2px rgba(173, 255, 47, 0.9));
    /*letter-spacing: 0.01em;*/
  }

  /* Méretarányos ikon tablet méretben */
  .copy-icon {
    width: 16px;
    height: 16px;
    margin-left: 0.4rem;
  }

  /* Hover effekt mobilon */
  .copy-icon:hover {
    transform: scale(1.15);
    filter: drop-shadow(0 0 2px rgba(173, 255, 47, 0.9));
  }
}

@media (max-width: 768px) {
  .visit-us-section {
    padding: 5rem 0;
  }

  .location-details {
    flex-direction: column;
    align-items: center;
    gap: 2rem; /* Egyenletes távolság az elemek között */
    max-width: 550px; /* Maximális szélesség beállítása mindkét elemnek */
  }

  .location-info,
  .map-container {
    /* min-height: 380px;  Egységes minimum magasság */
    height: auto; /* Automatikus magasság */
    max-width: 100%; /* Teljes szélesség a konténeren belül */
    width: 100%; /* Teljes szélesség beállítása */
    margin: 0; /* Margók eltávolítása */
  }

  /* Explicit magasság beállítása az iframe-nek */
  .map-container iframe {
    height: 100%;
    /*min-height: 380px;  Minimum magasság biztosítása */
    display: block; /* Eltávolítja a felesleges szóközöket */
  }

  /* Módosított animáció mobilon */
  .location-info,
  .map-container {
    animation-name: fade-in;
    animation-delay: 0.1s;
  }

  @keyframes fade-in {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }

  /* Biztosítjuk a helyes megjelenést mobilon is */
  .info-item p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none !important;
  }

  /* Mobil specifikus hover és active állapotok */
  .contact-info .info-item p:hover,
  .contact-info .info-item p:active {
    color: #fff;
    /*transform: scale(1.03);
    letter-spacing: 0.008em;*/
    text-shadow: 0 0 4px rgba(173, 255, 47, 0.7),
      0 0 8px rgba(173, 255, 47, 0.4), 0 0 12px rgba(173, 255, 47, 0.2);
  }

  /* Touch-készülékek kezelése */
  .contact-info .info-item p:active {
    color: greenyellow;
  }

  a,
  a:visited,
  a:hover,
  a:active {
    color: inherit;
    text-decoration: none;
  }

  /* Kisebb ikon mobilon */
  .copy-icon {
    width: 15px;
    height: 15px;
    margin-left: 0.3rem;
  }

  /* Hover effekt mobilon */
  .copy-icon:hover {
    transform: scale(1.15);
    filter: drop-shadow(0 0 2px rgba(173, 255, 47, 0.9));
  }
}

@media (max-width: 590px) {
  .location-info,
  .map-container {
    
  }


}

@media (max-width: 576px) {
  .visit-us-section {
    padding: 4rem 0;
  }

  .visit-us-section .section-title {
    font-size: 2rem;
    margin-bottom: 2rem;
    letter-spacing: 0.03em; /* Konzisztens betűköz */
    font-weight: 300; /* Egységes vékony betűstílus */
  }

  .location-details {
    gap: 1.8rem; /* Csökkentett távolság mobilon */
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .location-info,
  .map-container {

    
  }


  .location-info h2 {
    font-size: 1.3rem;
    margin: 1rem 0;
  }

  .contact-info {
    gap: 0.3rem;
    padding: 0 1.2rem 1rem;
  }

  .contact-item-title {
    margin-top: 0.8rem;
    margin-bottom: 0.1rem;
  }

  .contact-item-title img {
    width: 18px;
    height: 18px;
    margin-right: 0.6rem;
  }

  .contact-item-title h3 {
    font-size: 1rem;
  }

  .info-item p {
    font-size: 0.9rem;
    line-height: 1.3;
  }

  /* Cím specifikus beállítások - az első kontakt elem */
  .contact-item:first-child .info-item p {
    word-break: break-word;
    hyphens: auto;
    max-width: 100%;
  }

  /* Mobil specifikus hover - kisebb képernyőn finomabb hatás */
  .contact-info .info-item p:hover,
  .contact-info .info-item p:active {
    transform: scale(1.02);
    letter-spacing: 0.005em;
    text-shadow: 0 0 4px rgba(173, 255, 47, 0.6),
      0 0 8px rgba(173, 255, 47, 0.3);
  }

  /* Még kisebb ikon kis mobil képernyőkön */
  .copy-icon {
    width: 14px;
    height: 14px;
    margin-left: 0.3rem;
  }

  /* Hover effekt kis mobil képernyőkön */
  .copy-icon:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 0 2px rgba(173, 255, 47, 0.9));
  }

  /* Kisebb toast üzenet */
  .copy-toast {
    font-size: 12px;
    padding: 8px 14px;
  }
}

@media (max-width: 375px) {
  .visit-us-section {
    padding: 3.5rem 0;
  }

  .location-details {
    gap: 1.5rem; /* Még kisebb távolság a legkisebb képernyőkön */
  }

  .location-info,
  .map-container {
    /*min-height: 300px;  Legkisebb minimum magasság */
    height: auto; /* Automatikus magasság */
  }

  .location-info h2 {
    font-size: 1.2rem;
    margin: 0.8rem 0;
  }

  .contact-info {
    padding: 0 1rem 0.8rem;
    gap: 0.2rem;
  }

  .contact-item-title {
    margin-top: 0.6rem;
  }

  .contact-item-title img {
    width: 16px;
    height: 16px;
    margin-right: 0.5rem;
  }

  .contact-item-title h3 {
    font-size: 0.95rem;
  }

  .info-item p {
    font-size: 0.85rem;
    line-height: 1.25;
  }

  /* Mobil specifikus hover - legkisebb képernyőn minimális hatás */
  .contact-info .info-item p:hover,
  .contact-info .info-item p:active {
    transform: scale(1.01);
    letter-spacing: 0.002em;
    text-shadow: 0 0 3px rgba(173, 255, 47, 0.6),
      0 0 6px rgba(173, 255, 47, 0.3);
  }

  /* Legkisebb ikon a legkisebb képernyőkön */
  .copy-icon {
    width: 12px;
    height: 12px;
    margin-left: 0.25rem;
  }

  /* Hover effekt a legkisebb képernyőkön */
  .copy-icon:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 1px rgba(173, 255, 47, 0.9));
  }
}

/* Extra kis képernyőkre */
@media (max-width: 320px) {
  .info-item p,
  .info-item:first-child p,
  .info-item:nth-child(n) p {
    font-size: 0.8rem !important; /* Még kisebb egységes méret a legkisebb képernyőkön */
    line-height: 1.2;
  }

  .contact-item-title h3 {
    font-size: 0.9rem;
  }

  .contact-item-title img {
    width: 14px;
    height: 14px;
    margin-right: 0.5rem;
  }

  .contact-item {
    margin-left: 1.2rem;
  }

  .info-item p,
  .contact-item .info-item p,
  .contact-item:first-of-type .info-item p {
    font-size: 0.8rem !important;
    line-height: 1.15;
  }
}

/* Cím specifikus javítások hosszabb tartalom esetén */
.info-item p:first-of-type {
  word-wrap: break-word;
  hyphens: auto;
  max-width: 100%;
}

/* Explicit stílusok a tel: és mailto: linkekhez az egész dokumentumban */
a[href^="tel:"],
a[href^="mailto:"] {
  color: inherit;
  text-decoration: none !important; /* Fontosabb: aláhúzás eltávolítása minden esetben */
}

a[href^="tel:"]:hover,
a[href^="mailto:"]:hover {
  color: rgb(233, 255, 199);
  text-decoration: none !important; /* Fontosabb: aláhúzás eltávolítása minden esetben */
}

/* Globális link stílus az egész szekcióban */
.visit-us-section a,
.visit-us-section a:link,
.visit-us-section a:visited,
.visit-us-section .info-item p,
.visit-us-section .info-item p[data-contact-type] {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none !important;
  -webkit-tap-highlight-color: rgba(
    173,
    255,
    47,
    0.2
  ); /* Nagyon halvány zöld kiemelés érintéskor */
}

/* Biztosítjuk, hogy a telefonszámok és emailek mindig a megfelelő színűek legyenek */
.visit-us-section .info-item p[data-contact-type="phone"],
.visit-us-section .info-item p[data-contact-type="email"] {
  color: rgba(255, 255, 255, 0.8) !important;
  text-decoration: none !important;
}

/* Egységes hover és aktív állapot */
.visit-us-section a:hover,
.visit-us-section a:active,
.visit-us-section .info-item p:hover,
.visit-us-section .info-item p:active,
.visit-us-section .info-item p[data-contact-type]:hover,
.visit-us-section .info-item p[data-contact-type]:active {
  color: white !important;
  text-decoration: none !important;
}
