@import url("https://fonts.googleapis.com/css2?family=Belleza&display=swap");
/* GLOBAL STYLES */
body {
  margin: 0;
  padding: 0;
  font-family: "Belleza";
  /* overflow: hidden; */
}

.lang-switcher {
  position: absolute;
  top: 10px;
  right: 24px;
  z-index: 20;
  display: flex;
  align-items: center;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 6px 12px;
}

.lang-switcher #current-flag {
  width: 24px;
  height: 16px;
  margin-right: 8px;
  object-fit: cover;
  border-radius: 2px;
}

.lang-switcher select {
  background: transparent;
  color: #000;
  border: none;
  outline: none;
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
  padding: 0;
}

.lang-switcher select:focus {
  outline: none;
}

.lang-switcher select option {
  padding: 4px 8px;
}

/* IMAGE CONTAINER SETTINGS */
.image-container {
  position: relative;
  display: inline-block;
  width: 100%;
  max-width: 100%;
}
.image-container .title-image {
  width: 100%;
  height: 100vh;
  display: block;
  object-fit: cover;
}

/* OVERLAY SETTINGS */
.image-overlay {
  position: absolute;
  top: 75%;
  left: 10%;
  color: #000;
  display: flex;
  flex-direction: column;
  z-index: 0;
}
.image-overlay h2 {
  font-size: 5em;
  margin: 0;
  font-family: "Belleza", sans-serif;
}
.image-overlay img {
  width: 20em;
  height: auto;
  margin: 0;
}
.image-overlay p {
  font-size: 2em;
  margin: 0;
  color: rgba(0, 0, 0, 0.5);
  text-align: center;
  font-style: italic;
}

.location-nav {
  position: absolute;
  top: 22%;
  right: 6%;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: min(320px, 36vw);
}

.location-card {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(3px);
  padding: 16px 16px 14px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.2);
}

.location-card h3 {
  margin: 0 0 10px;
  font-size: 1.6rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.location-card a {
  display: block;
  margin: 8px 0 0;
  padding: 10px 12px;
  text-decoration: none;
  color: #111;
  background: rgba(233, 125, 53, 0.2);
  border: 1px solid rgba(0, 0, 0, 0.2);
  font-weight: 600;
  text-transform: uppercase;
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.location-card a:hover {
  background: rgba(233, 125, 53, 0.4);
  transform: translateX(4px);
}

@media (max-width: 768px) {
  .image-container {
    width: 100%;
    height: 100vh;
  }
  .image-overlay {
    top: 50%;
    left: 10%;
  }
  .image-overlay h2 {
    font-size: 5em;
  }
  .image-overlay p {
    font-size: 1.5em;
  }

  .location-nav {
    top: auto;
    right: auto;
    left: 10%;
    bottom: 8%;
    width: 80%;
    gap: 12px;
  }

  .location-card {
    padding: 12px;
  }

  .location-card h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
  }

  .location-card a {
    margin-top: 6px;
    padding: 8px 10px;
    font-size: 0.9rem;
  }

  .lang-switcher {
    top: 8px;
    right: auto;
    left: 16px;
    padding: 4px 8px;
  }

  .lang-switcher #current-flag {
    width: 20px;
    height: 14px;
    margin-right: 6px;
  }

  .lang-switcher select {
    font-size: 12px;
  }
}

.about-container {
  position: absolute;
  top: 10%;
  padding: 20px 84px;
  background-color: rgba(234, 214, 155, 0.5);
  border-radius: 10px;
  width: 80%;
  height: auto;
}

.divider {
  width: 100%;
  height: 1px;
  background-color: rgba(0, 0, 0, 0.5);
  margin: 20px 0;
}

footer {
  position: absolute;
  bottom: 0;
  background-color: var(--header-bg-color);
  width: 100%;
  padding: 10px 0;
  display: flex;
  justify-content: center;
}
.aboutRovaniemi {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.aboutRovaniemi img {
  width: 50%;
  height: auto;
}
