/* CSS Document */

:root {
  --bs-primary: #ff6600; /* Cambia aquí por el color que quieras */
}

/* CSS para poner todo en colores que se vean bien sobre fondo oscuro */
body.bg-fixed-fullscreen {
  color: white;
}

.bg-fixed-fullscreen a {
  color: #cce6ff; /* un azul claro legible sobre fondo oscuro */
}

.bg-fixed-fullscreen .card {
  background-color: rgba(0, 0, 0, 0.7); /* tarjetas semitransparentes */
  color: white;
}

.bg-fixed-fullscreen .form-control,
.bg-fixed-fullscreen .form-select,
.bg-fixed-fullscreen .form-check-input {
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  border-color: #ccc;
}

.bg-fixed-fullscreen .form-control:focus,
.bg-fixed-fullscreen .form-select:focus,
.bg-fixed-fullscreen .form-check-input:focus {
  outline: none;
  box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.25);
  border-color: white;
}

.bg-fixed-fullscreen .form-control:hover,
.bg-fixed-fullscreen .form-select:hover,
.bg-fixed-fullscreen .form-check-input:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.bg-fixed-fullscreen .form-control::placeholder {
  color: #ddd;
}

.bg-fixed-fullscreen .btn {
  color: white;
  border-color: white;
}

.bg-fixed-fullscreen .btn.btn-light {
  background-color: rgba(255,255,255,0.15);
  color: white;
}

/* neutralizar el fondo del autocompletado */
.bg-fixed-fullscreen input:-webkit-autofill,
.bg-fixed-fullscreen input:-webkit-autofill:hover,
.bg-fixed-fullscreen input:-webkit-autofill:focus,
.bg-fixed-fullscreen textarea:-webkit-autofill,
.bg-fixed-fullscreen select:-webkit-autofill {
  background-color: rgba(255, 255, 255, 0.1) !important;
  -webkit-box-shadow: none !important;
  box-shadow: none !important;
  -webkit-text-fill-color: white !important;
  caret-color: white !important;
  transition: background-color 5000s ease-in-out 0s !important; /* Engaña a Chrome */
}

/* Zoom y cursor en la galeria */
.zoom-hover {
    transition: transform 0.3s ease;
    cursor: zoom-in;
}

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

/* AnimaciÃ³n cambio visibilidad */
@keyframes bounceToggle {
  0%   { transform: scale(1); }
  30%  { transform: scale(1.4); }
  50%  { transform: scale(0.8); }
  70%  { transform: scale(1.2); }
  100% { transform: scale(1); }
}

.toggle-publico-icon i {
    display: inline-block; /* ðŸ‘ˆ Esto permite transformaciones */
    transition: transform 0.2s ease-out;
}

.toggle-publico-icon i.animate-toggle {
  animation: bounceToggle 0.5s cubic-bezier(0.25, 1.5, 0.5, 1);
}

/* Popup de imagen a pantalla completa */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1050;
}

.popup-overlay img {
  max-width: 90vw;
  max-height: 90vh;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
  border-radius: 6px;
}

.popup-overlay iframe {
  width: 90vw;
  height: 90vh;
  border: none;
  border-radius: 6px;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.popup-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 2rem;
  color: white;
  cursor: pointer;
  z-index: 1100;
}

/* MENU MOVILES */

@media (max-width: 991.98px) {
  .navbar-collapse {
    background-color: rgba(0, 0, 0, 0.85); /* fondo semitransparente oscuro */
    padding: 1rem;
    border-radius: 0 0 10px 10px;
  }

  .navbar-nav .nav-link {
    padding: 0.75rem 1rem;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
  }

  .navbar-nav .nav-item:last-child .nav-link {
    border-bottom: none;
  }
}

/* NOTE BOX */

.note-box {
    background-color: rgba(255, 255, 255, 0.15); 
    border-radius: 6px;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    color: #f1f1f1;
}

