/* ====== BASE ====== */

body {
  background-color: #0b0b0b;
  color: #e5e5e5;
  font-family: "Segoe UI", Arial, sans-serif;
}

/* Links */

a {
  color: #c1121f;
  text-decoration: none;
}

a:hover {
  color: #ff2a3d;
}

/* ====== NAVBAR ====== */

.navbar {
  background: linear-gradient(90deg, #000000, #1a1a1a);
  border-bottom: 2px solid #c1121f;
}

.navbar-brand {
  font-weight: bold;
  letter-spacing: 1px;
}

/* ====== TITULOS ====== */

h1, h2, h3, h4 {
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Animación de entrada */

h1 {
  animation: fadeMetal 0.8s ease;
}

@keyframes fadeMetal {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* ====== TARJETAS ====== */

.card {
  background-color: #1a1a1a;
  border: 1px solid #2b2b2b;
  color: #e5e5e5;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 18px rgba(193,18,31,0.5);
}

/* ====== TABLAS ====== */

.table {
  color: #e5e5e5;
}

.table-striped tbody tr:nth-of-type(odd) {
  background-color: #151515;
}

/* ====== BOTONES ====== */

.btn-primary {
  background-color: #c1121f;
  border-color: #c1121f;
}

.btn-primary:hover {
  background-color: #ff2a3d;
  border-color: #ff2a3d;
}

/* ====== FORMULARIOS ====== */

.form-control {
  background-color: #111;
  border: 1px solid #333;
  color: #fff;
}

.form-control:focus {
  background-color: #111;
  border-color: #c1121f;
  box-shadow: 0 0 6px rgba(193,18,31,0.5);
}

/* ====== IMÁGENES ====== */

.img-fluid, .card img {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.img-fluid:hover, .card:hover img {
  transform: scale(1.03);
  box-shadow: 0 0 20px rgba(193,18,31,0.6);
}

/* ====== CARRUSEL ====== */

.carousel-caption {
  background: rgba(0,0,0,0.6);
  border-radius: 8px;
}

/* ====== FOOTER ====== */

footer {
  background-color: #000;
  border-top: 2px solid #c1121f;
}

/* ====== SCROLLBAR (opcional, queda brutal) ====== */

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #111;
}

::-webkit-scrollbar-thumb {
  background: #c1121f;
}
