/* Fuente y base */
body {
  margin: 0;
  font-family: 'Georgia', serif;
  background-color: #fef8f0;
  color: #333;
  line-height: 1.6;
}

/* Encabezado */
header {
  background-color: #8b5e3c;
  color: white;
  padding: 2rem 1rem;
  text-align: center;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

header h1 {
  margin: 0;
  font-size: 2rem;
  letter-spacing: 1px;
}

header .slogan {
  font-style: italic;
  font-size: 1.1rem;
  margin-top: 0.5rem;
}

/* Navegación */
nav ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin: 1.5rem 0 0 0;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  padding: 0.5rem;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

nav a:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

/* Intro */
.intro {
  text-align: center;
  padding: 2rem 1rem;
  background-color: #fff3e6;
  border-bottom: 2px solid #d6b08c;
}

.intro h2 {
  margin: 0 0 1rem 0;
  font-size: 1.8rem;
  color: #8b5e3c;
}

/* Tarjetas */
.lista-recetas {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  padding: 3rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
  background-color: #fffaf4;
  border-radius: 2rem;
  box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.lista-recetas .oficio {
  background-color: #ffffff;
  border-radius: 1rem;
  overflow: hidden;
  text-decoration: none;
  color: #333;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.lista-recetas .oficio:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.15);
}

.lista-recetas .oficio img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-bottom: 1px solid #eee;
}

.lista-recetas .contenido {
  padding: 1.2rem;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
}

.lista-recetas .contenido h3 {
  margin: 0 0 0.5rem;
  font-size: 1.3rem;
  color: #8b5e3c;
  font-weight: bold;
}

.lista-recetas .contenido p {
  margin: 0;
  font-size: 1rem;
  color: #555;
}


.lista-recetas h3 {
  margin: 0 0 0.5rem;
  font-size: 1.2rem;
  color: #8b5e3c;
}

.lista-recetas p {
  margin: 0;
  font-size: 0.95rem;
  color: #555;
}

/* Sin registros */
.sin-registros {
  text-align: center;
  padding: 2rem;
  font-style: italic;
  color: #777;
}

/* Botón volver */
.volver {
  text-align: center;
  margin: 3rem 0 1rem;
}

.boton-regresar {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: #8b5e3c;
  color: white;
  text-decoration: none;
  border-radius: 0.5rem;
  font-weight: bold;
  box-shadow: 0 3px 6px rgba(0,0,0,0.15);
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.boton-regresar:hover {
  background-color: #a47148;
  transform: translateY(-2px);
}

/* Footer */
footer {
  text-align: center;
  background-color: #8b5e3c;
  color: white;
  padding: 1.5rem;
  margin-top: 3rem;
  font-size: 0.9rem;
  border-top: 2px solid #a47148;
}

.perfil-detalle {
  max-width: 800px;
  margin: auto;
  padding: 2rem;
  background-color: #fff8f0;
  border-radius: 16px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  font-family: Georgia, serif;
}

.imagen-perfil {
  width: 100%;
  max-width: 400px;
  display: block;
  margin: 1rem auto;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.2);
}

.descripcion, .oficio, .contacto {
  margin: 1.5rem 0;
}

.contacto ul {
  list-style: none;
  padding: 0;
}

.contacto li {
  margin: 0.5rem 0;
}

.boton-regresar {
  display: inline-block;
  margin-top: 2rem;
  padding: 0.6rem 1.2rem;
  background-color: #8b4513;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  transition: background-color 0.3s;
}

.boton-regresar:hover {
  background-color: #a0522d;
}
.redes-iconos {
  list-style: none;
  display: flex;
  gap: 15px;
  padding: 0;
}

.redes-iconos li a {
  font-size: 1.5rem;
  color: #444;
  transition: color 0.3s;
}

.redes-iconos li a:hover {
  color: #d94f30; /* Color temático, puedes ajustarlo */
}
