/* ---------------------------------------------------
   AJUSTES GENERALES
--------------------------------------------------- */
html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: white;
  color: #153661;
}



/* ---------------------------------------------------
   HEADER PRINCIPAL (TRANSPARENTE + LOGO SCROLL)
--------------------------------------------------- */
.head {
  position: fixed;
  top: 0;
  width: 100%;
  height: 75px;
  background-color: transparent;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 0.4s ease;
  z-index: 1000;
}

.head.scrolled {
  background-color: #153661;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}


/* NAV igual que SACRAMENTOS */
.main-nav {
  width: 92%;
  max-width: 1200px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}


/* LOGO IGUAL QUE EN SACRAMENTOS */
.nav-left {
  padding-left: 10px;
  display: flex;
  align-items: center;
}

.nav-logo {
  width: 55px;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

/* Aparece cuando hay scroll */
.head.scrolled .nav-logo {
  opacity: 1;
  transform: translateY(0);
}


/* ENLACES */
.nav-right {
  display: flex;
  align-items: center;
  gap: 25px;
}

.nav-right a,
.dropdown > a {
  color: white;
  font-weight: bold;
  font-size: 18px;
  text-decoration: none;
  position: relative;
}

.nav-right a::after,
.dropdown > a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: #ffcc33;
  transition: .3s;
}

.nav-right a:hover::after,
.dropdown > a:hover::after {
  width: 100%;
}


/* DROPDOWN */
.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 120%;
  right: 0;
  min-width: 220px;
  background-color: white;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: .2s ease;
}

.dropdown-menu a {
  display: block;
  padding: 10px 15px;
  color: #153661 !important;
  text-decoration: none;
  font-size: 16px;
}

.dropdown-menu a:hover {
  background-color: #e8f1ff;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}



/* ---------------------------------------------------
   SECCIÓN BIENVENIDA
--------------------------------------------------- */
.Bienvenida {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100vh;

  background-image: linear-gradient(
      rgba(21, 54, 97, 0.75),
      rgba(21, 54, 97, 0.75)
    ),
    url(Parroquia.png);

  background-size: cover;
  background-position: center;

  padding-left: 50px;
  color: white;
}

.Logo {
  width: 200px;
  margin-bottom: 20px;
}

.Bienvenida h1 {
  font-size: 40px;
}

.Bienvenida h2 {
  font-size: 30px;
  margin-top: 10px;
}

.Bienvenida p {
  font-size: 20px;
  margin-top: 5px;
  max-width: 500px;
}

.dorado {
  color: #ffcc33 !important;
}



/* ---------------------------------------------------
   PLANES PASTORALES
--------------------------------------------------- */
.PlanesPastorales {
  padding: 60px 20px;
  text-align: center;
  background-color: #f6f7fb;
}

.PlanesPastorales h2 {
  font-size: 32px;
  color: #153661;
  margin-bottom: 35px;
  font-weight: bold;
}

.Planes-Contenedor {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 25px;
}

.Plan-Boton {
  display: flex;
  align-items: center;
  gap: 15px;

  padding: 16px 25px;
  background-color: white;
  border-left: 5px solid #153661;
  border-radius: 12px;

  text-decoration: none;
  font-size: 20px;
  color: #153661;

  width: 350px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);

  transition: 0.2s ease-in-out;
}

.Plan-Boton:hover {
  background-color: #153661;
  color: white;
  transform: translateY(-4px);
}

.Plan-Boton img {
  width: 40px;
  height: 40px;
}



/* ---------------------------------------------------
   SERVICIOS
--------------------------------------------------- */
.Servicios {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;

  padding: 40px 0;
  background-color: #f6f7fb;
}

.Servicio-card {
  width: 25%;
  min-width: 300px;

  background-color: white;
  border-radius: 10px;
  border-left: 5px solid #153661;

  padding: 25px;
  margin: 10px;
  text-align: center;

  box-shadow: 0 4px 10px rgba(0,0,0,0.08);

  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.Servicio-card h2 {
  background-color: #153661;
  color: white;
  padding: 10px;
  border-radius: 5px;
}

.Servicio-card p {
  font-size: 18px;
  color: #153661;
}

.Boton {
  padding: 10px 25px;
  border-radius: 20px;
  border: 2px solid #153661;
  text-decoration: none;
  font-size: 18px;
  color: #153661;
}

.Boton:hover {
  background-color: #153661;
  color: white;
}



/* ---------------------------------------------------
   SACRAMENTOS ENLACES
--------------------------------------------------- */
.sacramentos {
  padding: 40px 0;
}

.Sacramentos-Contenido {
  width: 85%;
  margin: auto;
  text-align: center;
}

.Sacramentos-Contenido h2 {
  font-size: 28px;
  margin-bottom: 25px;
}

.Sacramentos-Enlaces {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

.Sacramentos-Enlaces a {
  padding: 12px 20px;
  background-color: #153661;
  color: white;
  border-radius: 8px;
  text-decoration: none;
  font-size: 18px;
}

.Sacramentos-Enlaces a:hover {
  background-color: #1c4a8f;
}



/* ---------------------------------------------------
   FOOTER
--------------------------------------------------- */
.footer {
  background-color: #153661;
  color: white;
  
  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 20px 40px;
  margin-top: 40px;
}

.footer-left img {
  height: 100px;
}

.dev-name {
  margin: 3px 0;
  font-size: 20px;
  font-weight: bold;
  color: #ffcc33;
}

.footer-right {
  display: flex;
  gap: 15px;
}

.footer-right img {
  width: 32px;
  height: 32px;
  transition: transform 0.2s ease;
  cursor: pointer;
}

.footer-right img:hover {
  transform: scale(1.15);
}
