* {
  box-sizing: border-box;
}

body {
  background-color: #000;
  color: #e0e0e0;
  font-family: "Montserrat", sans-serif;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  font-size: clamp(14px, 2vw, 18px);
  display: flex;
  flex-direction: column;
}

main {
  flex: 1 0 auto;
}

img,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

.neon-color {
  color: #1896df;
}

.neon-shadow {
  box-shadow: 0 0 25px #1896df80;
}

.neon-text {
  font-family: "Orbitron", sans-serif;
  color: #1896df;
  text-shadow: 0 0 15px #1896df;
}

.neon-subtext {
  color: #b0b0b0;
  text-shadow: 0 0 5px #1896df60;
}

.neon-text-title {
  font-family: "Orbitron", sans-serif;
  color: #1896df;
  text-shadow:
    0 0 10px #1896df,
    0 0 20px #1896df60;
  font-size: 2.5rem;
}

.neon-text-sm {
  color: #1896df;
  text-shadow: 0 0 8px #1896df;
  font-weight: 700;
}

.header-neon {
  background-color: #050505;
  box-shadow: 0 0 20px #1896df80;
  border-bottom: 2px solid #1896df;
  z-index: 1030;
  padding: 0 !important;
  text-align: left;
}

.custom-navbar .navbar-brand {
  font-size: 1.8rem;
  padding: 0;
  margin: 0;
}

.custom-navbar .nav-link {
  color: #e0e0e0 !important;
  text-decoration: none;
  font-weight: 500;
  transition:
    color 0.3s,
    text-shadow 0.3s;
  padding-left: 15px;
  padding-right: 15px;
  position: relative;
}

.custom-navbar .nav-link:hover {
  color: #fff !important;
  text-shadow: 0 0 10px #1896df;
}

.custom-btn-nav {
  background-color: #1896df40;
  border-radius: 5px;
  border: 1px solid #1896df;
}

.custom-btn-nav:hover {
  background-color: #1896df60;
}

/* --- Hero --- */
.hero {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 60px 20px;
  background-color: #000;
  height: 450px;
}

.hero-contenedor {
  position: relative;
  width: 100%;
  max-width: 1100px;
  border: 2px solid #1896df;
  border-radius: 15px;
  box-shadow: 0 0 25px #1896df80;
  overflow: hidden;
  height: 100%;
  background-image: url("imagenes/img1.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.8;
  transition:
    transform 0.6s ease,
    opacity 0.6s ease;
}

.hero-contenedor:hover {
  transform: scale(1.03);
  opacity: 0.9;
}

.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  background: rgba(0, 0, 0, 0.6);
  padding: 25px 45px;
  border-radius: 10px;
  border: 1px solid #1896df70;
  box-shadow: 0 0 25px #1896df80;
  backdrop-filter: blur(8px);
}

.hero-text h2 {
  font-size: 2.8rem;
  color: #1896df;
  font-weight: 700;
  text-shadow: 0 0 15px #1896df;
  margin-bottom: 10px;
}

.hero-text p {
  font-size: 1.3rem;
  color: #d0d0d0;
}

.ofertas-section {
  background-color: #0a0a0a;
  border: 3px solid #1896df;
  border-radius: 15px;
  box-shadow: 0 0 40px #1896df;
  padding: 30px;
  animation: pulse-border 1.5s infinite alternate;
}

.ofertas-content {
  max-width: 700px;
}

.ofertas-content .carousel-item img,
.ofertas-content .carousel-item picture img {
  height: auto;
  max-height: 350px;
  width: 100%;
  object-fit: contain;
  background-color: #0a0a0a;
  border-radius: 8px;
  border: 1px solid #1896df;
}

@keyframes pulse-border {
  from {
    box-shadow: 0 0 30px #1896df;
  }

  to {
    box-shadow:
      0 0 50px #1896df,
      0 0 10px #fff;
  }
}

.tarjeta {
  background-color: #101010;
  border: 1px solid #1896df;
  border-radius: 10px;
  transition:
    transform 0.3s,
    box-shadow 0.3s;
  height: 100%;
  overflow: hidden;
}

.tarjeta:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow:
    0 0 20px #1896df,
    0 0 5px #fff;
}

.tarjeta-img,
.tarjeta picture img {
  width: 100%;
  height: 150px;
  object-fit: contain;
  background-color: transparent;
  border-bottom: 2px solid #1896df;
  transition: all 0.5s ease;
}

.tarjeta:hover .tarjeta-img,
.tarjeta:hover picture img {
  filter: brightness(1.1);
}

.tarjeta h3 {
  color: #1896df;
  margin-top: 15px;
  font-size: 1.4rem;
}

.tarjeta p {
  color: #c0c0c0;
  font-size: 0.9rem;
  padding-bottom: 5px;
}

.tabla-personalizada {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 15px #1896df80;
  border-collapse: separate;
  border-spacing: 0;
}

.tabla-personalizada thead th {
  background-color: #1896df;
  color: #000;
  font-weight: bold;
  text-shadow: none;
  border-color: #000 !important;
}

.tabla-personalizada tbody tr:hover {
  background-color: #0d83c7 !important;
  cursor: pointer;
}

.form-contacto {
  background-color: #101010;
  border: 1px solid #1896df;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 0 15px #1896df60;
}

.form-contacto label {
  color: #1896df;
  font-weight: 600;
  margin-top: 5px;
  margin-bottom: 5px;
}

.custom-input {
  width: 100%;
  background-color: #000 !important;
  color: #fff !important;
  border: 1px solid #1896df60 !important;
  border-radius: 6px;
  padding: 10px;
  transition:
    border-color 0.3s,
    box-shadow 0.3s;
}

.custom-input:focus {
  border-color: #1896df !important;
  box-shadow: 0 0 8px #1896df80 !important;
  background-color: #050505 !important;
}

.custom-btn {
  background-color: #1896df !important;
  border: none !important;
  color: #000 !important;
  font-weight: 700 !important;
  padding: 12px 20px !important;
  border-radius: 8px !important;
  transition:
    background-color 0.3s,
    box-shadow 0.3s;
  width: 100%;
  margin-top: 15px;
}

.custom-btn:hover {
  background-color: #0d83c7 !important;
  box-shadow: 0 0 15px #1896df !important;
  color: #fff !important;
}

.contacto-info {
  background-color: #101010;
  border: 1px solid #1896df;
  padding: 30px;
  border-radius: 10px;
  height: 100%;
  box-shadow: 0 0 15px #1896df60;
}

.contacto-info h3 {
  color: #1896df;
  margin-bottom: 15px;
  text-align: center;
}

.contacto-info p {
  color: #c0c0c0;
  margin-bottom: 8px;
  text-align: center;
}

.contacto-info p a {
  text-decoration: none;
}

.contacto-info iframe {
  width: 100%;
  height: 250px;
  border: 1px solid #1896df80;
  border-radius: 10px;
  margin-top: 15px;
}

/* --- Footer --- */
footer {
  flex-shrink: 0; 
  background-color: #0a0a0a !important;
  border-top: 1px solid #1896df40;
  color: #888;
  font-size: 0.9rem;
  width: 100% !important;
  padding: 20px 0 10px 0;
  position: relative;
}

footer .container {
    max-width: 1200px; 
    margin: 0 auto;
}

.social-icon i {
  color: #1896df;
  transition: 0.3s;
}

.social-icon:hover i {
  color: #fff;
  text-shadow: 0 0 10px #1896df;
}


/* --- Login--- */
.custom-modal {
  background-color: #0a0a0a;
  border: 2px solid #1896df;
  border-radius: 10px;
  box-shadow: 0 0 20px #1896df80;
}

@media (max-width: 991.98px) {
  /* Navbar Toggle */
  .custom-navbar .navbar-toggler {
    border-color: #1896df;
    box-shadow: 0 0 5px #1896df;
  }

  .custom-navbar .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2824, 150, 223, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  }

  .custom-navbar .navbar-collapse {
    background-color: #000;
    border-top: 1px solid #1896df60;
    padding-bottom: 10px;
    margin-top: 10px;
  }

  .custom-navbar .nav-item {
    margin: 5px 0;
  }

  /* Hero */
  .hero {
    height: 350px;
  }

  .hero-text h2 {
    font-size: 2rem;
  }

  .hero-text p {
    font-size: 1.1rem;
  }

  .tarjeta-img,
  .tarjeta picture img {
    height: 200px;
  }

  /* Ofertas */
  .ofertas-content .carousel-item img,
  .ofertas-content .carousel-item picture img {
    height: auto;
    max-height: 400px;
    width: 100%;
    object-fit: contain;
    background-color: #0a0a0a;
    border-radius: 8px;
    border: 1px solid #1896df;
    overflow: hidden;
  }
}

@media (max-width: 768px) {
  /* Hero */
  .hero {
    height: 300px;
  }

  .hero-text {
    padding: 15px 25px;
  }

  .hero-text h2 {
    font-size: 1.7rem;
  }

  .hero-text p {
    font-size: 1rem;
  }

  .tarjeta-img,
  .tarjeta picture img {
    height: 180px;
  }

  /* Ofertas */
  .ofertas-content .carousel-item img {
    max-height: 200px;
  }
}
/* idiomas */
#selector-idiomas {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 10px 15px;
}

#selector-idiomas button {
  background: transparent;
  border: 1px solid #1896df60;
  color: #1896df;
  font-family: "Orbitron", sans-serif;
  font-size: 0.75rem;
  padding: 2px 8px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
}

#selector-idiomas button:hover {
  background: #1896df20;
  border-color: #1896df;
  box-shadow: 0 0 10px #1896df80;
  color: #fff;
}

@media (max-width: 991.98px) {
  #selector-idiomas {
    justify-content: center;
    border-top: 1px solid #1896df40;
    margin-top: 10px;
  }
}

/* audio */
#audio-player .custom-audio-wrapper {
  background-color: rgba(0, 0, 0, 0.8);
  border: 1px solid #0dcaf0;
  border-radius: 15px;
  box-shadow: 0 0 15px rgba(13, 202, 240, 0.2);
  max-width: 400px;
  margin: 0 auto;
  backdrop-filter: blur(5px);
}

.btn-audio {
  background-color: transparent;
  border: 2px solid #08d1f5;
  color: #2600fc;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  font-size: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-audio:hover {
  background-color: #31a9d8;
  color: white;
  box-shadow: 0 0 20px #19b1df;
  transform: scale(1.1);
}

.btn-audio.playing {
  border-color: #13c4e4;
  color: #0f5ceb;
  box-shadow: 0 0 15px #10a6ec;
}
.btn-audio.playing:hover {
  background-color: #19dae7;
  color: white;
}

#audio-status {
  font-family: "Orbitron", sans-serif;
  color: #fff;
  font-size: 1.1rem;
  letter-spacing: 1px;
  text-shadow: 0 0 5px #0dcaf0;
}

/* para mi nav*/
.custom-navbar .nav-link {
  transition:
    color 0.3s ease,
    text-shadow 0.3s ease,
    transform 0.3s ease;
}

/*y aca para cambiar el estado de hover a active*/
.custom-navbar .nav-link:hover,
.custom-navbar .nav-link.active {
  transform: translateY(-3px);
  color: #fff !important;
  text-shadow:
    0 0 15px #1896df,
    0 0 30px #1896df80;
}

/* cambio para menu*/
.dropdown-menu {
  background-color: #050505;
  border: 1px solid #1896df;
  border-radius: 10px;
  box-shadow: 0 0 20px #1896df40;
  padding: 10px 0;

  display: block;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.dropdown-menu.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  color: #e0e0e0;
  font-family: "Montserrat", sans-serif;
  transition: all 0.2s ease;
}

.dropdown-item:hover {
  background-color: rgba(24, 150, 223, 0.2);
  color: #fff;
  padding-left: 20px;
  text-shadow: 0 0 8px #1896df;
}

.dropdown-divider {
  border-top: 1px solid #1896df60;
}

/*para que el mando tenga animacion*/
@keyframes neonPulse {
  0% {
    transform: scale(1);
    text-shadow: 0 0 10px #1896df40;
  }
  50% {
    transform: scale(1.15);
    text-shadow:
      0 0 20px #1896df,
      0 0 10px #fff;
    filter: brightness(1.2);
  }
  100% {
    transform: scale(1);
    text-shadow: 0 0 10px #1896df40;
  }
}

.custom-navbar .navbar-brand i {
  display: inline-block;
  animation-name: neonPulse;
  animation-duration: 2s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
}

.navbar-brand {
  animation: fadeInDown 1.2s ease-out forwards;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
