/* styles.css - Estilo para formulario de contacto */

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #fff8f0;
  color: #333;
}

header {
  background: url('../imagenes/bandera-header.jpg') no-repeat center/cover;
  color: white;
  text-align: center;
  padding: 60px 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

header h1 {
  font-size: 3rem;
  padding-bottom: 1em;
  margin: 0;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  background: rgba(0, 0, 0, 0.8);
  flex-wrap: wrap;
}

nav ul li {
  margin: 10px;
}

nav ul li a {
  color: white;
  text-decoration: none;
  padding: 12px 18px;
  display: inline-block;
  border-radius: 5px;
  transition: background 0.3s ease;
}

nav ul li a:hover {
  background: #e64a19;
}

button {
  background: #ff5722;
  color: white;
  border: none;
  padding: 12px 25px;
  margin: 10px;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

button:hover {
  background: #d84315;
  transform: scale(1.05);
}

section h2,
section p{
  padding: 0.5em;
  text-align: center;
}


.contacto-section {
  padding: 2rem;
  background-color: #fffaf0;
  max-width: 700px;
  margin: auto;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

.formulario-contacto {
  max-width: 500px;
  margin: 40px auto;
  padding: 20px;
  border: 1px solid #ccc;
  border-radius: 10px;
  background-color: #f9f9f9;
}

.formulario-contacto label,
.formulario-contacto input,
.formulario-contacto textarea,
.formulario-contacto button {
  display: block;
  width: 95%;
  margin-bottom: 15px;
}


.formulario-contacto input,
.formulario-contacto textarea {
  padding: 0.7rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  margin-top: 0.5rem;
  font-size: 1rem;
}

.formulario-contacto button:hover {
  background-color: #b71c1c;
}

.mensaje-confirmacion {
  margin-top: 1rem;
  color: green;
  font-weight: bold;
}

footer {
  background: #333;
  color: white;
  text-align: center;
  padding: 20px 0;
  position: relative;
  bottom: 0;
  width: 100%;
}

.enlaces-gastronomia,
.enlaces-gastronomia p{
  text-align: left;
}

/* Media Queries para móviles */

/* Media Queries */
@media screen and (max-width: 1024px) {
  header h1 {
      font-size: 2.5rem;
  }
  nav ul {
      flex-direction: column;
  }
  button {
      width: 80%;
  }
}

@media screen and (max-width: 768px) {
  header h1 {
      font-size: 2rem;
  }
  section h2 {
      font-size: 1.5rem;
  }
  main {
      padding: 20px;
  }
}

@media (max-width: 600px) {
  .formulario-contacto {
    padding: 15px;
    margin: 20px;
    font-size: 14px;
  }
  .formulario-contacto input,
  .formulario-contacto textarea,
  .formulario-contacto button {
    font-size: 14px;
  }
  .formulario-contacto textarea {
    resize: none;
  }
  .formulario-contacto button {
    background-color: #ffcc00;
    border: none;
    padding: 10px;
    border-radius: 5px;
    color: #000;
    font-weight: bold;
  }
}

@media screen and (max-width: 480px) {
  header {
      padding: 40px 10px;
  }
  header h1 {
      font-size: 1.5rem;
  }
  nav ul li a {
      padding: 10px 14px;
  }
  button {
      font-size: 0.9rem;
  }
  section h2 {
      font-size: 1.2rem;
  }
}

