/* style.css */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body{
  height: 100%;
  background-image: url('../images/body-background.webp'); /* Ajusta el path a tu imagen */
  background-size: cover;
  background-attachment: fixed; /* Hace que el fondo sea estático */
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

body {
  font-family: 'Lora', serif
}

h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', serif;
}


/* HEADER */
.hero {
  position: relative;
  height: 100vh;
  background: url('../images/header-background.webp') no-repeat center center/cover;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5); /* Opacidad del oscurecimiento */
  z-index: 1;
}

.hero > * {
  position: relative;
  z-index: 2; /* Para que el contenido esté encima del overlay */
}

.menu-toggle {
  background: none;
  border: none;
  font-size: 3rem;
  color: white;
  cursor: pointer;
}

.menu {
  position: absolute;
  top:0;
  left:0;
  background-color: rgba(0, 0, 0);
  flex-direction: column;
  gap: 15px;
  width: 230px;
  display: flex;
  padding: 1rem;
  height: 100vh;

  transform: translateX(-100%); /* Oculto a la izquierda */
  transition: transform 0.3s ease;
  z-index: 1000;
}

.menu.show{
  transform: translateX(0);
}

.close-menu {
  font-size: 40px;
  background-color: transparent;
  color: white;
  border: none;
  cursor: pointer;
  width: fit-content;
  align-self: flex-end;
  margin: 0 20px
}

.menu-list{
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.top-bar{
  display: flex;
  justify-content:center;
  align-items: center;
  padding: 0.5rem 1rem ;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 10;
  transition: background-color 0.3s ease;
  background-color: transparent;
  /*background: url('../images/body-background.webp') no-repeat top center/cover;*/
}

/* NAVBAR */
.nav {
  margin: 0 auto;
  display:flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1400px;
}

.top-bar.scrolled {
  background-color: #805b41dd; /* Cambia el color de fondo al hacer scroll */
  box-shadow: 0 0 10px #000000;
  backdrop-filter: blur(5px);

}

.logo{
  filter: brightness(0) invert(1);
}

.top-bar.scrolled .nav .logo{
  filter: brightness(1) invert(0);
}

.booking-btn {
  background-color: #b67a55;
  color: #301c11;
  text-decoration: none;
  padding: 12px 28px;
  font-weight: bold;
  transition: background-color 0.3s;
  border: none;
  cursor: pointer;
  font-size: 1.2rem;
  font-family: 'Lora', serif;
}

.booking-btn:hover {
  background-color: #805b41;
  color: #fff;
}



.menu a {
  color: white;
  text-decoration: none;
  font-weight: 800;
  transition: color 0.3s;
  font-size: 1.5rem;
}

.menu a:hover {
  color: #da6736;
}

/* HERO CONTENT */
.hero-content {
  position: absolute;
  bottom: 3rem;
  right: 3rem;
  text-align: right;
  color: white;
  max-width: 700px;
}

.hero-content h2 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

.hero-content p {
  font-size: 1.2rem;
}



@media (max-width: 768px) {


  .nav {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .booking-btn{
    display:none;
  }

  .logo{
    height: 2.4rem;
  }

  .menu-toggle {
    font-size: 2.4rem;
  }

}


/*SECTIONS*/

.content{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 60px 0;
  padding: 20px;
  gap: 100px
}





/* POSTCARD SECTION */

.section-postcard {
  display: flex;
  justify-content: center;

  border-radius: 20px;
 
  max-width: 1400px;
  background-color: #301c11;
}

.postcard {
  display: flex;
  flex-wrap: wrap;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: inset 0 6px 15px rgba(0, 0, 0, 0.6), 
              inset 0 -4px 10px rgba(255, 255, 255, 0.05);
}

.postcard-image {
  flex: 1 1 400px;
  max-height: 420px;
  overflow: hidden;
  object-fit: cover;
  
}

.postcard-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
  
}

.postcard-image img:hover {
  transform: scale(1.05);
}

.postcard-content {
  flex: 1 1 400px;
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.postcard-content h2 {
  font-size: 2.5rem;
  color: #b67a55;
  margin-bottom: 20px;
  border-bottom: 2px solid #805b41;
  display: inline-block;
  padding-bottom: 5px;
}

.postcard-content p {
  font-size: 1.125rem;
  line-height: 1.8;
  color: #f8f3ef;
}

@media (max-width: 768px) {
  .postcard {
    flex-direction: column;
  }

  .postcard-content {
    padding: 32px 20px;
  }

  .postcard-content h2 {
    font-size: 2rem;
  }

  .postcard-content p {
    font-size: 1rem;
  }
}





/* PARALLAX SECTION */

.parallax-section {
  position: relative;
  height: 30vh;
  max-width: 1400px;
  background-image: url('../images/sunset-1.webp'); /* imagen de fondo */
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  box-shadow: inset 0 6px 15px rgba(0, 0, 0, 0.6), 
              inset 0 -4px 10px rgba(255, 255, 255, 0.05);
}

.parallax-section::before{
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5); /* Opacidad del oscurecimiento */
  border-radius: 20px;
}

.overlay {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 20px;
}

.overlay .content-a {
  color: #fff8f3;
}

.overlay .content-a h2 {
  font-size: 3rem;
  color: #b67a55;
  margin-bottom: 20px;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.4);
}

.overlay .content-a p {
  font-size: 1.25rem;
  line-height: 1.8;
  color: #f8f3ef;
}

@media (max-width: 768px) {
  .parallax-section {
    height: auto;
    padding: 60px 0;
  }

  .overlay .content-a h2 {
    font-size: 2rem;
  }

  .overlay .content-a p {
    font-size: 1.05rem;
  }
}





/* MENU SECTION */

.menu-highlight-section {
  background-color: #301c11;
  padding: 30px 20px;
  color: #f8f3ef;
  max-width: 1400px;
  border-radius: 20px;
  box-shadow: inset 0 6px 15px rgba(0, 0, 0, 0.6), 
              inset 0 -4px 10px rgba(255, 255, 255, 0.05);
}

.menu-content {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}

.menu-images {
  display: flex;
  flex-direction: row;
  gap: 10px;
  flex: 1;
}

.menu-description {
  flex: 1;
  max-width: 500px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap:20px;
}

.menu-description h2 {
  font-size: 2.5rem;
  color: #b67a55;
  margin-bottom: 20px;
  border-bottom: 2px solid #805b41;
  display: inline-block;
  padding-bottom: 5px;
}

.menu-description p {
  font-size: 1.125rem;
  line-height: 1.3;
  color: #f8f3ef;
}

.menu-images img {
  width: 100%;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  border: 3px solid #805b41;
}


.menu-button {
  background-color: #b67a55;
  color: #301c11;
  text-decoration: none;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: bold;
  transition: background-color 0.3s;
}

.menu-button:hover {
  background-color: #805b41;
  color: #fff;
}

@media (max-width: 900px) {
  
  .menu-content {
    flex-direction: column;
    padding: 0 20px;
  }

  .menu-images {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  .menu-images img {
    display: none;
    object-fit: cover;
  }
  .menu-images img:nth-child(1) {
    display: block;
  }

  .menu-description {
    text-align: center;
  }
}






/*LOCATION SECTION*/

.location-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 2rem;
  gap: 20px;
  max-width: 1400px;
  background-color: #301c11;
  color: #f8f3ef;
  border-radius: 20px;
  box-shadow: inset 0 6px 15px rgba(0, 0, 0, 0.6), 
              inset 0 -4px 10px rgba(255, 255, 255, 0.05);
}


.location-section div{
  flex: 1 1 250px;
  max-width: 700px;
}

.location-info h2 {
  font-size: 2.5rem;
  color: #b67a55;
  margin-bottom: 20px;
  border-bottom: 2px solid #805b41;
  display: inline-block;
  padding-bottom: 5px;
}

.location-info p {
  line-height: 1.6;
}

.location-map iframe{
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  border: 3px solid #805b41;
}

.location-restaurant img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}




/* FOOTER */


.footer {
  color: white;
  text-align: center;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-top .line {
  flex: 1;
  height: 1px;
  background-color: #aaa;
  border: none;
}

.footer-bottom-bg {
  background: linear-gradient(to right,
    rgba(0, 0, 0, 1),
    rgba(0, 0, 0, 0.1),
    rgba(0, 0, 0, 0),
    rgba(0, 0, 0, 0.1),
    rgba(0, 0, 0, 1)
  );
}


.group-name h2 {
  font-size: 1.5rem;
  letter-spacing: 1px;
}

.group-name span {
  display: block;
  font-weight: bold;
  font-size: 2.5rem;
}


.brands {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  margin: 2rem 0;
}

.brands img {
  max-height: 30px;
  opacity: 0.8;
  transition: opacity 0.3s;
}

.brands img:hover {
  opacity: 1;
}

.social {
  margin-bottom: 1.5rem;
  color: black;
}

.social a {
  margin: 0 0.5rem;
}

.social img {
  height: 24px;
  filter: brightness(0) invert(1);
  transition: transform 0.3s;
}

.social img:hover {
  transform: scale(1.1);
}

.footer-bottom {
  font-size: 0.85rem;
  color: #ffffff;
}

.footer-bottom .links {
  margin-top: 0.5rem;
}

.footer-bottom .links a {
  color: #ffffff;
  text-decoration: none;
  margin: 0 0.5rem;
}

.footer-bottom .links a:hover {
  text-decoration: underline;
}

.footer-content {
  background: url('../images/footer-background.webp') no-repeat center center;
  background-repeat: repeat;
  background-size: cover;
  padding: 3rem 0;
}

.footer-logo {
  filter: brightness(0) invert(1);
}

