@import url('https://fonts.googleapis.com/css?family=Merienda+One|Open+Sans&display=swap');

html,
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  box-sizing: border-box;
  width: 100%;
  max-width: 100vw;
}

body {
  font-family: "Open Sans", Arial, sans-serif;
  font-weight: 800;
  margin: 0;
  background: rgb(45, 221, 216);
  background: linear-gradient(
    90deg,
    rgba(45, 221, 216, 1) 25%,
    rgba(48, 131, 185, 1) 62%,
    rgba(45, 89, 168, 1) 100%
  );
}

/* Ensure no overflow during zoom */
#your-selection,
#first-row {
  overflow: hidden;
  /* Prevent content spilling out */
}

/* Prevent the entire page from horizontal scrolling */
body {
  overflow-x: hidden;
  /* Disable horizontal scrolling for the whole page */
}

h1,
h2,
h3 {
  font-family: "Merienda One", "Dancing Script", cursive;
}

/* Header */

header {
  background-color: black;
  height: 60%;
  color: #ff9494;
  text-shadow: black 2px 2px 2px;
  height: 20rem;
  text-align: center;
  margin: 0 auto;
}

#header {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 18rem;
  max-width: 100vw;
  width: 100%;
  overflow: hidden;
  text-align: center;
  margin: 0 auto;
  margin-top: -2%;
}

#hero-img {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
  filter: blur(0.2px) brightness(0.55);
  z-index: -1;
  margin: 0 auto;
  margin-left: 0;
}

/* Logo / Brand */

#brand {
  font-size: clamp(2rem, 5vw, 6rem);
  font-weight: 1000;
  color: #f88686;
  text-shadow: 2px 0 #fff, -2px 0 #fff, 0 2px #fff, 0 -2px #fff, 1px 1px #fff,
    -1px -1px #fff, 1px -1px #fff, -1px 1px #fff, 3px 3px beige;
  letter-spacing: 0.6rem;
  margin: 0;
  width: 100%;
  margin: 0 auto;
  text-align: center;
  word-spacing: 1.5rem;
}

/* Tagline */

#tagline {
  font-family: "Merienda One", "Dancing Script", cursive;
  font-size: clamp(1rem, 2.5vw, 1.8rem);
  font-weight: 900;
  color: #fdf8e4;
  letter-spacing: 0.3rem;
  word-spacing: 0.2rem;
  padding: 0.35rem 1rem;
  border-top: 2px solid beige;
  border-bottom: 2px solid beige;
  border-radius: 45%;
  background: #FB492C;
background: radial-gradient(circle, rgba(251, 73, 44, 1) 1%, rgba(255, 115, 88, 1) 64%, rgba(242, 158, 85, 1) 100%);
  text-align: center;
  margin: 0 auto;
  margin-bottom: 4%;
  max-width: 95%;
}

header h1 {
  font-size: 6rem;
  color: rgba(255, 148, 148, 1);
  font-weight: 1000;
  text-shadow: 2px 0 #fff, -2px 0 #fff, 0 2px #fff, 0 -2px #fff, 1px 1px #fff,
    -1px -1px #fff, 1px -1px #fff, -1px 1px #fff, 3px 3px beige;
  letter-spacing: 1rem;
  margin: 0 auto;
  text-align: center;
  width: 100%;
}

h2 {
  font-size: xx-large;
  color: whitesmoke;
}

header > p {
  color: white;
  max-height: fit-content;
}

/* Header End */

/* Nav Bar */

nav {
  padding: 0.65rem 1rem;
  background: radial-gradient(
    circle,
    rgba(249, 68, 62, 1) 33%,
    rgba(249, 136, 61, 1) 66%,
    rgba(249, 196, 61, 1) 100%
  );
  border-top: 2px solid white;
  border-bottom: 2px solid white;
  margin-bottom: 2.5%;
  background: black;
}

nav > a {
  text-decoration: none;
  color: rgb(248, 174, 128);
  font-size: 1.5em;
  font-weight: 875;
  text-shadow: 1px 1px rgb(98, 97, 97);
  letter-spacing: 0.25rem;
  margin: 1rem 3rem 1rem 3rem;
}

nav > a:hover {
  color: rgba(255, 148, 148, 1);
}

/* Nav Bar End */

/* World Map */

#world_map {
  align-items: center;
}

svg path {
  cursor: pointer;
}

svg path:hover {
  fill: #f69855;
}

.hidden {
  display: none;
  /* Hide the element */
}

/* Name Modal */

#name {
  position: fixed;
  float: left;
  background-color: rgba(12, 11, 12, 0.9);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  width: 12rem;
  border-radius: 75%;
  border: 3px solid rgb(248, 174, 128);
  padding: 2%;
  font-size: 2rem;
  font-weight: bolder;
  text-align: center;
  color: rgb(248, 174, 128);
  float: left;
  overflow-x: visible;
  overflow-y: auto;
  text-shadow: 1px 1px 1px black;
}

/* World Map End */

/* Country Name Box */

#location-box {
  display: inline-block;
  font-size: xx-large;
  font-weight: bold;
  position: relative;
  top: -7.5px;
  color: whitesmoke;
}

/* Name Box */

#nameq {
  color: rgb(103, 91, 91);
  background-color: beige;
  text-shadow: 2px 2px 2px rgb(213, 194, 194);
  width: fit-content;
  border: 2px;
  border-radius: 5px;
  padding: 2.5% 7.5%;
  font-size: 3.5rem;
  font-weight: bolder;
  margin-left: auto;
  margin-right: auto;
}

/* Time Box */

#timeCont {
  position: fixed;
  float: left;
  background-color: brown;
  width: 10rem;
  border: 3px solid beige;
  padding: 1%;
  font-size: 1.6rem;
  font-weight: 400;
  text-align: center;
  color: beige;
}

#time-box {
  display: inline-block;
  font-size: xx-large;
  font-weight: bold;
  position: relative;
  text-align: center;
  left: 70px;
  top: -15px;
  color: whitesmoke;
  z-index: 1;
  float: left;
}

#time {
  background-color: beige;
  color: rgb(103, 91, 91);
  text-shadow: 2px 2px 2px rgb(213, 194, 194);
  width: fit-content;
  border-radius: 5px;
  padding: 2.5% 7.5%;
  font-size: 2.8rem;
  font-weight: bold;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2rem;
  float: left;
}

/* Currency Box */

#currency {
  background-color: beige;
  color: rgb(103, 91, 91);
  text-shadow: 2px 2px 2px rgb(213, 194, 194);
  width: fit-content;
  border-radius: 5px;
  padding: 2.5% 7.5%;
  font-size: 2.8rem;
  font-weight: bold;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2rem;
  text-transform: capitalize;
  float: right;
}

/* Weather Box */

#weather {
  background: white;
  color: black;
  width: fit-content;
  border-radius: 5px;
  border: 3px solid black;
  padding: 5px 10px;
  font-size: 2rem;
  font-weight: bold;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1rem;
}

/* Wise Exchange Rate Widget */

iframe {
  margin-bottom: -15%;
  padding-bottom: 1%;
}

#information {
  background: white;
  color: black;
  width: fit-content;
  border-radius: 5px;
  border: 3px solid black;
  padding: 5px 10px;
  font-size: 2rem;
  font-weight: bold;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2rem;
  text-align: center;
}

#page-break {
  margin-bottom: 10%;
  margin-top: -7.5%;
  border: 2px solid white;
  opacity: 0;
}

/* Clicked Country Information Containers */

/* Initially, no animation is applied */
#your-selection {
  background: rgb(242, 130, 105);
  background: radial-gradient(
    circle,
    rgba(242, 130, 105, 1) 20%,
    rgba(245, 104, 137, 1) 80%,
    rgba(255, 148, 148, 1) 100%
  );
  border-top: 0.25em solid beige;
  border-bottom: 0.25em solid beige;
  margin-bottom: 2%;
  margin-top: 2%;
  contain: content;
  transform: scale(1);
  /* Ensure the initial state is unscaled */
}

/* Searched Address City Containers */

#your-next-selection {
  margin-bottom: 2%;
  margin: 0 auto;
}

.text-white {
  color: #ffffff;
}

.black-background {
  background-color: black;
}

.page-header {
  height: 40vh;
  background: center 75% / cover no-repeat;
  overflow-x: hidden;
  /* Prevents horizontal scroll */
  max-width: 100%;
  /* Or fit-content, depending on your need */
  max-height: 100vh;
  /* Or a fixed max-height like 40vh */
}

.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

strong {
  font-size: 1.3rem;
}

.text-uppercase {
  text-transform: uppercase;
}

.underline {
  text-decoration: underline;
}

li {
  list-style-type: none;
}

.bold {
  font-weight: bold;
}

small {
  font-style: italic;
}

img {
  border-radius: 8px;
  width: 96%;
  margin: 2%;
}

/* Country Information Container */

#info-container {
  display: inline-block;
  color: black;
  border: 1px solid beige;
  background-color: rgb(248, 174, 128);
  margin-left: 0;
  margin-right: 0;
  text-align: center;
  align-items: center;
  position: relative;
  text-underline-position: under;
  border-radius: 5px;
  font-size: 2.75rem;
  font-weight: bold;
  justify-content: center;
  min-height: fit-content;
}

#info-container h2 {
  color: silver;
  font-weight: 700;
  font-style: normal;
  margin-bottom: 1%;
  margin-top: 7.5%;
}

#info-container h5 {
  color: rgb(94, 91, 91);
  font-weight: 700;
  font-style: normal;
  font-family: "Merienda One";
  margin-top: 13%;
  font-size: xx-large;
}

.placeIcon {
  height: 2em;
  width: 2em;
}

/* Injected Public Holidays */

#holidays-section {
  display: inline-block;
  flex-wrap: nowrap;
  background: rgba(21, 21, 21, 0.9);
  width: 35vw;
  max-height: 25rem;
  margin: 0 auto;

  /* Ensure content doesn't overflow */
  position: relative;
  /* Establish a containing block for absolutely positioned elements */
}

#holidays-section h4 {
  font-size: 1.35rem;
  font-weight: 600;
  color: black;
  background-color: #ff465a;
  text-underline-position: under;
  width: 96%;
  margin: 0 auto;
}

#holidays-list {
  margin-top: 7.5%;
  margin-bottom: 7.5%;
  color: white;
  font-size: 1.25rem;
  max-height: calc(23.5rem - 5rem);
  overflow-y: auto;
  scrollbar-width: none;
  max-width: 23.5em;
}

#holidays-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  background: rgba(21, 21, 21, 0.9);
  width: 37.5vw;
  max-width: 100%;
  max-height: 24rem;
  margin: 0 auto;
  position: relative;
}

#holidays-section h4 {
  font-size: 1.35rem;
  font-weight: 600;
  color: black;
  background-color: #ff465a;
  text-underline-position: under;
  width: 96%;
  margin: 0 auto;
  text-align: center;
}

#holidays-list {
  display: flex;
  /* Enable flexbox */
  flex-direction: column;
  /* Stack items vertically */
  align-items: center;
  /* Align items to the left */
  justify-content: flex-start;
  /* Start list from the top */
  margin-top: 1vh;
  margin-bottom: 1vh;
  color: white;
  font-size: 1.25rem;
  max-height: calc(24rem - 5rem);
  /* Adjust height */
  overflow-y: auto;
  scrollbar-width: none;
  /* Hide scrollbar in Firefox */
}

#holidays-list::-webkit-scrollbar {
  display: none;
  /* For Chrome, Safari, and Opera */
}

.holidays-attribution {
    text-align: center;
    font-size: 0.85rem;
    color: #c1bebe;
    margin-top: 0.5rem;
    background-color: rgb(56, 55, 55);
    letter-spacing: 1px;
    text-align: center;
    margin: 0 auto;
    padding: 0.25rem;
    max-width: 100%;
}

.holidays-attribution a {
  color: inherit;
  padding: 5px 5px;
  margin: 2px;
  width: 100%;
}

.holidays-attribution a:hover {
  color: black;
  background-color: white;
  text-decoration: none;
  border-radius: 25px;
  border: 1px solid black;
  padding: 5px;
}



/* Navigation Buttons */

.navigation-buttons-holidays {
  display: flex;
  justify-content: center;
}

.navigation-buttons-holidays button {
  padding: 1.75%;
  font-size: 1rem;
  margin-bottom: 3.5%;
  margin-top: 4%;
  cursor: pointer;
  background-color: rgb(21, 21, 21, 0.9);
  color: white;
  border-radius: 5px;
  transition: 0.3s ease;
  min-width: 4rem;
  min-height: 2.5rem;
}

.navigation-buttons-holidays button:hover {
  background-color: white;
  color: black;
}

.navigation-buttons {
  display: flex;
  justify-content: center;
  text-align: center;
  margin-top: 4%;
  padding-bottom: 1.5%;
  margin-bottom: 1.5%;
}

.navigation-buttons button {
  padding: 20px 20px;
  font-size: 16px;
  font-weight: bold;
  margin: 5px;
  margin-top: 2.5%;
  cursor: pointer;
  background-color: white;
  color: black;
  border-radius: 5px;
  transition: 0.3s ease;
  min-width: 4rem;
  min-height: 2.5rem;
}

.navigation-buttons button:hover {
  color: white;
  background-color: black;
}

.navigation-buttons-black {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  /* ensure above scrollable content */
  margin-top: 1rem;
}

.navigation-buttons-holidays {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

.navigation-buttons-black button {
  padding: 2%;
  font-size: 1rem;
  margin-bottom: 2%;
  cursor: pointer;
  background-color: rgb(21, 21, 21, 0.9);
  color: white;
  border-radius: 5px;
  transition: 0.3s ease;
  min-width: 4rem;
}

.navigation-buttons-black button:hover {
  color: black;
  background-color: white;
}

/* Clicked Country Headlines Container */

#headlines-container {
  display: inline-block;
  position: relative;
  float: left;
  background: rgb(226, 135, 101);
  color: black;
  width: auto;
  width: 27.5%;
  max-width: 90%;
  min-height: fit-content;
  height: 100%;
  max-height: 200rem;
  margin-left: 1%;
  margin-right: 1.5%;
  padding: 1.75%;
  padding-bottom: 2.5%;
  border-radius: 5px;
  border: 1px solid beige;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  text-align: center;
  font-family: "Roboto", sans-serif;
  font-weight: 500;
  overflow: hidden;
  /* Prevent visible scrollbar */
}

#headlines-container h2 {
  margin-bottom: 7%;
  margin-top: 5%;
  color: rgb(103, 91, 91);
  font-weight: 700;
  font-style: normal;
}

.modal-content {
  width: 100%;
  max-width: 100%;
}

#headlines {
  max-height: 109rem;
  min-height: 60rem;
  background-color: whitesmoke;
  margin-top: 2%;
  margin-bottom: 4%;
  border-radius: 15px;
  border: 1px solid rgb(128, 118, 118);
  padding: 0.5em;
  overflow-y: auto;
  /* Enable vertical scrolling */
  -ms-overflow-style: none;
  /* Hide scrollbar in IE and Edge */
  scrollbar-width: none;
  /* Hide scrollbar in Firefox */
}

#headlines h3 {
  font-family: "Newsreader", serif;
  font-weight: 600;
  font-size: x-large;
  text-decoration-line: underline;
  font-size: 2em;
}

#headlines h4 {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-weight: bold;
  font-size: x-large;
  font-size: 1.75em;
  text-transform: capitalize;
  text-decoration-line: underline;
  text-underline-position: under;
  text-decoration-color: rgb(103, 91, 91);
  text-decoration-style: double;
}

#headlines p {
  font-family: "Open Sans", Arial, sans-serif;
  font-weight: 900;
  font-size: 1.35em;
  font-size: 1.4em;
}

#headlines::-webkit-scrollbar {
  display: none;
  /* Hide scrollbar in Chrome, Safari, and Edge */
}


#attribution {
  background: #000;
  color: silver;
  text-align: center;
  font-size: 0.55em;
  margin-top: 10px;
  border: 1px solid silver;
  border-radius: 5px;
  box-shadow: 0 4px 6px rgba(255, 255, 255, 0.1);
  font-family: Arial, sans-serif;
  word-spacing: 2.5px;
  letter-spacing: 0.2px;
}

/* Weather Box */

#weather-box {
  display: inline-block;
  font-size: xx-large;
  font-weight: bold;
  position: relative;
  right: 70px;
  top: -15px;
  color: whitesmoke;
}

/* Currency Box */

#currency-box {
  display: inline-block;
  font-size: xx-large;
  font-weight: bold;
  position: relative;
  right: 70px;
  top: -15px;
  color: whitesmoke;
  float: right;
}

/* Updated #hotel-container and #results to align with working example */
#hotel-container {
  display: block;
  position: relative;
  float: left;
  background: rgb(41, 143, 195);
  color: black;
  width: 33%;
  max-width: 23.5vw;
  margin-left: 2.5%;
  padding: 2%;
  border-radius: 5px;
  border: 2px solid beige;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  text-align: center;
  font-weight: 600;
  overflow: hidden;
  margin-top: 3%;
  font-family: "Roboto", sans-serif;
  height: 118rem;
  text-underline-position: under;
}

#hotel-container h2 {
  color: beige;
  font-weight: 450;
  margin-top: 11%;
}

/* Navigation Buttons of Second Selection */

.navigation-buttons {
  display: flex;
  justify-content: center;
  text-align: center;
  margin-top: 1em;
}

.navigation-buttons button {
  padding: 10px 20px;
  font-size: 16px;
  margin: 5px;
  cursor: pointer;
  background-color: white;
  color: black;
  border: 2px solid black;
  border-radius: 5px;
  transition: 0.3s ease;
}

.navigation-buttons button:hover {
  color: white;
  background-color: black;
}

/* Country Information Results */

#results {
  max-height: 36rem;
  max-width: 25.5vw;
  background: whitesmoke;
  overflow-y: scroll;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

#results::-webkit-scrollbar {
  display: none;
  /* WebKit browsers: Hide scrollbar */
}

/* Hotel Results */

#hotels {
  max-height: 107.5rem;
  width: 24vw;
  overflow-y: auto;
  -ms-overflow-style: none;
  /* IE/Edge scrollbar hidden */
  scrollbar-width: none;
  /* Firefox scrollbar hidden */
  margin-bottom: 4%;
  padding: 1vh;
  background-color: white;
  border-radius: 5px;
  border-bottom: 2.5px solid black;
}

#hotels::-webkit-scrollbar {
  display: none;
  /* Chrome, Safari scrollbar hidden */
}

#hotel-modal {
  max-width: 33vw;
  font-size: 1em;
}

/* Places Results Container */

#place-container {
  position: relative;
  display: inline-block;
  background-color: rgb(48, 117, 157);
  color: black;
  margin-bottom: 1%;
  margin-top: 3%;
  text-align: center;
  align-items: center;
  position: relative;
  padding: 1%;
  border-radius: 5px;
  max-height: max-content;
  height: 120rem;
  padding-bottom: 1.5%;
  border: 2px solid black;
  font-family: "Roboto", sans-serif;
}

/* Places Results */

#places-modal {
  max-height: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

#place-container h2 {
  color: black;
  margin-top: 11%;
}

#places {
  max-height: 64rem;
  /* Restrict height of scrollable area */
  overflow-y: auto;
  /* Enable scrolling */
  -ms-overflow-style: none;
  /* IE/Edge scrollbar hidden */
  scrollbar-width: none;
  /* Firefox scrollbar hidden */
  overflow-x: hidden;
  border-top: 2.5px solid black;
  border-bottom: 2.5px solid black;
  margin-top: 8%;
  margin-bottom: 0;
  /* Remove big margin */
}

#places::-webkit-scrollbar {
  display: none;
  /* Chrome, Safari scrollbar hidden */
}

#places-results {
  height: 76rem;
  min-height: 50rem;
  max-height: max-content;
  background-color: white;
  border-radius: 5px;
  width: 100%;
  table-layout: fixed;
  word-break: break-word;
}

/* Target icons in the places container */
#places-results td img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.leaflet-marker-icon.emoji-pin-marker {
  z-index: 600;
}

/* Hidden State */
#second-selection {
  opacity: 0;
  transform: translateY(20px);
  /* Slight slide-up effect */
  transition: opacity 0.8s ease, transform 0.8s ease;
  display: none;
  /* Initially hidden */
}

/* Visible State */
#second-selection.visible {
  opacity: 1;
  transform: translateY(0);
  display: flex;
  /* Align containers side by side */
  justify-content: space-around;
  gap: 1.5vh;
}

/* Additional styling for smooth animations within snapshot boxes */
.snapshot-box {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.snapshot-box.show {
  opacity: 1;
  transform: scale(1);
}

/* Container Fade In Animation */

.fade-in {
  animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* Snapshot boxes default style */
.snapshot-box {
  width: 33%;
  display: inline-block;
  margin-top: 1%;
  color: black;
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.5s ease, transform 0.5s ease;
  position: relative;
}

.snapshot-box.show {
  opacity: 1;
  transform: scale(1);
}

/* Window controls styling */
/* Centered window controls */
.window-controls {
  position: fixed;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  margin-top: 2.5%;
}

/* Maximize animation (full screen) */
/* Pop-out style for maximized box */
/* Ensure the container takes full control when maximized */
.overlay {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 90vw;
  height: 90vh;
  max-width: 93%;
  background: rgba(0, 0, 0, 0.5);
  /* Dark transparent background */
  color: white;
  font-weight: 700;
  z-index: 999;
  overflow: hidden;
  display: flex;
  transform: translate(-50%, -50%);
  /* Ensures perfect centering */
  border-radius: 10px;
  padding: 20px;
}

/* Styling for the cloned snapshot box when maximized */
.snapshot-box.maximized {
  width: 100vw;
  max-width: 100vw;
  height: 100vh;
  max-height: 100vh;
  background: white;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
  /* Floating effect */
  overflow: hidden;
  padding: 20px;
  position: relative;
}

/* Hiding scrollbars visually but allowing scrolling */
.snapshot-box.maximized::-webkit-scrollbar {
  display: none;
  /* Hides scrollbar for WebKit browsers */
}

.snapshot-box.maximized {
  -ms-overflow-style: none;
  /* Hides scrollbar for IE and Edge */
  scrollbar-width: none;
  /* Hides scrollbar for Firefox */
}

/* Scaled effect for first-row when a box is maximized */
#first-row.scaled {
  transform: scale(0.8);
  transition: transform 0.3s ease-in-out;
}

/* Hidden Containers */
.snapshot-box.hidden {
  display: none !important;
}

.navigation-buttons {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
  /* Space below content */
  gap: 0.5rem;
  /* Space between buttons */
  position: relative;
  bottom: 0;
}

/* Weather Results Container */

#weather-container {
  display: block;
  background: rgb(41, 143, 195);
  height: 120rem;
  max-height: max-content;
  max-width: 24.5vw;
  padding: 1%;
  border-radius: 5px;
  border: 1px solid beige;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 2px solid beige;
  text-align: center;
  float: right;
  position: relative;
  margin-right: 2.5%;
  margin-top: 3%;
  text-underline-position: under;
}

#weather-container h2 {
  margin-top: 14.5%;
  margin-bottom: 12.5%;
  color: beige;
  font-weight: 450;
}

#forecast-break {
  margin-top: 3%;
  margin-bottom: 4%;
  color: white;
}

#forecast-break-2 {
  margin-top: 6%;
  margin-bottom: 4%;
  color: white;
}

#temp-div p {
  font-size: 60px;
}

#weather-info {
  font-size: 1.75em;
  text-transform: capitalize;
  color: beige;
}

#weather-icon {
  width: 200px;
  height: 200px;
  margin: 0 auto 10px;
  margin-bottom: 0;
  display: none;
  color: beige;
}

#hourly-forecast {
  margin-top: 50px;
  overflow-x: auto;
  white-space: nowrap;
  display: flex;
  justify-content: space-between;
  color: #fff;
  overflow-y: auto;
  /* Enable vertical scrolling */
  -ms-overflow-style: none;
  /* Hide scrollbar in IE and Edge */
  scrollbar-width: none;
  /* Hide scrollbar in Firefox */
  font-size: 1.1em;
}

#hourly-scroll-left {
  margin-bottom: 3%;
}

#hourly-forecast {
  display: flex;
  overflow-x: auto;
  gap: 10px;
  scroll-behavior: smooth;
}

#hourly-forecast-container button {
  background: none;
  border: none;
  font-size: 1.5em;
  cursor: pointer;
}

.hourly-item {
  flex: 0 0 auto;
  width: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-right: 10px;
  color: white;
  padding-bottom: 5%;
}

.hourly-item img {
  width: 4em;
  height: 4em;
  margin-bottom: 5%;
  margin-top: 10%;
}

#hourly-heading {
  color: #fff;
  margin-top: 10px;
}

input {
  width: 12.75rem;
  height: 2.5rem;
  box-sizing: border-box;
  border: 1px solid white;
  margin-left: 0.25em;
  font-size: 2.5rem;
}

#five-day-forecast {
  display: flex;
  flex-wrap: nowrap;
  /* Single row, no wrapping */
  overflow-x: auto;
  /* Enable horizontal scrolling */
  margin-top: 20px;
  padding: 10px;
  gap: 10px;
  /* Add some spacing between items */
}

#five-day-forecast::-webkit-scrollbar {
  height: 8px;
  /* Horizontal scrollbar height */
}

#five-day-forecast::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.5);
  /* Scrollbar thumb color */
  border-radius: 4px;
}

#five-day-forecast::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.7);
}

#forecast-container {
  font-size: 1em;
  text-transform: capitalize;
}

.forecast-card img {
  width: 4em;
  /* Uniform width */
  height: 4em;
  /* Uniform height */
  object-fit: contain;
  /* Maintain aspect ratio */
  margin-bottom: 2.5%;
}

#forecast-cards {
  display: flex;
  gap: 15px;
  /* Space between cards */
  overflow: hidden;
  /* Hide scroll bar */
  scroll-behavior: smooth;
  overflow-y: auto;
  /* Enable vertical scrolling */
  -ms-overflow-style: none;
  /* Hide scrollbar in IE and Edge */
  scrollbar-width: none;
  /* Hide scrollbar in Firefox */
}

#forecast-container button {
  background: none;
  border: none;
  font-size: 1.5em;
  cursor: pointer;
  color: #fff;
  margin: 0 5px;
}

#forecast-container button:hover {
  color: #ffa500;
  /* Highlight on hover */
}

.forecast-item {
  width: 4em;
  height: 4em;
  margin-bottom: 5%;
  margin-top: 10%;
  text-align: center;
  color: #fff;
  font-size: smaller;
}

.forecast-item img {
  max-width: 75%;
  max-height: 75%;
  margin-bottom: 2%;
  /* Add spacing below the icon */
  margin-top: 2%;
}

.forecast-card-bold {
  font-size: 1.25em;
}

#long-term-forecast {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  margin-top: 20px;
  padding: 10px;
  gap: 15px;
  color: #fff;
  font: 0.9em;
  flex: 0 0 120px;
  flex-grow: 0;
  flex-shrink: 0;
  flex-basis: 120px;
}

#long-term-forecast::-webkit-scrollbar {
  height: 8px;
}

#long-term-forecast::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.5);
  border-radius: 4px;
}

#long-term-scroll-left {
  margin-bottom: 3%;
}

.forecast-card {
  flex: 0 0 auto;
  width: 80px;
  text-align: center;
  color: white;
  background: rgba(255, 255, 255, 0.1);
  padding: 10px;
  border-radius: 5px;
}

/* 5 DAY FORECAST & 16 DAY FORECAST */

#forecast-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

#forecast-cards {
  max-width: 100%;
  display: flex;
  gap: 15px;
  overflow-x: auto;
  scroll-behavior: smooth;
  justify-content: center;
  padding: 10px;
  scrollbar-width: thin;
  /* For Firefox */
  scrollbar-color: rgba(255, 255, 255, 0.5) transparent;
}

#forecast-cards::-webkit-scrollbar {
  height: 6px;
  /* Subtle scrollbar */
}

#forecast-cards::-webkit-scrollbar-track {
  background: transparent;
}

#forecast-cards::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.5);
  border-radius: 3px;
}

.forecast-card {
  max-width: 100%;
  overflow-x: auto;
  flex: 0 0 120px;
  text-align: center;
  color: white;
  background: rgba(255, 255, 255, 0.1);
  padding: 10px;
  border-radius: 5px;
  font-size: 0.9em;
  /* Decreased font size */
  transition: transform 0.2s ease-in-out;
  text-transform: capitalize;
  gap: 15px;
}

.forecast-card:hover {
  transform: scale(1.05);
}

.forecast-card img {
  width: 4em;
  height: 4em;
  object-fit: contain;
  margin-bottom: 5px;
}

#hourly-forecast {
  display: flex;
  overflow-x: auto;
  /* Enable horizontal scrolling */
  gap: 10px;
  scroll-behavior: smooth;
  white-space: nowrap;
  /* Prevent wrapping */
  padding-bottom: 10px;
  /* Space for scrollbar */
}

#hourly-forecast::-webkit-scrollbar {
  height: 8px;
  /* Make scrollbar visible */
}

#hourly-forecast::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.5);
  /* Style the scrollbar */
  border-radius: 4px;
}

#hourly-forecast::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.7);
}

/* Day & Date Styling (Above Icon) */
.forecast-date {
  font-size: 0.9em;
  /* Matching the weather & temp font */
  font-weight: bold;
  margin-bottom: 5px;
}

#forecast-container {
  min-height: 15rem;
  /* Ensure it takes up space */
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

/* Safety Container */

#safety-container {
  background: rgba(255, 255, 255, 0.3);
  width: 60%;
  padding-right: 1%;
  padding-bottom: 2%;
  border-radius: 15px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  text-align: center;
  position: relative;
  margin-top: 3%;
  margin-bottom: 10%;
  text-underline-position: under;
  margin-left: 20%;
  margin-right: 26%;
  overflow: hidden;
}

#safety-container h2 {
  margin-bottom: 5%;
  margin-top: 7.5%;
  color: beige;
  font-family: "Newsreader", serif;
  font-weight: 400;
  font-style: normal;
}

/* Safety Map */

#safety-map {
  max-height: 100rem;
  min-height: 800px;
  width: 95%;
  background-color: whitesmoke;
  margin-top: 2%;
  margin-bottom: 1%;
  border-radius: 15px;
  overflow-y: auto;
  /* Enable vertical scrolling */
  -ms-overflow-style: none;
  /* Hide scrollbar in IE and Edge */
  scrollbar-width: none;
  /* Hide scrollbar in Firefox */
  margin: 0 auto;
  margin-left: 2%;
  zoom: 112.5%;
}

/* Weather Map */

#weather-map {
  max-height: 100rem;
  min-height: 90rem;
  width: 95%;
  background-color: whitesmoke;
  margin-top: 2%;
  margin-bottom: 1%;
  border-radius: 15px;
  overflow-y: auto;
  /* Enable vertical scrolling */
  -ms-overflow-style: none;
  /* Hide scrollbar in IE and Edge */
  scrollbar-width: none;
  /* Hide scrollbar in Firefox */
  margin: 0 auto;
  margin-left: 2%;
}

input {
  width: calc(100% - 10px);
  box-sizing: border-box;
  border-radius: 10px;
  border: 1px solid white;
  padding-left: 1%;
  margin-left: 1%;
}

button {
  color: white;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  width: 100px;
  font-size: 15px;
}

button:hover {
  background: black;
  color: whitesmoke;
}

button {
  color: black;
  border: 2px solid black;
  cursor: pointer;
  width: 5rem;
  font-size: large;
  margin: 0 1em;
}

.vertical-center {
  position: relative;
  top: 20%;
  bottom: 20%;
  width: 100%;
  text-align: center;
}

.one-third-width-column {
  width: 33.33%;
  display: inline-block;
}

.two-thirds-width-column {
  width: 66.66%;
  display: inline-block;
}

.snapshot-box {
  width: 33%;
  display: inline-block;
  margin-top: 1%;
  color: black;
}

#currency-container {
  display: block;
  background: rgb(226, 135, 101);
  width: 27.5%;
  max-width: 95%;
  border-radius: 5px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: solid rgba(255, 255, 255, 0.1);
  text-align: center;
  float: right;
  position: relative;
  margin-right: 1%;
  margin-left: 1%;
  text-underline-position: under;
  contain: content;
  height: 125rem;
  max-height: 210rem;
  padding: 0.35em;
  border: 1px solid beige;
  overflow: hidden;
}

#currency-container h2 {
  margin-top: 13%;
  margin-bottom: 5%;
  color: rgb(103, 91, 91);
  font-weight: 700;
  font-style: normal;
}

/* Converter at the top */
#currency-converter {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin: 10px 0;
}

#currency-converter input,
#currency-converter select {

  font-size: 0.9rem;
  border: 1px solid #ccc;
  border-radius: 6px;
}

/* Chart section */
#currency-chart {
  margin: 15px 0;
  height: 220px; /* enough for 12-month line chart */
}

#currency-chart canvas {
  width: 100% !important;
  height: 100% !important;
  border: 1px solid black;
}

/* Table widget */
#currency-table {
  margin-top: 10px;
  height: 100%;
  position: relative;
  overflow: hidden;
  margin-top: 2vh;
  border: 1px solid black;
}

#currency-fallback {
  display: none; /* will only show if iframe fails */
  text-align: center;
  font-size: 0.9rem;
  color: #555;
  padding: 10px;
  overflow: hidden;
}

/* === Currency Converter Layout === */
#currency-converter {
  background: rgba(255, 255, 255, 0.15); /* frosted effect like others */
  padding: 0.8rem;
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  flex-wrap: wrap; /* mobile-friendly */
}

/* Inputs and dropdowns in a neat row */
#currency-converter input,
#currency-converter select {
  font-size: 0.9rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  padding: 0.3rem 0.5rem;
  background: #fff;
  flex: 0 0 auto;
}

/* Shorter selects */
#currency-converter select {
  min-width: 80px;
  max-width: 120px; /* constrain so they don’t bully */
  text-overflow: ellipsis;
}

/* Amount box — styled same for both sides */
#currency-converter .amount-box {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(240, 240, 240, 0.9);
  border-radius: 5px;
  padding: 0.3rem 0.5rem;
}

/* Conversion result in between */
#converted-amount {
  font-weight: bold;
  font-size: 1.1rem;
  color: #000;
}

/* === Chart wrapper === */
#currency-chart-container {
  background: rgba(0, 0, 0, 0.05); /* softer bg, separates chart visually */
  padding: 0.5rem;
  margin: 0.6rem 0;
  height: 200px; /* fixed height so graph isn’t squashed */
}

/* === Elongate container so Wise widget & fallback are visible === */
#currency-container {

  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

/* === Currency Converter Row === */
#currency-converter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.6rem;
  background: rgba(255, 255, 255, 0.12); /* subtle frosted box */
  border-radius: 5px;
  border-color: 2px solid black;
  margin-bottom: 0.8rem;
}

/* Input + dropdowns */
#currency-converter input,
#currency-converter select {
  font-size: 0.9rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  padding: 0.3rem 0.5rem;
  background: #fff;
}

.equals {
  font-size: 1.4rem;
  color: black;
}

/* Shorten the boxes */
#currency-converter select {
  min-width: 90px;
  max-width: 110px; /* no more bullying */
  text-overflow: ellipsis;
}
#currency-converter input {
  max-width: 80px; /* keep amount compact */
  text-align: right;
}

/* Conversion result (the “= 0.86” bit) */
#converted-amount {
  font-weight: bold;
  font-size: 1.1rem;
  color: #000;
  padding: 0 0.4rem;
}

/* === Chart Styling === */
#currency-chart-container {
  background: #fff;            /* clean white canvas */
  border-radius: 8px;
  padding: 0.5rem;
  margin-bottom: 0.8rem;
  height: 220px;               /* taller so chart breathes */
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

/* === Container Taller to fit Wise widget + fallback === */
#currency-container {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

#fx-chart {
  background-color: white;

  font-weight: bolder;
  border-radius: 5px;
  border-color: 2px solid black;
}





/* Wise widget iframe restyle */
#currency-container iframe {
  border: none !important;
  width: 100% !important;
  flex: 1;
  min-height: fit-content;  /* ensures visible portion */
 
  border-color: 2px solid black;
  background: rgba(255,255,255,0.85);
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  padding-top: 1.5vh;
}

.currency-spacer {
  padding: 1vh;
}

/* Currency chart and table should flex naturally without squishing */
#currency-chart,
#currency-table {
  display: block;
  width: auto;           /* let parent decide width */
  max-width: 100%;       /* prevent overflow */
  margin-bottom: 1rem;
  box-sizing: border-box;
}

#currency-table iframe {
  width: 100%;
  min-height: 300px;     /* adjust as you like */
  border: none;
}






#country-inp {
  width: 17.5rem;
}

.data-wrapper h4 {
  font-size: 1.35rem;
  font-weight: 600;
  color: black;
  background-color: #ff465a;
  text-underline-position: under;
  margin-top: 7.5%;
}

.data-wrapper span {
  font-size: 1.75rem;
}

#result {
  display: inline-block;
  padding-bottom: 5%;
  margin-left: auto;
  margin-right: auto;
  background: rgb(21, 21, 21, 0.9);
  color: white;
  margin-top: -2.5%;
}

.flag-img {
  width: 36rem;
  /* Let width adjust based on aspect ratio */
  height: auto;
  /* Fixed height */
  max-width: 100%;
  /* Prevent oversized images */
  display: block;
  /* Ensure images behave predictably */
  margin: 0 auto;
  /* Center the flag */
  margin-bottom: 5%;
  margin-top: 2.5%;
}

#container h2 {
  font-weight: 600;
  color: #222a43;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1.8em;
}

.data-wrapper {
  letter-spacing: 0.3px;
  text-transform: capitalize;
  margin-bottom: 2.5%;
}

#container h4 {
  display: inline;
  font-weight: 500;
  color: #222a43;
}

#container span {
  color: #5d6274;
}

#container h3 {
  text-align: center;
  font-size: 1.2em;
  font-weight: 400;
  color: #ff465a;
}

#time-container h2 {
  margin-bottom: 5%;
  margin-top: 1%;
}

thead {
  padding: 10% 0;
}

/* Contact Section */

/* padding to allow for fixed footer */
#contact {
  margin-top: 5rem;
  margin-bottom: 20rem;
  font-weight: 900;
  font-family: "Open Sans", Arial, sans-serif;
}

#contact a {
  color: black;
  text-decoration: none;
  cursor: pointer;
  z-index: 100000000;
  position: relative;
}

#contact a:hover {
  color: beige;
  text-shadow: 1px 1px rgb(162, 152, 152);
}

.contact-link {
  font-size: 1em;
  text-decoration-line: underline;
  text-underline-offset: 1rem;
  color: beige;
  cursor: pointer;
}

.contact-boxes-container {
  width: 96%;
  margin: 0 auto;
}

.contact-box-left {
  width: 30%;
  margin-top: -20px;
  float: left;
  font-size: 1.1em;
  font-weight: 500;
  color: beige;
}

.contact-box-right {
  width: 30%;
  margin-top: -20px;
  float: right;
  font-size: 1.1em;
  font-weight: 500;
  color: beige;
  position: relative;
}

.spacer {
  clear: both;
}

.contact-box-center {
  width: 30%;
  height: 250px;
  margin: 0 auto;
  text-align: center;
  font-size: 1.1em;
  font-weight: 500;
}

#contact h2 {
  color: black;
}

#contact h3 {
  color: beige;
}

#contact span {
  color: black;
  font-size: 0.9em;
}

th,
td {
  border-bottom: 1px solid black;
}

ul {
  padding: 0;
}

#reasons li {
  margin-top: 5%;
}

a:hover {
  text-decoration: none;
  color: rgba(255, 148, 148, 1);
}

/* Footer */

footer {
  background-color: black;
  padding-top: 1.5%;
  text-align: center;
  width: 100%;
  position: fixed;
  bottom: 0;
  right: 0;
  z-index: 10000000000;
  border-top: 2px solid beige;
  height: 5rem;
  padding-bottom: 1.5%;
}

footer > span {
  color: silver;
  margin-right: 1%;
  font-size: 1.25rem;
  margin-bottom: 5%;
}

footer > a {
  color: rgb(248, 174, 128);
  text-decoration: none;
  padding: 1.5% 1.5%;
  font-size: 1.35rem;
}

footer > p {
  color: silver;
  margin-left: 1%;
  font-size: 1em;
  margin-bottom: 10%;
  display: none;
}

i {
  padding: 1.25%;
}

#info-wrapper {
  width: 33%;
  height: 35rem;
  margin-top: 1.5%;
  text-align: center;
  position: relative;
  z-index: 1;
}

/* Ensure #first-row is initially unscaled */
#first-row {
  transform: scale(1);
  /* Initial state */
}

/* Maximize effect on snapshot-box */
.snapshot-box.maximized {
  width: 100vw;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  transform: scale(1);
  z-index: 1000;
  opacity: 1;
  padding: 20px;
  box-sizing: border-box;
}

/* Minimized state (hidden) */
.snapshot-box.minimized {
  display: none;
}

/* Window controls */
.window-controls {
  position: absolute;
  top: 5px;
  right: 10px;

  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.window-controls button {
  border: none;
  background-color: transparent;
  font-size: 20px;
  cursor: pointer;
  padding: 5px;
}

.window-controls button:hover {
  background-color: rgba(0, 0, 0, 0.1);
  border-radius: 3px;
}

/* Hidden state */
#first-row {
  opacity: 0;
  transform: translateY(20px);
  /* Slight slide-up effect */
  transition: opacity 0.8s ease, transform 0.8s ease;
  display: none;
  /* Initially hidden */
}

/* Visible state */
#first-row.visible {
  opacity: 1;
  transform: translateY(0);
  display: block;
}

/* Scaled state for #first-row when a box is maximized */
#first-row.scaled {
  transform: scale(0.95);
  transition: transform 0.3s ease-in-out;
}

/* Open Streets Map */

#map-container {
  display: inline-block;
  width: 100%;
  height: 35rem;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 10%;
  margin-top: 1%;
  text-align: center;
  position: relative;
  z-index: 1;
}

#map-wrapper {
  display: inline-block;
  width: 100%;
  height: 35rem;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 10%;
  margin-top: 1%;
  text-align: center;
  position: relative;
  z-index: 1;
}

#map {
  display: inline-block;
  height: 100%;
  width: 100%;
  border-top: 5px solid beige;
  border-bottom: 5px solid beige;
}

#description {
  font-family: "Roboto", sans-serif;
  font-size: 15px;
  font-weight: 300;
}

#infowindow-content .title {
  font-weight: bold;
}

#infowindow-content {
  display: none;
}

#map #infowindow-content {
  display: inline;
}

.pac-card {
  background-color: #fff;
  border: 0;
  border-radius: 2px;
  box-shadow: 0 1px 4px -1px rgba(0, 0, 0, 0.3);
  margin: 10px;
  padding: 0 0.5em;
  font: 400 18px Roboto, Arial, sans-serif;
  overflow: hidden;
  font-family: Roboto;
  padding: 0;
}

#pac-container {
  padding-bottom: 12px;
  margin-right: 12px;
}

.pac-controls {
  display: inline-block;
  padding: 5px 11px;
}

.pac-controls label {
  font-family: "Roboto";
  font-size: 13px;
  font-weight: 300;
}

#pac-input {
  background-color: #fff;
  font-family: "Roboto";
  font-size: 15px;
  font-weight: 300;
  margin-left: 12px;
  padding: 0 11px 0 13px;
  text-overflow: ellipsis;
  width: 400px;
}

#pac-input:focus {
  border-color: #4d90fe;
}

#title {
  color: #fff;
  background-color: #4d90fe;
  font-size: 25px;
  font-weight: 500;
  padding: 6px 12px;
}

#target {
  width: 345px;
}

.pac-target-input {
  width: 7rem;
  height: 5rem;
  margin-bottom: 5%;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-weight: 700;
  width: 100%;
  padding: 1%;
  font-size: 2.75rem;
  text-transform: capitalize;
  text-align: center;
  border: 2.5px solid black;
}

/* Smooth transition for elements */
.snapshot-box {
  display: none;
  /* Default hidden state */
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  /* Smooth fade */
}

/* 404 Page */

#page-404 {
  font-size: 1.75em;
  line-height: 120%;
  margin: 0 auto;
  margin-bottom: 12.5%;
}

#lost {
  display: block;
  margin-top: 5%;
  margin-bottom: 5%;
  margin-left: auto;
  margin-right: auto;
  width: 55%;
  border: 2px solid beige;
  filter: brightness(80%);
  filter: contrast(100%);
}

#warning {
  margin-bottom: 10%;
}

.warning-text-center {
  text-align: center;
  font-family: "Roboto", sans-serif;
  text-transform: uppercase;
  color: #000;
  background-color: white;
  border-radius: 50%;
  max-width: 30rem;
  height: 3rem;
  margin: 0 auto;
  padding-top: 1%;
}

.back-button {
  display: block;
  height: 8vh;
  width: 15vw;
  align-content: center;
  font-size: 1.5em;
  background-color: #000;
  color: white;
  margin: 0 auto;
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  text-align: center;
  border: 4px solid black;
}

.back-button:hover {
  background-color: white;
  color: black;
  transition: none;
}

/* Postcode Modal */

#postcode-link {
  font-weight: 500;
  cursor: pointer;
}

/* Contact Postcode Modal Overlay */

/* Modal styling */
.mapmodal {
  display: none;
  position: fixed;
  z-index: 999999999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.7);
  cursor: pointer;
}

.mapmodal-content {
  margin: 10% auto;
  padding-left: 1%;
  padding-right: 1%;
  padding-bottom: 2.5%;
  border-radius: 8px;
  width: fit-content;
  max-width: 50%;
  height: 45%;
  /* Matches your original intention */
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
  position: relative;
  display: flex;
  /* Centers the iframe */
  justify-content: center;
  align-items: center;
}

.mapmodal-content iframe {
  width: 100%;
  /* Full width of the modal-content */
  height: 100%;
  /* Full height of the modal-content */
  border: none;
  /* Removes border */
}

#close-map-modal {
  position: absolute;
  top: 11%;
  right: 8.5%;
  font-size: 2.5em;
  font-weight: bold;
  color: #696565;
  background-color: white;
  cursor: pointer;
  padding: 2%;
  z-index: 10000000000;
}

#close-map-modal:hover {
  color: #262525;
  background-color: white;
}

#map-modal.active {
  display: flex !important;
}

/* CARROUSEL COUNTRY IMAGE SLIDESHOW*/

.image-container {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  margin-top: auto;
  margin-bottom: 2%;
}

.wgh-slider {
  position: relative;
  top: 50%;
  width: 100%;
  transform: translateY(-50%);
}

.wgh-slider__viewport {
  position: relative;
  height: 100%;
  width: 100%;
}

.wgh-slider__viewbox {
  display: block;
  position: relative;
  perspective: 100vw;
  margin: 0 auto;
  width: 33.3333333333%;
  max-width: 38vw;
  transform-style: preserve-3d;
  z-index: 0;
}

.wgh-slider__viewbox::before {
  position: relative;
  top: 0;
  left: 0;
  display: block;
  content: "";
  height: 0;
  padding-bottom: 100%;
  width: 100%;
}

.wgh-slider__container {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  transition: transform 0.3s cubic-bezier(0.62, 0.28, 0.23, 0.99) 0.3s;
  transform-style: preserve-3d;
}

.wgh-slider-target {
  position: absolute;
  width: 0;
  height: 0;
  opacity: 0;
  visibility: hidden;
}

input.wgh-slider-target {
  display: none;
}

.wgh-slider-target:first-of-type:last-of-type
  ~ .wgh-slider__viewport
  .wgh-slider-item:nth-child(1)
  .wgh-slider-item__trigger {
  display: none;
}

.wgh-slider-target:nth-of-type(1):checked
  ~ .wgh-slider__viewport
  .wgh-slider__container {
  transform: translateX(0%);
}

.wgh-slider-target:nth-of-type(2):checked
  ~ .wgh-slider__viewport
  .wgh-slider__container {
  transform: translateX(-50%);
}

.wgh-slider-target:nth-of-type(3):checked
  ~ .wgh-slider__viewport
  .wgh-slider__container {
  transform: translateX(-100%);
}

.wgh-slider-target:nth-of-type(4):checked
  ~ .wgh-slider__viewport
  .wgh-slider__container {
  transform: translateX(-150%);
}

.wgh-slider-target:nth-of-type(5):checked
  ~ .wgh-slider__viewport
  .wgh-slider__container {
  transform: translateX(-200%);
}

.wgh-slider-target:nth-of-type(6):checked
  ~ .wgh-slider__viewport
  .wgh-slider__container {
  transform: translateX(-250%);
}

.wgh-slider-target:nth-of-type(7):checked
  ~ .wgh-slider__viewport
  .wgh-slider__container {
  transform: translateX(-300%);
}

.wgh-slider-target:nth-of-type(8):checked
  ~ .wgh-slider__viewport
  .wgh-slider__container {
  transform: translateX(-350%);
}

.wgh-slider-item {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 1;
  transform: translate3d(0, 0, 0) rotateY(45deg);
  transition: transform 0.6s cubic-bezier(0.62, 0.28, 0.23, 0.99) 0.15s;
}

.wgh-slider-item:nth-child(1) {
  left: 0%;
}

.wgh-slider-item:nth-child(2) {
  left: 50%;
}

.wgh-slider-item:nth-child(3) {
  left: 100%;
}

.wgh-slider-item:nth-child(4) {
  left: 150%;
}

.wgh-slider-item:nth-child(5) {
  left: 200%;
}

.wgh-slider-item:nth-child(6) {
  left: 250%;
}

.wgh-slider-item:nth-child(7) {
  left: 300%;
}

.wgh-slider-item:nth-child(8) {
  left: 350%;
}

.wgh-slider-item__trigger {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 100;
  cursor: pointer;
}

.wgh-slider-target:nth-of-type(8):checked
  ~ .wgh-slider__viewport
  .wgh-slider-item:nth-child(8)
  .wgh-slider-item__trigger,
.wgh-slider-target:nth-of-type(7):checked
  ~ .wgh-slider__viewport
  .wgh-slider-item:nth-child(7)
  .wgh-slider-item__trigger,
.wgh-slider-target:nth-of-type(6):checked
  ~ .wgh-slider__viewport
  .wgh-slider-item:nth-child(6)
  .wgh-slider-item__trigger,
.wgh-slider-target:nth-of-type(5):checked
  ~ .wgh-slider__viewport
  .wgh-slider-item:nth-child(5)
  .wgh-slider-item__trigger,
.wgh-slider-target:nth-of-type(4):checked
  ~ .wgh-slider__viewport
  .wgh-slider-item:nth-child(4)
  .wgh-slider-item__trigger,
.wgh-slider-target:nth-of-type(3):checked
  ~ .wgh-slider__viewport
  .wgh-slider-item:nth-child(3)
  .wgh-slider-item__trigger,
.wgh-slider-target:nth-of-type(2):checked
  ~ .wgh-slider__viewport
  .wgh-slider-item:nth-child(2)
  .wgh-slider-item__trigger,
.wgh-slider-target:nth-of-type(1):checked
  ~ .wgh-slider__viewport
  .wgh-slider-item:nth-child(1)
  .wgh-slider-item__trigger {
  display: none;
}

.wgh-slider-item__inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-origin: center center;
  transform: scale(0.75);
  transition: transform 0.3s cubic-bezier(0.62, 0.28, 0.23, 0.99) 0s;
  z-index: 10;
}

.wgh-slider-item__inner::before,
.wgh-slider-item__inner::after {
  display: block;
  position: absolute;
  content: "";
}

.wgh-slider-item__inner::before {
  top: 24px;
  left: 24px;
  bottom: 24px;
  right: 24px;
  z-index: 0;
  transition: transform 0.3s cubic-bezier(0.62, 0.28, 0.23, 0.99) 0.15s;
  transform: translate(-24px, 12px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
}

.wgh-slider-item__inner::after {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background-image: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0) 0%,
    black 50%,
    rgba(0, 0, 0, 0) 100%
  );
  background-repeat: repeat-x;
  background-size: 200% 100%;
  background-position: 0% 0%;
  transition: background-position 0.3s linear;
}

.wgh-slider-target:nth-of-type(8):checked
  ~ .wgh-slider__viewport
  .wgh-slider-item:nth-child(8)
  .wgh-slider-item__inner,
.wgh-slider-target:nth-of-type(7):checked
  ~ .wgh-slider__viewport
  .wgh-slider-item:nth-child(7)
  .wgh-slider-item__inner,
.wgh-slider-target:nth-of-type(6):checked
  ~ .wgh-slider__viewport
  .wgh-slider-item:nth-child(6)
  .wgh-slider-item__inner,
.wgh-slider-target:nth-of-type(5):checked
  ~ .wgh-slider__viewport
  .wgh-slider-item:nth-child(5)
  .wgh-slider-item__inner,
.wgh-slider-target:nth-of-type(4):checked
  ~ .wgh-slider__viewport
  .wgh-slider-item:nth-child(4)
  .wgh-slider-item__inner,
.wgh-slider-target:nth-of-type(3):checked
  ~ .wgh-slider__viewport
  .wgh-slider-item:nth-child(3)
  .wgh-slider-item__inner,
.wgh-slider-target:nth-of-type(2):checked
  ~ .wgh-slider__viewport
  .wgh-slider-item:nth-child(2)
  .wgh-slider-item__inner,
.wgh-slider-target:nth-of-type(1):checked
  ~ .wgh-slider__viewport
  .wgh-slider-item:nth-child(1)
  .wgh-slider-item__inner {
  transform: scale(1);
  transition-delay: 0.6s;
}

.wgh-slider-target:nth-of-type(8):checked
  ~ .wgh-slider__viewport
  .wgh-slider-item:nth-child(8)
  .wgh-slider-item__inner::before,
.wgh-slider-target:nth-of-type(7):checked
  ~ .wgh-slider__viewport
  .wgh-slider-item:nth-child(7)
  .wgh-slider-item__inner::before,
.wgh-slider-target:nth-of-type(6):checked
  ~ .wgh-slider__viewport
  .wgh-slider-item:nth-child(6)
  .wgh-slider-item__inner::before,
.wgh-slider-target:nth-of-type(5):checked
  ~ .wgh-slider__viewport
  .wgh-slider-item:nth-child(5)
  .wgh-slider-item__inner::before,
.wgh-slider-target:nth-of-type(4):checked
  ~ .wgh-slider__viewport
  .wgh-slider-item:nth-child(4)
  .wgh-slider-item__inner::before,
.wgh-slider-target:nth-of-type(3):checked
  ~ .wgh-slider__viewport
  .wgh-slider-item:nth-child(3)
  .wgh-slider-item__inner::before,
.wgh-slider-target:nth-of-type(2):checked
  ~ .wgh-slider__viewport
  .wgh-slider-item:nth-child(2)
  .wgh-slider-item__inner::before,
.wgh-slider-target:nth-of-type(1):checked
  ~ .wgh-slider__viewport
  .wgh-slider-item:nth-child(1)
  .wgh-slider-item__inner::before {
  transform: translate(0, 24px);
}

.wgh-slider-target:nth-of-type(8):checked
  ~ .wgh-slider__viewport
  .wgh-slider-item:nth-child(8)
  .wgh-slider-item__inner::after,
.wgh-slider-target:nth-of-type(7):checked
  ~ .wgh-slider__viewport
  .wgh-slider-item:nth-child(7)
  .wgh-slider-item__inner::after,
.wgh-slider-target:nth-of-type(6):checked
  ~ .wgh-slider__viewport
  .wgh-slider-item:nth-child(6)
  .wgh-slider-item__inner::after,
.wgh-slider-target:nth-of-type(5):checked
  ~ .wgh-slider__viewport
  .wgh-slider-item:nth-child(5)
  .wgh-slider-item__inner::after,
.wgh-slider-target:nth-of-type(4):checked
  ~ .wgh-slider__viewport
  .wgh-slider-item:nth-child(4)
  .wgh-slider-item__inner::after,
.wgh-slider-target:nth-of-type(3):checked
  ~ .wgh-slider__viewport
  .wgh-slider-item:nth-child(3)
  .wgh-slider-item__inner::after,
.wgh-slider-target:nth-of-type(2):checked
  ~ .wgh-slider__viewport
  .wgh-slider-item:nth-child(2)
  .wgh-slider-item__inner::after,
.wgh-slider-target:nth-of-type(1):checked
  ~ .wgh-slider__viewport
  .wgh-slider-item:nth-child(1)
  .wgh-slider-item__inner::after {
  background-position: -50% 0%;
}

.wgh-slider-target:nth-of-type(8):checked
  ~ .wgh-slider__viewport
  .wgh-slider-item:nth-child(8)
  ~ .wgh-slider-item
  .wgh-slider-item__inner::before,
.wgh-slider-target:nth-of-type(7):checked
  ~ .wgh-slider__viewport
  .wgh-slider-item:nth-child(7)
  ~ .wgh-slider-item
  .wgh-slider-item__inner::before,
.wgh-slider-target:nth-of-type(6):checked
  ~ .wgh-slider__viewport
  .wgh-slider-item:nth-child(6)
  ~ .wgh-slider-item
  .wgh-slider-item__inner::before,
.wgh-slider-target:nth-of-type(5):checked
  ~ .wgh-slider__viewport
  .wgh-slider-item:nth-child(5)
  ~ .wgh-slider-item
  .wgh-slider-item__inner::before,
.wgh-slider-target:nth-of-type(4):checked
  ~ .wgh-slider__viewport
  .wgh-slider-item:nth-child(4)
  ~ .wgh-slider-item
  .wgh-slider-item__inner::before,
.wgh-slider-target:nth-of-type(3):checked
  ~ .wgh-slider__viewport
  .wgh-slider-item:nth-child(3)
  ~ .wgh-slider-item
  .wgh-slider-item__inner::before,
.wgh-slider-target:nth-of-type(2):checked
  ~ .wgh-slider__viewport
  .wgh-slider-item:nth-child(2)
  ~ .wgh-slider-item
  .wgh-slider-item__inner::before,
.wgh-slider-target:nth-of-type(1):checked
  ~ .wgh-slider__viewport
  .wgh-slider-item:nth-child(1)
  ~ .wgh-slider-item
  .wgh-slider-item__inner::before {
  transform: translate(24px, 12px);
}

.wgh-slider-target:nth-of-type(8):checked
  ~ .wgh-slider__viewport
  .wgh-slider-item:nth-child(8)
  ~ .wgh-slider-item
  .wgh-slider-item__inner::after,
.wgh-slider-target:nth-of-type(7):checked
  ~ .wgh-slider__viewport
  .wgh-slider-item:nth-child(7)
  ~ .wgh-slider-item
  .wgh-slider-item__inner::after,
.wgh-slider-target:nth-of-type(6):checked
  ~ .wgh-slider__viewport
  .wgh-slider-item:nth-child(6)
  ~ .wgh-slider-item
  .wgh-slider-item__inner::after,
.wgh-slider-target:nth-of-type(5):checked
  ~ .wgh-slider__viewport
  .wgh-slider-item:nth-child(5)
  ~ .wgh-slider-item
  .wgh-slider-item__inner::after,
.wgh-slider-target:nth-of-type(4):checked
  ~ .wgh-slider__viewport
  .wgh-slider-item:nth-child(4)
  ~ .wgh-slider-item
  .wgh-slider-item__inner::after,
.wgh-slider-target:nth-of-type(3):checked
  ~ .wgh-slider__viewport
  .wgh-slider-item:nth-child(3)
  ~ .wgh-slider-item
  .wgh-slider-item__inner::after,
.wgh-slider-target:nth-of-type(2):checked
  ~ .wgh-slider__viewport
  .wgh-slider-item:nth-child(2)
  ~ .wgh-slider-item
  .wgh-slider-item__inner::after,
.wgh-slider-target:nth-of-type(1):checked
  ~ .wgh-slider__viewport
  .wgh-slider-item:nth-child(1)
  ~ .wgh-slider-item
  .wgh-slider-item__inner::after {
  background-position: -100% 0%;
}

.wgh-slider-item-figure {
  position: relative;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.wgh-slider-item-figure__image {
  position: absolute;
  display: block;
  max-width: 100%;
  max-height: 100%;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: 1;
  opacity: 1;
  object-fit: cover;
}

.wgh-slider-item-figure__caption {
  position: absolute;
  display: block;
  overflow: hidden;
  left: 0;
  right: 0;
  bottom: 0;
  color: #fff;
  padding: 24px;
  background-image: linear-gradient(0deg, #000 0%, transparent 100%);
  z-index: 2;
}

.wgh-slider-item-figure__caption a {
  display: inline-block;
  text-decoration: none;
  font-size: 18px;
  line-height: 20px;
  font-weight: bold;
  color: #fff;
}

.wgh-slider-item-figure__caption span {
  display: block;
  font-size: 14px;
  line-height: 16px;
}

.wgh-slider-target:nth-of-type(8):checked
  ~ .wgh-slider__viewport
  .wgh-slider-item:nth-child(8),
.wgh-slider-target:nth-of-type(7):checked
  ~ .wgh-slider__viewport
  .wgh-slider-item:nth-child(7),
.wgh-slider-target:nth-of-type(6):checked
  ~ .wgh-slider__viewport
  .wgh-slider-item:nth-child(6),
.wgh-slider-target:nth-of-type(5):checked
  ~ .wgh-slider__viewport
  .wgh-slider-item:nth-child(5),
.wgh-slider-target:nth-of-type(4):checked
  ~ .wgh-slider__viewport
  .wgh-slider-item:nth-child(4),
.wgh-slider-target:nth-of-type(3):checked
  ~ .wgh-slider__viewport
  .wgh-slider-item:nth-child(3),
.wgh-slider-target:nth-of-type(2):checked
  ~ .wgh-slider__viewport
  .wgh-slider-item:nth-child(2),
.wgh-slider-target:nth-of-type(1):checked
  ~ .wgh-slider__viewport
  .wgh-slider-item:nth-child(1) {
  transform: translate3d(0, 0, 0) rotateY(0deg);
  z-index: 9999;
}

.wgh-slider-target:nth-of-type(8):checked
  ~ .wgh-slider__viewport
  .wgh-slider-item:nth-child(8)
  ~ .wgh-slider-item,
.wgh-slider-target:nth-of-type(7):checked
  ~ .wgh-slider__viewport
  .wgh-slider-item:nth-child(7)
  ~ .wgh-slider-item,
.wgh-slider-target:nth-of-type(6):checked
  ~ .wgh-slider__viewport
  .wgh-slider-item:nth-child(6)
  ~ .wgh-slider-item,
.wgh-slider-target:nth-of-type(5):checked
  ~ .wgh-slider__viewport
  .wgh-slider-item:nth-child(5)
  ~ .wgh-slider-item,
.wgh-slider-target:nth-of-type(4):checked
  ~ .wgh-slider__viewport
  .wgh-slider-item:nth-child(4)
  ~ .wgh-slider-item,
.wgh-slider-target:nth-of-type(3):checked
  ~ .wgh-slider__viewport
  .wgh-slider-item:nth-child(3)
  ~ .wgh-slider-item,
.wgh-slider-target:nth-of-type(2):checked
  ~ .wgh-slider__viewport
  .wgh-slider-item:nth-child(2)
  ~ .wgh-slider-item,
.wgh-slider-target:nth-of-type(1):checked
  ~ .wgh-slider__viewport
  .wgh-slider-item:nth-child(1)
  ~ .wgh-slider-item {
  transform: translate3d(0, 0, 0) rotateY(-45deg) !important;
}

.wgh-slider-item img {
  width: auto;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  /* Ensures the entire image is visible without cropping */
}

/* Carousel Container */

.carousel-container {
  position: relative;
  width: 100%;
  height: 38rem;
  overflow: hidden;
  border-radius: 10px;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.carousel-track img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 10px 15px;
  font-size: 3.5em;
  cursor: pointer;
  border-radius: 50%;
  transform: none;
}

.prev {
  left: 0px;
}

.next {
  right: 25px;
}

.carousel-btn:hover {
  background: rgba(0, 0, 0, 0.8);
}

.wgh-slider-item-figure {
  width: 100%;
  height: 100%;
  /* Ensures no weird extra spacing */
}

.wgh-slider-item-figure__image {
  width: 100%;
  height: auto;
  object-fit: cover;
  /* Ensures images fill the container without distortion */
  display: block;
  object-fit: cover;
}

.wgh-slider-item__inner {
  object-fit: cover;
}

.carousel-container {
  position: relative;
  width: 100%;
  height: 38rem;
  overflow: hidden;
  border-radius: 10px;
}

.wgh-slider__container {
  display: flex;
  /* Ensure slides are in a row */
  transition: transform 0.5s ease-in-out;
  transform: translateX(-100%);
  /* Offset first cloned slide left */
}

.wgh-slider-item {
  flex: 0 0 100%;
  /* Each slide takes up full container width */
}

/* REPLACEMENT GOOGLE PLACES MAP */

#map {
  height: 65vh;
  /* Set the size of the map */
  width: 100%;
}

/* Map Search Bar */

#search-container {
  width: 40rem;
  margin: 20px auto;
  font-size: 2.5rem;
  margin-bottom: 5%;
}

#city-search {
  border: 2.5px solid black;
  border-radius: 5px;
  outline: none;
  width: 30vw;
  height: 4rem;
  padding: 10px;
  font-size: 3rem;
  text-transform: capitalize;
  text-align: center;
  font-weight: 400;
}

.container {
  display: none;
}

.fade-in {
  opacity: 1;
  transition: opacity 0.5s ease-in-out;
}

/* Amenity / Places Buttons */

.amenity-buttons {
  display: flex;
  flex-wrap: wrap;
  /* Allow buttons to wrap into multiple lines */
  gap: 10px;
  /* Space between buttons */
  overflow: hidden;
}

.amenity-btn {
  flex: 1 1 30%;
  /* Allow buttons to take up 30% of the row space */
  min-width: 120px;
  /* Prevent buttons from being too small */
  margin-bottom: 10px;
  /* Space below each button */
  padding: 10px 20px;
  background-color: black;
  /* Green */
  color: silver;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s ease;
}

.amenity-btn:hover {
  background-color: silver;
  color: black;
}

/* Amenity Buttons Styling */
.amenity-button {
  width: 10em;
  background: linear-gradient(135deg, #ff7e5f, #feb47b);
  /* Gradient background */
  border: none;
  border-radius: 8px;
  color: white;
  font-size: 0.7rem;
  font-weight: bold;
  padding: 10px 10px;
  padding-left: 1%;
  cursor: pointer;
  transition: 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  /* Space between icon and text */
  text-align: center;
}

/* Hover Effect */
.amenity-button:hover {
  background: linear-gradient(135deg, #ff9a76, #ffc988);
  transform: scale(1.05);
}

/* Button Active/Clicked Effect */
.amenity-button:active {
  transform: scale(0.95);
}

/* Button Container */
#amenity-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* OpenMaps Autocomplete */

#autocomplete-results {
  position: absolute;
  background: white;
  border: 1px solid #ccc;
  max-height: 200px;
  overflow-y: auto;
  width: 100%;
  display: none;
  list-style-type: none;
  padding: 0;
  margin: 0;
  z-index: 1000;
}

#autocomplete-results li {
  padding: 10px;
  cursor: pointer;
  border-bottom: 1px solid #eee;
}

#autocomplete-results li:hover {
  background: #f0f0f0;
}

/* SCROLL BAR STYLING FOR WEATHER FORECAST*/

/* Forecast card centering */
.forecast-card {
  min-width: 180px;
  flex-shrink: 0;
  margin-bottom: 4.5%;
}

/* Ensure H2 stays visible */
#forecast-container h2 {
  text-align: center;
  margin-bottom: 15%;
}

/* Scroll buttons - orange hover */
.scroll-controls button {
  background: none;
  border: none;
  font-size: 1.5em;
  cursor: pointer;
  color: white;
  transition: color 0.3s ease-in-out;
}

.scroll-controls button:hover {
  color: orange;
}

/* ─────────────── HOURLY FORECAST ─────────────── */
#hourly-forecast {
  display: flex;
  flex-direction: row;
  overflow-x: auto;
  gap: 10px;
  padding: 10px;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.5) transparent;
}

#hourly-forecast::-webkit-scrollbar {
  height: 6px;
}

#hourly-forecast::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.5);
  border-radius: 4px;
}

#hourly-forecast::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.7);
}

/* ─────────────── 5-DAY FORECAST ─────────────── */
#forecast-cards {
  display: flex;
  flex-direction: row;
  overflow-x: auto;
  gap: 10px;
  padding: 10px;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.5) transparent;
}

#forecast-cards::-webkit-scrollbar {
  height: 6px;
}

#forecast-cards::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.5);
  border-radius: 4px;
}

#forecast-cards::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.7);
}

/* ─────────────── 16-DAY FORECAST ─────────────── */
#long-term-forecast {
  display: flex;
  flex-direction: row;
  overflow-x: auto;
  gap: 10px;
  padding: 10px;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.5) transparent;
}

#long-term-forecast::-webkit-scrollbar {
  height: 6px;
}

#long-term-forecast::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.5);
  border-radius: 4px;
}

#long-term-forecast::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.7);
}

#forecast-cards {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  overflow-x: auto;
  gap: 10px;
  padding: 10px;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.5) transparent;
}

.forecast-card {
  width: 45%;
  min-width: 180px;
  flex-shrink: 0;
  margin-bottom: 4.5%;
}

.mini-hourly-strip::-webkit-scrollbar {
  height: 6px;
}

.mini-hourly-strip::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 4px;
}

.mini-hourly-strip::-webkit-scrollbar-track {
  background: transparent;
}

/* === Slim Scrollbar Style for ALL weather scrolls === */
.scroll-container,
#hourly-forecast,
#forecast-cards,
#long-term-forecast,
.mini-hourly-strip {
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.3) transparent;
}

.scroll-container::-webkit-scrollbar,
#hourly-forecast::-webkit-scrollbar,
#forecast-cards::-webkit-scrollbar,
#long-term-forecast::-webkit-scrollbar,
.mini-hourly-strip::-webkit-scrollbar {
  height: 6px;
}

.scroll-container::-webkit-scrollbar-thumb,
#hourly-forecast::-webkit-scrollbar-thumb,
#forecast-cards::-webkit-scrollbar-thumb,
#long-term-forecast::-webkit-scrollbar-thumb,
.mini-hourly-strip::-webkit-scrollbar-thumb {
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: 4px;
}

.scroll-container::-webkit-scrollbar-track,
#hourly-forecast::-webkit-scrollbar-track,
#forecast-cards::-webkit-scrollbar-track,
#long-term-forecast::-webkit-scrollbar-track,
.mini-hourly-strip::-webkit-scrollbar-track {
  background: transparent;
}

/* Styling mini scroll buttons to match the others */
.mini-scroll-controls {
  display: flex;
  justify-content: center;
  gap: 10px;
  /* Adjust space between arrows */
  margin-top: 8px;
}

.mini-scroll-controls button {
  font-size: 16px;
  padding: 8px 12px;
  background-color: #eee;
  border: 1px solid #ccc;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.mini-scroll-controls button:hover {
  background-color: orange;
  color: white;
}

.mini-scroll-controls button:focus {
  outline: none;
}

.inner-scroll {
  display: flex;
  overflow-x: auto;
  gap: 0.5rem;
  scrollbar-width: thin;
  width: 100%;
  /* <-- make sure it's constrained to the card */
  max-width: 100%;
  padding: 5px 0;
}

.mini-scroll-controls {
  display: flex;
  justify-content: center;
  margin-top: 0.25rem;
}

.mini-scroll-controls button {
  background: #333;
  color: white;
  border: none;
  padding: 4px 10px;
  margin: 0 5px;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s;
}

.mini-scroll-controls button:hover {
  background: orange;
}

/* Force WebKit to show native scrollbar buttons (arrows) */
.mini-hourly-strip::-webkit-scrollbar-button {
  display: block;
  background-color: rgba(255, 255, 255, 0.1);
  /* subtle visible background */
  height: 6px;
  width: 6px;
}

.mini-scroll-controls {
  display: flex;
  justify-content: center;
  margin-top: 6px;
  gap: 10px;
}

.mini-scroll-controls button {
  background: #333;
  color: white;
  border: none;
  padding: 4px 10px;
  margin: 0 5px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  transition: background 0.3s;
}

.mini-scroll-controls button:hover {
  background: orange;
}

.emoji-pin-marker {
  background: none !important;
  border: none !important;
}

@keyframes bounce-marker {
  0% {
    transform: translateY(0);
  }

  25% {
    transform: translateY(-10px);
  }

  50% {
    transform: translateY(0);
  }

  75% {
    transform: translateY(-6px);
  }

  100% {
    transform: translateY(0);
  }
}

.bounce {
  animation: bounce-marker 0.6s ease;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}

.leaflet-marker-icon.bounce {
  animation: bounce 0.6s ease;
}

/* Responsive Testing */

/* No less than 3000px, no greater than 4000px */
@media (min-width: 3000px) and (max-width: 4000px) {
  #header {
    height: 26rem;
  }

  #tagline {
    margin-bottom: 3%;
    font-size: 2.4rem;
  }

  #header h1 {
    font-size: 8rem;
  }

  nav {
    padding: 2rem 1rem;
  }

  nav a {
    font-size: 2.5rem;
  }

  h3 {
    font-size: 4rem;
  }

  #nameq {
    font-size: 7rem;
  }

  #time {
    font-size: 5rem;
  }

  #currency {
    font-size: 5rem;
  }

  #headlines-container {
    height: 130rem;
  }

  #headlines h4 {
    font-size: 3.3em;
  }

  #headlines p {
    font-size: 2.8em;
  }

  h2 {
    font-size: 4.5rem;
  }

  #holidays-section h4 {
    font-size: 1em;
  }

  #name {
    width: 30rem;
    font-size: 5rem;
  }

  #currency-container {
    height: 224rem;
  }

  iframe {
    zoom: 180%;
  }

  #info-container h5 {
    margin-top: 11%;
    font-size: 4rem;
  }

  #currency-container h2 {
    font-size: 4rem;
  }

  #headlines-container h2 {
    font-size: 4rem;
  }

  #headlines {
    max-height: 190rem;
  }

  .flag-img {
    width: 90rem;
  }

  .data-wrapper h4 {
    font-size: 1em;
  }

  .data-wrapper span {
    font-size: 1.25em;
  }

  #holidays-list {
    font-size: 2rem;
  }

  .navigation-buttons button {
    min-width: 8rem;
    min-height: 4.5rem;
    margin-bottom: 3.5vh;
    font-size: 1.75rem;
  }

  .navigation-buttons-holidays button {
    min-width: 8rem;
    min-height: 4.5rem;
    font-size: 1.75rem;
  }

  .navigation-buttons-black button {
    min-width: 8rem;
    min-height: 4.5rem;
    margin-bottom: 3.5vh;
    font-size: 1.75rem;
  }

  .navigation-buttons-black {
    margin-top: 2.5em;
    margin-bottom: -6%;
  }

  .carousel-container {
    height: 90rem;
  }

  #city-search {
    width: 30vw;
    height: 7rem;
    padding: 10px;
    font-size: 5.5rem;
    transform: translateX(-23%);
  }

  #map {
    height: 70rem;
    width: 100%;
  }

  strong {
    font-size: 2.2rem;
  }

  .amenity-button {
    font-size: 1.3rem;
    padding: 0.8vh;
  }

  #hotel-container {
    height: 167rem;
  }

  #place-container {
    height: 170rem;
  }

  #hotels {
    max-height: 146rem;
    font-size: 1.3em;
    padding: 0;
  }

  #places {
    height: 73rem;
    font-size: 2em;
  }

  .weather-text {
    font-size: 1.9em;
    text-align: center;
  }

  #contact {
    margin-bottom: 40%;
  }

  .contact-box-center {
    font-size: 3em;
  }

  .contact-box-right {
    font-size: 3em;
  }

  .contact-box-left {
    font-size: 3em;
  }

  footer {
    height: 4rem;
    padding-top: 1%;
  }

  footer a {
    font-size: 2.5rem;
  }

  footer > p {
    font-size: 1.75em;
  }

.donation-subtle {

    font-size: 2.3rem !important;
}
}

/* No less than 2600px, no greater than 3000px */
@media (min-width: 2600px) and (max-width: 3000px) {
  #header {
    height: 28rem;
  }

  #tagline {
    margin-bottom: 3%;
  }

  #name {
    width: 18rem;
    font-size: 3.5rem;
  }

  .flag-img {
    width: 62rem;
  }

  .carousel-container {
    height: 80rem;
  }

  iframe {
    zoom: 175%;
  }

  #tagline {
    margin-bottom: 4%;
    font-size: 2.4rem;
  }

  #header {
    height: 24rem;
  }

  #header h1 {
    font-size: 8rem;
  }

  nav a {
    font-size: 2.2rem;
  }

  h3 {
    font-size: 3.5rem;
  }

  #nameq {
    font-size: 7rem;
  }

  #time {
    font-size: 5rem;
  }

  #currency {
    font-size: 5rem;
  }

  #headlines h4 {
    font-size: 3.3em;
  }

  #headlines p {
    font-size: 2.8em;
  }

  .data-wrapper span {
    font-size: 2.5rem;
  }

  .data-wrapper h4 {
    font-size: 1.8rem;
  }

  #holidays-list {
    font-size: 1.5rem;
  }

  h2 {
    font-size: 3rem;
  }

  #info-container h5 {
    font-size: 3rem;
  }

  #map {
    height: 70rem;
    width: 100%;
  }

  strong {
    font-size: 2.2rem;
  }

  .amenity-button {
    font-size: 1.25rem;
    padding: 0.9vh;
  }

  #hotel-container {
    height: 167rem;
  }

  #place-container {
    max-height: 190rem;
    height: auto;
  }

  #hotels {
    max-height: 148rem;
    font-size: 1.3em;
  }

  #places {
    max-height: 84rem;
    height: auto;
    font-size: 2em;
  }

  #contact {
    margin-bottom: 40%;
  }

  #contact h2 {
    color: black;
    font-size: 4rem;
  }

  .contact-box-center {
    font-size: 3em;
  }

  .contact-box-right {
    font-size: 3em;
  }

  .contact-box-left {
    font-size: 3em;
  }

  .mapmodal-content {
    padding-bottom: 3%;
  }

  footer {
		height: 4rem;
	}

  footer a {
    font-size: 2.2rem;
  }

  footer > p {
    font-size: 1.75em;
    display: none;
  }

  #headlines h4 {
    font-size: 2.5em;
  }

  #headlines p {
    font-size: 2em;
  }

  #city-search {
    height: 5.5rem;
    font-size: 3.5rem;
    transform: translateX(-10%);
  }

  #holidays-section h4 {
    font-size: 1.8rem;
  }

  #headlines {
    max-height: 195rem;
  }

  #headlines {
    max-height: 198rem;
  }

  #currency-container {
    height: 224rem;
  }

  .navigation-buttons button {
    min-width: 8rem;
    min-height: 4.5rem;
    font-size: 1.75rem;
  }

  .navigation-buttons-black button {
    min-width: 9rem;
    min-height: 5rem;
    font-size: 1.5rem;
  }

  .navigation-buttons-holidays button {
    min-width: 9rem;
    min-height: 5rem;
    font-size: 1.5rem;
  }

  .navigation-buttons-black {
    margin-top: 3em;
  }
}

/* No less than 1650px, no greater than 2600px */
@media (min-width: 1650px) and (max-width: 2600px) {
  #header {
    height: 19rem;
  }

  #tagline {
    font-size: 1.75em;
    margin-bottom: 3.5%;
  }

  nav > a {
    font-size: 1.7em;
  }

  h2 {
    font-size: 2.1rem;
    color: whitesmoke;
    margin-top: -1%;
  }

  #name {
    width: 16rem;
    font-size: 3rem;
  }

  #info-container h5 {
    margin-top: 12%;
    margin-bottom: 9%;
  }

  .flag-img {
    width: 60rem;
  }

  #headlines {
    max-height: 160rem;
  }

  #currency-container {
    height: 180rem;
  }

  iframe {
    zoom: 145%;
  }

  .navigation-buttons-holidays button {
    min-width: 6rem;
    min-height: 3.5rem;
  }

  .navigation-buttons button {
    min-width: 6rem;
    min-height: 3.5rem;
  }

  .navigation-buttons-black button {
    min-width: 6rem;
    min-height: 3.5rem;
    margin-bottom: inherit;
  }

  .navigation-buttons-black {
    margin-top: 3em;
  }

  .carousel-container {
    height: 80rem;
  }

  .image-container {
    margin-top: -5%;
  }

  .carousel-btn {
    margin-top: -5%;
  }

  #your-next-selection {
    margin-top: -10%;
  }

  #city-search {
    height: 5rem;
    font-size: 3.5rem;
    width: 35rem;
  }

  #hotels {
    height: 105rem;
  }

  #contact {
    margin-bottom: 40%;
  }

  #contact h2 {
    color: black;
    font-size: 2.6em;
  }

  .contact-box-center {
    font-size: 1.7em;
  }

  .contact-box-right {
    font-size: 1.7em;
  }

  .contact-box-left {
    font-size: 1.7em;
  }

  .mapmodal-content {
    padding-bottom: 3.5%;
    padding-top: 1%;
  }

  footer {
    height: 3rem;
  }

  footer a {
    font-size: 1.75em;
  }

  footer > p {
    font-size: 1.5em;
  }
}

/* For largish screens sizes from 1850px wide and down */

@media screen and (max-width: 1850px) {
  #header {
    height: 18rem;
  }

  #tagline {
    font-size: 1.75em;
    margin-bottom: 5%;
  }

  #headlines {
    max-height: 105rem;
  }

  #currency-container {
    height: 125rem;
  }

  #city-search {
    height: 4.5rem;
    font-size: 3rem;
    transform: translateX(0%);
  }

  iframe {
    zoom: 100%;
  }

  #name {
    width: 11rem;
    font-size: 2rem;
  }

  .navigation-buttons button {
    margin-top: 3%;
  }

  .amenity-button {
    width: 8.5em;
  }

  footer {
    height: 3rem;
  }

  footer > p {
    font-size: 1.1em;
    display: none;
  }
}

/* For largish screens sizes from 1650px wide and down */

@media screen and (max-width: 1650px) {
  #header {
    height: 17rem;
  }

  #tagline {
    font-size: 1.45rem;
  }

  nav > a {
    font-size: 1.5em;
  }

  footer a {
    font-size: 1.4em;
  }

  footer {
    height: 2.5rem;
  }

  #hotels {
    width: 100%;
    table-layout: auto;
  }

  #places {
    max-height: 65rem;
  }

  #contact {
    margin-bottom: 44%;
  }

  #contact h2 {
    font-size: 2.4em;
  }

  .contact-box-center {
    font-size: 1.7em;
  }

  .contact-box-right {
    font-size: 1.7em;
  }

  .contact-box-left {
    font-size: 1.7em;
  }

  #footer p {
    display: none;
  }
}

@media screen and (max-width: 1550px) {
  nav > a {
    font-size: 1.4em;
  }

  .amenity-button {
    width: 8.5em;
    font-size: 9px;
    text-align: center;
    padding: 1em;
  }

  #places-results table,
  #places-results thead,
  #places-results tbody,
  #places-results tr,
  #places-results th,
  #places-results td {
    max-width: max-content;
    box-sizing: border-box;
    text-align: center;
    margin: 1%;
    font-size: 1em;
    padding: 1%;
    font-weight: 700;
  }

  #contact h2 {
    color: black;
    font-size: 2.25em;
  }

  .contact-box-center {
    font-size: 1.5em;
  }

  .contact-box-right {
    font-size: 1.5em;
  }

  .contact-box-left {
    font-size: 1.5em;
  }

  #places {
    max-height: 62rem;
    /* ensures the table NEVER grows past this */
    overflow-y: auto;
    padding-bottom: 1rem;
    /* just enough for comfort */
    box-sizing: border-box;
  }
}

/* For largish screens sizes from 1450px wide and down */

@media screen and (max-width: 1450px) {
  #header {
    height: 13rem;
  }

  #brand {
    font-weight: 1000;
    color: #f88686;
    text-shadow: 1.75px 0 #fff, -1.75px 0 #fff, 0 1.75px #fff, 0 -1px #fff,
      1px 1px #fff, -1px -1px #fff, 1px -1px #fff, -1px 1px #fff,
      2.75px 2.75px beige;
  }

  h3 {
    font-size: xx-large;
  }

  #tagline {
    font-size: 1.25rem;
  }

  nav > a {
    font-size: 1.3em;
  }

  h2 {
    font-size: x-large;
  }

  h3 {
    font-size: x-large;
  }

  #nameq {
    font-size: 2.2rem;
  }

  #time {
    font-size: 1.9rem;
  }

  #currency {
    font-size: 1.9rem;
  }

  #currency-container {
    height: 135rem;
  }

  #info-container h5 {
    font-size: x-large;
  }

  #holidays-section h4 {
    font-size: 1.25rem;
  }

  .data-wrapper h4 {
    font-size: 1.25rem;
  }

  .data-wrapper span {
    font-size: 1.3rem;
  }

  #headlines h4 {
    font-size: 1.5rem;
  }

  #headlines p {
    font-size: 1.25rem;
  }

  #hotels {
    max-height: 107rem;
    font-size: 0.9em;
  }

  #place-container,
  #places-modal,
  #places {
    overflow-x: hidden;
    overflow-y: hidden;
    box-sizing: border-box;
    padding-bottom: 35%;
  }

  #places {
    max-height: 66rem;
    /* ensures the table NEVER grows past this */
    overflow-y: auto;
    padding-bottom: 1rem;
    /* just enough for comfort */
    box-sizing: border-box;
  }

  .image-container {
    width: 105%;
  }

  .amenity-button {
    font-size: 11px;
  }

  #contact {
    margin-bottom: 50%;
    margin-top: 20%;
  }

  .mapmodal-content {
    padding-bottom: 3.6%;
  }

  footer {
		padding-bottom: 0;
		height: 3rem;
  }

  footer > a {
    font-size: 1.3em;
  }

  footer > p {
    display: none;
  }
}

/* For medium screens sizes from 1400px wide and down */

@media screen and (max-width: 1360px) {
#places {
    max-height: 52rem;
    /* ensures the table NEVER grows past this */
    overflow-y: auto;
    padding-bottom: 1rem;
    /* just enough for comfort */
    box-sizing: border-box;
  }
}

/* For medium screens sizes from 1355px wide and down */

@media screen and (max-width: 1355px) {
  .amenity-button {
    font-size: 10px;
  }

  #places {
    max-height: 67rem;
  }

  footer > a {
    font-size: 1.1em;
  }
}

/* For medium screens sizes from 1250px wide and down */

@media screen and (max-width: 1250px) {
  /* Global Reset */
  body,
  html {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Roboto", sans-serif;
  }

  #header {
    height: 12rem;
  }

  .image-conatiner {
    width: 110%;
  }

  /* Make sections responsive */
  #map {
    width: 100%;

    /* Adjust height for smaller screens */
  }

  #search-container {
    max-width: 90%;
    margin: 1rem auto;
    font-size: 1.2rem;
  }

  #autocomplete {
    width: 50%;
    padding: 0.8rem;
    font-size: 1.5rem;
    border-radius: 5px;
  }

  /* Header Styling */
  header {
    text-align: center;
    height: 4rem;
  }

  header h1 {
    font-size: 2rem;
  }

  header p {
    font-size: 1rem;
  }

  #tagline {
    font-size: 1.1rem;
  }

  /* Navigation Bar */
  nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 1rem;
    background-color: black;
  }

  nav a {
    text-decoration: none;
    margin: 0 1rem;
    font-size: 1.1em;
  }

  /* Responsive Sections */
  .snapshot-box {
    margin: 1rem auto;
    width: 90%;
    max-width: 350px;
    border-radius: 10px;
    max-height: 200rem;
  }

  #nameq {
    font-size: 2.75vh;
  }

  #time {
    font-size: 2.5vh;
  }

  #currency {
    font-size: 2.5vh;
  }

  #info-container {
    transform: translateX(6%);
    padding: 0 1.5vw;
  }

  #headlines-container {
    padding: 1%;
  }

  .float-left,
  .float-right,
  .float-center {
    margin: 0 auto;
    text-align: center;
  }

  #first-row,
  #second-selection {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin: 0 auto;
  }

  /* Stretch the inner modals and scrollable content fully */
  #holidays-section {
    font-size: 1.1rem;
  }

  #hotel-modal {
    max-width: max-content;
    font-size: 1em;
  }

  #second-selection {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }

  #hotel-container,
  #place-container,
  #weather-container {
    flex: 1 1 30%;
    min-width: 280px;
    /* Protect on very small devices */
    max-width: max-content;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
    margin: 0 auto;
  }

  /* Make sure hotel table and weather content stretches */
  #hotel-results,
  #weather-container > div,
  #hotel-container > div {
    width: 100%;
    box-sizing: border-box;
  }

  /* Also stretch iframe inside weather-container properly */
  #weather-container iframe {
    width: 100% !important;
    height: auto;
    min-height: 800px;
    /* You can tweak height later */
    border: none;
  }

  #hotel-container,
  #place-container,
  #weather-container {
    max-width: 100%;
  }

  #hotels {
    max-height: 104rem;
    font-size: 11px;
  }

  #places {
    max-height: 71rem;
    font-size: 13.5px;
    height: 71rem;
  }

  /* Modals */
  .modal {
    width: 90%;
    max-width: 500px;
    margin: 1rem auto;
    padding: 1rem;
  }

  .modal {
    width: 100%;
    max-width: 50vw;
    padding: 0;
  }

  /* Headlines */
  #hourly-forecast,
  #forecast-cards {
    overflow-x: scroll;
    display: flex;
    gap: 1rem;
  }

  .amenity-button {
    font-size: 9px;
  }

  .navigation-buttons button {
    padding: 2%;
    font-size: 1rem;
    align-items: flex-start;
  }

  /* Contact */

  #contact {
    font-size: 0.7em;

  }

  #currency-container h2 {
    font-size: x-large;
  }

  #headlines-container h2 {
    font-size: x-large;
  }

  #info-container h5 {
    font-size: x-large;
    margin-top: 14%;
    margin-bottom: 9%;
  }
}

/* 📱 Tablet Breakpoint: 1150px and below */
@media (max-width: 1150px) {
  h2 {
    font-size: x-large;
  }

  h3 {
    font-size: x-large;
  }

  #nameq {
    font-size: 2.2rem;
  }

  #time {
    font-size: 1.8rem;
  }

  #currency {
    font-size: 1.8rem;
  }

  #info-container {
    transform: translateX(6%);
    padding: 0;
  }



  #currency-container h2 {
    font-size: 1.3em;
  }

  #headlines-container h2 {
    font-size: 1.3em;
    margin-top: 8%;
  }

  #headlines h4 {
    font-size: 1.15rem;
  }

  #headlines p {
    font-size: 1rem;
  }

  #holidays-list {
    font-size: 0.85rem;
  }

  #info-container h5 {
    font-size: 1.3rem;
    margin-top: 14%;
    margin-bottom: 9%;
  }

  #info-container h2 {
    font-size: 1.25rem;
  }

  .data-wrapper span {
    font-size: 1.2rem;
  }

  #headlines h4 {
    font-size: 1.2rem;
  }

  #headlines p {
    font-size: 1.1rem;
  }

 

  .image-container {
    width: 110%;
  }

  #places {
    max-height: 75rem;
    font-size: 12px;
    height: 75rem;
  }

  .navigation-buttons-black button {
    padding: 2%;
    min-width: 4rem;
    max-width: 5rem;
    min-height: 2.5rem;
  }

  .amenity-button {
    font-size: 8px;
    padding: 1em;
  }

  .mapmodal-content {
    padding-bottom: 4%;
  }

  /* Footer */
  footer {
    text-align: center;
    background-color: #000;
  }

  footer a {
    margin: 0 1rem;
    text-align: center;
    align-items: center;
    margin: 0 auto;
  }

  .footer-text {
    display: none;
  }

  footer a {
    font-size: 1.4em;
  }
}

/* 📱 Tablet Breakpoint: 1050px and below */
@media (max-width: 1050px) {
  #header {
    height: 11rem;
  }

  #brand {
    font-weight: 1000;
    color: #f88686;
    text-shadow: 1.25px 0 #fff, -1.25px 0 #fff, 0 1.25px #fff, 0 -1px #fff,
      1px 1px #fff, -1px -1px #fff, 1px -1px #fff, -1px 1px #fff, 2px 2px beige;
  }

  #tagline {
    font-size: 1rem;
    margin-bottom: 5%;
    padding: 2px;
  }

  nav {
    padding: 0.3rem;
  }

  nav a {
    text-decoration: none;
    margin: 0 1rem;
    font-size: 1em;
    padding: 0;
  }

  #name {
    width: 11rem;
    border: 2px solid rgb(248, 174, 128);
    padding: 2%;
    font-size: 1.6rem;
  }

  #first-row,
  #second-selection {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: flex-start;
    gap: 1.5rem;
  }

  #your-selection {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 1rem;
    background: radial-gradient(
      circle,
      rgba(242, 130, 105, 1) 20%,
      rgba(245, 104, 137, 1) 80%,
      rgba(255, 148, 148, 1) 100%
    );
    border-top: 0.25em solid beige;
    border-bottom: 0.25em solid beige;
    margin: 2% auto;
    text-align: center;
    contain: content;
    transform: scale(1);
    overflow-x: auto;
  }

  #your-selection {
    border-top: 0.25em solid beige;
    border-bottom: 0.25em solid beige;
  }

  /* Universal Box Sizing Fix */
  *,
  *::before,
  *::after {
    box-sizing: border-box;
  }

  h2 {
    font-size: x-large;
  }

  #info-container {
    transform: translateX(2%);
  }

  #info-container h5 {
    font-size: x-large;
  }

  #headlines-container {
    padding: 1%;
  }

  #info-container {
    padding: 1%;
  }

  #currency-container {
    
  }

  #nameq {
    font-size: xx-large;
  }

  #time {
    font-size: xx-large;
  }

  #currency {
    font-size: xx-large;
  }

  h3 {
    font-size: x-large;
  }

  #map-wrapper {
    margin-bottom: -5%;
  }

  #headlines-container h2 {
    font-size: x-large;
    margin-top: 5%;
  }

  #currency-container h2 {
    font-size: x-large;
  }

  #info-container h5 {
    font-size: 1.4rem;
    margin-top: 15%;
  }

  #headlines-container h2 {
    font-size: 1.4em;
    margin-top: 12%;
  }

  #currency-container h2 {
    font-size: 1.4em;
    margin-top: -6%;
    margin-bottom: 9%;
  }

  #info-container {
    padding: 0 1vw;
    max-width: 33vw;
    margin-left: 2%;
  }

  #city-search {
    width: 30vw;
    height: 3.5rem;
    font-size: 1.6em;
  }

  .amenity-button {
    font-size: 7px;
    padding: 1em;
  }

  #places {
    max-height: 78rem;
    height: 78rem;
  }

  #hotels {
    max-height: 106rem;
  }

  footer {
    height: 3.5rem;
    padding-top: 1rem;
    padding-bottom: 1.5em;
  }

  footer a {
    font-size: 1.25em;
  }
}

/* 📱📱 Mobile Breakpoint: 950px and below */
@media (max-width: 950px) {
  #header {
    height: 10rem;
  }

  #header h1 {
    font-size: 2.75rem;
  }

  #tagline {
    font-size: 0.95em;
    margin-bottom: 4%;
  }

  nav > a {
    font-size: 0.9rem;
  }

  #first-row {
    gap: 0;
    margin: 0;
  }

  #headlines-container {
    padding: 0;
  }

  #headlines h4 {
    font-size: 1.6rem;
  }

  #headlines p {
    font-size: 1.2rem;
  }

  #info-container {
    padding: 0;
    max-width: 36vw;
    margin-left: 0;
    transform: translateX(5%);
  }

  #holidays-list {
    font-size: 0.75rem;
  }

  #currency-container {
    padding: 0;
    max-width: 30vw;
    margin-left: 0;
  }

  .image-container {
    width: 110%;
  }

  #contact {
    font-size: 0.6em;
  }

  #nameq {
    font-size: 1.1em;
  }

  #time {
    font-size: 0.9em;
  }

  #currency {
    font-size: 0.9em;
  }

  h3 {
    font-size: 1.25rem;
  }

  #currency-container h2 {
    font-size: 1.25rem;
    margin-top: 12%;
    margin-bottom: 5%;
  }

  #info-container h5 {
    font-size: 1.25rem;
    margin-top: 18%;
  }

  .data-wrapper span {
    font-size: 1.15rem;
  }

  #headlines-container h2 {
    font-size: 1.25rem;
  }

  .amenity-button {
    font-size: 8px;
    padding: 1em;
  }

  #places {
    height: 76rem;
  }

  #city-search {
    width: 30vw;
    height: 5vh;
    font-size: 1.8em;
  }

  footer a {
    font-size: 1.4em;
  }
}

/* For Tablet & Mobile Screens 930px and below */

@media (max-width: 930px) {
  #places {
    height: 60rem;
    max-height: 75rem;
  }
}

/* For Tablet & Mobile Screens 904px and below */

@media (max-width: 904px) {
  #places {
    height: 60rem;
  }
}

/* For Tablet & Mobile Screens 890px and below */

@media (max-width: 890px) {
  #header {
    height: 10rem;
  }

  #tagline {
    margin-bottom: 5%;
  }

  .window-controls {
    display: none;
  }

  #first-row {
    flex-direction: column;
    align-items: center;
  }

  #first-row .snapshot-box {
    width: 97.5%;
    /* full width on smaller screens */
    max-width: 97.5%;
  }

  #info-container {
    transform: translateX(1%);
  }

  #headlines-container h2 {
    font-size: 1.75rem;
    margin-top: 8%;
    margin-bottom: 4%;
  }

  #info-container h5 {
    font-size: 1.75rem;
    margin-top: 12%;
    margin-bottom: 7%;
  }

  #currency-container h2 {
    font-size: 1.75rem;
  }


  #headlines {
    width: 85vw;
    max-width: max-content;
    margin: 0 auto;
    transform: translateX(-20%);
  }

  .flag-img {
    width: 60rem;
  }

  #holidays-section {
    width: 600rem;
    max-height: 24rem;
    padding: 2em 17.5em;
  }

  #holidays-list {
    font-size: 1.2rem;
    width: 35rem;
  }

  #currency-container {
    height: 190rem;
  }

  .navigation-buttons-black button {
    padding: 1.5%;
    font-size: 1rem;
    margin-bottom: 2%;
    margin-top: 5%;
    min-width: 4rem;
    min-height: 3rem;
  }

  .navigation-buttons-holidays button {
    padding: 1.5%;
    font-size: 1rem;
    margin-bottom: 3.5%;
    margin-top: 4%;
    max-width: 5rem;
  }

  iframe {
    zoom: 150%;
  }

  .amenity-button {
    font-size: 10px;
    padding: 6px 6px;
    gap: 0;
  }

  #places {
    height: 60rem;
    font-size: 11px;
  }

  .data-wrapper span {
    font-size: 1.8rem;
  }

  #time {
    font-size: 1.1em;
  }

  #currency {
    font-size: 1.1em;
  }

  #info-container h2 {
    font-size: 2rem;
  }

  .mapmodal-content {
    padding-bottom: 5%;
  }
}

/* Mobile Breakpoint: 862px and below */
@media (max-width: 862px) {
  #places {
    height: 87rem;
    font-size: 11px;
  }

  #time {
    font-size: 1em;
  }

  #currency {
    font-size: 1em;
  }

  .navigation-buttons-black button {
    padding: 1%;
    font-size: 1rem;
    margin-bottom: 1%;
    margin-top: 3%;
    min-width: 4rem;
    min-height: 3rem;
  }

  .amenity-button {
    font-size: 8px;
  }
}

/* Mobile Breakpoint: 835px and below */
@media (max-width: 835px) {
  #brand {
    font-weight: 1000;
    color: #f88686;
    text-shadow: 1.25px 0 #fff, -1.25px 0 #fff, 0 1.25px #fff, 0 -1px #fff,
      1px 1px #fff, -1px -1px #fff, 1px -1px #fff, -1px 1px #fff, 2px 2px beige;
  }

  #time {
    font-size: 0.9em;
  }

  #currency {
    font-size: 0.9em;
    text-transform: uppercase;
  }

  #holidays-section {
    width: 625rem;
    max-height: 24rem;
    padding: 2em 11em;
  }

  button {
    margin: 0 2vw;
  }

  #places {
    max-height: 76rem;
    font-size: 11px;
  }
}

/* For Tablet & Mobile Screens 768px and below */

@media (max-width: 768px) {
  #header {
    height: 8rem;
  }

  #header h1 {
    font-size: 2.4rem;
  }

  #brand {
    font-weight: 1000;
    color: #f88686;
    text-shadow: 1.25px 0 #fff, -1.25px 0 #fff, 0 1.25px #fff, 0 -1px #fff,
      1px 1px #fff, -1px -1px #fff, 1px -1px #fff, -1px 1px #fff, 2px 2px beige;
  }

  #tagline {
    font-size: 0.8rem;
    padding: 2.5px;
  }

  #info-container h2 {
    font-size: x-large;
  }

  .header-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  #city-search {
    width: 38vw;
    height: 4.5vh;
    font-size: 1.9em;
  }

  h2 {
    font-size: large;
  }

  #name {
    width: 9rem;
    border: 2px solid rgb(248, 174, 128);
    padding: 2%;
    font-size: 1.3rem;
  }

  .wgh-slider__viewbox {
    width: 50%;
    max-width: 42vw;
  }

  iframe {
    zoom: 150%;
  }

  .carousel-btn {
    font-size: 2em;
  }

  header h1 {
    font-size: 1.5rem;
  }

  header p {
    font-size: 0.9rem;
  }

  nav a {
    font-size: 0.8rem;
  }

  #headlines h4 {
    font-size: 1.5rem;
  }

  #headlines p {
    font-size: 1.3em;
  }

  #holidays-section {
    width: 650rem;
    max-height: 24rem;
    padding: 2em 11em;
  }

  #holidays-section h4 {
    font-size: 1rem;
  }

  .data-wrapper span {
    font-size: 1.6rem;
  }

  .data-wrapper h4 {
    font-size: 1.2rem;
  }

  h3 {
    font-size: 0.9rem;
  }

  #hotels {
    max-height: 107rem;
    font-size: 11.5px;
  }

  .amenity-button {
    font-size: 0.5rem;
  }

  #places {
    height: 63rem;
    max-height: 63rem;
    font-size: 12px;
  }

  #contact {
    font-size: 0.45em;
  }

  .contact-link {
    text-underline-offset: 1vh;
  }

  #search-container {
    font-size: 1rem;
  }

  #autocomplete {
    font-size: 1.2rem;
  }

  .snapshot-box {
    flex: 1 1 100%;
    max-width: 100%;
  }

  iframe {
    width: 100% !important;
    height: 600px;
    /* Adjust this depending on content inside Wise widget */
  }

  #your-selection {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  #your-selection > div {
    width: 90%;
    max-width: 100%;
  }

  #nameq {
    font-size: 1.8rem;
  }

  #time {
    font-size: 1.65rem;
    margin-left: 0.3rem;
  }

  #currency {
    font-size: 1.65rem;
    margin-right: 0.3rem;
  }

  #weather-container h3 {
    font-size: 3rem;
  }

  #weather-container h2 {
    font-size: x-large;
  }

  #hotels {
    max-height: 107rem;
    font-size: 11.5px;
  }

  .amenity-button {
    font-size: 10px;
    padding: 5px 5px;
    gap: 0;
  }

  #places {
    max-height: 67rem;
    font-size: 12px;
  }

  .navigation-buttons-black button {
    padding: 1.5%;
    font-size: 1rem;
    margin-bottom: 2%;
    margin-top: 5%;
    min-width: 4rem;
    min-height: 3rem;
  }

  #map-wrapper {
    margin-bottom: -10%;
  }

  #contact h2 {
    color: black;
    font-size: 2.75em;
  }

  .contact-box-left {
    font-size: 1.8em;
  }

  .contact-box-right {
    font-size: 1.8em;
  }

  .contact-box-center {
    font-size: 1.8em;
  }

  #hotel-container {
    height: 119rem;
  }

  footer a {
    font-size: 1.3em;
    padding-bottom: 1vh;
  }
}

/* Mobile Breakpoint: 750px and below */
@media (max-width: 750px) {
  #hotels {
    max-height: 107rem;
    font-size: 11.5px;
  }

  .amenity-button {
    font-size: 10px;
    padding: 5px 5px;
    gap: 0;
  }

  #places {
    max-height: 67rem;
    font-size: 12px;
  }
}

/* Phone Screens 600px and below */
@media (max-width: 600px) {
  #header h1 {
    font-size: 2rem;
  }

  #brand {
    font-weight: 1000;
    color: #f88686;
    text-shadow: 1px 0 #fff, -1px 0 #fff, 0 1px #fff, 0 -1px #fff, 1px 1px #fff,
      -1px -1px #fff, 1px -1px #fff, -1px 1px #fff, 1.25px 1.25px beige;
  }

  #tagline {
    margin-bottom: 1em;
    margin-bottom: 7.5%;
  }

  h3 {
    font-size: 0.9rem;
  }

  #nameq {
    font-size: 1.8rem;
  }

  #time {
    font-size: 1.3rem;
    margin-left: 0.3rem;
  }

  #currency {
    font-size: 1.3rem;
    margin-right: 0.3rem;
  }

  #info-container h5 {
    font-size: 1.4rem;
  }

  #headlines-container h2 {
    font-size: 1.4rem;
    margin-top: 8%;
    margin-bottom: 7%;
  }

  #headlines h4 {
    font-size: 1.3rem;
  }

  #headlines p {
    font-size: 1.2rem;
  }

  #currency-container {
    height: 122rem;
  }

  #currency-container h2 {
    font-size: 1.4rem;
  }

  nav a {
    font-size: 0.7em;
  }

  .data-wrapper span {
    font-size: 1.25rem;
  }

  #holidays-section {
    width: auto;
    max-height: 24rem;
    padding: 2em 16vw;
  }

  #holidays-list {
    font-size: 1rem;
  }

  .carousel-container {
    height: 80rem;
  }

  #hotel-container h2 {
    margin-top: 5%;
  }

  #contact {
    font-size: 0.375em;
  }

  #city-search {
    width: 17rem;
    font-size: x-large;
  }

  .carousel-btn {
    display: none;
  }

  #country-images {
    zoom: 150%;
  }

  .image-container {
    margin-top: -85%;
    width: 105%;
  }

  .wgh-slider {
    transform: translateX(11.25vw);
  }

  .amenity-button {
    font-size: 9px;
    padding: 0.5rem;
  }

  #hotels {
    max-height: 105rem;
  }

  #places {
    max-height: 53rem;
    padding-bottom: 1rem;
  }

  #hotel-container,
  #place-container {
    max-height: 114rem;
  }

  .navigation-buttons-black button {
    padding: 1.5%;
    font-size: 1rem;
    margin-bottom: 2%;
    margin-top: 5%;
    min-width: 5rem;
    min-height: 2.5rem;
  }

  iframe {
    zoom: 95%;
  }
}

/* Mobile Breakpoint: 585px and below */
@media (max-width: 585px) {
  /* Amenity buttons (assuming you generate them in JS) */
  .amenity-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5em;
    justify-content: center;
  }

  .amenity-buttons button {
    font-size: 0.9rem !important;
    padding: 0.5em 1em !important;
    flex: 1 1 auto;
    max-width: 30%;
    min-width: 75px;
    box-sizing: border-box;
  }

  /* Fix horizontal overflow on smaller screens */
  #place-container,
  #places-modal,
  #places {
    width: 100%;
    overflow-x: hidden;
    overflow-y: hidden;
    box-sizing: border-box;
    padding-bottom: 20%;
  }

  #places {
    max-height: 53rem;
    /* ensures the table NEVER grows past this */
    overflow-y: auto;
    padding-bottom: 1rem;
    /* just enough for comfort */
    box-sizing: border-box;
  }

  #places-results {
    width: 100%;
    table-layout: fixed;
    word-wrap: break-word;
  }

  #places-results td,
  #places-results th {
    white-space: normal;
    text-align: center;
    padding: 0.5em;
  }

  #hotels {
    max-height: 103rem;
  }

  .navigation-buttons-black {
    padding: 2em;
    height: 2.5rem;
  }
}

/* 📱📱 Mobile Breakpoint: 580px and below */
@media (max-width: 580px) {
  #places {
    max-width: 100%;
    overflow-x: auto;
    box-sizing: border-box;
    width: 100%;
    table-layout: auto;
  }

  #places-modal {
    max-width: max-content;
    font-size: 1em;
  }
}

/* 📱📱 Mobile Breakpoint: 570px and below */
@media (max-width: 570px) {
  #places {
    max-width: 100%;
    overflow-x: auto;
    box-sizing: border-box;
    width: 100%;
    max-height: 76rem;
    height: 76rem;
    table-layout: auto;
  }
}

/* Mobile Phones & Tablets 550px and below */
@media (max-width: 550px) {
  #header {
    height: 7rem;
  }

  #header h1 {
    font-size: 1.8rem;
    letter-spacing: 5px;
  }

  #tagline {
    font-size: 0.7em;
    margin-bottom: 6%;
    text-shadow: black 1px 1px 1px;
    letter-spacing: 2px;
  }

  #nameq {
    font-size: 1.5rem;
  }

  #time {
    font-size: 1.15rem;
  }

  #currency {
    font-size: 1.15rem;
  }

  #holidays-list {
    font-size: 1rem;
    width: max-content;
  }

  #currency-container {
    overflow: hidden;
  }

  iframe {
    width: 100% !important;
    height: 600px;
    zoom: 90%;
  }

  .carousel-container {
    height: 80rem;
    margin-bottom: -265%;
  }

  .image-container {
    margin-top: -155%;
    width: 105%;
  }

  #map-wrapper {
    margin-bottom: -15%;
  }

  .amenity-button {
    font-size: 9px;
    padding: 6px 9px;
  }

  #places {
    height: 73rem;
    font-size: 12px;
  }

  .mapmodal-content {
    padding-bottom: 7%;
  }

  #contact {
    z-index: 10000000000;
    margin-top: 15rem;
  }

   nav a {
    font-size: 0.7em;
    letter-spacing: 0px;
    word-spacing: 2px;
  }
  
}

/* Phone Screens 450px and below */
@media (max-width: 450px) {
  #header {
    height: 6rem;
  }

  #header h1 {
    font-size: 1.7em;
    letter-spacing: 0.7vw;
  }

  #brand {
    font-weight: 1000;
    color: #f88686;
    text-shadow: 1.25px 0 #fff, -1.25px 0 #fff, 0 1.25px #fff, 0 -1px #fff,
      1px 1px #fff, -1px -1px #fff, 1px -1px #fff, -1px 1px #fff, 1px 1px beige;
  }

  #tagline {
    font-size: 0.65em;
    margin-bottom: 7%;
    letter-spacing: 3px;
  }

  nav a {
    font-size: 0.6em;
  }

  h2 {
    font-size: medium;
  }

  #time-box {
    font-size: small;
  }

  #location-box {
    font-size: small;
  }

  #currency-box {
    font-size: small;
  }

  #info-container h2 {
    font-size: large;
  }

  #info-container h5 {
    font-size: 1.3rem;
  }

  .data-wrapper h4 {
    font-size: 1rem;
  }

  #headlines-container h2 {
    font-size: 1.3rem;
  }

  #currency-container h2 {
    font-size: 1.3rem;
  }

  #headlines h4 {
    font-size: 1.1rem;
  }

  #headlines p {
    font-size: 1rem;
  }

  .data-wrapper span {
    font-size: 1rem;
  }

  #holidays-list {
    font-size: 13px;
  }

  #holidays-section {
    padding: 2em 20vw;
  }

  .carousel-container {
    height: 80rem;
  }

  .image-container {
    margin-top: -215%;
    width: 115%;
    height: 115%;
  }

  .wgh-slider__viewbox {
    width: 50%;
    max-width: 45vw;
    height: 9rem;
  }

  #map-wrapper {
    margin-top: -80%;
    margin-bottom: -25%;
  }

  #hotels {
    max-height: 104rem;
    font-size: 10.5px;
  }

  #places {
    max-height: 73rem;
    font-size: 12px;
    height: 75rem;
  }

  .amenity-button {
    font-size: 8px;
    padding: 0.5rem;
  }

  #contact {
    font-size: 0.3em;
    margin-top: 15rem;
  }

  #nameq {
    font-size: 1.2rem;
  }

  #time {
    font-size: 1.15rem;
  }

  #currency {
    font-size: 1.15rem;
  }

  h3 {
    font-size: 0.7rem;
  }
}

/* Phone Screens 400px and below */

@media (max-width: 400px) {
  #header h1 {
    font-size: 1.45em;
  }

  #tagline {
    font-size: 1vh;
    letter-spacing: 2px;
  }

  #info-container h5 {
    font-size: 1.1rem;
    margin-top: 15%;
  }

  .data-wrapper h4 {
    font-size: 1rem;
  }

  #headlines-container h2 {
    font-size: 1.1rem;
    margin-top: 10%;
  }

  #currency-container h2 {
    font-size: 1.1rem;
    margin-top: 10%;
  }

  #city-search {
    width: 12rem;
    font-size: x-large;
    height: 2.5rem;
  }

  #places {
    max-height: 68rem;
    font-size: 12px;
    height: 71rem;
  }

  .image-container {
    margin-top: -215%;
    width: 110%;
  }

  #contact h3 {
    font-size: 1.2em;
  }

  #contact {
    font-size: 0.26em;
    margin-top: 10rem;
  }

  footer > a {
    position: sticky;
    font-size: 1.2em;
  }
}

/* Phone Screens 350px and below */

@media (max-width: 350px) {
  #header h1 {
    font-size: 1.25em;
  }

  #tagline {
    font-size: 1.1vh;
    letter-spacing: 2px;
  }

  .carousel-container {
    height: 80rem;
    margin-top: -70%;
  }

  #map-wrapper {
    margin-top: -80%;
    margin-bottom: -25%;
  }

  #places {
    max-height: 70rem;
    font-size: 12px;
  }

  #contact h3 {
    font-size: 1.1em;
  }

  #contact {
    font-size: 0.2em;
  }
}

#your-selection {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: row;
  flex-wrap: nowrap;
  /* No wrapping allowed */
  gap: 1rem;
  background: radial-gradient(
    circle,
    rgba(242, 130, 105, 1) 20%,
    rgba(245, 104, 137, 1) 80%,
    rgba(255, 148, 148, 1) 100%
  );
  border-top: 0.25em solid beige;
  border-bottom: 0.25em solid beige;
  margin: 2% auto;
  text-align: center;
  contain: content;
  transform: scale(1);
  overflow-x: auto;
  /* Prevent breakage on very small screens */
}

/*Flex item magic for each box */
#time-box,
#location-box,
#currency-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1 1 0;
  min-width: 0;
  position: static;
  /* Kill float/offset behaviors */
}

#weather-container {
  height: 100%;
  max-height: max-content;
}

#your-next-selection,
#second-selection {
  display: block;
}

/* Location Modals Fade In & Out */

@keyframes fadeOutModal {
  from {
    opacity: 1;
    transform: scale(1);
  }

  to {
    opacity: 0;
    transform: scale(0.95);
  }
}

@keyframes fadeOutName {
  from {
    opacity: 0.95;
  }

  to {
    opacity: 0;
  }
}

#country-info-modal.fade-out {
  animation: fadeOutModal 0.6s ease forwards;
}

#name.fade-out {
  animation: fadeOutName 0.9s ease forwards;
}

footer {
    position:fixed;
    width:100%;
    bottom:0px;
}

/* === Floating Itinerary Modal === */

.itinerary-modal {
  position: fixed;
  bottom: 6rem; /* floats above your 5rem footer */
  right: 20px;
  width: 90vw;
  max-width: 1200px;
  min-width: 320px;
  max-height: 60vh;
  background: black;
  color: white;
  border-radius: 16px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.7);
  overflow: auto;
  z-index: 10000000001 !important;
  resize: both;
  transition: transform 0.2s ease, opacity 0.4s ease;
}

.itinerary-modal.hidden {
  display: none;
}

/* === Header Bar === */
.itinerary-header {
  background: #222;
  padding: 12px;
  cursor: move;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 2rem;
  padding-left: 2em;
}

.itinerary-header h2 {
  font-size: 1.2rem;
  margin: 0;
  white-space: nowrap;
}

.itinerary-header button {
  background: none;
  color: white;
  border: none;
  font-size: 1.2rem;
  margin-left: 8px;
  cursor: pointer;
}

/* === Modal Content === */
.itinerary-content {
  overflow-y: auto;
  padding: 1rem;
  max-height: 50vh;
}

#itinerary-table.hidden {
  display: none !important;
}


/* === Table === */
#itinerary-table {
  width: 100%;
  border-collapse: collapse;
}

#itinerary-table th,
#itinerary-table td {
  padding: 6px 8px;
  border-bottom: 1px solid #333;
  text-align: center;
  vertical-align: middle;
  font-size: 0.95rem;
}

#itinerary-table th {
  white-space: nowrap;
}

#itinerary-table td input[type="date"],
#itinerary-table td select {
  font-size: 0.9rem;
}

#itinerary-table td a {
  text-decoration: none;
  font-size: 0.95rem;
  color: rgb(248, 174, 128);
}

#itinerary-table td a:hover {
   color: rgba(255, 148, 148, 1);
}

#itinerary-table td button {
  font-size: 1rem;
  padding: 4px 8px;
  background: none;
  border: none;
  cursor: pointer;
}

#itinerary-table td input[type="checkbox"] {
  transform: scale(2.5);
}

/* Column widths */

#itinerary-table th:nth-child(1),
#itinerary-table td:nth-child(1) { width: 15%; }  /* Info */

#itinerary-table th:nth-child(2),
#itinerary-table td:nth-child(2) { width: 15%; }  /* Date */

#itinerary-table th:nth-child(3),
#itinerary-table td:nth-child(3) { width: 15%; }  /* Time */

#itinerary-table th:nth-child(4),
#itinerary-table td:nth-child(4) { width: 10%; }  /* Duration */


#itinerary-table th:nth-child(5),
#itinerary-table td:nth-child(5) { width: 10%; }  /* Book */

#itinerary-table th:nth-child(6),
#itinerary-table td:nth-child(6) { width: 10%; }  /* Reviews */

#itinerary-table th:nth-child(7),
#itinerary-table td:nth-child(7) { width: 10%; }  /* Tours */

#itinerary-table th:nth-child(8),
#itinerary-table td:nth-child(8) { width: 10%; }  /* Route */

#itinerary-table th:nth-child(9),
#itinerary-table td:nth-child(9) { width: 5%; }   /* Remove */



/* === Minimized Modal === */

.itinerary-modal.minimized {
  width: 600px;
  height: 40px;
  background: #111;
  border-radius: 8px;
  bottom: 6rem;
  right: 20px;
  z-index: 10000000001;
  overflow: hidden;
  max-height: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  resize: none;
  padding-top: 1vh;
}

.itinerary-modal.minimized .itinerary-header {
  width: 100%;
  justify-content: space-between;
  align-items: center;
  padding: 0;
}

.itinerary-modal.minimized h2 {
  font-size: 1rem;
  margin: 0;
  position: static;
  transform: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.itinerary-modal.minimized .itinerary-content {
 display: none !important;
} 

.itinerary-modal.minimized:hover {
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
  cursor: pointer;
}

.itinerary-header button {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;  /* small space between icon and text */
  line-height: 1; /* prevents odd vertical spacing */
}

/* Add to your style.css */

@media print {
  /* 1️⃣ Hide all page content */
  body * {
    display: none !important;
  }

  /* 2️⃣ Show the itinerary modal container */
  #itinerary-modal {
    display: block !important;
    position: static !important;
    width: 100% !important;
    max-height: none !important;
    box-shadow: none !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 12pt !important;
  }

  /* 3️⃣ Force-show everything inside it */
  #itinerary-modal * {
    display: block !important;
  }

  /* 4️⃣ Tables need specific display values */
  #itinerary-table, 
  #itinerary-table thead, 
  #itinerary-table tbody, 
  #itinerary-table tr, 
  #itinerary-table th, 
  #itinerary-table td {
    display: table-row-group !important;
    display: table-header-group !important;
    display: table-row !important;
    display: table-cell !important;
    visibility: visible !important;
  }

  /* 5️⃣ If you have a “hidden” class on rows, override it */
  #itinerary-table tr.hidden {
    display: table-row !important;
  }

  /* 6️⃣ Hide any IP or other page bits you don’t want */
  #your-ip-address {
    display: none !important;
  }
}


/* Align Share & Print icons + text */
#share-itinerary,
#print-itinerary {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  line-height: 1;
  background: none;
  border: none;
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
}

/* ── Share‑Menu Styles ── */
.share-container {
  position: relative;
  display: inline-block;
}

.share-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background: #333;
  color: white;
  border-radius: 4px;
  overflow: hidden;
  font-size: 0.9rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  margin-top: 0.25rem;
  position: absolute; /* or fixed */
  z-index: 999999;
  transform: translateZ(0); /* magic fix */
}

.share-menu a {
  display: block;
  padding: 0.5rem 1rem;
  color: white;
  text-decoration: none;
}

.share-menu a:hover {
  background: #444;
}

.hidden {
  display: none !important;
}

/* ── Print‑Only View ── */
/* 🎯 PRINT FIX: Only show itinerary modal during print */
@media print {
  body * {
    visibility: hidden !important;
  }
  #itinerary-modal, #itinerary-modal * {
    visibility: visible !important;
  }
  #itinerary-modal {
    position: static !important;
    display: block !important;
    z-index: 999999 !important;
    left: 0 !important;
    top: 0 !important;
    transform: none !important;
    box-shadow: none !important;
    background: white !important;
    color: black !important;
  }

  #itinerary-modal button,
  #itinerary-modal .share-container {
    display: none !important; /* hide Share/Minimize/etc */
  }
}

#itinerary-table {
  table-layout: fixed;
  width: 100%;
}

#itinerary-table th,
#itinerary-table td {
  text-align: center;
  vertical-align: middle;
  padding: 6px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Details column */
#itinerary-table th:nth-child(1),
#itinerary-table td:nth-child(1) {
  width: 30%;
  text-align: left;
  white-space: normal; /* allow wrapping for address/details */
}

/* Duration */
#itinerary-table th:nth-child(2),
#itinerary-table td:nth-child(2) {
  width: 12%;
}

/* Date */
#itinerary-table th:nth-child(3),
#itinerary-table td:nth-child(3) {
  width: 12%;
}

/* Book, Reviews, Tours, Directions */
#itinerary-table th:nth-child(4),
#itinerary-table th:nth-child(5),
#itinerary-table th:nth-child(6),
#itinerary-table th:nth-child(7),
#itinerary-table td:nth-child(4),
#itinerary-table td:nth-child(5),
#itinerary-table td:nth-child(6),
#itinerary-table td:nth-child(7) {
  width: 8%;
}

/* Ideas */
#itinerary-table th:nth-child(8),
#itinerary-table td:nth-child(8) {
  width: 10%;
}

/* Remove ❌ */
#itinerary-table th:nth-child(9),
#itinerary-table td:nth-child(9) {
  width: 4%;
}





.share-icon svg path:hover {
  fill: #299550 !important;
}

#data-credits {
margin-bottom: 10rem;
font-family: "Roboto", sans-serif;
}

/* ==== Improve Map Modal ==== */

#improve-map-modal {
  display: none;              /* Hidden by default */
  position: fixed;
  z-index: 10000;             /* Ensure it’s above footers etc */
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.5); /* Semi-transparent backdrop */
}

#improve-map-modal .modal-content {
  background-color: #fff;
  margin: 5% auto;
  padding: 0;
  border: 1px solid #888;
  width: 90%;
  max-width: 700px;
  border-radius: 10px;
  animation: fadeIn 0.3s ease;
}


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


/* === Title Split Styling === */
#brand span:first-child {
  font-weight: 700;
  color: rgb(255 115 88);
}
#brand span:last-child {
      color: rgb(251 73 44);
  font-weight: 600;
   font-family: "Yeseva One", serif;
  font-style: normal;
  font-size: 6.4rem;
  color: #fd6d26;
}

/* === Tagline with Globe Icon === */
#tagline {
  opacity: 0;
  animation: fadeInTagline 1.8s ease-in-out 0.225s forwards;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

/* === Icon Style === */
#tagline-icon {
  height: 1.2rem;
  opacity: 0.85;
  vertical-align: middle;
}

/* === Animation === */
@keyframes fadeInTagline {
  to {
    opacity: 1;
  }
}

.update-details-container {
  text-align: center;
  margin: 2rem 0;
}

/* ==== Frosted Credits + Button ==== */

.frosted-panel {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 12px;
  padding: 1.5rem;
  margin: 2rem auto;
  max-width: 900px;
  color: white;
  font-size: 1rem;
  font-weight: 575;
  line-height: 1.5;
  animation: fadeIn 0.5s ease;
  letter-spacing: 2.5px;
  word-spacing: 2.5px;
}

.frosted-panel a {
  color: #ffa999;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 1vh;
  text-shadow: 1px white;
}

.frosted-panel a:hover {
  background: #ffad9f;
  color: beige;
      cursor: pointer;
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    transition: all 0.1s ease-in-out;
    text-align: center;
    padding-top: 0.5vh;
    padding-bottom: 1vh;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    text-decoration: none;
}

.frosted-panel a:hover {
  background-color: #fb8772;
  color: beige;
  border-radius: 25px;
  border: 1px solid beige;
  padding: 5px;
  font-weight: 500;
}

.frosted-btn {
  margin-top: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 1.05rem;
  font-weight: 450;
  letter-spacing: 1.5px;
  color: white;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 8px;
  cursor: pointer;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transition: all 0.25s ease-in-out;
  text-align: center;
  padding-top: 0.5vh;
  padding-bottom: 1vh;
}

.frosted-btn:hover {
  background: rgba(255, 255, 255, 0.35);
}


.update-icon {
  height: 2.5rem;

  width: auto;
  vertical-align: middle;
 
}

.frosted-btn:hover {
  background: #ffad9f;
  color: beige;
}

.frosted-btn:hover .update-icon {
  filter: brightness(0) saturate(100%) invert(82%) sepia(23%) saturate(463%) hue-rotate(315deg) brightness(101%) contrast(98%);
}


/* === Hover === */
.frosted-btn:hover {
  background: #fb8772; /* Pink background */
  opacity: 0.9;
}

.frosted-btn:hover .update-text {
  color: #888; /* Text changes */
}

.frosted-btn:hover .update-icon {
  filter: none; /* Keep icon original */
}

.frosted-btn {
  margin-top: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 1.05rem;
  font-weight: 450;
  letter-spacing: 1.5px;
  color: white;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 8px;
  cursor: pointer;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transition: all 0.25s ease-in-out;
  text-align: center;
  padding-top: 0.5vh;
  padding-bottom: 1vh;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2); /* ✅ subtle resting shadow */
}

.frosted-btn:hover {
  background: #fb8772; /* Pink background */
  opacity: 0.95;
  color: beige;
  box-shadow: 0 6px 16px rgba(0,0,0,0.35); /* ✅ pop-out hover shadow */
  transform: translateY(-2px); /* ✅ tiny lift */
}

.frosted-btn:active {
  transform: translateY(0); /* reset on click */
  box-shadow: 0 3px 8px rgba(0,0,0,0.25); /* softer press */
}

.update-icon {
  height: 2.5rem;
  width: auto;
  vertical-align: middle;
}

.frosted-btn:hover .update-icon {
  filter: none; /* keep icon original unless you want tint */
}

.frosted-btn:hover .update-text {
  color: #888; /* text subtle shift */
}


/* === Frosted Glass Modal Upgrade === */
#improve-map-modal .modal-content {
  background: rgba(255, 255, 255, 0.15);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 12px;
  color: #ffffff;
  padding: 1.5rem;
  text-align: center;
  max-width: 750px;
  margin: 7% auto; /* Keeps it centered vertically */
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  animation: fadeIn 0.4s ease;
  z-index: 1000000000000000000000000000000000000000000000000000009999999;
  margin-bottom: 10vh;
  bottom: 5rem;
}

.modal-content h4 {
  color: black;
  text-transform: uppercase;
  font-size: 1.5em;
}

/* Header inside modal */
#improve-map-modal .modal-header {
  display: flex;
  justify-content: center; /* Center heading text */
  align-items: center;
  position: relative;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

#improve-map-modal .modal-header h2 {
  flex: 1;
  margin: 0;
  font-weight: 600;
  letter-spacing: 1px;
  color: black;
}

/* Close button stays on top-right */
#improve-map-modal .modal-header .close {
  position: absolute;
  right: 0;
  cursor: pointer;
  font-size: 1.5rem;
  color: white;
  transition: color 0.2s ease;
}
#improve-map-modal .modal-header .close:hover {
  color: #ffad9f;
}

#improve-map-modal button {
  min-height: 4.5rem;
  min-width: 7rem;
  margin-top: 2vh;
}

#osm-btn a {
  min-height: 4.5rem;
  min-width: 7rem;
}



/* Buttons inside modal */
#improve-map-modal button,
#improve-map-modal a {
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 8px;
  color: white;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.25s ease-in-out;
  text-decoration: none;
  margin-bottom: 1vh;
  margin-top: 1vh;

  align-items: center;
  margin: 0 auto;
}

#improve-map-modal button:hover,
#improve-map-modal a:hover {
  background: rgb(248, 174, 128, 0.95);
  color: #222;
  border: 1px solid black;
}

/* Fade-in animation */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

#map-update-form input[type="text"],
#map-update-form input[type="email"],
#map-update-form input[type="phone"] {
  height: 2.4rem; /* smaller height */
  font-size: 1.5em;
}

#map-update-form textarea {
  width: 25vw;
    max-width: 25vw;
  margin-top: 2rem;
  min-height: 9rem; /* bigger space for message */
  margin-bottom: 3vh;
}

#improve-map-modal .modal-content {
  background: rgba(255, 255, 255, 0.15);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 2rem;
  margin: 5vh auto;
  width: 90%;
  max-width: 600px;
  z-index: 100000000000000000000000000000000000000000000000000; /* ensures content is above the overlay */
}

#improve-map-modal {
  position: fixed !important;
  inset: 0 !important;         /* left:0; top:0; right:0; bottom:0 */
  z-index: 100000000000000000000000000000000000000000000000000; /* higher than footer/contact */
  text-align: center;
}

.improve-map-modal-number {
  color: black;
}

#improve-map-modal button {
display: inline-flex;              /* flexbox inside button */
  align-items: center;               /* vertical center */
  justify-content: center;           /* horizontal center */
  min-height: 4.5rem;
  min-width: 7rem;
  margin: 2vh auto 0 auto;           /* centers button itself */
  padding: 0 1rem;                   /* balanced padding */
  vertical-align: middle;  
  text-align: center;       /* centers button text */
  vertical-align: middle;   /* ensures text inside is centered */
}

/* Modal body - center everything neatly */
#improve-map-modal .modal-body {
  text-align: center;
  margin: 0 auto;
  max-width: 600px;   /* constrain width so text doesn’t sprawl */
}

/* Remove extra padding from lists so they center correctly */
#improve-map-modal ol {
  list-style-position: inside;  /* keeps numbers inside the centered block */
  padding-left: 0;
  margin: 0.5rem 0 1.5rem 0;
  text-align: center;
}

/* Paragraphs also centered */
#improve-map-modal p {
  text-align: center;
  margin: 0.75rem auto;
  max-width: 550px;
}

/* Frosted glass style for inputs (brighter white frost) */
#map-update-form input,
#map-update-form textarea {
  display: block;
  margin: 0.6rem auto;
  width: 100%;
  max-width: 500px;
  padding: 0.8rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.8);  /* brighter frosted white */
  color: black;
  font-size: 1rem;
  font-weight: 500;
  backdrop-filter: blur(10px);             /* more blur = smoother glass */
  -webkit-backdrop-filter: blur(10px);
  text-align: center;
  transition: background 0.3s ease, border 0.3s ease;
}


/* === Fix modal cutoff behind footer === */


#improve-map-modal .modal-content {
  max-height: 85vh;          /* never taller than viewport */
  overflow-y: auto;          /* scroll if content too long */
  margin: auto;              /* true center */
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

/* ==== Modal Header H2 ==== */
#improve-map-modal .modal-header h2 {
  flex: 1;
  margin: 0;
  font-weight: 600;
  letter-spacing: 1px;
  color: black;

  /* Responsive clamp — always larger than button text */
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
  line-height: 1.2;
}



/* ==== Responsive Frosted Modal Typography ==== */

#improve-map-modal h3,
#improve-map-modal h4,
#improve-map-modal p,
#improve-map-modal li,
#map-update-form input[type="text"], 
#map-update-form input[type="email"], 
#map-update-form input[type="phone"],
#map-update-form textarea {
  font-size: clamp(0.9rem, 2vw, 1.3rem); 
  line-height: 1.4;
}

/* ==== Responsive Buttons ==== */

#improve-map-modal button,
#improve-map-modal a {
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  
  min-width: clamp(6rem, 20vw, 12rem);
  min-height: clamp(3rem, 6vh, 4.5rem);

  display: inline-flex;
  align-items: center;
  justify-content: center;
}


/* Ultra HD / 4K scaling */

@media screen and (min-width: 2560px) {
  #improve-map-modal .modal-content {
    max-width: 1400px;   /* let it breathe wider */
    padding: 3rem;       /* chunkier padding */
  }

  #improve-map-modal .modal-header h2 {
    font-size: 3rem;     /* scale heading but not crazy */
  }

  #map-update-form input,
  #map-update-form textarea,
  #map-update-form button {
    font-size: 1.4rem;
    padding: 1.2rem;
  }
}

/* === 4K Ultra HD Scaling === */

@media screen and (min-width: 2750px) {

  /* Credits section */
  .frosted-panel {
    max-width: 1800px;   /* spread wider */
    padding: 3rem;       /* chunkier spacing */
    font-size: 2rem;   /* bump body text */
    line-height: 1.8;
  }

  .frosted-panel a {
    font-size: 1.6rem;   /* bigger links */
  }

  /* Improve modal */
  #improve-map-modal .modal-content {
    max-width: 1400px;
    padding: 3rem;
  }

  #improve-map-modal .modal-header h2 {
    font-size: 3rem;     /* nice balance */
  }

  #improve-map-modal h3,
  #improve-map-modal h4 {
    font-size: 2rem;
  }

  #map-update-form input,
  #map-update-form textarea,
  #map-update-form button {
    font-size: 1.4rem;
    padding: 1.2rem 1.5rem;
  }

  #map-update-form textarea {
    min-height: 12rem;   /* more space for typing */
  }

 .update-icon {
  height: 4rem;
  width: auto;
  vertical-align: middle;
}

.frosted-btn {
     min-height: 9rem;
    min-width: 9rem;
    font-size: 1em;
  }

  .frosted-panel a {
    font-size: 1em;
  }
}

/* Amenity Buttons */
.amenity-button {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap; /* allows text to break nicely */
  text-align: center;
  font-size: 0.7rem;  /* slightly smaller text for long names */
  line-height: 1.2;
  padding: 6px 10px;
  min-width: 110px;  /* wide enough for longer names */
  max-width: 140px;  /* keeps them consistent */
  word-wrap: break-word; /* ensures long names wrap */
}

.link-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 6px;
}




/* --- Popup external action links (Book, Reviews, Tours, Route) --- */
.ext-link{
  color: #222;
  text-decoration: none;
  transition: color .15s ease, border-color .15s ease;
  
}
.ext-link:hover{
  color: #000;
  border-bottom: 2px dotted;
  border-bottom-color: rgba(0,0,0,.75);
}

/* --- Website link (slightly different style) --- */
.web-link{
  color: #2b2b2b;
  text-decoration: none;
  transition: color .15s ease, border-color .15s ease;
}

.web-link:hover{
  color: #000;
  border-bottom: 2px dotted;
  border-bottom-color: rgba(0,0,0,.75);
}

/* Website link styling inside popups */
.leaflet-popup-content .weblink a {
  color: #0078A8;             /* deep grey-black */
  text-decoration: none;   /* no underline by default */
  font-weight: 800;
}

.leaflet-popup-content .weblink a:hover {
  color: #000; 
  border-bottom: 2px dotted;           
  border-bottom-color: rgba(0,0,0,.7);
}

/* === Itinerary Modal === */
#itinerary-modal {
  width: 95vw;        /* was 90vw */
  max-width: 1300px;  /* allow extra breathing space */
}

/* Table base */
#itinerary-table th,
#itinerary-table td {
  padding: 6px 10px;
  text-align: center;
  vertical-align: middle;
  white-space: nowrap; /* prevent ugly wrapping */
}

/* First column (Details) */
#itinerary-table th:nth-child(1),
#itinerary-table td:nth-child(1) {
  width: 34%;          /* give details more breathing space */
  text-align: left;
  white-space: normal; /* allow wrapping if needed */
  word-break: break-word;
  padding-left: 15px;
}

/* Date / Time / Duration group */
#itinerary-table th:nth-child(2),
#itinerary-table td:nth-child(2) { width: 11%; padding-left: 15px; }
#itinerary-table th:nth-child(3),
#itinerary-table td:nth-child(3) { width: 11%; padding-left: 15px; }
#itinerary-table th:nth-child(4),
#itinerary-table td:nth-child(4) { width: 10%; padding-left: 15px; }

/* Book — deliberately pushed further right */
#itinerary-table th:nth-child(5),
#itinerary-table td:nth-child(5) {
  width: 10%;
  padding-left: 18px; /* separates from Duration */
}

/* Reviews / Tours / Route */
#itinerary-table th:nth-child(6),
#itinerary-table td:nth-child(6),
#itinerary-table th:nth-child(7),
#itinerary-table td:nth-child(7),
#itinerary-table th:nth-child(8),
#itinerary-table td:nth-child(8) {
  width: 9%;
  padding-right: 6px;
}

/* ❌ Remove button column */
#itinerary-table th:nth-child(9),
#itinerary-table td:nth-child(9) {
  width: 5%;
  text-align: center;
  padding: 0;
}

#itinerary-table td:last-child button {
  height: 28px;
  width: 28px;
  font-size: 15px;
  line-height: 1;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Date input */
#itinerary-table input[type="date"] {
  font-size: 0.95em;
  line-height: 1.2;

  height: 32px;
  width: 120px;
  box-sizing: border-box;
}

/* Time input */
#itinerary-table input[type="time"] {
  font-size: 0.95em;
  line-height: 1.2;

  height: 32px;        /* align with duration select */
  width: 90px;         /* slightly slimmer */
  box-sizing: border-box;
  margin-left: 1vw;
}

/* Duration select */
#itinerary-table select {
  font-size: 0.95em;
  height: 32px;

  margin-left: 1vw;
}

#improve-map-modal h3,
#improve-map-modal li {
  color: #beb7b7;
  color: #d7c4c4;
  color: #ecd6d7;
}

/* === Responsive Itinerary Modal === */

/* Default = desktop/tablet wide mode (your existing rules apply) */

/* 📱 Stacked mode for small screens */
.itinerary-modal.stacked {
  width: 95vw;
  left: 2.5vw;
  right: auto;
  max-width: none;
  max-height: 80vh;
}

#itinerary-table.stacked th,
#itinerary-table.stacked td {
  display: block;
  width: 100% !important;
  text-align: left;
  padding: 8px;
  border-bottom: 1px solid #444;
  white-space: normal;
}

#itinerary-table.stacked tr {
  display: block;
  margin-bottom: 1rem;
  border: 1px solid #333;
  border-radius: 8px;
  padding: 0.5rem;
  background: #111;
}

/* Hide the header row in stacked mode */
#itinerary-table.stacked thead {
  display: none;
}

/* Make inputs stretch full width on small screens */
#itinerary-table.stacked input,
#itinerary-table.stacked select {
  width: 100% !important;
  margin: 4px 0;
}

/* 🖥️ Ultra-wide screens (2K+) */
@media screen and (min-width: 2000px) {
  #itinerary-modal {
    max-width: 1600px;
  }
  #itinerary-table th,
  #itinerary-table td {
    font-size: 1.05rem;
    padding: 8px 12px;
  }
}


/* Stacked mode labels */
#itinerary-table.stacked .stacked-label {
  font-weight: bold;
  color: #f8ae80;
  margin-bottom: 2px;
  display: block;
}

@media (max-width: 1260px) {
  #itinerary-table td a {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 1.2rem;      /* emoji size */
    line-height: 1.2;
    text-decoration: none;
    color: rgb(248, 174, 128);
  }
  #itinerary-table td a .link-label {
    font-size: 0.8rem;
    margin-top: 2px;
  }
}


@media (max-width: 1260px) {
  /* Headers */
  #itinerary-table th .link-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 1.1rem;  /* emoji size */
    line-height: 1.2;
    white-space: normal;
  }
  #itinerary-table th .link-header .link-label {
    font-size: 0.75rem;  /* smaller text */
    margin-top: 2px;
  }

  /* Row links (already done) */
  #itinerary-table td a {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 1.2rem; /* emoji */
    line-height: 1.2;
    text-decoration: none;
    color: rgb(248, 174, 128);
  }
  #itinerary-table td a .link-label {
    font-size: 0.75rem;
    margin-top: 2px;
  }
}

@media (max-width: 1260px) {
  /* Match website link size in Details column */
  #itinerary-table td:nth-child(1) a {
    font-size: 0.75rem; /* same as link-label under icons */
    display: inline-block;
    word-break: break-word; /* prevent overflow */
  }
}

/* === Itinerary Footer Bar === */
.itinerary-footer {
  background: #222;
  padding: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 2.5rem;
  border-top: 1px solid #333;
}

.itinerary-footer .close-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgb(56, 52, 52);
  color: white;
  font-size: 1.2rem;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.itinerary-footer .close-btn:hover {
  background: silver;
  color: #000;
  font-weight: 500;
  font-size: 1.2rem;
}

/* Keep footer always visible at bottom of modal */
.itinerary-modal {
  display: flex;
  flex-direction: column;
}

.itinerary-content {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  max-height: none; /* let flexbox handle height */
}

.itinerary-footer {
  background: #222;
  padding: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 2.5rem;
  border-top: 1px solid #333;
  flex-shrink: 0; /* don’t let it shrink away */
}

/* Keep footer always visible at bottom of modal */
.itinerary-modal {
  display: flex;
  flex-direction: column;
}

.itinerary-content {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  max-height: none; /* let flexbox handle height */
}

.itinerary-footer {
  background: #222;
  padding: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 2.5rem;
  border-top: 1px solid #333;
  flex-shrink: 0; /* don’t let it shrink away */
}

/* Flexbox layout for modal */
.itinerary-modal {
  display: flex;
  flex-direction: column;
}

/* Scrollable content area */
.itinerary-content {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  max-height: none;
}

/* Sticky footer at the bottom */
.itinerary-footer {
  background: #222;
  padding: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 2.5rem;
  border-top: 1px solid #333;
  flex-shrink: 0;
  
  bottom: 0;
  z-index: 10;
  box-shadow: 0 -2px 6px rgba(0,0,0,0.6); /* subtle floating shadow */
}

/* Footer Close Button */
.itinerary-footer button {
  background: #444;
  border: none;
  color: white;
  font-size: 1.1rem;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease;
}

.itinerary-footer button:hover {
  background: #666;
}


/* Scrollable content area */
.itinerary-content {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  max-height: none;
  padding-bottom: 3rem; /* ensures last rows stay above footer */
}

/* Sticky footer at bottom */
.itinerary-footer {
  background: #222;
  padding: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 2.5rem;
  border-top: 1px solid #333;
  flex-shrink: 0;
  position: sticky;
  bottom: 0;
  z-index: 10;
  box-shadow: 0 -2px 6px rgba(0,0,0,0.6);
}

/* Hide footer when modal is minimized */
.itinerary-modal.minimized .itinerary-footer {
  display: none !important;
}

/* Footer Close Button */
.itinerary-footer button {
  background: #444;
  border: none;
  color: white;
  font-size: 1.1rem;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease;
}

.itinerary-footer button:hover {
  background: #666;
}

/* Custom black scrollbar */
.itinerary-content::-webkit-scrollbar {
  width: 10px;
}

.itinerary-content::-webkit-scrollbar-track {
  background: #111;
}

.itinerary-content::-webkit-scrollbar-thumb {
  background: #444;
  border-radius: 5px;
}

.itinerary-content::-webkit-scrollbar-thumb:hover {
  background: #666;
}

/* Scrollable content area */
.itinerary-content {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  max-height: none;
  padding-bottom: 3rem; /* ensures last rows stay above footer */
}

/* Sticky footer at bottom */
.itinerary-footer {
  background: #222;
  padding: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 2.5rem;
  border-top: 1px solid #333;
  flex-shrink: 0;
  
  bottom: 0;
  z-index: 10;
  box-shadow: 0 -2px 6px rgba(0,0,0,0.6);
}

/* Hide footer when modal is minimized */
.itinerary-modal.minimized .itinerary-footer {
  display: none !important;
}

/* Footer Close Button */
.itinerary-footer button {
  background: #444;
  border: none;
  color: white;
  font-size: 1.1rem;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease;
}

.itinerary-footer button:hover {
  background: #666;
  color: #000;
}

/* ── Custom Scrollbar (WebKit: Chrome, Edge, Safari) ── */
.itinerary-content::-webkit-scrollbar {
  width: 10px;
}

.itinerary-content::-webkit-scrollbar-track {
  background: #111;
}

.itinerary-content::-webkit-scrollbar-thumb {
  background: #444;
  border-radius: 5px;
}

.itinerary-content::-webkit-scrollbar-thumb:hover {
  background: #666;
}

/* ── Firefox Scrollbar Styling ── */
.itinerary-content {
  scrollbar-width: thin;         /* makes it slimmer */
  scrollbar-color: #444 #111;    /* thumb color, track color */
}

/* Standardize itinerary input controls */
#itinerary-table input[type="date"],
#itinerary-table input[type="time"],
#itinerary-table select {
  box-sizing: border-box;
       
  min-width: 90px;        /* prevent collapsing */
  height: 32px;

  text-align: left;       /* ✅ let icons show on right */
}

/* Smaller screens: shrink width gracefully */
@media (max-width: 1360px) {
  #itinerary-table input[type="date"],
  #itinerary-table input[type="time"],
  #itinerary-table select {
    min-width: 70px;


  }
}

/* Ensure Date input has enough breathing room */
#itinerary-table th:nth-child(2),
#itinerary-table td:nth-child(2) {
  min-width: 140px;   /* ✅ prevent cut-off */
  width: 12%;         /* keep responsive balance */
}

#itinerary-table input[type="date"] {
  width: 100%;        /* ✅ takes full column width */
  min-width: 130px;   /* never shrink below usable */
  box-sizing: border-box;
}

/* Hide footer Share/Print by default */
.itinerary-footer #footer-share,
.itinerary-footer #footer-print {
  display: none;
}

/* Hide top Share/Print on small screens */
@media (max-width: 600px) {
  .itinerary-header #share-itinerary,
  .itinerary-header #print-itinerary {
    display: none;
  }

  /* Show footer Share/Print only on small screens */
  .itinerary-footer #footer-share,
  .itinerary-footer #footer-print {
    display: inline-flex;
  }

  .itinerary-footer {
    justify-content: space-around;
    gap: 1rem;
  }

  .itinerary-footer .footer-btn {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    background: #444;
    border: none;
    color: white;
    font-size: 1rem;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease;
  }

  .itinerary-footer .footer-btn:hover {
    background: #666;
  }
}

/* Keep inputs usable on smaller screens */
@media (max-width: 1360px) {
  #itinerary-table input[type="date"],
  #itinerary-table input[type="time"],
  #itinerary-table select {
    min-width: 90px;    /* ensures text + icon fit */
    font-size: 0.85rem; /* shrink slightly */
  }
}

@media (max-width: 768px) {
  #itinerary-table input[type="date"],
  #itinerary-table input[type="time"],
  #itinerary-table select {
    min-width: 100px;   /* give a touch more breathing space */
    font-size: 0.8rem;
  }
}

#itinerary-table input[type="date"], #itinerary-table input[type="time"]{
  padding: 1.1rem;
  padding-left: 0;
}

.time-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.time-wrapper input {
  padding-right: 1.8rem;
  font-size: 1em;
  font-weight: 550;
}

.time-wrapper .time-icon {
  position: absolute;
  right: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 16px;  /* matches SVG width */
  height: 16px; /* matches SVG height */
  color: #666;
  transition: color 0.2s ease;
}

.time-wrapper .time-icon:hover {
  color: #000;
}

.time-select-fallback {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100px;
  z-index: 10;
  background: #fff;
  border: 1px solid #ccc;
}

.donation-subtle {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 8px;
  background: rgba(255,255,255,0.03); /* slightly raised */
  color: #ffd7b5; /* warm/off-white - tweak to match palette */
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 1px 0 rgba(0,0,0,0.3);
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
  margin-left: 0.5rem;
  vertical-align: middle;
   font-size: clamp(0.4rem, 1.5vw, 1.5rem); /* responsive scaling */
}
.donation-subtle:hover,
.donation-subtle:focus {
  transform: translateY(-2px);
  background: rgba(255,255,255,0.05);
  box-shadow: 0 6px 18px rgba(0,0,0,0.35);
  outline: none;
}

.support-links {
  display: flex;
  justify-content: center; /* centers as a pair */
  gap: 4rem; /* space between Donate & Affiliate */
  margin-top: 2rem;
  
}

.support-item {
  text-align: center;
}

.support-item h3 {
  margin-bottom: 0.4rem;
}

/* Base tweak: bring placeholder and icon closer together */
input[type="date"],
input[type="time"] {
  padding-right: 1.5em; /* reduce right padding so icon sits closer */
  text-align: left;
}

/* WebKit (Chrome, Edge, Safari) */
input[type="date"]::-webkit-calendar-picker-indicator,
input[type="time"]::-webkit-calendar-picker-indicator {
  position: relative;
  right: -2px;   /* pull icon left */
  opacity: 0.8;  /* optional: make subtler */
}

input[type="time"]::-webkit-inner-spin-button,
input[type="time"]::-webkit-clear-button {
  margin-right: -4px; /* pull arrows/clearer closer */
}

/* Firefox uses a different pseudo-element */
input[type="date"]::-moz-focus-inner,
input[type="time"]::-moz-focus-inner {
  border: 0;
  padding: 0;
  margin: 0;
}

/* To prevent icon overlap at small screens */
@media (max-width: 600px) {
  input[type="date"],
  input[type="time"] {
    padding-right: 1.3em;
     padding-left: 1.3em;
  }
}

/* Shared styling for injected inputs */
.custom-date,
.custom-time {
  padding-right: 1.8em; /* reserve a little space for the icon */
  text-align: left;
}

/* Chrome, Edge (WebKit-based) */
.custom-date::-webkit-calendar-picker-indicator,
.custom-time::-webkit-calendar-picker-indicator {
  position: absolute;
  right: 0.5em;  /* much closer to text */

  transform: translateX(-50%);
  cursor: pointer;

}

/* Firefox */
.custom-date::-moz-focus-inner,
.custom-time::-moz-focus-inner {
  border: 0;
  padding: 0;
}

.custom-date::-moz-calendar-picker-indicator,
.custom-time::-moz-calendar-picker-indicator {
  margin-inline-start: -1.5em; /* pull icon closer to text */
}

/* Safety Map */
#safety-map {
  position: relative;
  width: 95%;
  background-color: whitesmoke;
  margin: 2% auto 1% 2%;
  border-radius: 15px;
  overflow: hidden;
  zoom: 112.5%;
}

/* Weather Map */
#weather-map {
  position: relative;
  width: 95%;
  background-color: whitesmoke;
  margin: 2% auto 1% 2%;
  border-radius: 15px;
   /* Critical */
    overflow: hidden;
    display: block;
}

/* Floating filter panel */
.weather-map-filters {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 10;

    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(8px);

    padding: 0.75rem 0.9rem;
    border-radius: 12px;

    box-shadow:
        0 10px 28px rgba(0,0,0,0.45),
        inset 0 1px 0 rgba(255,255,255,0.08);

    font-size: 0.85rem;
    color: #f1f1f1;
    letter-spacing: 0.4px;
}

/* Filter title */
.weather-map-filters h4 {
    font-family: "DM Serif Display", serif;
    font-size: 0.95rem;
    margin: 0 0 0.5rem;
    color: #eaeaea;
}

/* Filter items */
.weather-map-filters label {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0.35rem;
    cursor: pointer;
    opacity: 0.85;
    transition: opacity 0.15s ease;
}

.weather-map-filters label:hover {
    opacity: 1;
}

/* Checkbox styling */
.weather-map-filters input[type="checkbox"] {
    accent-color: #188181; /* your teal-blue */
    cursor: pointer;
}

/* Optional soft divider */
#weather-map-filters .filter-divider {
    height: 1px;
    margin: 0.4rem 0.2rem;
    background: linear-gradient(
        to right,
        transparent,
        rgba(255,255,255,0.15),
        transparent
    );
}

/* === WEATHER MAP FILTER — SHARP & WARM REFINEMENT === */

.weather-map-filters {
    /* Slightly warmer dark base */
    background: rgba(28, 22, 20, 0.72);

    /* Sharper glass */
    backdrop-filter: blur(6px) saturate(120%) contrast(110%);

    /* Crisper edges */
    border: 1px solid rgba(255, 215, 190, 0.18);

    /* Refined shadow (less muddy, more defined) */
    box-shadow:
        0 12px 30px rgba(0,0,0,0.55),
        inset 0 1px 0 rgba(255,255,255,0.12);
}

/* Title warmth */
.weather-map-filters h4 {
    color: #f3e7df; /* warm off-white */
    letter-spacing: 0.6px;
}

/* Labels feel sharper + warmer */
.weather-map-filters label {
    color: #e6d9cf;
    font-weight: 500;
}

/* Hover pop (subtle, classy) */
.weather-map-filters label:hover {
    color: #ffffff;
}

/* Warmer accent checkboxes */
.weather-map-filters input[type="checkbox"] {
    accent-color: #c98b6b; /* warm terracotta */
}

/* Divider: warmer glow */
.weather-map-filters .filter-divider {
    background: linear-gradient(
        to right,
        transparent,
        rgba(255, 210, 170, 0.22),
        transparent
    );
}

/* Shared responsive iframe rule */
#safety-map iframe,
#weather-map iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Aspect ratio control */
#safety-map::before {
  content: "";
  display: block;
  padding-bottom: 75%; /* ~4:3 ratio */
  min-height: 400px;   /* fallback on very small screens */
}

#weather-map::before {
  content: "";
  display: block;
  padding-bottom: 120%; /* taller ratio */
  min-height: 500px;
}

/* Default (desktop, large screens) already handled by aspect ratios */

/* Medium screens: tablets, small laptops */
@media screen and (max-width: 1024px) {
  #safety-map::before {
    padding-bottom: 65%; /* shorter box */
    min-height: 300px;
  }
  #weather-map::before {
    padding-bottom: 90%;
    min-height: 350px;
  }
}

/* Small screens: phones */
@media screen and (max-width: 768px) {
  #safety-map::before,
  #weather-map::before {
    padding-bottom: 60%; /* more compact */
    min-height: 250px;
  }

  #safety-map,
  #weather-map {
    width: 100%;   /* no left margin eating screen space */
    margin-left: 0;
    padding: 0 2.5vw;
    background-color: black;
  }
}

.time-wrapper {
  position: relative;
  overflow: visible !important;
  z-index: 10;
}

.time-select-fallback {
  position: absolute;
  top: 100%;          /* directly under the input */
  left: 0;
  width: auto;        /* let it size naturally */
  min-width: 100%;    /* at least as wide as the input */
  max-height: 200px;  /* scroll if too tall */
  background: #111;   /* match your modal */
  color: #fff;
  border: 1px solid #444;
  border-radius: 6px;
  z-index: 9999;
  display: none;      /* hidden until icon click */
}

.time-select-fallback.show {
  display: block;     /* toggle this with JS */
}

.time-select-fallback {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 100%;
  max-height: 200px;
  background: #111;
  color: #fff;
  border: 1px solid #444;
  border-radius: 6px;
  z-index: 9999;
  display: none; /* default hidden */
}

.time-select-fallback.show {
  display: block; /* shown when toggled */
}

/* Base style (works on desktop) already set */

/* On tablets and phones */
@media screen and (max-width: 768px) {
  .time-wrapper {
    position: static;       /* reset any weird positioning */
    overflow: visible !important;
  }

  .time-select-fallback {
    position: fixed;        /* take it OUT of table/modal flow */
    left: 50%;              /* center on screen */
    top: 50%;               /* middle of viewport */
    transform: translate(-50%, -50%);
    width: 70%;             /* big enough to tap */
    max-height: 50vh;       /* never taller than half the screen */
    font-size: 1.2rem;      /* touch-friendly */
    z-index: 99999;         /* above everything */
  }
}

.time-wrapper {
  position: relative;
  display: flex;
  align-items: center;  /* vertical center */
  gap: 6px;             /* spacing between input and icon */
  overflow: visible !important;
}
.time-wrapper input {
  flex: 1; /* input takes full width minus icon */
}
.time-icon {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Default desktop/tablet behavior */
.time-select-fallback {
  position: absolute;
  top: 100%;     /* directly under input */
  left: 0;
  width: max-content;
  min-width: 100%;
  max-height: 200px;
  background: #111;
  color: #fff;
  border: 1px solid #444;
  border-radius: 6px;
  z-index: 9999;
  display: none;
}
.time-select-fallback.show {
  display: block;
}

/* Mobile override */
@media screen and (max-width: 768px) {
  .time-select-fallback {
    position: fixed;  /* escape modal/table layout */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70%;
    max-height: 50vh;
    font-size: 1.2rem;
    z-index: 99999;
  }
}

@media screen and (max-width: 768px) {
  .time-wrapper {
    position: relative; /* keep anchor */
  }
  .time-select-fallback {
    position: absolute; /* relative to wrapper */
    top: 100%;          /* right below input */
    left: 0;
    width: 100%;        /* stretch across input */
    font-size: 1rem;    /* slightly bigger for touch */
    max-height: 40vh;   /* scrollable if too tall */
  }
}




/* === Universal Button Styling (pop-out only) === */
.btn,
.button,

.scroll-controls button,
.amenity-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 10px;
  transition: all 0.25s ease-in-out;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25);  /* ✅ subtle resting depth */
}

/* === Hover pop-out === */
.btn:hover,
.button:hover,
button:hover,

.scroll-controls button:hover,
.amenity-btn:hover {
  transform: translateY(-2px);               /* ✅ lift */
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);/* ✅ stronger pop shadow */
}

/* === Active (pressed down) === */
.btn:active,
.button:active,
button:active,

.scroll-controls button:active,
.amenity-btn:active {
  transform: translateY(0);                  /* back down */
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25); /* pressed shadow */
}

/* === Maximized popout tweaks === */
.maximized {
  overflow: hidden;         /* outer box itself doesn’t scroll */
  display: flex;
  flex-direction: column;   /* stack children vertically */
  align-items: stretch;
}

.maximized .content-scroll {
  flex: 1;                  /* take remaining space */
  overflow-y: hidden;         /* allow scrolling */
  padding-right: 0.5rem;    /* avoid cutoff with scrollbar */
  -webkit-overflow-scrolling: touch;
  box-sizing: border-box;
}

/* small helper styles for the JS wrapper */
.maximized-inner {
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  width: 100%;
  height: 100%;
  max-height: auto;
}

/* Constrain holidays list inside its box */
#holidays-list {
  max-height: 55vh;           /* keeps it from growing too tall */
  overflow-y: auto;           /* adds scroll inside */
  overflow-x: hidden;         /* prevent sideways overflow */
  box-sizing: border-box;
  padding: 0.5rem;
  margin: 0;
  list-style: none;
      width: auto;
    max-width: 50vw;
}

/* Constrain each holiday entry */
#holidays-list li {
  white-space: normal;        /* wrap long text */
  word-wrap: break-word;      /* break long words */
  overflow-wrap: break-word;  /* modern word breaking */
  line-height: 1.4;
  margin-bottom: 0.5rem;
  margin-top: 0.5rem;
}

/* === Currency Converter Wrapper === */
#currency-converter {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem;
  background: rgba(0, 0, 0, 0.45);
  border-radius: 10px;
  margin-bottom: 1rem;
  flex-wrap: nowrap; /* default row */
}

/* Shared look */
#currency-converter input[type="number"],
#currency-converter select,
#currency-converter #converted-amount,
#currency-converter .switch-btn {
  height: 34px;
  line-height: 34px;
  font-size: 0.95rem;
  text-align: center;
  border: 1px solid #ccc;
  border-radius: 6px;
  background: #fff;
  box-sizing: border-box;
  margin: 0 auto;
}

/* Input + Output */
#currency-converter input[type="number"],
#currency-converter #converted-amount {
  flex: 0 0 auto;
  -moz-appearance: textfield;
  appearance: textfield;
}
#currency-converter input[type="number"]::-webkit-outer-spin-button,
#currency-converter input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: auto;
}

/* Selects */
#currency-converter select {
  width: 85px;       /* slimmer, matches input line */
  flex: 0 0 auto;
}

/* Switch button */
#currency-converter .switch-btn {
  width: 34px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 700;
  transition: background 0.2s;
  margin: 0; /* ✅ even spacing */
}
#currency-converter .switch-btn:hover {
  background: black;
  color: white;
  border: none;
}

/* --- Responsive Layouts --- */

/* 1450px ↓ → stack with switch on own row */
@media (max-width: 1450px) and (min-width: 891px) {
  #currency-converter {
    flex-direction: column;
    align-items: center;
  }
  #currency-converter input,
  #currency-converter select,
  #currency-converter #converted-amount {
    width: 100%;
    max-width: 220px;  /* ✅ same for all (fixes thin amount box) */
  }
  #currency-converter .switch-btn {
    width: 60px;
    margin: 0.4rem auto; /* ✅ centered evenly */
  }
}

/* 890px ↓ → back inline row */
@media (max-width: 890px) {
  #currency-converter {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }
  #currency-converter input,
  #currency-converter #converted-amount {
    width: 60px;
  }
  #currency-converter select {
    width: 80px;
  }
  #currency-converter .switch-btn {
    width: 28px;
    margin: 0; /* inline again */
  }
}

/* 425px ↓ → ultra compact */
@media (max-width: 425px) {
  #currency-converter input,
  #currency-converter #converted-amount {
    width: 50px;
    font-size: 0.85rem;
  }
  #currency-converter select {
    width: 70px;
    font-size: 0.85rem;
  }
  #currency-converter .switch-btn {
    width: 24px;
    height: 28px;
    line-height: 28px;
    font-size: 0.8rem;
  }
}



#weather-container {
  visibility: hidden; /* hides content but keeps space */
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
}

#weather-container.show {
  visibility: visible;
  opacity: 1;
}


.mini-scroll-controls button:hover {
  background-color: orange;
  color: white;
}


/* ================================
   Forecast Containers
   ================================ */

/* Allow scrolling but hide scrollbars */
#hourly-forecast,
#five-day-forecast,
#daily-forecast,
#sixteen-day-forecast {
  overflow-x: auto !important;   /* override hidden from JS */
}

#hourly-forecast::-webkit-scrollbar,
#five-day-forecast::-webkit-scrollbar,
#daily-forecast::-webkit-scrollbar,
#sixteen-day-forecast::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}



/* ================================
   Forecast Cards
================================ */


.forecast-card {
  color: white;
  text-align: center;
}

.forecast-time,
.forecast-date {
  color: white;
}

.forecast-temp,
.forecast-min {
  color: black;
  font-weight: bold;
}

.forecast-icon {
  font-size: 2rem; /* bigger emoji */
  margin: 6px 0;
}

#weather-icon {
  width: 140px;
  height: 140px;
  display: block;
  margin: 8px auto 12px;
}

.main-temp {
  font-size: 1.6rem;
  font-weight: bold;
}




/* ================================
   Forecast Arrow Buttons
================================ */

#hourly-forecast {
  color: black;
}

.forecast-arrow {

  color: black !important;
  border: none;

  cursor: pointer;
  padding: 6px 10px;
  margin: 0 4px;
  font-size: 16px;
  transition: background-color 0.25s, color 0.25s;
}

.forecast-arrow:hover {
  color: orange !important;
}

/* Keep hidden buttons from collapsing space */
.forecast-arrow[style*="visibility: hidden"] {
  opacity: 0;
  pointer-events: none;
}


#hourly-forecast > div:nth-child() {
  color: black;
}


/* Force forecast containers into horizontal scroll rows */
#hourly-forecast,
#forecast-cards,
#long-term-forecast {
  display: flex;
  overflow-x: auto;
  gap: 10px;
  scroll-behavior: smooth;
}

#hourly-forecast .forecast-card,
#forecast-cards .forecast-card,
#long-term-forecast .forecast-card {
  flex: 0 0 180px;  /* or 200px if you want chunkier cards */
  margin: 0 6px;
  box-sizing: border-box;
}

.forecast-card {
  color: white;
  text-align: center;
}

.forecast-time,
.forecast-date {
  color: white;
}

.forecast-temp,
.forecast-min {
  color: black;
  font-weight: bold;
}

.forecast-icon {
  font-size: 2rem; /* makes emoji bigger */
  margin: 6px 0;
}

#weather-icon {
  width: 140px;
  height: 140px;
  display: block;
  margin: 8px auto 12px;
}


.skeleton-card {
  flex: 1;               /* stretch evenly in parent flexbox */
  min-height: 80px;      /* works on small screens */
  max-height: 180px;     /* avoid skyscraper cards */
  margin: 8px 0;
  border-radius: 6px;
  background: #444;
  position: relative;
  overflow: hidden;
}

.skeleton-card.shimmer::after {
  content: "";
  position: absolute;
  top: 0; left: -150px;
  height: 100%; width: 150px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  animation: shimmer 1.2s infinite;
}

#headlines {
  display: flex;
  flex-direction: column;
  justify-content: stretch;
  height: 100%;   /* fills container */
}



.skeleton-card {
  height: 30vh;
  margin: 8px 0;
  border-radius: 6px;
  background-color: #444;  /* solid base */
  position: relative;
  overflow: hidden;
}

.skeleton-card.shimmer::after {
  content: "";
  position: absolute;
  top: 0;
  left: -40%;              /* start further left */
  height: 100%;
  width: 40%;
  background: linear-gradient(
    90deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0.25) 50%,
    rgba(255,255,255,0) 100%
  );
  animation: shimmer 1.5s infinite;
  z-index: 1;              /* 👈 ensure overlay is above */
  pointer-events: none;    /* let clicks pass through */
}

@keyframes shimmer {
  100% { left: 100%; }
}











/* === Disable maximize/minimize for Currency & Country Info containers === */

/* Hide buttons visually */
#currency-container .maximize-btn,
#currency-container .close-btn,
#info-container .maximize-btn,
#info-container .close-btn {
  display: none !important;
}

/* Optional: keep layout stable if buttons had space */
#currency-container,
#info-container {
  pointer-events: auto;
}

/* Close button only looks active when maximized */
.snapshot-box:not(.maximized) .close-btn {
  opacity: 0.4;
  cursor: not-allowed;
}

/* Close button only looks active when maximized */
.snapshot-box.maximized .maximize-btn {
  opacity: 0.4;
  cursor: not-allowed;
}







/* Ideas Page */


.pinky-text {
  color: #e9d6d6;
}

.beige-text {
  color: beige;
}

.black-text {
  color: black;
}

.silver-text {
  color: silver;
}

#blurb > h3 {
  font-size: clamp(0.9rem, 2.2vw, 1.4rem);
  text-decoration: underline;
  text-decoration-style: dotted;
  text-underline-offset: 1vh;
}


#blurb  .pinky-text {
  color: #e9d6d6;
  color: #e8c6c6;
  color: #e8c6c6;
  color: #c4b5b5;
  color: beige;
}

/* Corner silhouettes */

.corner {
  max-width: 20vw;          /* scale safely on tablets */
  height: auto;
  pointer-events: none;    /* purely decorative */
}

/* ==========================================================
   HERO CONTAINER STABILITY
   Ensures hero never causes horizontal overflow
   ========================================================== */

.hero {
  position: relative;
  width: 100%;
  overflow-x: hidden;
}

/* ==========================================================
   GLOBE IMAGE — RESPONSIVE BUT CAPPED
   ========================================================== */

.globe {
  display: block;
  max-width: min(90vw, 1150px);
  width: 100%;
  height: auto;
  margin-inline: auto;
}

/* ==========================================================
   SEARCH FORM — ALWAYS CENTERED
   No right-shift, no overflow, all viewports
   ========================================================== */

.search-form {
  position: absolute;
  left: 50%;
  top: 70%;
  transform: translateX(-50%);
  max-width: min(85vw, 400px);
  width: 100%;
  box-sizing: border-box;
}

/* Inputs never exceed container */
.search-form input,
.search-form button {
  max-width: 100%;
  box-sizing: border-box;
}

.search-form input,
.search-form button {
  font-size: clamp(0.95rem, 2.5vw, 1.4rem);
}


/* ==========================================================
   TABLET & BELOW TUNING
   ========================================================== */

@media (max-width: 768px) {
  .search-form {
    top: 70%;
  }

  .corner {
    opacity: 0.15; /* softer on small screens */
  }
}

.search-form {
  position: absolute;
  left: 50%;
  top: 67%;
  transform: translateX(-50%);
  max-width: min(85vw, 420px);
  width: 100%;
  display: flex;
  align-items: center;
  z-index: 5;
}

/* INPUT */
.search-form input {
  flex: 1;
  padding: 14px 20px;
  font-size: clamp(0.95rem, 2.5vw, 1.2rem);
  border-radius: 999px 0 0 999px;
  border: none;
  outline: none;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.12);
  max-height: 3rem;
  height: auto;
}

/* BUTTON */
.search-form button {
  padding: 14px 26px;
  font-size: clamp(0.95rem, 2.5vw, 1.2rem);
  background: linear-gradient(135deg, #ff6a00, #ff8f2b);
  color: #fff;
  border: none;
  border-radius: 0 999px 999px 0;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  box-shadow: 0 6px 16px rgba(255, 106, 0, 0.35);
  width: fit-content;
  max-height: 3rem;
  height: auto;
}

/* HOVER / ACTIVE */
.search-form button:hover {
  background: linear-gradient(135deg, #ff7a1a, #ffa03c);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(255, 106, 0, 0.45);
}

.search-form button:active {
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(255, 106, 0, 0.35);
}

/* MOBILE TUNING */
@media (max-width: 768px) {
  .search-form {
    top: 70%;
  }
}


/* =========================================
   SEARCH BAR — SMALL SCREEN TIGHTENING
   Safe, cosmetic-only tweak
   ========================================= */

@media (max-width: 768px) {

  .search-form {
    max-width: min(85vw, 360px); /* slightly narrower */
  }

  .search-form input {
    padding: 10px 16px;          /* was 14px */
    font-size: clamp(0.9rem, 3vw, 1.05rem);
    max-height: 2.6rem;
  }

  .search-form button {
    padding: 10px 18px;          /* was 14px 26px */
    font-size: clamp(0.9rem, 3vw, 1.05rem);
    max-height: 2.6rem;
  }
}


#frank-credit a:hover {
  color: black !important;
  background-color: white;
  text-decoration: none;
  border-radius: 25px;
  border: 1px solid black;
  padding: 5px;
  font-weight: 450;
}
