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;
}

.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;
}

.category-card {
  background: #fff;
  border-radius: 1rem;
  border: 2px solid #e0e0e0; 
  box-shadow: 0 4px 24px rgba(0,0,0,0.12), 0 0 0 2px #0d6efd22; 
  transition: transform 0.2s, box-shadow 0.2s;
}

.category-card:hover {
  transform: translateY(-5px) scale(1.03);
  box-shadow: 0 8px 32px rgba(13,110,253,0.15), 0 0 0 2px #0d6efd55;
  border-color: #0d6efd; 
}

.category-title {
  color: #0d6efd;
  font-weight: 700;
  font-size: 1.5rem;
}

.category-zone {
  color: #495057;
  font-size: 1.1rem;
}

#carruselVoley {
  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);
}

.botonera {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin: 20px 0;
}

.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);
}

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

.reglamento-title {
  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;
}

.fondo-decorativo {
  position: relative;
  width: 100%;
  height: 350px; 
  background-image: url('/img/pelota\ voley.png'); 
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
  margin-bottom: 40px;
}

.fondo-decorativo::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.45); 
  z-index: 1;
}

.fondo-decorativo > * {
  position: relative;
  z-index: 2;
}