body {
  background-color: #f8f9fa;
  color: #2e3755;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

header.py-2.borde-inferior {
  background-color: #a3b8fd;
  color: #2e5530;
  border-bottom: 2px solid #6d8fff;
}

footer {
  background-color: #6d8fff;
  color: white;
  text-align: center;
  width: 100vw;
  left: 0;
  position: fixed;
  bottom: 0;
  margin: 0;
  border-radius: 0;
  z-index: 100;
}

.logo-link, .enlace-logo {
  text-decoration: none;
  color: inherit;
}

.logo-link:hover, .enlace-logo:hover {
  color: inherit;
}

.borde-inferior {
  border-bottom: 2px solid #6d8fff;
}

.nav {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0;
}

.nav-item {
  position: relative;
}

.nav-link {
  color: #2e3755;
  font-weight: 500;
  font-size: 1.08rem;
  padding: 8px 18px;
  border-radius: 20px;
  transition: background 0.2s, color 0.2s;
}

.nav-link:hover, .nav-link:focus {
  background: #6d8fff;
  color: #fff;
  text-decoration: none;
}

.nav-link.active {
  background: #2e3755;
  color: #fff !important;
}

.dropdown-menu {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(109,143,255,0.10);
  border: none;
  min-width: 180px;
  margin-top: 8px;
}

.dropdown-item {
  color: #2e3755;
  font-size: 1.05rem;
  padding: 10px 20px;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}

.dropdown-item:hover, .dropdown-item:focus {
  background: #e3eaff;
  color: #1a237e;
}

.dropdown-item.active {
  background: #6d8fff;
  color: #fff !important;
}

.dropdown-toggle::after {
  margin-left: 8px;
}

.pequeno {
  font-size: 0.95rem;
}

.contenedor {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.me-3 {
  margin-right: 1rem !important;
}

#carruselBasquet {
  max-width: 800px;
  margin: 50px auto;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.carousel-inner img {
  object-fit: cover;
  height: 500px;
}

.carousel-caption {
  background: rgba(0, 0, 0, 0.5);
  border-radius: 10px;
  padding: 1rem;
}

.carousel-indicators [data-bs-target] {
  background-color: #fff;
  border: 1px solid #000;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: invert(1);
}

.category-card {
  background: linear-gradient(145deg, #ffffff, #f0f0f0);
  border-radius: 15px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 5px 5px 15px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.category-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 8px 8px 20px rgba(0,0,0,0.15);
  background: linear-gradient(145deg, #f0f0f0, #ffffff);
}

.category-title {
  color: #2e3755;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 10px;
  text-align: center;
}

.category-zone {
  color: #6d8fff;
  font-size: 1.1rem;
  text-align: center;
  margin: 0;
  font-weight: 500;
}

.category-card:hover .category-title {
  color: #6d8fff;
}

.category-card:hover .category-zone {
  color: #2e3755;
}

.carousel-item img {
  height: 400px;
  object-fit: cover;
}

.carousel-caption {
  background: rgba(0, 0, 0, 0.5);
  padding: 20px;
  border-radius: 10px;
}

.reglamento-section {
  background-color: #f8f9fa;
  padding: 30px;
  border-radius: 10px;
  margin: 30px 0;
}

.reglamento-title, .reglamento-section h3 {
  color: #2e3755;
  border-bottom: 2px solid #6d8fff;
  padding-bottom: 10px;
  margin-bottom: 20px;
}

.reglamento-item {
  margin-bottom: 30px;
}

.reglamento-item h4 {
  color: #6d8fff;
  margin-bottom: 15px;
}

.btn-primary {
  background-color: #6d8fff;
  border-color: #6d8fff;
  padding: 10px 25px;
  border-radius: 25px;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: #5a7de8;
  border-color: #5a7de8;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(109, 143, 255, 0.3);
}