body, html {
  margin: 0;
  padding: 0;
  font-family: 'Libre Baskerville', serif;
  background-color: #fffefc;
}

/* NAVBAR*/ 
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: #f5f5f5; 
  display: flex;
  align-items: center; 
  justify-content: space-between; 
  padding: 10px 40px;
  z-index: 999;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.logo {
  height: 85px; 
  margin: 0; 
}

.nav-links {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  margin-right: 80px;
}

.nav-links a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
  padding: 5px 10px;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #fff;
  background-color: #333;
  border-radius: 5px;
}

/* IMAGEN PRINCIPAL */
.hero {
  background-image: url("../Images/Resto/fotohero.jpg");
  background-size: cover;
  background-position: center;
  height: 100vh; 
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

/* CUADRO CON TITULO PRINCIPAL */
    .hero-overlay {
      background-color: rgba(0, 0, 0, 0.5);
      padding: 40px;
      text-align: center;
      border-radius: 10px;
      font-family: 'Playfair Display', serif;
    }

    .hero h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    color: #fff;
    }

    .hero h3 {
    font-size: 1.5rem;
    color: #ccc;
    font-family: 'Libre Baskerville', serif;
    }

    .hero-content {
      background-color: rgba(255,255,255,0.85);
      padding: 20px 40px;
      border-radius: 10px;
      text-align: center;
      max-width: 80%;
    }

/* BORDE SEPARADOR DE SECCIONES */
.borde{
    width: 100%;
    height: 3px;
    background-color: #d3d3d3;
}

/* ABOUT US SECCION */
.nosotros-section{
    text-align: center;
    background-color: #fffefc;
    scroll-margin-top: 100px;
}

    .nosotros-section h1 {
    margin: 90px auto 20px;
    font-size: 50px;
    font-family: 'Playfair Display', serif;
    color: #000000;
    }

    .nosotros-section h3 {
        margin: 40px auto 10px;
        font-size: 24px;
        font-family: 'Libre Baskerville', serif;
        color: #666666;
    }

    .nosotros-section p {
        margin: 1.875rem auto 1.875rem;
        max-width: 50rem;
        width: 80%;
        font-size: 1.0625rem;
        font-weight: 600;
        font-family: 'Libre Baskerville', serif;
        color: #666666;
    }

/* SECCION DE MENU */
.menu-section {
  text-align: center;
  padding: 60px 20px;
  background-color: #fffefc;
}

    .menu-section h1 {
      font-size: 50px;
      margin-bottom: 40px;
      font-family: 'Playfair Display', serif;
      font-weight: 700;
      color: #000000;
    }

    .menu-section h2 {
      font-size: 28px;
      margin-bottom: 30px;
      font-family: 'Libre Baskerville', serif;
      font-weight: 700;
      color: #666666;
    }

    .menu-carillas {
      display: flex;
      justify-content: center;
      gap: 80px;
      flex-wrap: wrap;
      margin-bottom: 80px;
    }

    .menu-carillas img {
      max-width: 100%;
      width: 550px;
      height: auto;
      box-shadow: 0 4px 20px rgba(0,0,0,0.1);
      border-radius: 12px;
      transition: transform 0.2s ease-in-out;
    }

    .menu-carillas img:hover{
      transform: scale(1.03);
      cursor: pointer;
    }

    .menu-carillas .desayuno {
      justify-content: center;
    }

/* SECCION DE RESEÑAS */
.reseñas-section {
  text-align: center;
  padding: 60px 20px;
  background-color: #fffefc;
}

    .reseñas-section h1 {
      font-size: 50px;
      margin-bottom: 40px;
      font-family: 'Playfair Display', serif;
      font-weight: 700;
      color: #000000;
    }

    .reseñas-section h2 {
      font-size: 28px;
      margin-bottom: 30px;
      font-family: 'Libre Baskerville', serif;
      font-weight: 700;
      color: #666666;
    }

    .reseñas{
      width: 700px;
      background-color:#8A8A8A;
      margin-left: auto;
      margin-right: auto;
      padding: 20px;
      border-radius: 8px;
      border: 2px solid #545454;
      box-shadow: 0 4px 20px rgba(0,0,0,0.1);
      margin-top: 50px;
      transition: transform 0.2s ease-in-out;
    }

    .reseñas:hover{
      transform: scale(1.03);
    }

    .reseñas-texto{
      color: #FFFFFF;
      font-style: italic;
      font-size: 18px;
      margin-top: 5px;
    }

    .reseñas-img{
      justify-content: left;
      margin-top: 2px;
      display: flex;
    }

/* SECCION DE CONTACTO */
.contacto{
    text-align: center;
    background-color: #F8F8F8;
    padding-top: 20px;
    padding-bottom: 20px;
}

    .contacto h2{
        text-align: center;
        margin-top: 20px;
        color: #000000;
    }

    .contacto img{
        align-items: center;
        display: inline-block;
        margin-bottom: 5px;
        transition: transform 0.2s ease-in-out;
    }

    .contacto a{
        color: black;
        text-align: center;
        display: inline-block;
        align-items: center;
    }

    .contacto p{
      color: #000000;
      text-align: center;
      font-size: small;
      font-weight: 700;
    }

    .contacto img:hover{
        transform: scale(1.2);
    }

    .iconos-contacto {
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 20px; 
      margin-top: 20px;
    }

/* SECCION DE DERECHOS */ 
.resaltado{
  color: #FFFFFF;
  font-weight: bold;
}

.derechos{
  text-align: center;
  color: #E6E6E6;
  font-size: smaller;
  padding-bottom: 20px;
  padding-top: 20px;
  background-color: #545454;
}

/* CARRUSEL DE FOTOS */
.carrusel {
  position: relative;
  width: 100%;
  max-width: 850px;
  height: 80vh;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  margin: auto;
  border: 2px solid black;
  border-radius: 5px;
  transition: transform 0.2s ease-in-out;
}

.carrusel-caption{
  text-align: center;
  font-size: medium;
  color: #333;
  font-weight: 700;
  margin-top: 15px;
  margin-bottom: 30px;
}

.carrusel-img {
  position: absolute;
  top: 0;               
  left: 0;              
  width: 100%;          
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s ease;
  display: block;
  cursor: pointer;
}

.carrusel-img.active {
  opacity: 1;
}

.carrusel:hover {
  transform: scale(1.02);
}

button.prev,
button.next {
  position:absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.7);
  color: white;
  border: none;
  font-size: 2rem;
  padding: 10px;
  cursor: pointer;
}

button.prev { left: 10px; }
button.next { right: 10px; }

/* MODAL IMAGEN */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.8);
  justify-content: center;
  align-items: center;
}

.modal-contenido {
  max-width: 100%;
  max-height: 95%;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.cerrar {
  position: absolute;
  top: 20px;
  right: 35px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  z-index: 1001;
}

body.modal-open {
  overflow: hidden;
}

/* DISEÑO RESPONSIVE */
@media (max-width: 768px) {
  .navbar {
    flex-direction: row;
    padding: 1rem;
  }

  .nav-links {
    flex-direction: row;
    gap: 10px;
    justify-content: center;
  }

  .nav-links a {
      font-size: 0.8rem; 
      padding: 0.3rem 0.4rem;
    }

  .logo {
    height: 60px;
    margin-right: 10px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero h3 {
    font-size: 1rem;
  }

  .menu-carillas img {
    width: 100%;
  }

  .reseñas {
    width: 90%;
  }

  .carrusel {
    width: 80%;
    height: 60vh;
  }

  .carrusel-img {
    position: absolute;
    object-fit: cover;
    height: 60vh;
  }

  button.prev, button.next {
    font-size: 1.5rem;
    padding: 5px;
  }

  .cerrar{
    margin-bottom: 0.4rem;
  }
}