
/* Estilo base de la web */
body {
  background-color: #0f172a;
  color: #ffffff;
  font-family: 'Comic Sans MS', cursive;
}
.main-header {
  background: #1e1b4b;
  border-bottom: 4px solid #fb923c;
  padding: 1rem;
  text-align: center;
}
.top-banner {
  background-color: black;
  color: #facc15;
  font-weight: bold;
  padding: 0.25rem;
  display: inline-block;
  margin-bottom: 0.5rem;
}
.header-content h1 {
  font-size: 3rem;
  color: white;
  margin-bottom: 0.25rem;
}
.subheading {
  color: #cbd5e1;
  font-size: 1.25rem;
}
.tagline {
  font-size: 0.9rem;
  color: #cbd5e1;
  margin-bottom: 0.5rem;
}
.nav-menu ul {
  display: flex;
  justify-content: center;
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}
.nav-menu a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}
.hero-section {
  margin-top: 2rem;
}
.hero-section h2 {
  font-size: 2.5rem;
}
.highlight {
  color: #facc15;
}
.btn-orange {
  background-color: #fb923c;
  color: black;
  border: none;
  padding: 0.5rem 1rem;
  margin: 0.5rem;
  border-radius: 5px;
}
.btn-outline-orange {
  border: 2px solid #fb923c;
  color: #fb923c;
  background: none;
  padding: 0.5rem 1rem;
  margin: 0.5rem;
  border-radius: 5px;
}
.stats {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 2rem 0;
}
.stat {
  background-color: #1e1b4b;
  border: 2px solid #fb923c;
  padding: 1rem;
  border-radius: 0.5rem;
  text-align: center;
  font-size: 1.5rem;
}
.biblioteca-section {
  margin-top: 2rem;
}
.search-bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 1rem;
}
.search-bar input {
  padding: 0.5rem;
  width: 50%;
  border-radius: 5px;
  border: 1px solid #ccc;
  margin-bottom: 0.5rem;
}
.filter-buttons {
  display: flex;
  gap: 0.5rem;
}
.filter-btn {
  background-color: transparent;
  border: 2px solid #fb923c;
  color: #fb923c;
  padding: 0.25rem 0.5rem;
  border-radius: 5px;
  cursor: pointer;
}
.book-card {
  background-color: #1e293b;
  border: 2px solid #fb923c;
  padding: 1rem;
  border-radius: 10px;
}
.site-footer {
  background-color: #0f172a;
  color: #cbd5e1;
  padding: 2rem;
  border-top: 4px solid #fb923c;
}
.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.footer-content h5, .footer-content h6 {
  color: #ffffff;
  margin-bottom: 1rem;
}
.footer-bottom {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.85rem;
  color: #94a3b8;
}

/* miga de pan */
.breadcrumb-container {
  background-color: #1e1b4b;
  border-bottom: 2px solid #fb923c;
}
.breadcrumb-container a {
  text-decoration: none;
  font-weight: bold;
  color: #fb923c;
}
.breadcrumb-container a:hover {
  color: white;
}


/* imagenes*/ 
.logo-header {
  border-radius: 12px;
  border: 3px solid #f97316; /* mismo naranja que la línea */
}


/* Estilo base de las tarjetas de aventuras  */
.card.modulo-largo { background-color: #1e3a8a; }
.card.accion          { background-color: #7f0000; }
.card.misterio        { background-color: #0c4a6e; }
.card.aventura        { background-color: #78350f; }

/* Estilo base de las PNJS de aventuras  */
.card.villanos { background-color: #1e3a8a; }
.card.heroes          { background-color: #7f0000; }
.card.neutrales        { background-color: #0c4a6e; }
.card.alienigenas        { background-color: #78350f; }


.card-img-topBook50{
  display: flex;
  overflow: hidden;
  margin: 0 auto;
  width: 50%;
  height: auto;
}


/* Estilo base de las noticias destacadas  */
.carousel-item .card {
  width: 250px;
  height: 300px; /* altura fija */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: #1e293b;
  overflow: hidden;
  transition: transform 0.3s ease;
  border-radius: 12px;
  border: 3px solid #f97316; /* mismo naranja que la línea */
}

.carousel-item img {
  height: 100px;      /* Reduce la altura */
  object-fit: cover;
}

/* Estilo base de los enlaces del menú */
.nav-menu a {
  color: white;
  text-decoration: none;
  padding: 0.5rem 1rem;
  display: inline-block;
  transition: color 0.3s, border-bottom 0.3s;
}

/* Iluminar al pasar el ratón */
.nav-menu a:hover {
  color: #f97316; /* naranja vivo */
}

/* Subrayado para el enlace activo */
.nav-menu a.active {
  border-bottom: 2px solid #f97316;
  color: #f97316;
}

/* Subrayado para links ayuda */
.ayuda-links a {
  color: white !important;
  text-decoration: none !important;
  font-weight: bold;
  transition: color 0.3s ease;
}

.ayuda-links a:hover {
  color: #f97316 !important;
  text-decoration: underline;
}
.ayuda-links strong a {
  color: white !important;
  text-decoration: none !important;
  font-weight: bold;
  transition: color 0.3s ease;
}

.ayuda-links strong a:hover {
  color: #f97316 !important;
  text-decoration: underline !important;
}

/* imagen de la bandera europa*/
.bandera-europa {
  max-width: 30%;
  height: auto;
  border: 3px solid #f97316;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
  margin: 2rem auto;
}
.img-float-europa {
  float: right;
  width: 350px;
  margin-left: 2rem;
  margin-bottom: 1rem;
  border: 3px solid #f97316;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
}