@charset "utf-8";

/* Fuente cursiva decorativa */
@import url('https://fonts.googleapis.com/css2?family=Parisienne&display=swap');

body {
  background: url(IGLESIA1.jpg);
  background-size: cover;
  background-attachment: fixed;
  margin: 0;
  padding: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: #333;
}

/* Animaciones */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes zoomIn {
  from { transform: scale(0.95); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* Encabezado */
.titulo {
  font-family: 'Parisienne', cursive;
  font-size: 36px;
  color: #6d597a;
  text-align: center;
  animation: fadeIn 1s ease-out;
}

.subtitulo {
  font-family: 'Parisienne', cursive;
  font-size: 26px;
  color: #355070;
  text-align: center;
  animation: fadeIn 1.5s ease-out;
}

/* Tabla del menú y contenido */
table.inicio {
  margin: auto;
  width: 95%;
  table-layout: fixed;
  background-color: rgba(255, 255, 255, 0.6);
  border-collapse: separate;
  border-spacing: 20px;
  animation: zoomIn 1s ease-out;
}

table.inicio th,
table.inicio td {
  border: 1px solid #fff;
  border-radius: 10px;
  padding: 15px;
  height: 50px;
  text-align: center;
}

/* Estilo de los enlaces del menú */
.indice {
  font-weight: bold;
  font-size: 18px;
  color: #444;
  text-decoration: none;
  display: block;
  transition: all 0.3s ease;
}

.indice:hover {
  color: #5e548e;
  font-size: 20px;
  transform: scale(1.05);
}

/* Imagen dentro de la tabla */
table.inicio td img {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  animation: fadeIn 1s ease-in;
}

/* Texto general */
.tex {
  font-size: 18px;
  color: #000;
  text-align: justify;
}

/* Footer */
footer {
  color: #444;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  text-align: center;
  background-color: rgba(255, 255, 255, 0.8);
  position: fixed;
  bottom: 0;
  width: 100%;
  font-weight: bold;
  padding: 10px 0;
  z-index: 100;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.2);
}

/* Formulario de contacto */
.contact-form input,
.contact-form textarea,
.contact-form button {
  width: 90%;
  margin-bottom: 20px;
  padding: 10px;
  border: none;
  border-radius: 5px;
}

.contact-form input,
.contact-form textarea {
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
}

.contact-form button {
  background-color: #999;
  color: #eee;
  cursor: pointer;
  transition: background-color 0.3s;
}

.contact-form button:hover {
  background-color: #555;
}

/* WhatsApp contacto */
.whatsapp {
  display: flex;
  align-items: center;
  font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif;
  color: #fff;
}

.whatsapp img {
  width: 30px;
  margin-right: 10px;
}
