/* ============================================================
   ASPUNCOL — Identidad visual nueva
   Archivo NUEVO (no existía en public_html/css/). Solo SUMA
   estilos; no reemplaza nada de estilos.css ni menu.css.
   ============================================================ */

body{
  font-family: 'Segoe UI', -apple-system, Roboto, Arial, sans-serif;
}

/* ---------- Cabecera (ya es fixed por estilos.css; solo afinamos la sombra) ---------- */
.cabecera{
  box-shadow: 0 2px 12px rgba(0,0,0,.08) !important;
}

/* ---------- Navegación ---------- */
.navigation ul{
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.navigation ul li{
  margin-right: 0;
}
.navigation ul li a{
  font-family: inherit;
  text-transform: none;
  font-weight: 600;
  font-size: 14.5px;
  color: #4F2F13;
  padding: 10px 16px;
  border-radius: 8px;
  transition: background .15s ease, color .15s ease;
}
.navigation ul li a:hover,
.navigation ul li.active a,
.navigation ul li a.active_enlace{
  background: #7CA038;
  color: #fff !important;
}
.navigation .children{
  border-radius: 10px;
  box-shadow: 0 10px 24px rgba(0,0,0,.12);
  border: none;
}
.navigation .children a{
  font-family: inherit;
  font-weight: 500;
  font-size: 13.5px;
  text-transform: none;
  color: #2E2A26;
}
.navigation .children a:hover{
  background: #FBF8F3;
  color: #5E7A29;
}
@media (max-width: 767px){
  .navigation ul{ flex-direction: column; }
  .navigation ul li{ width: 100%; margin-right:0; }
}

/* ---------- Tarjetas de accesos rápidos ---------- */
.container_less{
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(46,42,38,.08);
  border-top: 4px solid #7CA038;
  padding-top: 14px;
  transition: transform .18s ease, box-shadow .18s ease;
}
.container_less:hover{
  transform: translateY(-5px);
  box-shadow: 0 14px 30px rgba(46,42,38,.14);
}
.div-img .text{
  color: #4F2F13;
  z-index: 1;
  font-size: 13.5px;
  font-weight: 500;
  padding: 0 14px;
}
.servicios_inicio{
  color: #4F2F13 !important;
  font-size: 16px !important;
  margin-top: 10px !important;
  margin-bottom: 30px;
}

/* ---------- Carrusel: quitamos el marco verde viejo (.banner) y ponemos el moderno ---------- */
.banner{
  border: none !important;
}
#carousel-example-generic .item img{
  filter: brightness(.82);
}
#carousel-example-generic{
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0,0,0,.18);
}

/* ---------- Título "Centro Recreacional Canaima" + mapa ---------- */
.titulos{
  color: #4F2F13 !important;
}
iframe[src*="google.com/maps"]{
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,.12);
}

/* ---------- Pie de página ---------- */
.footers .col-md-6,
.footers .col-md-3{
  background-color: #5E7A29 !important;
}
.footer1, .footer2{
  color: #fdfaf4 !important;
  font-size: 14px;
  line-height: 1.8;
}

/* ============================================================
   RONDA 2 — correcciones post-publicación
   ============================================================ */

/* 1) Pie de página: recolorear también la FILA contenedora,
   no solo las columnas, para que no se asome el verde viejo
   cuando una columna es más corta que otra. */
.footers{
  background-color: #5E7A29 !important;
}

/* 2) Tarjetas: apagar la animación vieja de menu.css (encoger +
   mostrar texto detrás) que causaba el solape, y reemplazar los
   íconos reales por los emoji (ocultando el <img>, sin borrarlo). */
.container_less{
  position: static !important;
  width: 100% !important;
  max-width: 230px;
  height: auto !important;
  top: auto !important;
  margin: 0 auto;
}
.div-img{
  display:flex;
  flex-direction:column;
  align-items:center;
}
.div-img .img,
.div-img:hover .img{
  display: none !important;
}
.div-img .text,
.div-img:hover .text{
  position: static !important;
  transform: none !important;
  bottom: auto !important;
  z-index: 1 !important;
  color: #4F2F13 !important;
  font-size: 13.5px;
  font-weight: 500;
  margin-top: 10px;
}
.div-img a{
  display:flex;
  flex-direction:column;
  align-items:center;
  text-decoration:none;
}
.div-img a::before{
  font-size: 34px;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #FBF8F3;
  display:flex;
  align-items:center;
  justify-content:center;
}
.div-img a:has(img[src*="canaima.png"])::before{ content: "🌴"; }
.div-img a:has(img[src*="formulario.png"])::before{ content: "📝"; }
.div-img a:has(img[src*="calendario.png"])::before{ content: "📅"; }

/* 3) Carrusel: que las fotos recorten en vez de deformarse */
#carousel-example-generic .item img{
  object-fit: cover;
  object-position: center 35%;
}

/* 4) Texto superpuesto en el hero, generado solo por CSS
   (no agrega HTML; reversible borrando este bloque) */
#carousel-example-generic{
  position: relative;
}
#carousel-example-generic::before{
  content: "ASOCIACIÓN DE PENSIONADOS · U. NACIONAL";
  position: absolute;
  left: 6%;
  bottom: 130px;
  z-index: 20;
  background: #7CA038;
  color: #fff;
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .4px;
  pointer-events: none;
}
#carousel-example-generic::after{
  content: "Bienestar y comunidad para quienes construyeron la Universidad";
  position: absolute;
  left: 6%;
  bottom: 60px;
  max-width: 55%;
  z-index: 20;
  color: #fff;
  font-size: clamp(18px, 2.6vw, 30px);
  font-weight: 700;
  line-height: 1.25;
  text-shadow: 0 2px 12px rgba(0,0,0,.5);
  pointer-events: none;
}
@media (max-width: 767px){
  #carousel-example-generic::after{ max-width: 85%; font-size: 18px; bottom: 45px; }
  #carousel-example-generic::before{ bottom: 95px; }
}