.container-landing {
  height: clamp(350px, 40vh, 500px);
  min-height: fit-content;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 94vw;
  margin: 10px auto;
  color: var(--cerulean);
  text-align: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 20px;
  overflow: hidden;
}

/* pictures for mosaic in container landing */
.pic-santa-justa-lift {
  background-image: url("../images/santa-justa-lift-300x464.jpg");
}

.pic-bridge-1 {
  background-image: url("../images/lisbon-sailboat-under-bridge-800x531.jpg");
}

.pic-belem-tower-1 {
  background-image: url("../images/lisbon-belem-tower-768x768.jpg");
}

.pic-spa-viewpoint {
  background-image: url("../images/spa-viewpoint-bairro-alto.webp");
}

.pic-tram28-1 {
  background-image: url("../images/lisbon-tram28-alfama.jpg");
}

.pic-commerce-square-1 {
  background-image: url("../images/commerce-square-2-400x267.jpg");
}

/* Header Banners */
.tours-banner {
  background-image: url("../images/bridge-christ-cloudy-bw.jpg");
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  min-height: 300px;
}

.tours-banner-motto {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  font-size: 2rem;
  text-shadow:
    -1px -1px 0 #fff,
    1px -1px 0 #fff,
    -1px 1px 0 #fff,
    1px 1px 0 #fff;
}

.bohemian-lisbon-hb {
  background-image: url("../images/spa-viewpoint-bairro-alto.webp");
}

.free-walking-tours-hb {
  background-image: url("../images/carmo-church-side-door.webp");
}

.tours-beyond-lisbon-hb {
  background-image: url("../images/lisbon-castle-entrance-bridge.jpg");
}

.tuk-tuk-tours-hb {
  background-image: url("../images/lisbon-river-landrover-1-1200x800.jpg");
}

.blog-hb {
  background-image: url("../images/lisbon-castle.jpg");
}

.sleep-hb {
  background-image: url("../images/gloria-funicular.webp");
}

.moving-around-hb {
  background-image: url("../images/carmo-church-back-view-downtown.webp");
}

.sightseeing-hb {
  background-image: url("../images/lisbon-cathedral-sideview-to-river.webp");
}

.eat-and-drink-hb {
  background-image: url("../images/fernando-pessoa-statue-brasileira-cafe.webp");
}

/* END of Header Banners */

.image-title {
  font-size: 2.5rem;
  line-height: normal;
  text-shadow:
    -2px -2px 0 var(--brunswick-green),
    2px -2px 0 var(--brunswick-green),
    -2px 2px 0 var(--brunswick-green),
    2px 2px 0 var(--brunswick-green);
}

/*** product page ***/

.single-tour-container {
  max-width: 1200px;
  margin: 0 auto;
}

.prod-bar-title,
.section-bar-title {
  position: sticky;
  top: 90px;
  height: 60px;
  min-height: fit-content;
  border-radius: 10px;
  margin: 0px 1vw;
  display: flex;
  justify-content: center;
  align-items: center;
}

.prod-bar-title {
  background-color: var(--brunswick-green);
  color: #fff;
}

.section-bar-title {
  width: 96vw;
  margin: 5px 2vw;
  color: var(--brunswick-green);
  background-color: #fff;
  border: 4px solid var(--brunswick-green);
  border-radius: 10px;
}

.prod-btns-bar {
  display: flex;
  justify-content: space-around;
  align-items: center;
  position: sticky;
  bottom: -2px;
  height: 80px;
  margin-top: 10px;
  background-color: var(--cerulean);
}
.prod-icons-bar {
  display: flex;
  align-self: center;
  justify-content: space-around;
  align-items: center;
  height: 60px;
  width: 100%;
  margin: 30px auto;
  background-color: #fff;
  border: 4px solid var(--cerulean);
  border-radius: 10px;
}

.prod-bar-title,
.section-bar-title,
.prod-btns-bar {
  z-index: 997;
}

.prod-icons-bar {
  z-index: 996;
}

.prod-bar-btn {
  align-content: center;
  font-size: 1.35rem;
  font-weight: 900;
  padding: 8px 16px;
  border: 4px solid #fff;
  border-radius: 10px;
  background-color: #fff;
  color: var(--cerulean);
  text-decoration: none;
  cursor: pointer;
}

.prod-bar-btn:hover {
  background-color: var(--cerulean);
  color: #fff;
}

.rest-of-page-content {
  z-index: 9999;
  margin: 20px auto;
  max-width: 94vw;
}

#bookTourModal,
.w3-modal {
  z-index: 998;
}

/*** For the blog posts ***/

.blog-post-sidebar {
  margin-top: 100px;
  border-left: 2px solid gray;
  min-height: 90vh;
  height: fit-content;
}

.blog-image {
  width: 100%;
  border-radius: 20px;
  margin: 1rem auto;
}

.blog-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 10px auto;
}

.text-over-banner {
  /* position: absolute;
  left: 50%;
  bottom: 2%;
  transform: translateX(-50%);
  width: 90%; */
  border-radius: 5px;
  background-color: rgba(255, 255, 255, 0.8);
  padding: 10px 2%;
  font-size: 1.8rem;
  text-align: center;
  box-sizing: border-box;
  word-break: break-word;
}

.square-cards {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  text-decoration: none;
  text-align: center;
  padding: clamp(5px, 10px, 15px);
  margin: clamp(2px, 5px, 8px);
  cursor: pointer;
}

.square-cards img {
  width: 96%;
  min-height: 200px;
  height: clamp(200px, 250px, 300px);
  margin: 2%;
  object-fit: cover;
  object-position: center;
}

.square-cards-title {
  flex: 0 0 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 10px auto;
  padding: 5px;
  height: 100px;
  box-sizing: border-box;
}

.square-cards-title h4 {
  font-size: 1.35rem;
  font-weight: 600 !important;
  padding-left: 5%;
  padding-right: 5%;
}

.fwt-main-div {
  align-items: center;
  background: var(--brunswick-green);
  border-radius: 10px;
  color: #fff;
}

.fwt-squares-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
}

.fwt-squares {
  min-width: 300px;
  max-width: 340px;
  background-color: #fff;
  border-radius: 20px;
  margin: 8px;
  padding: auto 10px;
  color: var(--brunswick-green);
}

.article-content {
  padding: 10px;
  margin: 0 auto;
  max-width: 95%;
}

.article-content ul {
  padding: 15px auto;
}

.article-content a {
  color: var(--fire-brick);
  text-decoration: underline;
}

.price-on-cards {
  color: #fff;
  font-weight: 500;
  background-color: var(--cerulean);
  padding: 10px;
  border: var(--cerulean) 2px solid;
  border-radius: 10px;
}
.price-on-cards:hover {
  color: var(--cerulean);
  background-color: #fff;
}
.ma-item {
  min-height: fit-content;
  max-width: 320px;
}

/* For the CAROUSEL on the .squared-cards */
.carousel-container {
  display: flex;
  justify-content: center;
  position: relative;
  min-height: fit-content;
}

.carousel {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  width: 100%;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  background: rgba(255, 255, 255, 0.9);
  border: 3px solid var(--cerulean);
  color: var(--cerulean);
  font-size: 1.25rem;
  padding: 0.5em 0.8em;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s;
}

.carousel-btn.left-btn {
  left: 8px;
}

.carousel-btn.right-btn {
  right: 8px;
}

.carousel-btn:hover {
  border: 3px solid #fff;
  background: var(--cerulean);
  color: #fff;
}

.carousel::-webkit-scrollbar {
  display: none; /* Hide scrollbar for cleaner UI */
}

/**** For the SLIDESHOW ****/
.slideshow-container {
  position: relative;
  width: 100%; /* Full width */
  max-width: 800px; /* Optional: Limit the maximum width */
  margin: 2vh auto;
  border-radius: 10px;
  overflow: hidden;
}

.slideshow-container .mySlides {
  position: relative;
  width: 100%;
  height: 0;
  padding-top: 56.25%; /* 16:9 aspect ratio (height/width * 100) */
  overflow: hidden;
}

.slideshow-container .mySlides img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures the image covers the container while maintaining aspect ratio */
  object-position: center;
}

/* Hide the images by default */
.mySlides {
  display: none;
}

.mySlides.active {
  display: block; /* Show only the active slide */
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.slideshow-dots-container {
  text-align: center;
}

.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active,
.dot:hover {
  background-color: #717171;
}

.single-product-details {
  padding: 20px auto;
}

/* Fading animation */
.fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 1.5s;
  animation-name: fade;
  animation-duration: 1.5s;
}

/* Thumbnail container */
.thumbnail-container {
  display: none;
  /* display: flex;
  justify-content: center;
  margin-top: 10px; */
}

/* Thumbnail images */
.thumbnail {
  cursor: pointer;
  width: 100px;
  margin: 0 5px;
}

.thumbnail img {
  width: 100%;
  border-radius: 5px;
  transition: transform 0.3s;
}

.thumbnail img:hover {
  transform: scale(1.1);
}

.responsive-heading {
  font-size: 1.3em;
  word-break: break-word;
  white-space: normal;
  overflow-wrap: break-word;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-question {
  color: var(--cerulean);
  border: 3px solid var(--cerulean);
  width: 90vw;
  max-width: 800px;
  text-align: center;
  padding: 10px;
  font-size: 1.25rem;
  cursor: pointer;
  border-radius: 10px;
  margin-top: 28px;
  /* margin: 4px auto; */
}

/* PRODUCT TABS */
.tour-details-anchor {
  height: 160px;
}

.prod-details-container {
  width: 94vw;
  max-width: 800px;
  margin: -30px auto 30px;
}

.tabs {
  color: var(--brunswick-green);
  border: 4px solid var(--brunswick-green);
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
}

/* Style the buttons inside the tab */
.tabs button {
  display: inline-flex;
  justify-self: center;
  background-color: inherit;
  color: var(--brunswick-green);
  border: 3px solid var(--brunswick-green);
  border-radius: 10px;
  outline: none;
  cursor: pointer;
  margin: 6px;
  padding: 6px;
  transition: 0.3s;
  font-size: 1.25rem;
}

/* Change background color of buttons on hover */
.tabs button:hover {
  border: 3px solid var(--cerulean);
  color: var(--cerulean);
}

/* Create an active/current tablink class */
.tabs button.active {
  color: #fff;
  background-color: var(--brunswick-green);
}

/* Style the tab content */
.tabcontent {
  display: none;
  padding: 30px 12px;
  border: 4px solid var(--brunswick-green);
  border-top: none;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
}

.sp-tabs-paragraph {
  margin-bottom: 15px;
  line-height: 1.6rem;
}

/* Style the reviews */
.review {
  margin-bottom: 10px;
}

/***** categories, for districs' cards *****/

.categories {
  border-radius: 10px;
  margin: 0px 12px;
  min-height: 200px;
  max-height: 300px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  cursor: pointer;
}

.categories h3 {
  color: #fff;
  font-weight: 400;
  text-transform: capitalize;
}

/* Form fields  */

form input,
form select {
  width: 100%;
  display: block;
  margin: 10px auto;
  padding: 5px;
  border-radius: 5px;
}

.svg-icon {
  width: 60%;
  max-height: 50px;
  margin: 0 auto;
}

.plane-icon {
  color: #fff;
  width: 1.2em;
  height: 1.2em;
  padding: 2px;
  margin: 3px;
  vertical-align: middle;
  display: inline-block;
  /* transition: color 0.2s; */
}

.plane-icon:hover {
  /* background-color: var(--cerulean); */
  color: var(--cerulean);
}

/* *******************************
***********   Footer   ***********
******************************* */
footer {
  font-size: 1.2rem;
  display: block;
  margin: 0;
}

.footer-upper-bar {
  background-color: var(--cerulean);
  color: #fff;
  width: 100%;
  margin: 0;
}

/* Wavy top */
.nlf-top-wave {
  content: "";
  display: block;
  margin: -5px auto;
  width: 100%;
  height: 8vh;
  background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1440 48" xmlns="http://www.w3.org/2000/svg"><path fill="%23fff" transform="scale(1,-1) translate(0,-48)" d="M0,24 Q45,48 90,24 T180,24 T270,24 T360,24 T450,24 T540,24 T630,24 T720,24 T810,24 T900,24 T990,24 T1080,24 T1170,24 T1260,24 T1350,24 T1440,24 L1440,48 L0,48 Z"/></svg>')
    no-repeat top center;
  background-color: var(--cerulean);
  background-size: cover;
  z-index: 2;
}

/* Wavy bottom */
.nlf-bottom-wave {
  content: "";
  display: block;
  margin: -5px auto;
  width: 100%;
  height: 8vh;
  background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1440 48" xmlns="http://www.w3.org/2000/svg"><path fill="%23fff" d="M0,24 Q45,0 90,24 T180,24 T270,24 T360,24 T450,24 T540,24 T630,24 T720,24 T810,24 T900,24 T990,24 T1080,24 T1170,24 T1260,24 T1350,24 T1440,24 L1440,48 L0,48 Z"/></svg>')
    no-repeat bottom center;
  background-color: var(--cerulean);
  background-size: cover;
  z-index: 2;
}

.footer-lower-bar {
  color: var(--cerulean);
  background-color: #fff;
  /* border-top: 4px solid var(--cerulean); */
}

.footer-upper-bar input {
  margin-top: 10px;
  padding: 5px;
}
.copyright-text {
  margin-top: 24px;
}

.up-arrow {
  padding: 8px;
}

/* Cookies Accept Banner */

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #333;
  color: white;
  padding: 10px;
  text-align: center;
  display: none;
  z-index: 1000;
}

.cookie-banner button.accept {
  background-color: #4caf50;
  color: white;
  border: none;
  padding: 10px 20px;
  margin: 10px;
  cursor: pointer;
}

.cookie-banner button.refuse {
  background-color: #f44336;
}
.cookie-banner a {
  color: #00bcd4;
  text-decoration: underline;
}

/* form fields */
.tour-form-contacts input {
  display: block;
  margin-top: 5px;
}

#bookTourModal .w3-modal-content {
  padding: 10px 5px;
  box-sizing: border-box;
  position: relative;
  max-width: 800px;
  width: 96%;
}

/* Center the form fields */
#bookTourModal form {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

#bookTourModal form input,
#bookTourModal form select,
#bookTourModal form button {
  margin: 10px 0;
  width: 96%;
  max-width: 600px;
}

.book-modal-table {
  min-width: 320px;
  width: 80vw;
  max-width: 600px;
  border: 3px solid var(--brunswick-green);
  border-radius: 20px;
  padding: 0 20px;
}

.book-modal-table p {
  justify-self: center;
  min-height: 60px;
}
.book-modal-table span {
  padding: 15px 10px;
}

/**** Keyframes ***/

@-webkit-keyframes fade {
  from {
    opacity: 0.4;
  }
  to {
    opacity: 1;
  }
}

@keyframes fade {
  from {
    opacity: 0.4;
  }
  to {
    opacity: 1;
  }
}
