@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400..900&family=Dancing+Script:wght@400..700&family=Great+Vibes&family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Raleway:ital,wght@0,100..900;1,100..900&family=Source+Sans+3:ital,wght@0,200..900;1,200..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Ballet:opsz@16..72&family=Pinyon+Script&display=swap');

*,
*::before,
*::after {
	box-sizing: border-box;
	margin: 0;
  padding: 0;
}

body {
	font-family: "Playfair Display", serif;
	line-height: 1.5;
	margin: 0;
}

.imput-field select {
    width: 100%;
    box-sizing: border-box;
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    background-color: transparent;
    border: none;
    border-bottom: 1px solid currentColor;
    padding: 8px 0;
    outline: none;
    cursor: pointer;
}

/*_______________ Estilos Base _______________*/

/* Estilos para imágenes */
img {
	display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Contenedores flexibles */
.container {
	width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}



/*_______________ Estilos Banner _______________*/

.banner {
	width: 100%;
  height: 100vh;
 	position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: "Libre Baskerville", serif;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
}

/*----- Titulo -----*/
.banner__content {
  width: 90%;
	color: white;
	text-align: center;
	position: absolute;
	z-index: 3;
	top: 4%;
	left: 5%;
	font-size: 2.5em;
	font-family: "Pinyon Script", cursive;
  font-weight: 400;
}

.title_baner {
	font-family: "Cinzel", serif;
	font-size: 18px;
	font-weight: 500;
  width: 90%;
	color: black;
	text-align: center;
	position: absolute;
	top: 14%;
	left: 5%;
}

.sub_baner {
	font-family: "Cinzel", serif;
	font-size: 15px;
	font-weight: 500;
  width: 90%;
	color: black;
	text-align: center;
	position: absolute;
	top: 18%;
	left: 5%;
}



/*_______________ PrimerBloque NosCasamos _______________*/

.fondo_ns {
	background-image: url('../img/fond0.jpg');
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	width: 100%;
	display: grid;
	place-content: center;
	box-sizing: border-box;
	position: relative; /* Necesario para superponer el overlay */
}
/*
.fonndo_ns .overlay {
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   background-color: rgba(0, 0, 0, 0.3); /* Overlay oscuro con 50% de opacidad 
   /*z-index: 1;  Asegura que el overlay esté por encima del fondo 
}*/

.container_ns {
	padding: 0 60px;
	text-align: center;
}

.title {
	font-size: 30px;
	font-family: "Pinyon Script", cursive;
	font-weight: 500;
	color: black;
}

.title_mg12 {
	padding-top: 120px;
}

.txt_gnr {
	text-align: justify;
	font-size: 18px;
	font-family: "Open Sans", sans-serif;
	font-weight: 400;
  font-style: normal;
	color: #000;
}

.txt_mg0 {
	text-align: center;
	margin: 0;
}

.title_dos {
	font-size: 30px;
	font-family: "Pinyon Script", cursive;
	font-weight: 500;
	color: black;
}

.title_mg20 {
	padding-top: 20px;
	margin-bottom: 10px;
}



/*_______________ SegundoBloque Fondo_Foto _______________*/

/* Fondo compartido para parallax */
#parallax-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -1;
  /*transition: background-image 0.5s ease-in-out;*/
  will-change: background-image;
}

/* Secciones parallax */
.fondo_foto {
  position: relative;
  min-height: 100vh;			/* Ocupa al menos la altura de la pantalla */
  /*padding: 10px 0;				 Espacio arriba y abajo */
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column; /* Permite apilar verticalmente el contenido */
  z-index: 0;
}



/*_______________ TercerBloque Recepcion _______________*/

.fondo_rece {
	background-image: url('../img/fond02.jpg');
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	width: 100%;
	display: grid;
	place-content: center;
	box-sizing: border-box;
}

.container_cer {
	padding: 0 40px;
	text-align: center;
}

.img_iglesia {
	padding-top: 40px;
	margin-left: auto;
  margin-right: auto;
	display: block;
	max-width: 80%;
  height: auto;
}

.img_cer {
	padding-top: 40px;
	margin-left: auto;
  margin-right: auto;
	display: block;
	max-width: 80%;
  height: auto;
}

.sub_cer {
	margin-top: 0;
	font-size: 14px;
	font-weight: 500;
	font-family: "Open Sans", sans-serif;
	color: #424949;
	margin-bottom: 10px;
}

.sub_dir {
	padding: 0 20px;
	margin-top: 0px;
	font-size: 13px;
	font-weight: 500;
	font-family: "Lora", serif;
	color: #424949;
}

/*----- Boton -----*/
.boton_rec {
	margin-top: 23px;
}

footer a,
.btn-1 a {
	font-family: 'Antic', sans-serif;
	text-decoration: none;
	border: 2px solid #C8BC84;
	padding: 15px;
	color: #000;
	text-transform: uppercase;
	letter-spacing: 2px;
	position: relative;
	display: inline-block;
}

span {
	position: relative;
  z-index: 3;
}

/* Button styles */
.btn-1 a::before {
  content: "";
  position: absolute;
  top: 5px;
  left: -2px;
  width: calc(100% + 10px);
  height: calc(100% - 10px);
  background-color: #ffffff;
  transition: all 0.5s ease-in-out;
  transform: scaleY(1);
}

.btn-1 a:hover::before {
  transform: scaleY(0);
}

.btn-1 a::after {
  content: "";
  position: absolute;
  left: 5px;
  top: -5px;
  width: calc(100% - 10px);
  /*100% plus double the times left values*/
  height: calc(100% + 10px);
  background-color: #ffffff;
  transition: all 0.5s ease-in-out;
  transform: scaleX(1);
}

.btn-1 a:hover::after {
  transform: scaleX(0);
}



/*_______________ CuartoBloque Dress _______________*/

.fondo_foto00 {
	background: linear-gradient(-45deg, #F4A6C1, #ffe7ea, #FFF0F5, #FFFFFF);
	width: 100%;
  background-size: 400% 400%;
  animation: gradientBG 5s ease infinite;
  padding: 20px 10px;
}

@keyframes gradientBG {
  0% {background-position: 0% 50%;}
  50% {background-position: 100% 50%;}
  100% {background-position: 0% 50%;}
}

.title_mgb10 {
	margin-bottom:10px;
}

.title_mgt0 {
	margin-top: 0;
}

.imgv {
	display: block;
  margin: 0 auto;
	max-width: 80%;
  height: auto;
}


.borde-animado {
  position: relative;
  padding: 40px;
  margin: 60px auto;
  max-width: 90%;
  width: 600px;
  background-color: white;
  box-sizing: border-box;
  overflow: hidden;
}

.contenido {
  position: relative;
  z-index: 2;
  text-align: center;
  font-family: 'Josefin Slab', serif;
  color: #333;
}

/* bordes animados */
.borde {
  position: absolute;
  background-color: black;
  z-index: 1;
}

/* línea superior */
.borde.top {
  top: 0;
  left: 0;
  height: 2px;
  width: 0;
  animation: drawTop 0.5s forwards;
}

/* línea derecha */
.borde.right {
  top: 0;
  right: 0;
  width: 2px;
 	height: 0;
  animation: drawRight 0.5s forwards;
  animation-delay: 0.5s;
}

/* línea inferior */
.borde.bottom {
  bottom: 0;
  right: 0;
  height: 2px;
  width: 0;
  animation: drawBottom 0.5s forwards;
  animation-delay: 1s;
}

/* línea izquierda */
.borde.left {
  bottom: 0;
  left: 0;
  width: 2px;
  height: 0;
  animation: drawLeft 0.5s forwards;
  animation-delay: 1.5s;
}

/* Detenidas por defecto */
.borde-animado .borde {
	animation-play-state: paused;
}

/* Cuando entra al scroll con AOS */
.borde-animado.aos-animate .borde {
  animation-play-state: running;
}

/* Animaciones */
@keyframes drawTop {
	to {
			width: 100%;
  }
}

@keyframes drawRight {
  to {
    	height: 100%;
  }
}

@keyframes drawBottom {
  to {
    	width: 100%;
  }
}

@keyframes drawLeft {
  to {
    	height: 100%;
  }
}

/* RESPONSIVO */
@media (max-width: 600px) {
	.borde-animado {
		padding: 20px;
    margin: 20px;
  }
  .contenido h1 {
   	font-size: 1.5rem;
  }
  .contenido p {
  	font-size: 1rem;
  }
}

/*_______________ NuestroAmor Bloque _______________*/

.container_na {
	padding: 0 50px;
	text-align: center;
}



/*_______________ QuintoBloque Galeria _______________*/

.container_gale {
	background: linear-gradient(-45deg, #F4A6C1, #ffe7ea, #FFF0F5, #FFFFFF);
	width: 100%;
  background-size: 400% 400%;
  animation: gradientBG 5s ease infinite;
  padding: 20px 10px;
}

@keyframes gradientBG {
  0% {background-position: 0% 50%;}
  50% {background-position: 100% 50%;}
  100% {background-position: 0% 50%;}
}


/* CONTENEDOR SLIDER */
.galeria-slider {
	max-width: 100%;
  overflow: hidden;
  margin: 0 auto;
  position: relative;
}

.galeria-slides {
  display: flex;
  transition: transform 0.4s ease-in-out;
  touch-action: pan-x;
  touch-action: pan-y; 
}

.galeria-slide {
  width: 100%;
  flex-shrink: 0;
  height: 400px;
  object-fit: cover;
  cursor: pointer;
}

@media (max-width: 600px) {
	.galeria-slide {
		height: 550px;
  }
}

/* MINIATURAS CON SCROLL */
.galeria-thumbnails-scroll {
  overflow-x: auto;
  padding: 10px 0;
}

.galeria-thumbnails {
  display: flex;
  gap: 30px;
  padding: 5px 30px;
  width: max-content;
}

.galeria-thumb {
 	width: 80px;
  height: 80px;
  object-fit: cover;
  opacity: 0.5;
  cursor: pointer;
  border: 2px solid transparent;
  transition: opacity 0.3s, border 0.3s;
  border-radius: 4px;
  flex-shrink: 0;
}

.galeria-thumb.active {
  opacity: 1;
  border-color: black;
}

/* SCROLLBAR OCULTO O PERSONALIZADO */
.galeria-thumbnails-scroll::-webkit-scrollbar {
  height: 6px;
}

.galeria-thumbnails-scroll::-webkit-scrollbar-thumb {
 	background: transparent;
 	border-radius: 3px;
}

/* LIGHTBOX (IMAGEN AMPLIADA) */
.galeria-lightbox {
	display: none;
 	position: fixed;
  z-index: 1;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  justify-content: center;
  align-items: center;
}

.galeria-lightbox-img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
}

.galeria-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  color: white;
  cursor: pointer;
  font-weight: bold;
}



/*_______________ Fondo_Foto Cuenta _______________*/

.title_cl {
	color: white;
}

/*----- Cuenta Regresiva -----*/
.portada {
	z-index: 1;
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(0, 0, 0, 0.4);
  color: #fff;
  padding: 1px 20px; /* opcional: espaciado interior */
  text-align: center;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

#cuenta {
	display: flex;
	justify-content: center;
}

.simply-section {
  font-family: "Cinzel", serif;
	width: 70px;
	height: 70px;
	margin: 0 1px;
	display: flex;
	align-items: center;
	color: white;
	justify-content: center;
}

.simply-amount {
	margin-top: 0;
	color: white;
	display: block;
	font-size: 23px;
	font-weight: 400;
}

.simply-word {
	font-family: "Raleway", sans-serif;
	color: white;
	font-weight: 300;
	font-size: 15px;
}



/*_______________ Mesa Regalos _______________*/

.fondo_ms {
	background-image: url('../img/fond04.jpg');
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	width: 100%;
	display: grid;
	place-content: center;
	box-sizing: border-box;
	filter: brightness(105%); /* Aclara la imagen */
	position: relative;
	z-index: 1;
}

.container_ms {
	padding: 0 50px;
	text-align: center;
}

.title_mg40 {
	padding-top: 40px;
}

.title_tienda {
	padding-top: 20px;
	font-family: "Rufina", serif;
	font-size: 30px;
	color: black;
}

.txtEve {
	text-align: center;
	margin-top: 10px;
	font-size: 13px;
	font-family: 'Antic', sans-serif;
}


.boton_mesa {
	padding-top: 30px;
}

a {
 	font-family: 'Antic', sans-serif;
  text-decoration: none;
  color: #000;
  text-transform: uppercase;
  letter-spacing: 2px;
  position: relative;
  display: inline-block;
}

.btn-2 {
	background-color: rgba(255, 255, 255, 0.2); border: 2px solid #C8BC84;
	color: black;
	padding: 15px 20px; /* Espaciado interno */
	display: inline-block;
	margin: 4px 2px; /* Margen exterior */
	cursor: pointer;
	transition: background-color 0.3s ease; /* Transición suave */
}

.btn-2:hover {
  background-image: linear-gradient(to right, #C8BC84, #bfb68c); /* Color de fondo al pasar el cursor */
}



/*_______________ Itinerario _______________*/

.titleI {
	font-size: 60px;
	font-family: "Pinyon Script", cursive;
	font-weight: 500;
	color: black;
}

.txt_pdd30 {
	padding: 0 30px;
}

.itinerario {
	padding: 0 20px;
	max-width: 480px;
  margin: 0 auto;
}

.img_itine {
	margin-left: auto;
  margin-right: auto;
	display: block;
	max-width: 60%;
  height: auto;
}

.img_itine2 {
	margin-left: auto;
  margin-right: auto;
	display: block;
	max-width: 55%;
  height: auto;
}

.evento {
	margin-bottom: 50px;
}

.evento i {
	font-size: 40px;
  color: #696969;
  margin-bottom: 12px;
}

.title_eve {
	margin-top: 0;
  font-size: 28px;
  font-family: "Pinyon Script", cursive;
  font-weight: 500;
  color: black;
}

.descripcion {
  margin-top: 0;
  font-size: 16px;
  font-weight: 400;
  font-family: "Open Sans", sans-serif;
  color: #424949;
}

.hora {
	margin-top: 0px;
  font-size: 14px;
  font-weight: 600;
  font-family: "Lora", serif;
  color: #424949;
}


/*_______________ Asistencia _______________*/

.contenido_as {
	position: relative;
  z-index: 2;
  text-align: justify;
}

.title_cnt {
  text-align: center;
}

/*----- ASISTIRÁ -----*/
.txt__a {
	font-size: 16px;
	font-family: 'Antic Slab', serif;
	color: #7E7E7E;
}

#whatsappForm {
  max-width: 400px;
  margin: 0 auto;
  padding: 20px;
}

/*----- Nom Completo -----*/
.txt__nomc {
	font-size: 16px;
	font-family: 'Antic Slab', serif;
	color: #7E7E7E;
}

/* Estilos predeterminados para los bordes de los campos de entrada */
.validate {
  border-bottom: 1px solid #909497 !important; /* Color del borde inferior */
  box-shadow: 0 1px 0 0 #909497 !important; /* Color del efecto de sombra */
  transition: border-color 0.3s, box-shadow 0.3s; /* Transición para el cambio de color */
}

/* Estilos al hacer clic en el campo de entrada */
.validate:focus {
  border-bottom: 1px solid #17202a !important; /* Nuevo color del borde inferior al hacer clic */
  box-shadow: 0 1px 0 0 #17202a !important; /* Nuevo color del efecto de sombra al hacer clic */
}

input[type="text"] {
	font-family: "Lora", serif;
  width: 100%;
  padding: 10px;
  margin-bottom: 20px;
  border: 1px solid #31363F;
  border-radius: 5px;
  color: #31363F;
}

/* Estilos para los checkboxes */
[type="checkbox"]:not(:checked),
[type="checkbox"]:checked {
  position: absolute !important;
  opacity: 0;
  pointer-events: none;
}

[type="checkbox"]:not(:checked) + span,
[type="checkbox"]:checked + span {
  position: relative;
  padding-left: 30px;
}

[type="checkbox"]:not(:checked) + span:before,
[type="checkbox"]:checked + span:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 20px;
  height: 20px;
  border: 2px solid #606061; /* Color del borde */
  background-color: transparent;
  border-radius: 4px;
}

.boton_as {
	text-align: center;
}


/*----- Agendar -----*/
.conta_agen {
	text-align: center;
}

.img_agendar {
	display: block;
  margin: 0 auto;
	max-width: 50%;
  height: auto;
  margin-bottom: -20px;
}



/*_______________ AlbumFotos _______________*/

.fondo_album {
	background-image: url('../img/fond06.jpg');
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	width: 100%;
	display: grid;
	place-content: center;
	box-sizing: border-box;
	filter: brightness(105%); /* Aclara la imagen */
	position: relative;
	z-index: 1;
}

.container_album {
	padding: 0 50px;
	text-align: center;
}

.img_albumF {
	margin: 0 auto;
	display: block;
	max-width: 40%;
  height: auto;
  margin-bottom: -10px;
}


.title_mgb10 {
  margin-bottom: 10px;
}

.txt_codigo {
	margin-top: 0;
	font-family: "Lora", serif;
  font-size: 16px;
  font-weight: 100;
}



/*______________________________Estilos Responsive______________________________*/

@media screen and (min-width: 480px) {

	.img_iglesia {
		padding-top: 40px;
		max-width: 60%;
	}

	.img_cer {
		padding-top: 40px;
		max-width: 60%;
	}

	.imgv {
		max-width: 60%;
	}

	.img_itine {
		max-width: 40%;
	}

	.img_itine2 {
		max-width: 35%;
	}

	.img_agendar {
		max-width: 30%;
	}

	.img_albumF {
		max-width: 30%;
	}

	.fondo_ns {
		background-image: url('../img/rp/fnd0.jpg');
	}

	.title_mg12 {
		padding-top: 12px;
	}

	.fondo_rece {
		background-image: url('../img/rp/fnd02.jpg');
	}

	.fondo_ms {
		background-image: url('../img/rp/fond0.jpg');
	}

	.fondo_album {
		background-image: url('../img/rp/fnd06.jpg');
	}

}



/*______________________________Estilos Responsive______________________________*/

@media screen and (min-width: 768px) {

	.container_ns {
		padding: 0 130px;
	}

	.img_iglesia {
		padding-top: 40px;
		max-width: 30%;
	}

	.img_cer {
		padding-top: 40px;
		max-width: 30%;
	}

	.container_gale {
	  padding: 20px 40px;
	}

	/* CONTENEDOR SLIDER */
	.galeria-slide {
	  width: 100%;
	  height: 500px;
	}

	.fondo_ns {
		background-image: url('../img/rp/fnd00.jpg');
	}

	.fondo_rece {
		background-image: url('../img/rp/fnd002.jpg');
	}

	.fondo_ms {
		background-image: url('../img/rp/fnd004.jpg');
	}

	.fondo_album {
		background-image: url('../img/rp/fnd006.jpg');
	}

}



/*______________________________Estilos Responsive______________________________*/

@media screen and (min-width: 900px) {

	.fondo_ns {
		background-image: none;
	}

	.fondo_rece {
		background-image: none;
	}

	.fondo_ms {
		background-image: none;
	}

	.fondo_album {
		background-image: none;
	}


}