* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #fff;
  color: #222;
}

h1, h2, h3, h4 {
  font-weight: bold;
  letter-spacing: 1px;
}

a {
  text-decoration: none;
  color: inherit;
}

header {
  background-color: #e60000;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
  flex-wrap: wrap;
}

header .logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

header .logo img {
  width: 50px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 25px;
}

nav ul li a {
  color: #fff;
  font-weight: bold;
  padding: 8px 15px;
  border-radius: 8px;
  transition: background 0.3s;
}

nav ul li a:hover,
nav ul li a.activo {
  background-color: #ffcc00;
  color: #000;
}

.banner-video {
  position: relative;
  height: 400px;
  overflow: hidden;
}

.banner-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(70%);
}

.banner-video .banner-texto {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  background: rgba(0, 0, 0, 0.4);
  padding: 20px 40px;
  border-radius: 15px;
}

.banner-video h2 {
  font-size: 2em;
  margin-bottom: 10px;
}

.banner-video p {
  font-size: 1.1em;
}

.inicio .intro {
  text-align: center;
  padding: 40px;
  background-color: #f6f6f6;
}

.inicio .intro h2 {
  color: #e60000;
  margin-bottom: 15px;
}

.destacados {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  padding: 40px;
}

.destacados article {
  background: #ffcc00;
  border-radius: 20px;
  padding: 15px;
  width: 280px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  transition: transform 0.3s;
}

.destacados article:hover {
  transform: translateY(-8px);
}

.destacados img {
  width: 100%;
  border-radius: 15px;
}

.blog {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  padding: 40px;
}

.blog article {
  background: #fff3b0;
  width: 300px;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  padding: 15px;
  text-align: center;
  transition: 0.3s;
}

.blog article:hover {
  transform: scale(1.03);
}

.blog img {
  width: 100%;
  border-radius: 10px;
}

.blog h3 {
  color: #e60000;
  margin: 10px 0;
}

.galeria {
  padding: 40px;
  background: #f6f6f6;
}

.grid-galeria {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

.grid-galeria img {
  width: 300px;
  border-radius: 15px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.grid-galeria img:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.videos {
  padding: 40px;
  background-color: #fff;
  text-align: center;
}

.intro-videos h2 {
  color: #e60000;
  font-size: 2em;
  margin-bottom: 10px;
}

.intro-videos p {
  max-width: 700px;
  margin: 0 auto 30px;
  font-size: 1.1em;
}

.contenedor-videos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-bottom: 40px;
}

.video-item {
  background: #ffcc00;
  padding: 15px;
  border-radius: 15px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.15);
  transition: 0.3s;
  width: 420px;
}

.video-item:hover {
  transform: translateY(-5px);
}

.video-item h3 {
  margin-top: 10px;
  color: #e60000;
  font-size: 1.1em;
}

.audio-lego {
  background-color: #f5f5f5;
  padding: 20px;
  border-radius: 10px;
  width: fit-content;
  margin: 0 auto;
}

.audio-lego h4 {
  color: #e60000;
  margin-bottom: 10px;
}

.footer-lego {
  background-color: #222;
  color: #fff;
  padding: 40px 20px 10px 20px;
}

.footer-contenido {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 30px;
}

.footer-logo img {
  width: 50px;
}

.footer-logo h3 {
  color: #ffcc00;
  margin: 10px 0;
}

.footer-redes h4, .footer-links h4 {
  color: #ffcc00;
  margin-bottom: 10px;
}

.social-links {
  display: flex;
  gap: 15px;
  font-size: 1.5em;
}

.social-links a {
  color: #fff;
  transition: 0.3s;
}

.social-links a:hover {
  color: #ffcc00;
  transform: scale(1.2);
}

.footer-links ul {
  list-style: none;
}

.footer-links a {
  color: #fff;
  display: block;
  margin-bottom: 5px;
  transition: 0.3s;
}

.footer-links a:hover {
  color: #ffcc00;
}

.footer-copy {
  text-align: center;
  border-top: 1px solid #444;
  margin-top: 30px;
  padding-top: 10px;
  font-size: 0.9em;
}


