:root {
  --verde: #2e8b57;
  --naranja: #ff7f00;
  --gris-oscuro: #2c2c2c;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background-color: #f5f5f5;
  color: var(--gris-oscuro);
}

/* Encabezado */
header {
  background-color: var(--gris-oscuro);
  color: #fff;
  padding: 14px 20px;
  text-align: center;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: .5px;
}
.hero {
  position: relative;
  width: 100%;
  height: 90vh;
  background: url('tu-imagen-principal.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
}

/* Capa de texto transparente sobre la imagen */
.overlay-texto {
  background: rgba(0, 0, 0, 0.45); /* transparencia del recuadro */
  padding: 30px 40px;
  border-radius: 12px;
  max-width: 850px;
  backdrop-filter: blur(3px); /* suaviza el fondo */
}

.overlay-texto h1 {
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  margin-bottom: 15px;
  color: #fff;
}

.overlay-texto p {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #f5f5f5;
}

.overlay-texto strong {
  color: var(--naranja);
}


/* Secciones del menú (index) */
.menu-secciones {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
  padding: 32px 22px 40px;
}

.seccion {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,.1);
  transition: transform .25s, box-shadow .25s;
  text-align: center;
}

.seccion:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0,0,0,.14);
}

.seccion img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.seccion h3 {
  margin: 12px 0 16px;
  color: var(--verde);
  font-size: 1rem;
  font-weight: 600;
}

/* Galerías */
.galeria {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  padding: 30px 20px 44px;
}

.imagen {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
  transition: transform .25s ease, box-shadow .25s ease;
}

.imagen:hover {
  transform: scale(1.02);
  box-shadow: 0 6px 14px rgba(0,0,0,.16);
}

.imagen img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform .3s ease;
}

.imagen:hover img {
  transform: scale(1.06);
}

/* Efecto modal al hacer clic en imágenes */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0,0,0,.82);
  justify-content: center;
  align-items: center;
  padding: 24px;
}

.modal img {
  max-width: 92vw;
  max-height: 86vh;
  border-radius: 12px;
  box-shadow: 0 0 18px rgba(255,255,255,.25);
}

.modal:target {
  display: flex;
}

.cerrar {
  position: fixed;
  top: 16px;
  right: 22px;
  font-size: 2rem;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  background: rgba(0,0,0,.45);
  padding: 4px 12px;
  border-radius: 50%;
  line-height: 1;
}

.cerrar:hover {
  background: var(--naranja);
}

/* Botones flotantes */
.boton-flotante {
  position: fixed;
  bottom: 22px;
  right: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 1100;
}

.boton-flotante a {
  background-color: var(--verde);
  color: #fff;
  text-decoration: none;
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  box-shadow: 0 4px 8px rgba(0,0,0,.25);
  transition: transform .25s, background-color .25s;
}

.boton-flotante a:hover {
  transform: scale(1.07);
  background-color: var(--naranja);
}

.boton-flotante img {
  width: 28px;
  height: 28px;
}
/* Redes sociales */
.redes-sociales {
  text-align: center;
  margin: 40px 0 20px;
  color: var(--gris-oscuro);
}

.redes-sociales p {
  font-size: 1.1rem;
  margin-bottom: 12px;
  font-weight: 600;
}

.iconos-redes {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.iconos-redes a img {
  width: 45px;
  height: 45px;
  transition: transform 0.3s, box-shadow 0.3s;
  border-radius: 10px;
  box-shadow: 0 3px 6px rgba(0,0,0,0.2);
}

.iconos-redes a img:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 12px rgba(0,0,0,0.3);
}
/* Descripción en la página principal */
.descripcion-principal {
  max-width: 950px;
  margin: 30px auto 10px;
  padding: 10px 20px 15px;
  text-align: center;
  color: var(--gris-oscuro);
  background-color: #fafafa;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.descripcion-principal p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #333;
}

.descripcion-principal strong {
  color: var(--verde);
}
.descripcion-galeria {
  font-family: 'Poppins', sans-serif;
  background: rgba(44, 44, 44, 0.75); /* Fondo más oscuro y visible */
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  padding: 22px 28px;
  margin: 30px auto 20px;
  max-width: 920px;
  text-align: center;
  color: #fff; /* Texto blanco más fuerte */
  backdrop-filter: blur(4px);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25);
}

.descripcion-galeria p {
  font-size: 1.1rem;
  line-height: 1.7;
  margin: 0;
}

.descripcion-galeria strong {
  color: #ff7f00; /* resalta "Proyectos Betel Guatemala" */
  font-weight: 600;
}



/* Pie de página */
footer {
  background-color: var(--gris-oscuro);
  color: #fff;
  text-align: center;
  padding: 18px;
  font-size: .95rem;
}

footer a {
  color: var(--naranja);
  text-decoration: none;
  font-weight: 600;
}

footer a:hover {
  text-decoration: underline;
}
