/* Estilos personalizados para Easy Code Books */

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

/* Navbar */
.navbar-custom {
  background: #000050;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: white !important;
  font-size: 1.5rem;
  font-weight: 600;
}

.logo-icon {
  width: 50px;
  height: 50px;
  background: white;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.navbar-nav .nav-link {
  color: white !important;
  font-weight: 500;
  transition: opacity 0.3s;
}

.navbar-nav .nav-link:hover {
  opacity: 0.8;
}

/* ===== Dark Mode ===== */
/* ===== Modo Oscuro: Esquema sobrio (negros y grises) ===== */

body.dark-mode {
  background-color: #0a0a0a;
  color: #e0e0e0;
}

/* Navbar en modo oscuro */
body.dark-mode .navbar-custom {
  background: #000000; /* Negro puro */
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

/* Footer en modo oscuro */
body.dark-mode .footer-custom {
  background: #111111; /* Gris muy oscuro */
  color: #f0f0f0;
}

/* Texto del navbar y enlaces */
body.dark-mode .navbar-brand,
body.dark-mode .navbar-nav .nav-link {
  color: #ffffff !important;
}

/* Título "En Construcción" en modo oscuro */
body.dark-mode .construction-title {
  background: none !important;
  -webkit-background-clip: initial !important;
  background-clip: initial !important;
  -webkit-text-fill-color: initial !important;
  color: #ffffff !important;
  font-weight: 700;
}

/* Texto descriptivo */
body.dark-mode .construction-text {
  color: #bbbbbb;
}

/* Badge "Próximamente" en modo oscuro */
body.dark-mode .coming-soon-badge {
  background: #1a1a1a; /* Gris oscuro con contraste */
  color: #ffffff;
  border: 1px solid #333333;
}

/* Footer: textos y enlaces */
body.dark-mode .footer-title,
body.dark-mode .footer-section h5 {
  color: #ffffff;
}

body.dark-mode .footer-description,
body.dark-mode .footer-links a {
  color: #cccccc;
}

body.dark-mode .footer-links a:hover {
  color: #667eea; /* Toque de color de marca en hover */
}

/* Iconos de redes sociales */
body.dark-mode .social-icon {
  background: #222222;
}

body.dark-mode .social-icon:hover {
  background: #667eea;
}
/* Construction Section */
.construction-section {
  min-height: calc(100vh - 200px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  margin-top: 80px;
}

.construction-icon {
  font-size: 80px;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

.construction-title {
  font-size: 3rem;
  background: #000050;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
}

.construction-text {
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 2rem;
}

.coming-soon-badge {
  background: #000050;
  color: white;
  padding: 1rem 2rem;
  border-radius: 50px;
  display: inline-block;
  font-weight: 600;
}

/* Footer */
.footer-custom {
  background: #000050;
  color: white;
  padding: 3rem 0 1rem;
}

.footer-section h5 {
  color: #667eea;
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}

.footer-logo {
  width: 60px;
  height: 60px;
  background: white;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 1rem;
}

.footer-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.footer-description {
  color: #cbd5e0;
  font-size: 0.9rem;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: #cbd5e0;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #667eea;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-icon {
  width: 40px;
  height: 40px;
  background: #4a5568;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: white;
  transition: background 0.3s;
}

.social-icon:hover {
  background: #667eea;
}

.footer-bottom {
  text-align: center;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #4a5568;
  color: #cbd5e0;
}

/* Responsive */
@media (max-width: 768px) {
  .construction-title {
    font-size: 2rem;
  }

  .construction-icon {
    font-size: 60px;
  }
}
