/* ayuda.css */

/* Reset y base */
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', Arial, sans-serif; }

body {
  background: linear-gradient(to bottom, #e0f0ff, #f0f4f8);
  color: #333;
  line-height: 1.6;
  transition: all 0.3s ease;
}


/* Banner */
.banner {
  position: relative; /* asegurar que overlay y contenido se posicionen respecto al banner */
  background-image: url('banner.jpg');
  background-size: cover;
  background-position: center;
  height: 280px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.banner::after {
  content: "";
  position: absolute;
  top:0; left:0; width:100%; height:100%;
  background: rgba(11,61,145,0.5);
  backdrop-filter: blur(4px);
  z-index: 0; /* overlay atrás */
}

.banner-overlay {
  position: relative; /* importante */
  z-index: 1; /* contenido encima del overlay */
  text-align: center;
  color: #fff;
  animation: fadeIn 1s ease forwards;
}


.banner-overlay h1 { font-size: 2.8rem; margin-bottom: 10px; color: #fff; }
.banner-overlay p { font-size: 1.2rem; color: #fff; }

/* Main contenido */
.ayuda-container {
  max-width: 900px;
  margin: 40px auto;
  padding: 0 20px;
}

.ayuda-container h2 {
  text-align: center;
  margin-bottom: 30px;
  color: var(--color-navy);
  font-size: 2rem;
  animation: fadeInUp 0.8s ease forwards;
}

/* Acordeón */
.accordion-item {
  background-color: #fff;
  border-radius: 10px;
  margin-bottom: 18px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transform: translateY(20px);
  opacity: 0;
  animation: fadeInUp 0.5s forwards;
}

.accordion-item:nth-child(1){animation-delay:0.1s;}
.accordion-item:nth-child(2){animation-delay:0.2s;}
.accordion-item:nth-child(3){animation-delay:0.3s;}
.accordion-item:nth-child(4){animation-delay:0.4s;}
.accordion-item:nth-child(5){animation-delay:0.5s;}

.accordion-header {
  width: 100%;
  text-align: left;
  padding: 20px;
  font-size: 1.15rem;
  font-weight: bold;
  color: var(--color-navy);
  background: linear-gradient(90deg,#e8f0fe,#d0e1ff);
  border: none;
  outline: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

.accordion-header::after {
  content: '\f078';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  transition: transform 0.3s ease;
}

.accordion-header.active::after { transform: rotate(180deg); }

.accordion-header:hover { background: linear-gradient(90deg,#d0e1ff,#a8cfff); }

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, padding 0.3s ease;
  padding: 0 20px;
  background-color: #f9faff;
}

.accordion-content p,
.accordion-content img {
  padding: 15px 0;
  color: #555;
}

.mapa-local {
  width: 100%;
  border-radius: 10px;
  margin-top: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Footer */
footer {
  background: var(--color-navy);
  color: #fff;
  padding: 40px 20px 20px 20px;
}

footer h3 { margin-bottom: 15px; font-size: 1.3rem; }

footer ul { list-style: none; display:flex; flex-wrap: wrap; gap: 15px; }

footer ul li a {
  color: #fff;
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 6px;
  transition: all 0.3s ease;
}

footer ul li a:hover { background-color: var(--color-accent); color: var(--color-navy); }

.footer-bottom { text-align: center; margin-top: 20px; font-size: 14px; }

/* Animaciones */
@keyframes fadeIn { from{opacity:0;} to{opacity:1;} }
@keyframes fadeInUp { from{opacity:0; transform:translateY(20px);} to{opacity:1; transform:translateY(0);} }

