body {
  margin: 0;
  font-family: 'Playfair Display', serif;
  background: #fdf2f8;
  text-align: center;
  overflow-x: hidden;
}

.main-title {
  margin: 16px 0;
  color: #be185d;
  font-family: 'Great Vibes', cursive;
}

.intro-title {
  margin: 16px 0;
  color: #be185d;
  font-family: 'Great Vibes', cursive;
}

#map {
  height: 80vh;
  width: 100%;
  border-radius: 16px;
}

/* INTRO */

#intro {
  position: fixed;
  inset: 0;
  background: linear-gradient(135deg, #fbcfe8, #fdf2f8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  animation: fadeIn 1s ease;
}

.intro-content h1 {
  font-size: 3rem;
  color: #9d174d;
}

#startBtn {
  margin-top: 20px;
  padding: 12px 24px;
  font-size: 1rem;
  border: none;
  border-radius: 30px;
  background: #be185d;
  color: white;
  cursor: pointer;
  transition: 0.3s;
}

#startBtn:hover {
  background: #9d174d;
  transform: scale(1.05);
}

/* MODAL */

#modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

/* umjesto .hidden { display: none; } */
#modal.hidden {
  display: none;
}


.modal-content {
  background: #fff;
  max-width: 450px;
  width: 90%;

  /* NOVO */
  max-height: 85vh;          /* da nikad ne izađe iz ekrana */
  overflow: auto;            /* scroll ako ima previše sadržaja */

  border-radius: 20px;
  padding: 24px;
  position: relative;        /* da close bude stabilan */
  animation: fadeUp 0.4s ease;
}

.modal-content img {
  width: 100%;
  border-radius: 12px;
  margin: 12px 0;

  /* NOVO */
  max-height: 65vh;          /* ograniči visinu slike */
  object-fit: contain;       /* da se slika ne “reže” nego stane */
  display: block;
}

#close {
  float: right;
  font-size: 28px;
  cursor: pointer;
  color: #be185d;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
