/* --- Estilo general --- */
body, html {
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
  color: white;
}

/* --- Sección principal con imagen de fondo --- */
.hero {
  background-image: url('img/fondo-pasta.jpg');
  background-size: cover;
  background-position: center;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.overlay {
  background: rgba(0, 0, 0, 0.6);
  padding: 50px;
  text-align: center;
  border-radius: 15px;
}

.title {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 10px;
}

.subtitle {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

/* --- Menú --- */
.menu {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin-bottom: 20px;
}

.menu a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.menu a:hover {
  color: #ffb347;
}

/* --- Redes sociales --- */
.social {
  display: flex;
  justify-content: center;
  gap: 20px;
  font-size: 1.5rem;
}

.social a {
  color: white;
  transition: transform 0.3s, color 0.3s;
}

.social a:hover {
  color: #ffb347;
  transform: scale(1.2);
}

/* --- Footer --- */
footer {
  text-align: center;
  background-color: #111;
  padding: 10px 0;
  font-size: 0.9rem;
}

/* --- Reset general --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

/* --- Cabecera fija con menú --- */
.header-fijo {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #fff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  padding: 15px 0;
  text-align: center;
  z-index: 100;
}

.header-fijo h1 {
  color: #d63200;
  font-size: 1.8em;
  margin-bottom: 5px;
}

.header-fijo nav a {
  color: #333;
  text-decoration: none;
  margin: 0 15px;
  font-weight: 600;
  transition: color 0.3s;
}

.header-fijo nav a i {
  margin-right: 6px;
  color: #d63200;
}

.header-fijo nav a:hover {
  color: #d63200;
}

/* --- Contenido del blog --- */
.blog-contenido {
  margin-top: 140px;
  padding: 0 10%;
  text-align: center;
}

.blog-contenido h2 {
  color: #d63200;
  margin-top: 20px;
  margin-bottom: 10px;
}

.imagen-blog {
  width: 90%;
  max-width: 700px;
  border-radius: 10px;
  margin-bottom: 20px;
}

.imagen-chef {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  float: right;
  margin: 10px 0 10px 20px;
  border: 3px solid #d63200;
}

article p {
  text-align: justify;
  line-height: 1.7;
  color: #333;
  margin-bottom: 15px;
}

/* --- Íconos de redes sociales --- */
.social-blog {
  margin-top: 40px;
  text-align: center;
}

.social-blog a {
  color: #333;
  font-size: 30px;
  margin: 0 15px;
  transition: color 0.3s;
}

.social-blog a:hover {
  color: #d63200;
}
.imagen-izquierda {
  width: 300px;
  border-radius: 10px;
  float: left;
  margin: 10px 20px 15px 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}
/* ---- GALERÍA ---- */
.galeria-contenido {
  padding-top: 120px;
  text-align: center;
}

.galeria-contenido h2 {
  font-size: 2em;
  margin-bottom: 30px;
  color: #a83232;
}

.galeria-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
  padding: 0 20px;
}

.galeria-grid figure {
  width: 300px;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.galeria-grid img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  filter: grayscale(80%);
  transition: all 0.4s ease;
}

.galeria-grid img:hover {
  filter: grayscale(0%);
  transform: scale(1.03);
}

.galeria-grid figcaption {
  margin-top: 8px;
  font-style: italic;
  color: #555;
}

/* Redes sociales */
.social-blog {
  margin-top: 40px;
}

.social-blog a {
  font-size: 1.6em;
  margin: 0 10px;
  color: #000;
  transition: color 0.3s;
}

.social-blog a:hover {
  color: #a83232;
}
/* ---- VIDEOS ---- */
.videos-contenido {
  padding-top: 130px;
  text-align: center;
  color: #333;
  background-color: #fff; /* fondo blanco */
}

.videos-contenido h2 {
  color: #d63200;
  font-size: 2em;
  margin-bottom: 20px;
}

.videos-contenido p {
  max-width: 700px;
  margin: 0 auto 30px auto;
  line-height: 1.6;
}

/* --- Contenedor de video responsivo --- */
.video-responsive {
  position: relative;
  padding-bottom: 56.25%; /* Relación 16:9 */
  height: 0;
  overflow: hidden;
  max-width: 90%;
  margin: 0 auto 40px auto;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.video-responsive iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* --- Redes sociales al final --- */
.social-blog {
  margin-top: 40px;
  text-align: center;
}

.social-blog a {
  font-size: 1.6em;
  margin: 0 10px;
  color: #000;
  transition: color 0.3s;
}

.social-blog a:hover {
  color: #d63200;
}
