/* =================================== */
/* 🟪 SECCIÓN HERO PRINCIPAL           */
/* =================================== */
.hero {
  position: relative;
  height: 90vh;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding-top: 80px;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 0;
}

.hero-overlay {
  position: relative;
  z-index: 1;
  background: rgba(0, 0, 0, 0.4);
  padding: 40px;
  border-radius: 15px;
  color: white;
  max-width: 800px;
  text-align: center;
  backdrop-filter: blur(5px);
}

.hero-overlay h1 {
  font-size: 40px;
  font-weight: 300;
  margin-bottom: 10px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-overlay p {
  font-size: 20px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* =================================== */
/* 🟩 ICONOS DE ACCESO RÁPIDO          */
/* =================================== */
.icon-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin-top: -40px;
  z-index: 2;
  position: relative;
  padding: 0 20px;
}

.icon-box {
  width: 150px;
  padding: 30px 10px;
  text-align: center;
  font-weight: bold;
  font-size: 14px;
  border-radius: 10px;
  text-decoration: none;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.icon-box img {
  width: 40px;
  height: 40px;
  margin-bottom: 10px;
  object-fit: contain;
}

/* 🎨 Colores */
.green {
  background: #bce3d4;
  color: #08306b;
}

.yellow {
  background: #FFD700;
  color: #08306b;
}

.purple {
  background: #d2c2e2;
  color: #08306b;
}

.peach {
  background: #f9d0a2;
  color: #08306b;
}

.blue {
  background: #1E90FF;
  color: #08306b;
}

/* Hover en iconos */
.hover-icon {
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
  position: relative;
}

.hover-icon:hover,
.hover-icon:focus {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  background-color: rgba(255, 255, 255, 0.95);
  outline: 2px solid #08306b;
  outline-offset: 2px;
}

.hover-icon img {
  transition: transform 0.3s ease;
}

.hover-icon:hover img,
.hover-icon:focus img {
  transform: scale(1.5);
}

.hover-icon p {
  transition: color 0.3s ease;
  margin: 0;
}

.hover-icon:hover p,
.hover-icon:focus p {
  color: #08306b;
  font-weight: bold;
}

/* =================================== */
/* 📰 NOTICIAS DESTACADAS              */
/* =================================== */
.noticias-destacadas {
  padding: 60px 20px;
  text-align: center;
  background-color: #f9f9f9;
}

.noticias-destacadas h2 {
  font-size: 28px;
  color: #08306b;
  margin-bottom: 30px;
  font-weight: 600;
}

.noticias-grid {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.noticia {
  width: 100%;
  max-width: 400px;
  cursor: pointer;
  border-radius: 10px;
  transition: outline 0.3s ease;
}

.noticia:focus {
  outline: 3px solid #FFD700;
  outline-offset: 4px;
}

.noticia img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  margin-bottom: 10px;
  transition: transform 0.4s ease, box-shadow 0.4s ease, filter 0.4s ease;
}

.noticia img:hover,
.noticia:focus-within img {
  transform: scale(1.05);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
  filter: brightness(1.05) contrast(1.05);
}

.noticia p {
  font-size: 16px;
  color: #333;
  line-height: 1.5;
}

/* =================================== */
/* 🖼️ GALERÍA DE FOTOS                 */
/* =================================== */
.galeria-fotos {
  padding: 60px 20px;
  text-align: center;
  background-color: #fff;
}

.galeria-fotos h2 {
  font-size: 28px;
  color: #08306b;
  margin-bottom: 30px;
  font-weight: 600;
}

.galeria-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 25px;
  max-width: 1200px;
  margin: 0 auto;
}

.galeria-grid img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
  transition: transform 0.4s ease, box-shadow 0.4s ease, filter 0.4s ease;
  cursor: pointer;
}

.galeria-grid img:hover,
.galeria-grid img:focus {
  transform: scale(1.05);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  filter: brightness(1.05) contrast(1.05);
  outline: 3px solid #FFD700;
  outline-offset: 2px;
}


/* Contenedor de recordatorios */
.recordatorios-horizontal {
  padding: 20px 0;
  background-color: #fcfcfc;
}

.recordatorios-horizontal h2 {
  font-size: 28px;
  color: #08306b;
  margin-bottom: 30px;
  font-weight: 600;
}


.rec-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: nowrap;
  gap: 15px;
  overflow-x: auto;
  padding: 20px;

  position: relative;
  scrollbar-width: thin;
  scrollbar-color: transparent transparent;
  transition: scrollbar-color 0.4s ease;
}

.rec-container:hover {
  scrollbar-color: #6d7377 #f1f1f1;
}

.rec-container:hover::-webkit-scrollbar {
  display: block;
  /* La volvemos a mostrar en Chrome/Safari */
}

.rec-container::-webkit-scrollbar {
  height: 8px;
  /* Altura del scroll horizontal */
}

.rec-container::-webkit-scrollbar-track {
  background: transparent;
  /* Invisible al inicio */
  transition: background 0.4s ease;
}

.rec-container::-webkit-scrollbar-thumb {
/* Usamos un color con opacidad 0 (transparente) */
    background: rgba(52, 152, 219, 0); 
    border-radius: 10px;
    transition: background 0.4s ease;
}

.rec-container:hover::-webkit-scrollbar-track {
    background: #f1f1f1; /* El riel aparece */
}

.rec-container:hover::-webkit-scrollbar-thumb {
    background: #6d7377; /* El azul aparece suavemente */
    border: 2px solid #f1f1f1; /* Para darle ese acabado fino */
}

.rec-container::after {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: #08306b;
  font-size: 14px;
  font-weight: bold;
  pointer-events: none;
  background: rgba(252, 252, 252, 0.9);
  padding: 5px 10px;
  border-radius: 5px;
}

/* Estilo Píldora */
.rec-pill {
  display: flex;
  align-items: center;
  background: white;
  padding: 10px 20px;
  border-radius: 50px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  border: 1px solid #eee;
  transition: transform 0.2s;
  width: 500px !important;
}

.rec-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.rec-icon {
  font-size: 1.2rem;
  margin-right: 15px;
}

.rec-info {
  display: flex;
  flex-direction: column;
  width: 350px;

}

.rec-titulo {
  font-weight: bold;
  font-size: 0.9rem;
  color: #2c3e50;
}

.rec-desc {
  font-size: 0.75rem;
  color: #7f8c8d;
}

.rec-date {
  margin-left: 15px;
  padding-left: 15px;
  border-left: 1px solid #eee;
  color: #3498db;
  font-weight: bold;
  font-size: 0.8rem;
  justify-content: center;
}

.eye-icon {
  margin-left: 10px;
  color: #485364;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.eye-icon:hover {
  color: #0a427c;
}

/* Animación sutil para urgencia */
.pulse-urgente {
  border-color: #e74c3c;
  background-color: #fffafa;
}

.recordatorios-title {
  text-align: center;
}

.rec-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.rec-status-dot {
  color: #22c55e;
  font-size: 0.6rem;
}

.rec-status-text {
  color: #22c55e;
  font-weight: bold;
}


