/* Estilos profesionales para Campus Voley Playa */
:root {
  --primary-color: #0d6efd;
  --secondary-color: #6c757d;
  --success-color: #198754;
  --warning-color: #ffc107;
  --info-color: #0dcaf0;
  --dark-color: #212529;
  --gradient-bg: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: var(--gradient-bg);
  min-height: 100vh;
  color: var(--dark-color);
}

/* Hero Section */
.hero-section {
  min-height: 60vh;
  display: flex;
  align-items: center;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("https://images.unsplash.com/photo-1612872087720-bb876e2e67d1?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(102, 126, 234, 0.8) 0%,
    rgba(118, 75, 162, 0.8) 100%
  );
  z-index: 1;
}

.hero-section .container {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.4rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 300;
}

/* Info Section */
.info-section {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
}

/* Cards */
.info-card {
  border: none;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  background: white;
  overflow: hidden;
}

.info-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.info-card .card-body {
  padding: 2rem 1.5rem;
}

/* Icons */
.icon-lg {
  font-size: 3rem;
  display: block;
}

/* Schedule Items */
.schedule-item {
  background: rgba(248, 249, 250, 0.8);
  border-radius: 8px;
  padding: 0.75rem;
  border-left: 4px solid var(--warning-color);
}

/* Button */
.btn-inscripcion {
  background: linear-gradient(45deg, var(--primary-color), #0b5ed7);
  border: none;
  border-radius: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(13, 110, 253, 0.3);
  font-size: 1.1rem;
  padding: 1rem 3rem !important;
  position: relative;
  overflow: hidden;
}

.btn-inscripcion:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 30px rgba(13, 110, 253, 0.4);
  background: linear-gradient(45deg, #0b5ed7, var(--primary-color));
}

.btn-inscripcion:focus {
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.btn-inscripcion::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left 0.5s;
}

.btn-inscripcion:hover::before {
  left: 100%;
}

/* Benefits Section */
.benefits-section {
  background: rgba(248, 249, 250, 0.8);
  backdrop-filter: blur(10px);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--dark-color);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.2rem;
  color: var(--secondary-color);
  font-weight: 300;
}

.benefit-card {
  background: white;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  transition: all 0.3s ease;
  border: none;
}

.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.benefit-header {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid rgba(0, 0, 0, 0.1);
}

.benefit-header i {
  font-size: 2.5rem;
  margin-right: 1rem;
}

.benefit-header h4 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--dark-color);
  margin: 0;
}

.benefit-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.benefit-list li {
  padding: 0.5rem 0;
  display: flex;
  align-items: center;
  color: var(--dark-color);
  font-size: 1rem;
  line-height: 1.5;
}

.benefit-list li i {
  color: var(--success-color);
  margin-right: 0.75rem;
  font-size: 1.1rem;
}

/* Target Audience Section */
.target-audience-section {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
}

.target-card {
  background: white;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  padding: 3rem 2rem;
  margin-top: 2rem;
}

.target-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.target-item {
  display: flex;
  align-items: center;
  padding: 1.5rem;
  background: rgba(248, 249, 250, 0.5);
  border-radius: 12px;
  transition: all 0.3s ease;
  border-left: 4px solid transparent;
}

.target-item:hover {
  background: white;
  transform: translateX(10px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border-left-color: var(--primary-color);
}

.target-icon {
  margin-right: 1rem;
  flex-shrink: 0;
}

.target-icon i {
  font-size: 2rem;
}

.target-content h5 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--dark-color);
  line-height: 1.4;
}

/* Responsive adjustments for target section */
@media (max-width: 768px) {
  .target-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .target-item {
    padding: 1rem;
  }

  .target-icon i {
    font-size: 1.5rem;
  }

  .target-content h5 {
    font-size: 1rem;
  }
}

/* Estilos para formulario de inscripción */
.inscripcion-header {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
}

.inscripcion-form {
  background: var(--gradient-bg);
  min-height: 100vh;
}

.section-header h4 {
  color: var(--primary-color);
  font-weight: 600;
}

.jugador-card {
  background: rgba(248, 249, 250, 0.8);
  border: 2px solid rgba(13, 110, 253, 0.1) !important;
  transition: all 0.3s ease;
}

.jugador-card:hover {
  border-color: rgba(13, 110, 253, 0.3) !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.form-control.is-invalid,
.form-select.is-invalid {
  border-color: #dc3545;
  box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.25);
}

.invalid-feedback {
  display: block;
  color: #dc3545;
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

#add-jugador {
  transition: all 0.3s ease;
}

#add-jugador:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(13, 110, 253, 0.3);
}

.remove-jugador {
  transition: all 0.3s ease;
}

.remove-jugador:hover {
  transform: scale(1.05);
}

/* Animations */
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.jugador-card {
  animation: slideInUp 0.3s ease-out;
}

/* Responsive form */
@media (max-width: 768px) {
  .inscripcion-form .card-body {
    padding: 1.5rem !important;
  }

  .jugador-card {
    padding: 1.5rem !important;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .icon-lg {
    font-size: 2.5rem;
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.info-card {
  animation: fadeInUp 0.6s ease-out;
}

.info-card:nth-child(1) {
  animation-delay: 0.1s;
}
.info-card:nth-child(2) {
  animation-delay: 0.2s;
}
.info-card:nth-child(3) {
  animation-delay: 0.3s;
}
.info-card:nth-child(4) {
  animation-delay: 0.4s;
}

/* Contact Section */
.contact-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.contact-card {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  border: none;
}

.contact-person {
  text-align: center;
  padding: 1.5rem;
  border-radius: 10px;
  background: linear-gradient(135deg, #f8f9fa, #ffffff);
  border: 1px solid #e9ecef;
}

.contact-header i {
  font-size: 3rem;
  display: block;
}

.contact-header h4 {
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.contact-info {
  margin-top: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
  background: white;
  border-radius: 8px;
  border: 1px solid #e9ecef;
}

.contact-link {
  color: #333;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.contact-link:hover {
  color: #007bff;
}

.additional-info {
  padding: 1.5rem;
}

.info-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.info-list li {
  padding: 0.75rem 0;
  display: flex;
  align-items: center;
  border-bottom: 1px solid #f8f9fa;
}

.info-list li:last-child {
  border-bottom: none;
}

.contact-cta .alert {
  border: none;
  border-radius: 10px;
  background: linear-gradient(135deg, #d1ecf1, #bee5eb);
  color: #0c5460;
  font-size: 1rem;
}
