/*CSS GENERAL */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-image: url(/Recursos/101851.webp);
  background-color: #0a0a0a;

  color: whitesmoke;
  width: 100%;
  overflow-x: hidden;
}

h5, h2, h1, h3{
  font-family: "Style Script", cursive;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.9);
}


/*.................WSP ESTATICO.................*/
.wsp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;

  width: 60px;
  height: 60px;

  background-color: #25D366;
  color: white;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;
  font-size: 35px;

  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}
.wsp-float:hover {
  transform: scale(1.1);
}

/*........... DIV NAV..........*/
nav {
  width: 100%;
  background-color: rgba(0,0,0,0.45);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2px 15px;
}
#mobile-menu-btn {
  display: none;
}

#LOGO {
  height: 4rem;
}
.menu-dropdown{
  width: 50%;
  margin-left: 20px;
  margin-left: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: large;
}

.nav_redes {
  display: flex;
  align-items: center;
  text-align: center;
  gap: 15px;
}
.nav_redes p{
  justify-items: center;
  align-items: center;
  margin: 0;
}
.nav_redes a{
  color:#ffffff;
}
.nav_redes a:hover{
  transform: scale(1.5);
  color:#b22323;
}
.menu-dropdown a{
  color: white;
  text-decoration: none;
}

.menu-dropdown a:hover{
  transform: scale(1.2);
}

/* NAV LATERAL FLOTANTE AL HACER SCROLL*/
.nav-lateral {
  position: fixed;
  right: 20px;
  top: 65%;
  transform: translateY(-50%); /* ← ESTE es el translate clave */
  
  width: auto;
  flex-direction: column;
  justify-content: center;
  gap: 12px;

  padding: 8px 6px;
  border-radius: 30px;
  z-index: 999;

  background-color: rgba(0,0,0,0.6);
  backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.nav-lateral .menu-dropdown {
  margin: 0;
  flex-direction: column;
  width: auto;
  justify-content: center;
}
.nav-lateral .nav_redes p {
  display: none;
}
/*...................HEAD CABECERA................*/
#head {
  height: auto;
  position: relative;
  overflow: hidden;
  flex-direction: column;

}
#head::before{
  
  content: "";
  position: absolute;
  inset: 0;
  background-image: url(/Recursos/head.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  text-align: center;
  filter: blur(2px);
  transform: scale(1.1); /* evita bordes feos */
  z-index:-1;
}

#titulo {
  height: 100%;
  margin-top: 200px;
  font-family: "Style Script", cursive;
  text-align: center;
}

/*.............RECURSOS CONFIGURACION GENERAL MENU & RESERVA......... */
#div_Recursos {
    width: 100vw;
    height: 100px;
    margin-top: 50px;
    padding: 20px;
    position: relative;
    min-height: 500px;
    background-size:cover;
    background-position: center;
    background-repeat: no-repeat;
}

#Reserva-Parrafo1 {
  background-color: rgba(0,0,0,0.45);
  position: absolute;
  right: 0;
  align-items:start;
  margin: 150px;
}
#Menu-Parrafo {
  width: 100%;
  background-color: rgba(0,0,0,0.45);
  position: absolute;
  left: 0;
  margin: 25px;
  flex-direction: column;
  justify-content: center;
}
h1{
  font-family:"Style Script", cursive;
}
#Menu-Parrafo,
#Reserva-Parrafo1,
p {
  line-height: 1.8;
  color: #e0e0e0;
  max-width: 500px;
  text-align: start;
}

#Menu-Parrafo,
#Reserva-Parrafo1,
button {
  margin-top: 30px;
  padding: 10px 26px;
  border-radius: 8px;
  width: 100%;
}
button{
  background: #ffffff;
  box-shadow: 2px 2px 4px rgba(255, 255, 255, 0.3);
  color: #262626;
  border: #ffffff;
  height: auto;
  padding: 5px;
}
button:hover{
  background-color: #141414;
  color:#ffffff;
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

#Menu-Parrafo  i {
  font-size: 30px;
  margin-bottom: 25px;
  opacity: 0.85;
}

/*..........RECURSOS POR DIV............ IMG FONDO*/
.menu{
  background-image: url(/Recursos/mechada-italiana.webp);  
  height: auto;
}
.reservas{
    background-image: url(/Recursos/TablaTra.webp);
    height: auto;
}

/*..............DIV QUIENES SOMOS..................*/
#div_Recursos-Quienes-Somos {
    width: 100vw;
    gap: 5%;
    height: auto;
    margin-top: 50px;
    padding: 20px;
    display: flex;
    align-items: stretch;
    min-height: auto;
}
#QS-Parrafo{
  background-color: rgba(0,0,0,0.45);
  border-radius: 10px;
  width: 40%;
  max-height: 350px;
  color: #fff;
  padding: 60px 40px;
}
.imagen{
  width: 55%;
  max-height: 100vh;
  overflow: hidden;
}
.imagen img {
  width: 100%;
  height: 64%;
  object-fit: cover;
  display: block;
  
}

/*..............DIV ENCUENTRANOS..................... */
.div_Recursos-Encuentranos{
  background-color: rgba(0,0,0,0.8);
  color:#ffffff;
  width: 100%;
  height: 100%;
  padding: 10px;
  text-align: center;
  display: flex;
  overflow:hidden;
  flex-direction: column;
}
.Maps-Recursos{
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: start;
}
#img-logo-footer{
  width: 30%;
}
#img-logo-footer img{
  height: 250px;



}
#div_redes{
  display: flex;
  flex-direction: column;
  text-align: start;
  gap: 20px;
  width: 20%;
  justify-items: center;
}

#div_redes a{
  font-size:1.5rem;
  margin-right: 15px;
  color: #ffffff;
}
#div_redes a:hover{
  color:#b22323;
}


#div_map {
  width: 40%;
  height: 100%;
  display: flex;
  flex-direction: column;

}
#div_map p{
  text-align: center;
  padding-bottom: 0;
}

#map {
  flex: 1;                   
  width: 100%;
  min-height: 250px;
  border-radius: 15px;
}

/*.......footer...........*/
footer {
  background-color: rgba(0,0,0,0.1);
  justify-items: center;
  height: 100%;
  color: #aaa;
}


/*            =========================
               AJUSTES MOBILE (CELULAR)
              ========================= */
@media (max-width: 768px) {

  body {
    overflow-x: hidden;

  }

  nav {
  overflow:visible;
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  height: 50px;
  background: rgba(0,0,0,0.65);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 15px;
  z-index: 9999; /* importante */
}

/* Botón */
#mobile-menu-btn {
  display: block;
  background: none;
  border: none;
  color: white;
  width: auto;
  margin-top: 0;
  height: auto;
  font-size: auto;
  box-shadow: none;
}

/* Ocultar todo menos botón y redes */
#Menu,
#Reservas,
#contactanos,
#LOGO {
  display: none;
}

/* Redes arriba */
.nav_redes {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav_redes p {
  font-size: 12px;
  margin: 0;
  padding: 0;
}

/* ESTADO ABIERTO */
.menu-dropdown {
  position: absolute;
  top: 50px;
  left: 0;
  width: 100%;
  background: rgba(0,0,0,0.45);
  display: none;
  flex-direction: column;
  padding: 20px;
}

nav.open .menu-dropdown {
  display: flex;
}

nav.open #Menu,
nav.open #Reservas,
nav.open #contactanos {
  display: block;
  padding: 10px 0;
}
nav.open #Menu:hover {
  transform: scale(1.05);}
nav.open #Reservas:hover {
  transform: scale(1.05);
}
nav.open #contactanos:hover {
  transform: scale(1.05);
}

nav.open .nav_redes {
  margin-top: 10px;
}


  

  /* HEADER */
  #head {
    height: auto;
    }

  #titulo h1 {
    font-size: 3rem;
  }

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

  /* QUIENES SOMOS */
  #div_Recursos-Quienes-Somos {
    flex-direction: column;
    min-height: auto;
    padding: 10px;
  }

  #QS-Parrafo {
    width: 95%;
    padding: 30px 20px;
    margin-bottom: 10px;
  }

  #QS-Parrafo h5 {
    font-size: 3rem;
  }

  #QS-Parrafo p {
    font-size: 1.2rem;
    max-width: 100%;
  }

  .imagen {
    width: 95%;
    max-height: none;
    margin: 0px; 
    padding: 0px;
  }

  .imagen img {
    height: auto;
  }

  /* SECCIONES MENU Y RESERVA */
  #div_Recursos {
    position: relative;
    padding: 10px;
  }

  .menu,
  .reservas {
    width: 100%;
    height: auto;
    padding:0;
  }

  #Menu-Parrafo,
  #Reserva-Parrafo1 {
    position: relative;
    width: 95%;
    max-width: 100%;
    margin: 0;
    padding: 20px;
  }

  #Menu-Parrafo h5,
  #Reserva-Parrafo1 h5 {
    font-size: 3rem;
  }

  #Menu-Parrafo p,
  #Reserva-Parrafo1 p {
    font-size: 1.2rem;
    line-height: 1.6;
  }

  #Menu-Parrafo button,
  #Reserva-Parrafo1 button {
    width: 100%;
    font-size: 1rem;
  }

  #Menu-Parrafo i {
    font-size: 40px;
  }

  /* MAPS Y CONTACTO */
  .Maps-Recursos {
    flex-direction: column;
    gap: 30px;
  }

  #div_map,
  #div_redes {
    width: 100%;
    margin-top: 0;
  }

  #map {
    height: 300px;
  }

  footer {
    font-size: 12px;
  }
    /* GENERAL */
  p {
    font-size: 1rem;
    line-height: 1.6;
  }

  h5 {
    font-size: 2.2rem;
  }

  /* HEADER */
  #titulo h1 {
    font-size: 2.6rem;
  }

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

  /* QUIÉNES SOMOS */
  #QS-Parrafo h5 {
    font-size: 2.4rem;
  }

  #QS-Parrafo p {
    font-size: 1rem;
  }

  /* MENÚ Y RESERVAS */
  #Menu-Parrafo h5,
  #Reserva-Parrafo1 h5 {
    font-size: 2.5rem;
  }

  #Menu-Parrafo p,
  #Reserva-Parrafo1 p {
    font-size: 1rem;
  }

  #Menu-Parrafo button,
  #Reserva-Parrafo1 button {
    font-size: 0.95rem;
    padding: 10px 18px;
  }

  #Menu-Parrafo i {
    font-size: 32px;
  }

  /* FOOTER */
  footer {
    font-size: 0.75rem;
  }

  /*wsp */
  .wsp-float {
    width: 52px;
    height: 52px;
    font-size: 24px;
    bottom: 15px;
    right: 15px;
  }
}

@media (max-width: 900px) {
  .Maps-Recursos{
    flex-direction: column;
    margin: 0px;
    padding: 0px;

  }
  #div_redes{
    justify-items: center;
    width: 100%;
    text-align: center;
    text-align: start;
    flex-direction: row;

  }

  #div_map {
    justify-items: center;

    width: 100%;
  }
  #img-logo-footer{
  justify-items: center;
  width: 100%;
  }


}
