/* ===============================
   RESET BÁSICO
================================ */
html, body {
  height: 100%;
  margin: 0;
}

/* ===============================
   LAYOUT GENERAL
================================ */
body.coloquio-theme {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
   font-family: 'Inter', system-ui, sans-serif;
   overflow-x: hidden;
  background: #f7f7fb;
   color: #111;
}

body.coloquio-theme.dark {
  background: #0f1220;
  color: #eaeaf0;
}

.a{
	max-height: 20vh;
}
/* =========================
   PALETA
========================= */
:root {
    --c-negro: #111;
    --c-gris: #555;

    --c-rojo: #e63946;
    --c-naranja: #f4a261;
    --c-amarillo: #f1c40f;
    --c-verde: #2ecc71;
    --c-azul: #3498db;
    --c-morado: #9b59b6;
}
#inicio {
    background: transparent !important;
   
}


/* =========================
   GRADIENTES DECORATIVOS
========================= */

.coloquio-theme main,
.coloquio-theme header,
.coloquio-theme nav,
.coloquio-theme footer {
    position: relative;
    z-index: 1;
}/* =========================
   FONDO GRÁFICO REAL (FIX)
========================= */
body.coloquio-theme::before,
body.coloquio-theme::after {
    content: "";
    position: fixed;
    width: 520px;
    height: 520px;
    filter: blur(140px);
    opacity: 0.45;
    z-index: -1;
    pointer-events: none;
}

/* Mancha izquierda */
body.coloquio-theme::before {
    top: 10%;
    left: -200px;
    background: radial-gradient(circle, #3a86ff, #00f5d4);
}

/* Mancha derecha */
body.coloquio-theme::after {
    bottom: 5%;
    right: -200px;
    background: radial-gradient(circle, #ffbe0b, #fb5607, #ff006e);
}

/* ===============================
   CONTENIDO PRINCIPAL
================================ */
main {
  flex: 1; /* empuja el footer hacia abajo */
  display: flex;
  align-items: center;     /* centra vertical */
  justify-content: center; /* centra horizontal */
}

/* ===============================
   HERO / LOGIN
================================ */

.coloquio-theme .hero {
   /* padding: 6rem 1rem 4rem;*/
    padding: 4rem 1rem 2rem;
    text-align: justify;
}

.coloquio-theme .hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.4rem, 5vw, 4rem);
    line-height: 1.1;
    margin-bottom: 2rem;
}

.coloquio-theme .hero strong {
    text-transform: uppercase;
    font-weight: 700;
}

.hero {
  text-align: center;
  max-width: 420px;
}

.hero img {
  max-width: 100%;
  height: auto;
  margin-bottom: 1rem;
}

.hero input[type="password"] {
  width: 100%;
  padding: 0.75rem;
  border-radius: 8px;
  border: 1px solid #ccc;
  margin-bottom: 1rem;
}

.hero input[type="submit"] {
  width: 100%;
  padding: 0.75rem;
  border-radius: 8px;
  border: none;
  background: #5b5fd8;
  color: white;
  font-weight: 600;
}

.hero input[type="submit"]:hover {
  background: #4a4ec0;
}
/* =========================
   NAV — degradado institucional
========================= */
.coloquio-theme nav {
    background: linear-gradient(
        135deg,
        #1e3a8a,
        #3a86ff,
        #7b2cbf,
        #5a189a
    );
    background-size: 300% 300%;
    animation: navGradient 18s ease infinite;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.15);
}

/* Texto del menú */
.coloquio-theme nav a,
.coloquio-theme nav .navbar-brand {
    color: #ffffff !important;
    font-weight: 500;
}

/* Hover */
.coloquio-theme nav a:hover {
    color: #e0e7ff !important;
}
/* =========================
   NAV — item activo (texto con degradado)
========================= */
.coloquio-theme .navbar-nav .nav-link.active {
    background: linear-gradient(
        135deg,
        #9d0208,
        #d00000,
        #ff6d00,
        #ff8500
    );
    background-size: 300% 300%;
    animation: activeGradient 10s ease infinite;

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;

    font-weight: 700;
}


/* Animación suave */
@keyframes navGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
/* ===============================
   FOOTER
================================ */
footer {
  text-align: center;
  padding: 1rem;
  font-size: 0.85rem;
  opacity: 0.8;
}

/* =========================
   MODO OSCURO (OPCIONAL)
========================= */
body.coloquio-theme.dark {
    background: #0e0e11;
    color: #f2f2f2;
}

body.coloquio-theme.dark .hero-soon {
    color: #aaa;
}

body.coloquio-theme.dark .bg-gradient {
    opacity: 0.25;
}
body.coloquio-theme.dark .navbar-nav .nav-link.active {
    filter: saturate(0.9) brightness(1.05);
}
/* =========================
   BOTÓN TOGGLE TEMA
========================= */
#themeToggle {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    background: #111;
    color: #fff;
    box-shadow: 0 8px 20px rgba(0,0,0,.2);
    z-index: 9999;
    transition: background .3s ease, transform .2s ease;
}

#themeToggle:hover {
    transform: scale(1.05);
}

/* Apariencia en modo oscuro */
body.coloquio-theme.dark #themeToggle {
    background: #f2f2f2;
    color: #111;
}
/* =========================
   FOOTER — degradado profundo
========================= */
.coloquio-theme footer {
    background: linear-gradient(
        135deg,
        #5a189a,
        #7b2cbf,
        #3a86ff,
        #1e3a8a
    );
    background-size: 300% 300%;
    animation: footerGradient 22s ease infinite;
    color: #ffffff;
    padding-top: 2rem;
    padding-bottom: 2rem;
}

/* Texto del footer */
.coloquio-theme footer,
.coloquio-theme footer a {
    color: #e5e7eb;
}

.coloquio-theme footer a:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* Animación independiente */
@keyframes footerGradient {
    0% { background-position: 100% 50%; }
    50% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}
/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {
    .coloquio-theme .hero {
        padding-top: 2rem;
    }
}