/*------------------------------------------------- 
 Estilos generales 
-------------------------------------------------*/
body {
  margin: 0;
  background-color: rgb(243, 240, 235);
  font-family: Arial, sans-serif;
}

/*-------------------------------------------------
 Estilos del menu de las paginas 
 -------------------------------------------------*/
.menu {
  background-color: #ffffff;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;

  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 10px 40px;
  box-sizing: border-box;
}

.logo {
  font-size: 35px;
  font-weight: bold;
  color: #cf7611;
}

.menu div:hover {
  color: black;
  transform: scale(1.1);
}

.menu ul {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 20px 40px;
}

.menu li {
  margin-left: 40px;
  font-family: Montserrat;
  font-size: 20px;
}

.menu a {
  text-decoration: none;
  color: rgb(77, 73, 73);
  font-weight: bold;
}

.menu a:hover {
  color: #cf7611;
}

/*-------------------------------------------------
 Estilos del banner 
 -------------------------------------------------*/
.banner {
  height: 800px;
  background:
    linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("img/restaurant-interior.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  transition: background-image 1s ease-in-out;
}

.banner h1 {
  color: white;
  font-size: 70px;
  font-family: Montserrat;
  margin-bottom: -30px;
}

.banner p {
  color: white;
  font-size: 30px;
}

/*-------------------------------------------------
 Estilos del main index 
 -------------------------------------------------*/
.container {
  max-width: 900px;
  margin: 20px auto;
  padding: 0 20px;
  text-align: justify;
}
.title-container {
  font-family: montserrat;
  text-decoration: overline;
  font-size: 35px;
  text-align: center;
}

.box-history {
  display: flex;
}

.box-history p {
  margin-right: 20px;
}

.container .img-fluid {
  height: 250px;
  box-shadow: 15px 15px 0px #cf7611;
  display: flexbox;
}
.container h4 {
  font-size: 18px;
}

.promotion {
  text-align: center;
  color: #ffffff;
  background-color: #cf7611;
  padding: 50px;
}

.promotion h4 {
  font-size: x-large;
}

.btn {
  display: inline-block;
  border: 2px solid black;
  padding: 10px 20px;
  border-radius: 30px;
  text-decoration: none;
  color: black;
  background-color: #f4f4f4;
  font-weight: bold;
  transition: 0.3s;
}

.btn:hover {
  background: black;
  color: white;
}

/*-------------------------------------------------
 Estilos del footer 
 -------------------------------------------------*/
.footer {
  background-color: #424141;
  color: #ffffff;
  width: 100%;
  left: 20px;

  display: flex;
  justify-content: center;
  align-items: center;

  padding: 10px 60px;
  box-sizing: border-box;
}

/*-------------------------------------------------
 Estilos del menu de comidas 
 -------------------------------------------------*/
.contenedor-menu {
  display: flex;
  max-width: 1200px;
  margin: 50px auto;
}

.menu-lateral {
  width: 200px;
  list-style: none;
  padding: 0;
}

.menu-lateral li {
  padding: 15px;
  cursor: pointer;
}

.menu-lateral .active {
  background: #cf7611;
  color: white;
}

.grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
}

.card img {
  width: 100%;
  display: block;
  height: 200px;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  background: rgba(207, 118, 17, 0.9);
  color: white;

  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  padding: 0;

  opacity: 0;
  transition: all 0.4s ease;
}

.card:hover .overlay {
  opacity: 1;
}

.oculto {
  display: none;
}

.header-menu {
  text-align: center;
  margin: 40px;
}

/*-------------------------------------------------
 Estilos del modal 
 -------------------------------------------------*/
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  background: rgba(0, 0, 0, 0.7);

  display: none;
}

.modal:target {
  display: block;
}

.modal-contenido {
  background: #cf7611;
  color: #ffffff;
  width: 300px;
  margin: 100px auto;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
}

.modal-contenido i {
  background: white;
  color: #cf7611;
  padding: 15px;
  border-radius: 10px;
  font-size: 20px;
}

.cerrar {
  float: right;
  text-decoration: none;
  font-weight: bold;
}

.legend {
  border: 1px solid #eba85b;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}
.legend h2 {
  font-size: 25px;
  font-weight: bold;
  text-align: center;
}

/*-------------------------------------------------
 Estilos del formulario 
 -------------------------------------------------*/
.header-form {
  font-size: 25px;
  font-weight: bold;
  text-align: center;
}

.text-form {
  text-align: center;
}

/*-------------------------------------------------
 Estilos mejorados del formulario
 -------------------------------------------------*/

#contac-form {
  background: white;
  border-radius: 24px;
  box-shadow: 0 20px 35px -10px rgba(0, 0, 0, 0.1);
  padding: 40px 50px;
  margin: 30px 0;
  transition: all 0.3s ease;
}

.form-control {
  margin-bottom: 25px;
  padding: 0;
}

.form-control label {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #5a5a5a;
  margin-bottom: 8px;
  display: block;
}

.form-control input,
.form-control select,
.form-control textarea {
  width: 100%;
  padding: 14px 18px;
  font-size: 16px;
  font-family: inherit;
  border: 2px solid #e8e8e8;
  border-radius: 16px;
  background: #fefefe;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.form-control input:focus,
.form-control select:focus,
.form-control textarea:focus {
  outline: none;
  border-color: #cf7611;
  box-shadow: 0 0 0 3px rgba(207, 118, 17, 0.2);
  background: white;
}

.form-control input:hover,
.form-control select:hover,
.form-control textarea:hover {
  border-color: #cf7611;
}

.form-control textarea {
  resize: vertical;
  min-height: 100px;
  font-family: inherit;
}

.form-control input[type="datetime-local"] {
  font-family: inherit;
  color: #333;
}

.form-control input[type="file"] {
  padding: 12px;
  background: #f9f9f9;
  border: 2px dashed #cf7611;
  border-radius: 16px;
  cursor: pointer;
}

.form-control input[type="file"]:hover {
  background: #fff5ea;
  border-color: #b35f0a;
}

.form-check {
  display: flex;
  align-items: center;
  column-gap: 20px;
}

.form-check input[type="checkbox"] {
  width: 20px;
  height: 20px;
  cursor: pointer;
  accent-color: #cf7611;
}

.form-check label {
  font-size: 15px;
  color: #4a4a4a;
  cursor: pointer;
  margin: 0;
}

.form-buttom {
  background: #cf7611;
  color: white;
  border: none;
  font-size: 18px;
  font-weight: bold;
  padding: 16px 32px;
  width: 100%;
  max-width: 300px;
  margin: 20px auto 10px;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(207, 118, 17, 0.3);
}

.form-buttom:hover {
  background: #b35f0a;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(207, 118, 17, 0.4);
}

.form-buttom:active {
  transform: translateY(0);
}

.rating {
  direction: rtl;
  display: inline-flex;
  gap: 8px;
  margin-top: 10px;
}

.rating input {
  display: none;
}

.rating label {
  font-size: 32px;
  color: #ddd;
  cursor: pointer;
  transition: all 0.2s ease;
}

.rating label:hover,
.rating label:hover ~ label {
  color: #f4c400;
  transform: scale(1.1);
}

.rating input:checked ~ label {
  color: #f4c400;
}

.header-form {
  font-size: 28px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 10px;
}

.text-form {
  text-align: center;
  color: #666;
  margin-bottom: 30px;
}

.contacto-info {
  background: #cf7611;
  color: white;
  border-radius: 50px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 20px;
  margin: 120px 0 -20px 0;
}

.contacto-info .item {
  display: flex;
  align-items: center;
  gap: 15px;
}

.contacto-info i {
  background: white;
  color: #cf7611;
  padding: 15px;
  border-radius: 10px;
  font-size: 20px;
}

.contacto-info h4 {
  margin: 0;
  font-size: 18px;
}

.contacto-info p {
  margin: 0;
  font-size: 14px;
}

/*-------------------------------------------------
 Estilos del hero 
 -------------------------------------------------*/
.hero {
  display: flex;
  height: 100vh;
}

.hero-texto {
  width: 50%;
  background: #f4f4f4;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px;
}

.hero-img {
  width: 50%;
  background: #f4c400;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-img img {
  max-height: 90%;
}

.hero h2 {
  font-size: 50px;
  margin-bottom: 20px;
}

.resaltado {
  background: #f4c400;
  padding: 5px;
}

.hero p {
  color: gray;
  margin-bottom: 20px;
}
