@font-face {
  font-family: 'Overlook';
  src: url('/images/Overlook.otf');
}

.pb8 {
  padding-bottom: 20rem;
}

body {
  background: black;
}

* {
  font-family: Overlook;
}

nav {
  height: 100px;
  position: relative;
  z-index: 99999 !important; /* Forzamos a nivel global que el nav esté arriba de todo */
}

nav, footer {
  background: url('/images/pattern-fade.webp');
  background-size: 500px;
  background-position: 0 0;
}

footer {
  border-top : 8px solid black;
  background-color: rgba(0,0,0,.5);
  background-blend-mode: multiply;
}

nav li > a {
  text-transform: uppercase;
}

article {
  width: 80rem;
  margin-top: 80px;
  margin-bottom: 80px;

  color: #e7dcd9;
  background: #4e2325e0;

  border-radius: 4px;
}

article div.f4 {
  font-size: 1.4rem;
}

main.pb7 {
  padding-top: inherit;
  padding-bottom: inherit;
}

.nohead header > div > div {
  display: none;
}

.notitle article header h1 {
  display: none;
}

/* ========================================================
   DISEÑO UNIFICADO DE LOS BOTONES ORIGINALES DEL MENÚ
   ======================================================== */
nav .menuitem {
  height: 50px !important;       
  line-height: 50px !important;  
  display: inline-block !important;
  text-align: center !important;
  margin: 0 2px !important;                 
  margin-top: 13px !important;   
  padding: 0 22px !important;    
  vertical-align: middle !important; 

  background: rgba(0,0,0,0.7);
  background-position: center;
  background-repeat: no-repeat;
}

nav .menuitem span {
  font-size: 20px;
  display: inline-block;
  vertical-align: middle;
  line-height: normal;
}

@media screen and (max-width: 60em) {
  nav .menuitem {
    line-height: inherit !important;
    max-width: inherit !important;
    margin: 0 !important;
    width: 100% !important;
    padding: 10px !important;
    height: auto !important;
  }
}

nav div.menuitem {
  margin-right: 8px;
  border-radius: 24px;
  position: relative;
  z-index: 2;
  color: #e95d21;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 16px;
}

nav .menuitem:hover {
  color: #641518;
  background: #bb4b1a;
}

nav img {
  top: -15px;
  height: 100px;
  z-index: 10;
  position: relative;
}
nav .decor {
  position: absolute;
  z-index: 1;
  top: 0px;
  left: 300px;
  right: 0;
  background: #151512;
  height: 190px;
  display: inline-block;
}

.fullwidth article {
  width: 48rem;
}

.faq details summary {
  margin-top: 1em;
  font-weight: bold;
}

.faq details summary:hover {
  cursor: pointer;
}

.faq details p {
  font-size: 0.9em;
}

/* Remove the default triangle */
.faq summary {
  display: block;
}

/* Create a new custom triangle on the right side */
.faq summary::before {
  display: inline-block;
  transition: 0.2s;
  margin: 1ch;
  width: 1em;
}

.faq details>summary::before {
  content: '(+) ';
}

.faq details[open]>summary::before {
  content: '(-) ';
}

.faq details[open] > summary::after {
  transform: rotate(90deg);
}

.faq hr {
  border: 1px dashed white;
  opacity: 0.5;
}

@media screen and (min-width: 40em) {
  .ficha-sala {
    display: flex;
  }
}

.ficha-sala h1 {
  margin-top: 0;
}

.ficha-sala > div {
  flex: 1;
  margin: 0 1em;
}

.ficha-sala img {
  background: black;
  max-height: 800px;
}

.datos {
  display: flex;
  flex-wrap: wrap;
  text-transform: uppercase;
  gap: 4px;
}

.datos .cuadro {
  height: 120px;
  font-size: 15px;
  flex: 1;
  border: 2px solid black;
  border-radius: 10px;
  padding: 4px;
  padding-top: 34px;
  text-align: center;
}

.datos .cuadro b {
  display: block;
}

.datos .reservar a {
  color: white !important;
  text-decoration: none;
}

.datos .reservar {
  flex: 1;
  background: #df5f18;
  border-color: #873d2a;
  font-weight: bold;
}

.nested-links a {
  color: #df5e18;
}

.nested-links a:hover {
  color: #e39e78;
}
a.instagram:hover {
  color: #df5e18 !important;
}

.ma0 .pv5 {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.f1 {
  text-transform: uppercase;
}

.contacto .gmaps {
  width: 100%;
  border: 4px solid #873d2a;
  border-radius: 16px;
  line-height: 0;
}

.contacto .gmaps iframe {
  border: 0px;
  background: white;
  filter: invert(0.8) hue-rotate(0.5turn) saturate(0.6) contrast(1.4);
}

main {
  background: #000000;
}

.index main {
  padding-top: 1.5em;
  padding-bottom: 6em;
}

.index article {
  margin-top: 20px !important;
  margin-bottom: 40px !important;
}

article .precios {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
}

.precios .precio img {
  vertical-align: middle;
  height: 150px;
}

.precios .precio .valor {
  color: #e95d21;
  font-weight: bold;
}

article .precios .precio {
  flex: 0 1 auto;  
  margin: 10px 20px;
  text-align: center;
}

article .precios .precio .icon,
article .precios .precio .jugadores {
  width: 150px;
}

#precios {
  color: #e95d21;
  text-align: center;
}

.btn-whatsapp {
  background: url('/images/whatsapp.png');
  background-size: cover;
  width: 80px;
  height: 80px;
  position: fixed;
  right: 10px;
  bottom: 80px;
  z-index: 99999 !important; /* Arriba de todo siempre */
}

.index .splide {
  margin-bottom: 40px;
  position: relative;
  z-index: 1; /* Forzamos el carrusel a quedarse en una capa baja */
}

.splide .splide__list li {
  padding: 0 20px;
}

.splide .splide__list img {
  border-radius: 20px;
}

@media screen and (max-width: 60em) {
  nav:not(.open) .menuitem {
    display: none !important;
  }
  nav.open {
    height: auto !important;
    background: rgba(0,0,0,0.98) !important;
  }
}

.pb7 article.mw7 {
  max-width: 90vw;
}

main .center article {
  max-width: 90vw;
}

.menutoggle {
  display: none;
}

@media screen and (max-width: 60em) {
  .menutoggle {
    display: inline-block;
    position: absolute;
    top: 1em;
    right: 1em;
    width: 64px;
    height: 64px;
    background: url('/images/menu.webp') center;
    background-size: 128px;
    filter: invert(100%);
    z-index: 100000 !important;
  }
  .menutoggle:hover {
    cursor: pointer;
  }
}

/* ========================================================
   ARREGLO DEFINITIVO PARA EL BOTÓN "RESERVAR"
   ======================================================== */

nav a[href*="reservas.escapeoverlook.com.ar"] {
  color: #ffffff !important;
  font-weight: bold !important;
  text-decoration: none !important;
  box-sizing: border-box !important;
}

nav a[href*="reservas.escapeoverlook.com.ar"] * {
  display: none !important;
}

nav a[href*="reservas.escapeoverlook.com.ar"]::after {
  content: "RESERVAR" !important;
  font-family: Overlook, sans-serif !important;
  text-transform: uppercase !important;
  display: inline-block !important;
}

/* ESCRITORIO */
@media screen and (min-width: 60.01em) {
  nav a[href*="reservas.escapeoverlook.com.ar"] {
    background: #800000 !important; 
    border-radius: 24px !important; 
    display: inline-block !important;
    position: relative !important; 
    overflow: visible !important;
    
    height: 50px !important;
    line-height: 50px !important;
    margin-top: 13px !important;    
    padding: 0 26px !important; 
    vertical-align: middle !important; 
    box-shadow: 0 4px 0 #550000, inset 0 -2px 5px rgba(0,0,0,0.5) !important;
  }

  nav a[href*="reservas.escapeoverlook.com.ar"]::after {
    font-size: 20px !important;
  }

  nav a[href*="reservas.escapeoverlook.com.ar"]::before {
    display: block !important;
    content: "" !important;
    position: absolute !important;
    top: 48px !important; 
    left: 24px !important;
    width: 6px !important;
    background: #800000 !important;
    border-radius: 0 0 6px 6px !important; 
    z-index: 5 !important;
    
    box-shadow: 
      32px 6px 0 0 #800000,   
      64px 16px 0 0 #800000,   
      96px 4px 0 0 #800000 !important;  
      
    animation: sangreChorreando 4s ease-in-out infinite !important;
  }

  nav a[href*="reservas.escapeoverlook.com.ar"]:hover {
    background-color: #b30000 !important;
    box-shadow: 0 4px 0 #770000, inset 0 -2px 5px rgba(0,0,0,0.3) !important;
  }
  nav a[href*="reservas.escapeoverlook.com.ar"]:hover::before {
    background: #b30000 !important;
    box-shadow: 
      32px 6px 0 0 #b30000,   
      64px 16px 0 0 #b30000,   
      96px 4px 0 0 #b30000 !important;
  }
}

/* CELULARES (MOBILE) - INTEGRADO 100% SIN CLASES INVENTADAS */
@media screen and (max-width: 60em) {
  nav:not(.open) a[href*="reservas.escapeoverlook.com.ar"] {
    display: none !important; /* Se esconde y se muestra igual que .menuitem */
  }

  nav.open a[href*="reservas.escapeoverlook.com.ar"] {
    display: inline-block !important;
    width: 100% !important;
    max-width: inherit !important;
    margin: 0 !important;
    padding: 10px !important;
    height: auto !important;
    line-height: inherit !important;
    border-radius: 0 !important; 
    box-shadow: none !important;
    background: #800000 !important; 
    text-align: center !important;
  }

  nav.open a[href*="reservas.escapeoverlook.com.ar"]::after {
    font-size: 20px !important;
  }

  nav a[href*="reservas.escapeoverlook.com.ar"]::before {
    display: none !important;
  }
}

@keyframes sangreChorreando {
  0% { height: 6px; opacity: 1; }
  55% { height: 38px; opacity: 1; }
  85% { height: 52px; opacity: 0; }
  100% { height: 6px; opacity: 0; }
}
