/*
Theme Name: NextLevel Guide
Theme URI: --
Description: NextLevel Guide
Version: 1.0.0
Author: Imagine Virtual
Author URI: https://www.imaginevirtual.com/
Text Domain: NextLevel Guide
*/

/* General */
:root {
  --primary-color: #333333;
  --secundary-color: #964848;
  --primary-font: 'Playfair Display', serif;
}
html {
  scroll-behavior: smooth;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: bold;
  margin: 0;
  color: var(--primary-color);
}

p,
div,
span {
  font-family: 'Work Sans', sans-serif;
}
.site {
  padding-top: 80px;
}

/* Header */
header {
  /*  background-color: var(--secundary-color); */
  background: white;
  height: 130px;
  display: flex;
  flex-direction: row;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 100;
  /* box-shadow: 0 0 5px silver; */
}
.scrolled {
  height: 90px;
}
header .container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}
.logo-site {
  width: 100%;
  max-width: 100px;
  padding: 10px;
  transition: all 0.3s ease;
}
.scrolled .logo-site {
  max-width: 65px;
  transition: all 0.3s ease;
}
.slick-next {
  right: 25px !important;
  top: 62%;
}
.slick-next:before {
  content: '>';
  font-family: monospace;
  font-size: 40px;
}
.slick-prev {
  left: 25px !important;
  top: 62%;
  z-index: 1;
}
.slick-prev:before {
  content: '<';
  font-family: monospace;
  font-size: 40px;
}
/* Navigation
--------------------------------------------- */
.main-navigation {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
}
.main-navigation ul {
  display: none;
  list-style: none;
  margin: 0;
  padding-left: 0;
}
.children {
  display: none !important;
  position: absolute;
  background-color: #661616;
  padding: 20px;
  transition: all 0.3s ease;
}
.page_item_has_children {
  position: relative;
}
.page_item_has_children:hover .children {
  display: block !important;
  transition: all 0.3s ease;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
  display: block;
  left: auto;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
  left: auto;
}

.main-navigation li {
  position: relative;
}

.main-navigation a {
  display: block;
  text-decoration: none;
  color: rgb(0, 0, 0);
  padding: 10px;
  text-transform: uppercase;
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
  display: flex;
  position: relative;
  text-align: center;
  flex-direction: column;
  justify-content: center;
  align-content: center;
}

@media screen and (min-width: 1170px) {
  .menu-toggle {
    display: none;
  }
  .menu ul {
    display: flex;
  }
}

.fa-times {
  display: none;
}
.fa-bars {
  display: block;
  margin: 0 auto;
  color: black;
}

.featured-option {
  border: 2px solid #b5b5b5;
  font-weight: bold;
  margin-left: 15px;
}

@media screen and (max-width: 1170px) {
  .menu .button,
  .menu a {
    padding: 0.3rem;
  }

  nav ul li a {
    font-size: 16px;
  }

  .menu-toggle {
    border: 0;
    color: #ffffff;
    font-weight: 400;
    font-size: 19px;
    z-index: 1;
    border-radius: 0;
    padding: 5px 0px;
    width: 46px;
    margin-top: 25px;
  }

  .fa-times {
    display: none !important;
  }

  .toggled .fa-bars,
  .toggled .burguer {
    display: none;
  }

  .toggled .fa-times {
    display: block !important;
    padding: 0px 15px;
    border: 0;
  }

  #primary-menu {
    position: absolute;
    top: 17vh;
    z-index: 10000;
    left: 0;
    width: 100%;
    padding: 25px;
    justify-content: space-evenly;
    align-items: center;
  }

  .toggled #primary-menu {
    background: white;
    min-height: 30vh;
    width: 100%;
    left: -85vw;
    position: absolute;
    min-width: 100vw;
    top: 50px;
  }

  .main-navigation a {
    color: black;
    padding: 0.5rem;
    font-size: 18px;
    text-align: center;
    float: unset;
    margin: 0px;
    font-weight: bold;
  }
  .children {
    display: flex !important;
  }
}

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  background-color: #f1f1f1;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  clip-path: none;
  color: #21759b;
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex='-1']:focus {
  outline: 0;
}

.lazy-bg {
  background-color: #ccc; /* Para testar se a div está visível */
  min-height: 300px; /* Garante altura mínima para ativar o lazy loading */
  background-size: cover;
  background-position: center;
  transition: background-image 0.3s ease-in-out;
}
/* General */
.container {
  max-width: 1440px;
  width: calc(100% - 40px);
  margin: 0 auto;
  padding: 0 20px;
}

.flex-content {
  display: flex;
  flex-direction: row;
  gap: 20px;
}

.btn {
  background: #ff9900;
  padding: 10px;
  border-radius: 10px;
  color: #ffffff;
  border-bottom: 4px solid black;
  font-weight: 600;
  text-decoration: none;
  height: fit-content;
  min-width: fit-content;
}
.flex-row {
  flex-direction: row;
  display: flex;
  justify-content: space-between;
}
/* Homepage navigation */
.places-to-shop-section,
.places-to-visit-section,
.thingstodo-section,
.rooftops-section,
.bars-section,
.places-to-eat-section,
.hotel-map-section,
.metro-section {
  position: relative;
  padding: 20px 0;
}
#places-to-shop-section,
#places-to-visit-section,
#thingstodo-section,
#rooftops-section,
#bars-section,
#places-to-eat-section,
#hotel-map-section,
#metro-section {
  position: absolute;
  top: -105px;
}

/* Homepage design*/
.slider-section {
  margin-top: 50px;
}
.slide-content {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 20px;
}
.slide-title {
  font-size: 4rem;
  font-family: var(--primary-font);
  text-transform: uppercase;
  color: #ffffff;
  text-shadow: 0px 2px 1px #000000;
  position: absolute;
  bottom: 31px;
}
.slide-image {
  width: calc(100% - 20px);
  height: 55vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  margin: 10px;
  border-radius: 15px;
}

.metro-section {
  margin: 50px auto;
}
.metro-logo {
  max-width: 50px;
}
.metro-map img {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  display: block;
}
.mid-title {
  font-family: var(--primary-font);
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 20px;
}
.left {
  text-align: left;
}
.center {
  text-align: center;
}
.right {
  text-align: right;
}

.places-to-visit .place {
  display: flex;
  gap: 40px;
  border-bottom: 1px solid;
  padding: 0 0 20px;
  margin-bottom: 25px;
  justify-content: space-between;
}
.places-to-visit .place img {
  min-height: 200px;
  max-width: 200px;
  border-radius: 15px;
}
.places-to-visit .place-info {
  border-radius: 15px;
  padding: 0 23px;
  color: #000000;
  width: 100%;
  min-height: 135px;
}
.place-title {
  font-family: var(--primary-font);
  font-size: 1.2rem;
  font-weight: bold;
  margin: 10px 0;
}
.places-to-eat {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.places-to-eat .place {
  overflow: hidden;
  position: relative;
  width: calc(33% - 20px);
}

.places-to-eat-image,
.places-to-visit-image {
  min-height: 250px;
  width: 97%;
  display: block;
  border-radius: 15px;
  background-size: cover;
  background-position: center;
}
.vegan-section {
  background: #357447;
  color: white;
}
.vegan-section .mid-title {
  color: white;
}
.place-info {
  padding: 5px 0 20px;
  min-height: 130px;
}

.places-to-shop-section {
  margin-top: 50px;
}

.places-to-shop .place {
  min-height: 450px;
}

.bars-slide .place,
.rooftops-slide .place {
  min-height: 385px;
}
/* Error  Page */
.page-template-default .main-content-default,
.error-404 {
  padding: 75px 0;
}

/*-----------------------------------
Footer
 -----------------------------------*/
.footer-container {
  background: black;
  min-height: 100px;
  margin-top: 50px;
  padding-top: 50px;
  color: white;
}
.footer-container a {
  color: white;
  font-weight: bold;
}

/*-----------------------------------
 GO BACK 
 -----------------------------------*/
#back-to-top.show {
  opacity: 1;
}

#back-to-top {
  position: fixed;
  bottom: 85px;
  right: 15px;
  z-index: 9999;
  width: 32px;
  height: 32px;
  text-align: center;
  line-height: 30px;
  background: var(--primary-color);
  color: #fff;
  cursor: pointer;
  border: 0;
  border-radius: 2px;
  text-decoration: none;
  transition: opacity 0.2s ease-out;
  opacity: 0;
}

/*-------------------------------------- MEDIA QUERIES ------------------------------ */
.mobile {
  display: none !important;
}

.desktop {
  display: block !important;
}

@media screen and (max-width: 1170px) {
  .mobile {
    display: block !important;
  }

  .desktop {
    display: none !important;
  }
  .container {
    max-width: 100%;
  }
  .flex-content {
    flex-direction: column;
    justify-content: center;
  }
  .places-to-visit {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
  }
  .places-to-visit .place {
    width: calc(50% - 20px);
  }
  .places-to-visit .place {
    flex-wrap: wrap;
  }
  .places-to-visit .place img {
    max-width: 100%;
  }
  .places-to-eat .place {
    width: calc(50% - 20px);
  }
}
