@charset "utf-8";
/* ==========================
   OVERRIDES - WHITE THEME
   ========================== */

/* Fondo general gris */
body {
  background: #005F6A !important;
  color: #000 !important;
}

/* Cajas blancas */
.container, .content, .box, .overall, .overall-footer {
  background-color: #fff !important;
  border: 1px solid #ddd !important;
  border-radius: 6px !important;
  padding: 10px;
}

/* --- ANULA CUALQUIER PNG COMO FONDO --- */
* {
  background-image: none !important;
  background-color: #fff !important;
}

/* --- ENCABEZADO / MENU --- */
header,
header * {
  background: #67ADB5 !important;
  color: #000 !important;
}

header nav ul li a {
  color: #000 !important;
}

/* Submenus desplegables */
header nav ul li ul {
  background: #67ADB5 !important;
}

header nav ul li ul li a {
  background: #67ADB5 !important;
  color: #000 !important;
}

/* Hover gris suave en menu y submenus */
header nav ul li a:hover,
header nav ul li ul li a:hover {
  background: #167580 !important;
  color: #000 !important;
}

/* --- FOOTER --- */
footer,
footer * {
  background: #fff !important;
  color: #000 !important;
}

.overall-footer,
.overall-footer * {
  background: #fff !important;
  color: #000 !important;
}

.overall2-text,
.overall2-text *,
.overall2-text a {
  color: #000 !important;
}

/* --- BOTONES / LINKS --- */
a {
  color: #000 !important;
  text-decoration: none;
}

a:hover {
  color: #333 !important;
}

/* --- TITULOS / TEXTOS --- */
h1, h2, h3, h4, h5, h6,
p, span, strong, li {
  color: #000 !important;
}

/* --- Super fix GLightbox --- */

/* Forzar overlay oscuro */
html body .glightbox-container,
html body .goverlay {
  background-color: rgba(0, 0, 0, 0.95) !important;
}

/* Forzar botones (next, prev, close) en blanco */
html body .glightbox-clean .gbtn svg,
html body .glightbox-clean .gbtn path {
  fill: #ffffff !important;
  stroke: #ffffff !important;
  color: #ffffff !important;
}

/* Forzar texto en blanco */
html body .glightbox-clean .gslide-title,
html body .glightbox-clean .gslide-desc,
html body .glightbox-clean .gdesc-inner {
  color: #ffffff !important;
}


.social-buttons {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: stretch; /* cada botón ocupa todo el ancho disponible */
  margin: 20px 0;
}

.btn-social {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  background-color: #f7f7f7; /* neutro */
  border-radius: 10px;
  text-decoration: none;
  color: #005F6A; /* color corporativo */
  font-size: 16px;
  font-weight: 500;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-social img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
}

.btn-social:hover {
  transform: translateY(-2px);
  background: #ffffff;
  box-shadow: 0 4px 10px rgba(128,128,128,0.4); /* sombra gris */
}


/* Footer */
.footer {
  background-color: #f8f8f8;
  padding: 20px 10px;
  font-size: 14px;
  color: #333;
  margin-top: 40px;
  border-top: 2px solid #ddd;
}

.footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-info {
  margin-bottom: 15px;
}

.footer-info .org {
  font-weight: bold;
  font-size: 16px;
  margin-bottom: 5px;
}

.footer-info a {
  color: #005F6A;
  text-decoration: none;
}

.footer-info a:hover {
  text-decoration: underline;
}

.footer-creditos {
  text-align: right;
  font-size: 12px;
  color: #666;
}

/* En pantallas grandes: alinear info izquierda y créditos derecha */
@media (min-width: 768px) {
  .footer-container {
    flex-direction: row;
    justify-content: space-between;
    text-align: center;
    align-items: center;
  }
  .footer-info {
    margin-bottom: 0;
  }
  .footer-creditos {
    text-align: right;
  }
}

/* Footer */
.footer {
  text-align: center;
  margin-top: 20px;
}

.footer .social-icon {
  width: 50px;
  height: auto;
  margin: 0 8px;
  transition: transform 0.2s ease-in-out;
}

.footer .social-icon:hover {
  transform: scale(1.1);
  filter: brightness(1.2);
}

/* ===== FOTO PRINCIPAL GLIGHTBOX - PARCHE DEFINITIVO ===== */
.main-photo {
  display: block !important;
  max-width: 100% !important;
  height: auto !important;
  margin: 0 auto !important;   /* centrada horizontal */
  padding: 0 !important;       /* elimina padding extra */
  line-height: 0 !important;   /* elimina espacio fantasma */
  border: none !important;
  box-sizing: border-box !important;
}

.content-container a.glightbox,
.content-container a.glightbox img {
  margin: 0 !important;
  padding: 0 !important;
  max-width: 100% !important;
  height: auto !important;
  display: block !important;
  line-height: 0 !important;
}


/* ==== FIX ESPACIO EXTRA DE GALERÍA LIGHTBOX ==== */
.galeria {
  margin: 0 !important;
  padding: 0 !important;
  height: 0 !important;
  line-height: 0 !important;
  overflow: hidden !important;
}


