body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  background-color: #f5f5dc;
  color: black;
}

header {
  background-color: #f7e7a9;
  color: black;
  text-align: center;
  padding: 50px;
}

header nav ul {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 20px;
}

header nav ul li {
  display: inline;
}

header nav ul li a {
  color: black;
  text-decoration: none;
  font-weight: bold;
  position: relative;
  transition: all 0.3s ease;
}

header nav ul li a:hover {
  color: #4caf50;
  transform: scale(1.1);
}

#gallery {
  padding: 30px 15px;
  text-align: center;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  max-width: 600px;
  margin: 0 auto;
}

.center-image {
  grid-column: 1 / -1;
  text-align: center;
}

.gallery-item img {
  width: 100%;
  height: 200px;
  border-radius: 8px;
  object-fit: cover;
}

.gallery-item p {
  margin-top: 8px;
  font-size: 1rem;
  font-weight: bold;
  color: black;
}

#form {
  padding: 30px 0;
  text-align: center;
}

form {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  padding: 20px;
  background-color: #e0d6b4;
  border-radius: 15px;
  box-sizing: border-box;
}

form input,
form button {
  margin: 10px 0;
  padding: 10px;
  font-size: 16px;
  transition: all 0.3s ease;
}

form button {
  background-color: #4caf50;
  color: white;
  border: none;
  cursor: pointer;
  border-radius: 8px;
}

form button:hover {
  background-color: #45a049;
  transform: scale(1.05);
}

@media (max-width: 768px) {
  header {
    padding: 30px;
  }

  header nav ul {
    flex-direction: column;
    align-items: center;
  }

  header nav ul li {
    margin-bottom: 10px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  #form {
    max-width: 90%;
  }

  form input,
  form button {
    font-size: 14px;
  }
}

@media (max-width: 425px) {
  header {
    padding: 20px;
  }

  header nav ul {
    flex-direction: column;
    align-items: center;
  }

  header nav ul li {
    margin-bottom: 10px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  #form {
    padding: 20px 0;
  }

  form {
    width: 90%;
    margin: 0 auto;
  }

  form input,
  form button {
    font-size: 14px;
    padding: 12px;
  }

  #video iframe {
    width: 100%;
    height: auto;
  }

  footer {
    padding: 15px;
  }
}

#video {
  background: url("parallax-bg.jpg") no-repeat center center fixed;
  background-size: cover;
  color: rgb(0, 0, 0);
  padding: 80px 20px;
  text-align: center;
}

#video iframe {
  width: 560px;
  height: 315px;
  border-radius: 8px;
  max-width: 100%;
}

footer {
  text-align: center;
  padding: 20px;
  background-color: #f7e7a9;
  color: black;
}

footer p {
  margin: 0;
}

#parallax {
  position: relative;
  background-image: url("../imgs/restaurante.jpg");
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

#parallax h2 {
  font-size: 2.5rem;
  margin: 0;
}

.parallax-image {
  margin-top: 20px;
}

.parallax-image img {
  width: 100%;
  height: auto;
  max-width: 500px;
  border-radius: 8px;
}

#thankyou {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background-color: #f7e7a9;
}

.thankyou-message {
  text-align: center;
  padding: 30px;
  background-color: #e0d6b4;
  border-radius: 15px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  max-width: 600px;
  width: 80%;
}

.thankyou-message h2 {
  font-size: 2rem;
  margin: 0;
  color: black;
}

.modal-toggle {
  display: none;
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.6);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.modal-content {
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  width: 80%;
  max-width: 400px;
  position: relative;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 30px;
  cursor: pointer;
  color: #333;
}

.modal-toggle:checked + .modal {
  display: flex;
}

.open-modal {
  background-color: #4caf50;
  color: white;
  padding: 10px 20px;
  cursor: pointer;
  border-radius: 5px;
  font-size: 16px;
  margin-top: 20px;
  text-decoration: none;
}

.open-modal:hover {
  background-color: #45a049;
}

.modal {
  cursor: pointer;
}

.modal-content {
  cursor: auto;
}
