html {
  scroll-behavior: smooth;
}

body {
  font-family:
    Inter,
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    "Helvetica Neue",
    Arial,
    "Noto Sans",
    "Liberation Sans",
    sans-serif;
}

/* ====== Base Theme ====== */
body {
  background: #0d0d0d;
  /* slate-950 */
  color: #e2e8f0;
  /* slate-200 */
}

/* ====== Navbar  ====== */
.navbar {
  background: rgba(2, 6, 23, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.navbar .navbar-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
}

.horse-icon {
  display: inline-flex;
  height: 38px;
  width: 38px;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.navbar .nav-link {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  font-weight: 600;
}

.navbar .nav-link:hover {
  color: rgba(255, 255, 255, 0.95);
}

/* Toggler icon */
.navbar-toggler {
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  padding: 0.5rem 0.6rem;
  background: rgba(255, 255, 255, 0.06);
}

.navbar-toggler:hover {
  background: rgba(255, 255, 255, 0.1);
}

.navbar-toggler-icon {
  display: inline-block;
  width: 22px;
  height: 22px;
  background:
    linear-gradient(#fff, #fff) 0 4px/100% 2px no-repeat,
    linear-gradient(#fff, #fff) 0 10px/100% 2px no-repeat,
    linear-gradient(#fff, #fff) 0 16px/100% 2px no-repeat;
  opacity: 0.9;
}

/* Collapse  */
.navbar-collapse {
  transition: all 0.25s ease;
}

.navbar-collapse:not(.show) {
  display: none;
}

@media (min-width: 576px) {
  .navbar-collapse {
    display: flex !important;
  }

  .navbar-collapse:not(.show) {
    display: flex !important;
  }
}

/* ====== Buttons (negro) ====== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.55rem 0.95rem;
  border-radius: 14px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition:
    transform 0.15s ease,
    background 0.15s ease,
    border-color 0.15s ease,
    opacity 0.15s ease;
  user-select: none;
}

.btn:hover {
  transform: translateY(-1px);
}

/* Botón NEGRO (para cards y CTA principales) */
.btn-darkee {
  background: #000;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.12);
}

.btn-darkee:hover {
  background: #0b0b0b;
  border-color: rgba(255, 255, 255, 0.18);
}

/* Botón login ahora NEGRO (antes btn-light) */
.btn-light {
  background: #000;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.12);
}

.btn-light:hover {
  background: #0b0b0b;
}

/* WhatsApp */
.btn-success {
  background: #16a34a;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.1);
}

.btn-success:hover {
  background: #15803d;
}

/* ====== Sections ====== */
.hero {
  position: relative;
}

/* Events background */
#events {
  background:
    radial-gradient(
      circle at 20% 10%,
      rgba(245, 158, 11, 0.22),
      transparent 40%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(59, 130, 246, 0.2),
      transparent 45%
    ),
    radial-gradient(
      circle at 50% 80%,
      rgba(16, 185, 129, 0.16),
      transparent 45%
    ),
    linear-gradient(to bottom, #0d0d0d, #0b1226);
}

#services {
  background:
    radial-gradient(
      circle at 20% 10%,
      rgba(245, 158, 11, 0.22),
      transparent 40%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(59, 130, 246, 0.2),
      transparent 45%
    ),
    radial-gradient(
      circle at 50% 80%,
      rgba(16, 185, 129, 0.16),
      transparent 45%
    ),
    linear-gradient(to bottom, #0d0d0d, #0b1226);
}
/* Container "bootstrap" compatible width */
.container {
  max-width: 1120px;
}

/* ====== Cards (IMPORTANTE: estiliza lo que renderiza get.events.js) ====== */
.card {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  overflow: hidden;
}

.card-body {
  padding: 1.15rem;
}

/* Si el JS mete imágenes dentro de cards */
.card img {
  width: 100%;
  height: auto;
  display: block;
}

/* Texto */
.text-muted {
  color: rgba(255, 255, 255, 0.62) !important;
}

/* ====== Grid (sin alterar tu estructura de row/col) ====== */
#eventsContainer {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

@media (min-width: 768px) {
  #eventsContainer {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
  }
}

/* ====== Carousel (manteniendo tus clases, pero sin Bootstrap) ====== */
.carousel-inner {
  position: relative;
}

.carousel-item {
  display: none;
}

.carousel-item.active {
  display: block;
}

.carousel-indicators button {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, 0.35);
  transition: background 0.15s ease;
}

.carousel-indicators button.active {
  background: rgba(255, 255, 255, 0.95);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 22px;
}

.carousel-control-prev-icon::before {
  content: "‹";
}

.carousel-control-next-icon::before {
  content: "›";
}

/* Footer */
footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(2, 6, 23, 0.82);
  backdrop-filter: blur(10px);
  padding: 1.5rem 0;
}
