body {
  font-family: 'Georgia', serif;
  background-color: #fffaf3;
  color: #3b2e2a;
  margin: 0;
  padding: 0;
}

header {
  background-color: #964B00;
  color: #fff;
  padding: 1em;
  text-align: center;
}

.slogan {
  font-style: italic;
  color: #f2e4c2;
}

nav ul {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 1.5em;
  margin-top: 1em;
}

nav a {
  text-decoration: none;
  color: #ffe5b4;
  font-weight: bold;
}

nav a:hover {
  color: #fff;
  text-decoration: underline;
}

main {
  padding: 2em;
}

.intro {
  text-align: center;
  margin-bottom: 2em;
}

.destacados {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5em;
}

.destacados article {
  background: #fcecd7;
  padding: 1em;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

footer {
  background-color: #3b2e2a;
  color: white;
  text-align: center;
  padding: 1em;
}
.galeria-recetas {
  padding: 2rem;
  background-color: #fffaf5;
}

.galeria-recetas h3 {
  text-align: center;
  font-size: 2rem;
  color: #7a3e00;
  margin-bottom: 1.5rem;
}

.galeria {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.tarjeta {
  display: block;
  width: 250px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  text-decoration: none;
  background-color: white;
  transition: transform 0.2s, box-shadow 0.2s;
}

.tarjeta:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.25);
}

.tarjeta img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.info {
  padding: 1rem;
  text-align: center;
}

.info h4 {
  margin: 0;
  color: #b44b00;
}

.info p {
  margin: 0.5rem 0 0;
  color: #555;
}

.seccion-temas {
  padding: 2rem;
  text-align: center;
}

.seccion-tarjetas {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
}

.tarjeta-tema {
  display: block;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  width: 300px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease;
}

.tarjeta-tema:hover {
  transform: translateY(-5px);
  background-color: #fff8f2;
}

.tarjeta-tema img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.tarjeta-tema .info {
  padding: 1rem;
}

.tarjeta-tema .info h3 {
  margin: 0 0 0.5rem;
  color: #c06014;
  font-size: 1.2rem;
}

.tarjeta-tema .info p {
  margin: 0;
  font-size: 0.95rem;
}
.receta-detalle {
  max-width: 800px;
  margin: auto;
  padding: 2rem;
}

.imagen-receta {
  width: 100%;
  border-radius: 10px;
  margin: 1rem 0;
}

.ingredientes ul, .preparacion ol {
  margin-left: 1.5rem;
}

.boton-regresar {
  display: inline-block;
  margin-top: 2rem;
  text-decoration: none;
  background-color: #c06014;
  color: #fff;
  padding: 0.6rem 1.2rem;
  border-radius: 5px;
  transition: background 0.3s ease;
}

.boton-regresar:hover {
  background-color: #a94f0d;
}
.boton-descarga {
  display: inline-block;
  margin: 1.5rem 0;
  padding: 0.7rem 1.2rem;
  background-color: #d17b1f;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  transition: background 0.3s ease;
}

.boton-descarga:hover {
  background-color: #b36217;
}

.video-receta {
  max-width: 800px;
  margin: 2rem auto;
  padding: 1rem;
}

.video-container {
  width: 100%;
  margin: 1em 0;
}

.video-container video {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.1);
}

/* Responsivo para iframe tipo YouTube */
.responsive-iframe {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 ratio */
  height: 0;
  overflow: hidden;
}

.responsive-iframe iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 10px;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.1);
}

.lista-recetas {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  padding: 2rem;
  justify-content: center;
}

.tarjeta-receta {
  background: #fff8f0;
  border: 1px solid #e5d4b4;
  border-radius: 12px;
  width: 300px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  overflow: hidden;
  transition: transform 0.2s;
}

.tarjeta-receta:hover {
  transform: scale(1.02);
}

.tarjeta-receta img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.tarjeta-receta .contenido {
  padding: 1rem;
}

.tarjeta-receta h3 {
  margin: 0 0 0.5rem;
  color: #8b3d1c;
}

.boton {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.5rem 1rem;
  background-color: #d17b1f;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
}

.boton:hover {
  background-color: #b36217;
}

