/* General */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f4f4f4;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* Header */
header {
  background-color: #00264d; /* azul oscuro profundo */
  color: white;
  padding: 40px 0;
  text-align: center;
}

.titulo-plateado {
  color: #007bff; /* Azul eléctrico claro */
  font-size: 2rem; /* ⬅️ Más pequeño */
  font-weight: 900;
  font-family: 'Arial Black', sans-serif;

  /* Efecto de relieve 3D */
  text-shadow:
    1px 1px 0 #003366,    /* capa 1 */
    2px 2px 0 #00264d,    /* capa 2 */
    3px 3px 0 #001f3f,    /* capa 3 */
    4px 4px 5px rgba(0, 0, 0, 0.5), /* sombra externa */
    0 0 8px rgba(0, 123, 255, 0.7), /* glow más suave */
    0 0 16px rgba(0, 123, 255, 0.5); /* glow amplio */
}





.asistente-destacado {
  background-color: rgba(0, 123, 255, 0.1);
  border: 2px solid #007bff;
  color: white;
  font-size: 1.2rem;
  padding: 15px 20px;
  border-radius: 10px;
  display: inline-block;
  margin-top: 20px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
  box-shadow: 0 0 10px rgba(0, 123, 255, 0.3);
  animation: glow 2s infinite alternate;
}
.asistente-destacado img{
  width: 100%;
}


@keyframes glow {
  from { box-shadow: 0 0 10px rgba(0, 123, 255, 0.3); }
  to { box-shadow: 0 0 20px rgba(0, 123, 255, 0.7); }
}

.asistente-destacado strong {
  color: #00aaff;
  font-weight: bold;
}
.icono-artur {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  vertical-align: middle;
  margin-right: 10px;
}

/* Contenedor del logo */
.logo-container {
  display: inline-block;
  padding: 10px;
  border: 3px solid #007bff; /* azul eléctrico claro */
  border-radius: 10px;
  box-shadow:
    2px 2px 0 #3399ff, /* reflejo en azul claro */
    -1px -1px 0 #3399ff,
    3px 3px 8px rgba(0, 123, 255, 0.7); /* sombra difusa azul */
}

.logo-container img {
  max-width: 150px;
}


/* Hero */
.hero {
  background-color: #00264d; /* Color sólido para que luzca uniforme */
  color: white;
  text-align: center;
  padding: 100px 20px;
  position: relative;
}

.hero::before {
  display: none; /* Eliminamos el overlay para evitar que oscurezca */
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero h2 {
  font-size: 2rem;
  color: white;
}

.hero p {
  font-size: 1.2rem;
  color: white;
}

/* BOTÓN EN HERO (principal) */
.artur-hero-button {
  margin-top: 40px;
}

.artur-name {
  color: white;
  font-size: 1.5rem;
  margin-top: 10px;
  font-weight: bold;
  text-shadow: 0 0 5px rgba(0,0,0,0.7);
}

/* Botón SOLO avatar */
.chatbot-avatar-button {
  background-color: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  z-index: 1000;
  animation: pulse-avatar 2s infinite;
  transition: transform 0.3s ease;
}

.chatbot-avatar-button img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  box-shadow: 0 0 15px rgba(0, 123, 255, 0.7);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.chatbot-avatar-button.big img {
  width: 120px;
  height: 120px;
}

.chatbot-avatar-button:hover img {
  box-shadow: 0 0 25px rgba(0, 123, 255, 1);
  transform: scale(1.1);
}

@keyframes pulse-avatar {
  0% { box-shadow: 0 0 0 0 rgba(0, 123, 255, 0.7); }
  70% { box-shadow: 0 0 0 15px rgba(0, 123, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 123, 255, 0); }
}

/* Ventana Chat */
.chat-window {
  display: none;
  flex-direction: column;
  position: fixed;
  bottom: 100px;
  right: 20px;
  width: 320px;
  background-color: white;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  border-radius: 10px;
  overflow: hidden;
  z-index: 1000;
}

.chat-header {
  background-color: #1f2a44;
  color: white;
  display: flex;
  align-items: center;
  padding: 10px;
}

.chat-header .chat-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  margin-right: 10px;
}

.close-btn {
  background: transparent;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  margin-left: auto;
}

.chat-body {
  background-color: #f1f1f1;  
  overflow-y: auto;
  padding: 10px;
  height: 100%;
}

.message {
  margin-bottom: 10px;
  padding: 8px 12px;
  border-radius: 20px;
  max-width: 80%;
}

.bot-message {
  background-color: #007bff;
  color: white;
}

.user-message {
  background-color: #e1e1e1;
  color: #333;
  margin-left: auto;
}

.chat-input {
  display: flex;
  border-top: 1px solid #ddd;
}

.chat-input input {
  flex: 1;
  padding: 10px;
  border: none;
}

.chat-input button {
  background-color: #007bff;
  color: white;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
}

footer {
  text-align: center;
  padding: 20px 0;
  background-color: #00264d;
  color: white;
  font-size: 0.9rem;
  border-top: 2px solid #0056b3;
}

/*---------------------------------------------------------------------
                     RESPONSIVE
----------------------------------------------------------------------*/

@media (max-width: 600px) {
  
  .chat-window {
    display: none;
    flex-direction: column;
    position: fixed;
    bottom: 40px;
    right: 20px;
    width: 90%;
    background-color: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    border-radius: 10px;
    overflow: hidden;
    z-index: 1000;
    height: 75%;
  }

  .chat-input input {
    flex: 1;
    padding: 10px;
    border: none;
    height: 30px;
  }

}