/* estilos.css */

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f3f4f6;
  color: #1f2937;
}

h2 {
  font-size: 2rem;
  font-weight: 600;
  color: #111827;
}

.movie-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.movie-card:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.movie-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #111827;
}

.movie-card p {
  color: #4b5563;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.tabla-estrenos th,
.tabla-estrenos td {
  padding: 0.75rem 1rem;
  border-top: 1px solid #e5e7eb;
  background-color: #ffffff;
}

.tabla-estrenos tr:hover td {
  background-color: #f9fafb;
}

.tabla-estrenos td:first-child a {
  font-weight: 500;
  color: #111827;
  display: block;
  transition: color 0.2s;
}

.tabla-estrenos td:first-child a:hover {
  color: #1f2937;
}

/* Transiciones suaves para submenús */
ul ul {
  transition: max-height 0.3s ease-in-out;
  overflow: hidden;
  max-height: 0;
}

ul ul.show {
  max-height: 1000px; /* suficiente para mostrar todos los ítems */
}

/* Sidebar botón */
#menu-toggle {
  transition: background 0.2s ease;
}

#menu-toggle:hover {
  background-color: #e5e7eb;
}

/* Botón de volver */
#volver-btn {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  font-weight: 500;
}
