body {
    margin: 0;
    padding: 0;
    font-family: sans-serif;
    background: #ffffff;
    min-height: 100vh;
  }

  .mainmap-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 30px;
    padding: 40px;
    margin-top: 0px;
    margin-bottom: 0px;
  }
  
  .map-container {
    position: relative;
    width: 550px;
    height: 600px;
    flex-shrink: 0;
    z-index: 1;
  }
  

  .map-container img {
    position: relative;
    height: auto;
  display: block;
  }

  .info-panel {
    max-width: 400px;
  }

  .title {
    font-size: 55px;
    margin-bottom: 10px;
    color: #DACB78;
  }
  
  .subtitle {
    font-size: 20px;
    margin-bottom: 10px;
    color: #4d735d;
  }
  
  .description {
    font-size: 16px;
    line-height: 1.8;
    color: #FEF0E3;
    font-family: "Poppins", sans-serif;
  }
  
  .map-bg {
    width: 100%;
    display: block;
  }
  
  .pin {
      position: absolute;
      transform: translate(-50%, -100%);
      cursor: pointer;
      text-align: center;
      z-index: 10;
      display: flex;
      align-items: center;
      white-space: nowrap; /* ne törje meg a szöveget */
    }
    
  
  .pin-icon {
    width: 20px;
    transition: transform 0.3s ease;
  }
  
  .pin:hover .pin-icon {
    transform: scale(1.5);
  }
  
  .label {
    position: static; /* vagy egyszerűen ne legyen position megadva */
    font-family: "Poppins", sans-serif;
    color: #000;
    font-size: 13px;
    font-weight: 500;
    margin: 0; /* ne legyen alul margó */
    white-space: nowrap;
  }

  /* Szöveg balra */
.label-left {
  flex-direction: row-reverse; /* szöveg balra, pin jobbra */
  gap: 6px; /* távolság pin és címke között */
  }

  /* Szöveg jobb oldalra */
.label-right{
  flex-direction: row; /* pin balra, címke jobbra */
  gap: 6px;
}

  
  .preview-bubble {
    position: absolute;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #fff;
    box-shadow: 0 0 10px #000;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 1;
  }
  
  .preview-bubble img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .hidden {
    opacity: 0;
    visibility: hidden;
  }


  .nav-buttons button {
    background: var(--main-color);
    color: var(--white-color);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--button-border);
    font-size: 20px;
    font-weight: 500;
    line-height: 1;
    margin: 0 5px 10px 0;
    border-radius: 25px;
    padding: 12px 18px;
    text-align: center;
    transition: 0.3s;
  }
  
  .nav-buttons button i {
    font-size: 24px;
  }
  
  .nav-buttons button:hover {
    border: 1px solid var(--button-border);
    transform: scale(1.08); /* kicsit nagyobb, de még elegáns */
  }
  
  .nav-buttons button:focus {
    outline: none;
    transition: 0.3s;
  }
  
  .nav-buttons button:active {
    box-shadow: rgba(0, 0, 0, 0.125) 0 3px 5px inset;
    outline: 0;
  }
  
  #next-pin {
    color: #4C3B33;
  }

  
  #prev-pin {
    color: #4C3B33;
  }

  .label-under {
    position: relative; /* vagy static, hogy normál áramlásban legyen */
    display: block;
    margin-top: 6px; /* távolság a pin alatt */
    font-family: "Poppins", sans-serif;
    color: #000;
    font-size: 13px;
    font-weight: 500;
    text-align: center;
    white-space: normal;
    max-width: 120px; /* opcionális, hogy ne legyen túl széles */
    word-wrap: break-word;
  }
  
  /* A pin, amiben ilyen label van, állítsuk flex columnra, hogy a label alatta legyen */
  .pin.label-under {
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: translate(-50%, -100%);
    cursor: pointer;
    text-align: center;
    z-index: 10;
  }
  
  @media screen and (max-width: 768px) {
    .mainmap-container {
      flex-direction: column;
      align-items: center;
      padding: 20px;
      gap: 30px;
    }
  
    .map-container {
      width: 100%;
      max-width: 100%;
      height: auto;
    }
  
    .map-container img.map-bg {
      width: 100%;
      height: auto;
    }
  
    .info-panel {
      max-width: 100%;
      padding: 0 10px;
    }
  
    .title {
      font-size: 36px;
      text-align: center;
    }
  
    .subtitle {
      font-size: 18px;
      text-align: center;
    }
  
    .description {
      font-size: 14px;
      line-height: 1.6;
      text-align: justify;
    }
  
    .pin {
      transform: translate(-50%, -100%);
    }
  
    .label {
      font-size: 12px;
    }
  
    .label-under {
      font-size: 12px;
      max-width: 100px;
    }
  
    .preview-bubble {
      width: 100px;
      height: 100px;
    }
  
    .nav-buttons {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      margin-top: 20px;
    }
  
    .nav-buttons button {
      font-size: 16px;
      padding: 10px 16px;
      margin: 5px;
    }
  
    .nav-buttons button i {
      font-size: 20px;
    }
  }
  