
/*** Spinner Start ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .8s ease-out, visibility 0s linear .5s;
    z-index: 99999;
 }

 #spinner.show {
     transition: opacity .8s ease-out, visibility 0s linear .0s;
     visibility: visible;
     opacity: 1;
 }
/*** Spinner End ***/

.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    display: flex;
    width: 45px;
    height: 45px;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
    z-index: 99;
}

/*** Button Start ***/
.btn {
    font-weight: 600;
    transition: .5s;
}

.btn-square {
    width: 32px;
    height: 32px;
}

.btn-sm-square {
    width: 34px;
    height: 34px;
}

.btn-md-square {
    width: 44px;
    height: 44px;
}

.btn-lg-square {
    width: 56px;
    height: 56px;
}

.btn-square,
.btn-sm-square,
.btn-md-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

.btn-primary-outline-0 {
    color: var(--bs-white) !important;
    border: 1px solid var(--bs-primary);
}

.btn-light-outline-0 {
    color: var(--bs-primary) !important;
    border: 1px solid var(--bs-light);
}

.btn-primary-outline-0:hover {
    background: var(--bs-secondary) !important;
    color: var(--bs-white) !important;
    border: 1px solid var(--bs-primary);
}

.btn-light-outline-0:hover {
    background: var(--bs-primary) !important;
    color: var(--bs-white) !important;
    border: 1px solid var(--bs-secondary);
}

.img-border {
    border-color: var(--bs-secondary);
    border-style: double;
}

.display-1,
.display-2,
.display-3,
.display-4,
.display-5,
.display-6 {
    font-family: 'Playfair Display', serif;;
    font-weight: 700;
}


/*** Navbar Start ***/
.sticky-top {
    transition: 0.5s;
    background: var(--bs-white);
}


.navbar .navbar-nav .nav-link {
    padding: 10px 15px;
    font-family: 'Playfair Display', serif;;
    font-weight: 600;
    font-size: 16px;
    transition: .5s;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active,
.sticky-top.bg-white .navbar .navbar-nav .nav-link:hover,
.sticky-top.bg-white .navbar .navbar-nav .nav-link.active {
    color: var(--bs-primary);
}

@media (min-width: 1200px) {
    .navbar .navbar-collapse .border-top {
        border-top: none !important;
    }
}
/*** Navbar End ***/

/*** Carousel Start ***/
.carousel-item {
    position: relative;
    min-height: 56vh
    
}

.carousel-item img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-item .carousel-caption {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: end;
    text-align: center;
    background: linear-gradient(rgba(0, 0, 0, .4), rgba(0, 0, 0, 0.4));
    background-size: cover;
}

.carousel-control-prev,
.carousel-control-next {
    opacity: 0;
}

.carousel-control-prev .carousel-control-prev-icon,
.carousel-control-next .carousel-control-next-icon {
    background: transparent;
}

#carouselId .carousel-indicators {
    padding-bottom: 30px;
}

#carouselId .carousel-indicators li {
    border-top: 10px solid var(--bs-white);
    border-bottom: 10px solid var(--bs-white);
    border-right: 5px solid var(--bs-white);
    border-left: 5px solid var(--bs-white);
    margin-right: 10px;
    transition: 0.5s;
}

#carouselId .carousel-indicators li.active {
    background: var(--bs-primary);
    border-color: var(--bs-primary);
    border-right: 15px solid var(--bs-primary);
    border-left: 15px solid var(--bs-primary);
}
/*** Carousel End ***/


/*** Wedding Story Start ***/
.story .story-timeline,
.story .story-timeline .row {
    position: relative;
}

.story .story-timeline::before,
.story .story-timeline::after {
    position: absolute;
    content: "";
    width: 15px;
    height: 15px;
    background: var(--bs-secondary);
    border-radius: 10px;
    left: 50%;
    top: -7px;
    transform: translateX(-50%);
}

.story .story-timeline::after {
    top: auto;
    bottom: -7px;
}

.story .story-timeline .row::after {
    position: absolute;
    content: "\f004";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 30px;
    color: var(--bs-secondary);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

@media (max-width: 768px) {
    .story .story-timeline::before,
    .story .story-timeline::after,
    .story .story-timeline .row::after  {
        display: none;
    }
}
/*** Wedding Story End ***/

/*** Wedding Date Start ***/
.wedding-date-bg .wedding-date {
    width: 100%;
    position: relative;
    overflow: hidden;
    background: linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5)), url(../img/foto_oso.png) center;
    object-fit: cover;
    background-repeat: no-repeat;
}

.wedding-date-bg .wedding-date::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    width: 100%;
    height: 100%;
    z-index: 3;
}

.wedding-date-bg .wedding-date .wedding-date-content {
    position: relative;
    z-index: 9;
}
/*** Wedding Date End ***/


/*** Wedding Timeline Start ***/
@media (max-width: 576px) {
    .wedding-timeline .wedding-content .heart-circle {
        display: none;
    }
}
/*** Wedding Timeline End ***/


/*** Gallery Start ***/
.gallery .gallery-img {
    position: relative;
    overflow: hidden;
}

.gallery .gallery-img .hover-style {
    width: 0;
    height: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: 1s;
}

.gallery .gallery-img:hover .hover-style {
    width: auto;
    height: auto;
    border: 600px solid rgba(255, 255, 255, 0.3);
    opacity: 1;
}

.gallery .gallery-img img {
    transition: 0.5s;
}

.gallery .gallery-img:hover img {
    transform: scale(1.3);
}

.gallery .gallery-item .gallery-overlay {
    transition: 0.5s;
}

.gallery .gallery-item:hover .gallery-overlay {
    background: transparent !important;
    border: 0 !important;
}

.gallery .gallery-img .search-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: 0.5s;
    opacity: 0;
    z-index: 2;
    
}

.gallery .gallery-img:hover .search-icon {
    opacity: 1;
}
/*** Gallery End ***/


/*** team Start ***/
.team .team-item {
    position: relative;
    overflow: hidden;
}

.team .team-item .team-content {
    position: absolute;
    width: 100%;
    height: 100%;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: end;
    justify-content: center;
    transition: 0.5s;
    z-index: 4;
}

.team .team-item:hover .team-content {
    background: rgba(0, 0, 0, .5);
}

.team .team-item .team-content {
    text-align: center;
}

.team .team-item .team-social {
    position: absolute;
    top: -180px;
    right: 15px;
    z-index: 5;
    transition: 0.5s;
}

.team .team-item:hover .team-social {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 5;
}

.team .team-item .team-img {
    position: relative;
    overflow: hidden;
    border-color: var(--bs-secondary);
    border-style: double;
}

.team .team-item .team-img .team-img-main {
    position: relative;
    z-index: 3;
}

.team .team-item .team-img .team-img-main img,
.team .team-item .team-img .team-img-bg img {
    transition: 0.5s;
}

.team .team-item:hover .team-img .team-img-main img,
.team .team-item:hover .team-img .team-img-bg img {
    transform: scale(1.1);
}
/*** Team End ***/


/*** Contact Us Start ***/
.RSVP-form {
    background: linear-gradient(rgba(255, 255, 255, 0.08), rgba(0, 0, 0, 0.2));
    object-fit: cover;
}
/*** Contact Us End ***/


/*** Footer Start ***/
.footer {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url(../img/footer-bg.jpg) center center;
    background-size: cover;
    background-repeat: no-repeat;
}

.footer .footer-item a.btn-link,
.footer .footer-item p {
    line-height: 35px;
    font-size: 17px;
    color: var(--bs-light);
    transition: 0.5s;
}

.footer .footer-item a.btn-link:hover {
    color: var(--bs-primary);
    letter-spacing: 2px;
}

@media (max-width: 992px) {
    .footer .text-start,
    .footer .text-center,
    .footer .text-end {
        text-align: center !important;
    }
}
/*** Footer End ***/


/*** copyright Start ***/
.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: var(--bs-dark) !important;
}
/*** copyright end ***/

.welcome-screen {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 99999;
  width: 100%;
  height: 100vh;
  background: #fff7f0;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeOut 1s 5s forwards;
}

#welcome-screen.hidden {
  display: none;
}

#welcome-screen canvas {
  position: absolute;
  width: 100%;
  height: 100%;
}

.welcome-text {
  z-index: 2;
  text-align: center;
}

.welcome-text h1 {
  font-size: 64px;
  color: #b79883;
  font-family: 'Great Vibes', cursive;
  margin-bottom: 10px;
}

.welcome-text p {
  font-size: 20px;
  color: #7c5c4c;
  font-weight: 500;
}

@keyframes fadeOut {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

.hero-section {
  position: relative;
  height: 100vh;
  background: url('img/inicio.png') center center/cover no-repeat;
  background-color: #FDFCF8;
  color: #7A885D;
  padding: 0 20px;
  overflow: hidden;
}

.hero-section .overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(253, 252, 248, 0.4), rgba(216, 198, 159, 0.6));
  z-index: 1;
}

.hero-content {
  z-index: 2;
  position: relative;
  max-width: 900px;
  margin: auto;
  animation: fadeInUp 1.5s ease-out;
}

.hero-content .subtitle {
  font-size: 1.2rem;
  letter-spacing: 2px;
  font-family: 'Playfair Display', serif;
  color: #7A885D;
  margin-bottom: 20px;
}

.hero-content .hero-title {
  font-family: 'Great Vibes', cursive;
  font-size: 4rem;
  color: #7A885D;
  margin-bottom: 20px;
}

.hero-content .date {
  font-size: 1.1rem;
  letter-spacing: 2px;
  color: #7A885D;
  border: 3px double #D8C69F;
  padding: 8px 20px;
  display: inline-block;
  border-radius: 8px;
  background-color: #FDFCF8;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* Hojas decorativas */
.leaf {
  position: absolute;
  width: 250px;
  opacity: 0.8;
  animation: float 5s ease-in-out infinite;
  z-index: 2;
}

.leaf-left {
  top: 20px;
  left: 20px;
  /* transform: rotate(-10deg); */
}

.leaf-right {
  bottom: 20px;
  right: 20px;
 /*  transform: rotate(15deg); */
}

/* Animación flotante */
/* @keyframes float {
  0%   { transform: translateY(0) rotate(0deg); }
  50%  { transform: translateY(-10px) rotate(3deg); }
  100% { transform: translateY(0) rotate(0deg); }
} */


.familia-section {
  background-color: #FDFCF8;
}

.section-title {
  font-family: 'Playfair Display', serif;
  color: #7A885D;
}

.persona-card {
  border: 3px double #D8C69F;
  padding: 20px;
  background-color: #ffffff;
  border-radius: 20px;
  transition: transform 0.3s ease;
}

.persona-card:hover {
  transform: translateY(-5px);
}

.persona-card img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border: 3px solid #CDE4B0;
}

.nombre {
  font-size: 1.1rem;
  color: #7A885D;
  margin-bottom: 4px;
  font-weight: bold;
}

.rol {
  font-size: 0.9rem;
  color: #FFD9B3;
  background-color: #7A885D;
  display: inline-block;
  padding: 4px 12px;
  border-radius: 12px;
}

.evento-timeline-section {
  background: #CDE4B0;
  position: relative;
}

.section-title {
  font-family: 'Playfair Display', serif;
  color: #7A885D;
}

.timeline-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 700px;
  margin: 0 auto;
}

.evento-timeline-item {
  background-color: #FDFCF8;
  border: 3px double #D8C69F;
  padding: 25px;
  border-radius: 16px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.08);
  display: flex;
  gap: 20px;
  align-items: center;
}

.evento-icon {
  background-color: #FFD9B3;
  color: #7A885D;
  border-radius: 50%;
  font-size: 24px;
  padding: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 60px;
}

.evento-info {
  flex: 1;
  text-align: left;
}

.evento-titulo {
  color: #7A885D;
  font-size: 1.2rem;
  margin-bottom: 4px;
}

.evento-hora {
  font-weight: bold;
  color: #D8C69F;
  margin-bottom: 6px;
}

.evento-lugar {
  font-size: 1rem;
  color: #7A885D;
}

.btn-ubicacion {
  background-color: #7A885D;
  color: white;
  font-weight: 600;
  border: none;
  padding: 6px 14px;
  border-radius: 10px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.btn-ubicacion:hover {
  background-color: #5e6e45;
}


.countdown-circle-section {
  background-color: #FDFCF8;
}

.section-title {
  font-family: 'Playfair Display', serif;
  color: #7A885D;
}

.countdown-subtitle {
  font-size: 1.2rem;
  color: #7A885D;
  margin-bottom: 30px;
}

.countdown-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.circle-timer {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background-color: #FFD9B3;
  border: 5px solid #D8C69F;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s;
  box-shadow: 0 6px 12px rgba(0,0,0,0.1);
}

.circle-timer:hover {
  transform: scale(1.05);
}

.circle-number {
  font-size: 2rem;
  font-weight: bold;
  color: #7A885D;
}

.circle-label {
  font-size: 0.9rem;
  color: #7A885D;
}

.rsvp-form-section {
  background-color: #FDFCF8;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  color: #7A885D;
}

.rsvp-subtitle {
  font-size: 1.1rem;
  color: #7A885D;
}

.form-card {
  background-color: #ffffff;
  border: 3px double #D8C69F;
  border-radius: 16px;
  padding: 40px 30px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.rsvp-input {
  background-color: #fffefb;
  border: 2px solid #CDE4B0;
  border-radius: 10px;
  padding: 14px;
  font-size: 1rem;
  color: #7A885D;
}

.rsvp-input:focus {
  border-color: #FFD9B3;
  box-shadow: none;
}

.btn-rsvp-submit {
  background-color: #FFD9B3;
  color: #7A885D;
  font-weight: 600;
  padding: 12px 30px;
  border-radius: 10px;
  border: 2px solid #D8C69F;
  transition: background 0.3s ease;
}

.btn-rsvp-submit:hover {
  background-color: #CDE4B0;
}

.rsvp-popup {
  display: none;
  margin-top: 20px;
  background-color: #CDE4B0;
  color: #7A885D;
  padding: 15px;
  border-radius: 10px;
  font-weight: bold;
  font-size: 1rem;
  text-align: center;
}

.fotos-section {
  background-color: #FFD9B3;
  color: #7A885D;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.3rem;
  color: #7A885D;
}

.fotos-text {
  font-size: 1.1rem;
  color: #7A885D;
}

.btn-fotos {
  background-color: #7A885D;
  color: #fff;
  font-weight: 600;
  padding: 12px 25px;
  border-radius: 10px;
  border: none;
  transition: background 0.3s ease;
  text-decoration: none;
}

.btn-fotos:hover {
  background-color: #5e6e45;
}

.site-footer {
  background-color: #7A885D;
  color: #FDFCF8;
}

.footer-text {
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.5px;
}
