/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  width: 100%;
  overflow-x: hidden;
  overflow-y: scroll;
  font-size: 16px;
}

/* Tipografía base */
body {
  font-family: 'Playfair Display', 'Montserrat', sans-serif;
  background-color: #fdfff5;
  color: #333;
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  overflow-y: hidden;
}

/* Contenedor principal */
.container {
  width: 90%;
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

/* Títulos */
h1, h2, h3 {
  font-weight: 600;
  color: #222;
}

a {
  text-decoration: none;
}

/* Botones */
.btn {
  display: inline-block;
  background-color: #5B6B40;
  color: #fff;
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 8px;
  transition: background-color 0.3s ease;
}

.btn:hover {
  background-color: #4a5935;
}

/* Header base */
.header {
  padding: 0.5rem 2rem 0;
}

/* Contenedor de letras */
.initials {
  display: flex;
  gap: 0.5rem;
  font-size: 2.5rem;
  font-weight: normal;
  color: #5B6B40;
  align-items: flex-start;
  font-family: 'Italianno';
  justify-content: center;
}

/* Responsive */
@media (max-width: 768px) {
  .initials {
    justify-content: center;
  }
}

/* Letras base */
.letter {
  opacity: 0;
  display: inline-block;
  transform: translateY(0);
  transition: transform 0.6s ease, opacity 0.6s ease;
}

/* U: sube desde abajo */
.letter.u {
  transform: translateY(5px) translateX(2px); /* aparece desde abajo */
}

.animate-u {
  opacity: 1;
  transform: translateY(0);     /* termina su movimiento */
  margin-top: 4px;              /* queda un poquito más abajo */
}

/* S: baja desde arriba */
.letter.s {
  transform: translateY(-4px) translateX(4px); /* aparece desde arriba */
}

.animate-s {
  opacity: 1;
  transform: translateY(0);     /* termina su movimiento */
  margin-top: 1px;              /* solo un ligero ajuste para no estar pegada arriba */
}

/* HERO */

.hero {
  display: flex;
  gap: 5px;
  max-width: 900px;
  margin: 0 auto 2rem;
  position: relative;
  height: 400px; /* Ajusta según la imagen */
  overflow: visible;
}

.image-split {
  background-image: url('img/pareja2_2.jpg');
  background-size: cover;
  background-position: center;
  transition: transform 1s ease;
  will-change: transform;
  max-height: 400px;
}

/* Cada sección muestra sólo una parte de la imagen (usando background-position y background-size) */
.left {
  background-position-x: 0%;
  flex: 1;
}

.center {
  background-position-x: 50%;
  flex: 3;
}

.right {
  background-position-x: 100%;
  flex: 1;
}

/* Posiciones iniciales personalizadas */
.image-split.left,
.image-split.right {
  transform: translateY(30px); /* Más abajo */
}

.image-split.center {
  transform: translateY(-30px); /* Más arriba */
}


/* Animación inicial (sin transform) */
.image-split.left.animate-up {
  transform: translateY(-15px);
}

.image-split.right.animate-up {
  transform: translateY(-15px);
}

.image-split.center.animate-down {
  transform: translateY(15px);
}

@media (max-width: 768px) {
  .image-split {
    background-image: url('img/pareja2_1.jpg');
  }
}

.names {
  position: absolute; /* Antes estaba fixed */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: 10px;
  user-select: none;
  font-family: 'Italianno';
  font-weight: normal;
  font-size: 5rem;
  color: #ffffff;
  pointer-events: none;
  z-index: 2; /* Asegura que esté sobre la imagen */
}

/* Por defecto ocultos */
.name-arriba,
.name-ampersand,
.name-abajo {
  opacity: 0;
  transition: transform 1s ease, opacity 1s ease;
  position: absolute;
}

/* Animaciones al entrar */
.name-arriba.enter {
  opacity: 1;
}

.name-ampersand.enter {
  opacity: 1;
}

.name-abajo.enter {
  opacity: 1;
}

/* Posicionamiento relativo al centro (&) */
.name-ampersand {
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

/* Puedes ajustar estos valores como gustes */
.name-arriba {
  left: calc(50% - 200px); /* más a la izquierda */
  top: calc(50% - 80px);   /* más arriba */
  transform: translate(-50%, -50%);
}

.name-abajo {
  left: calc(50% + 200px); /* más a la derecha */
  top: calc(50% + 80px);   /* más abajo */
  transform: translate(-50%, -50%);
}

/* Responsive */
@media (max-width: 768px) {
  .names {
    font-size: 4rem;
  }
  /* Puedes ajustar estos valores como gustes */
  .name-arriba {
    left: calc(50% - 100px); /* más a la izquierda */
    top: calc(50% - 80px);   /* más arriba */
    transform: translate(-50%, -50%);
  }

  .name-abajo {
    left: calc(50% + 100px); /* más a la derecha */
    top: calc(50% + 80px);   /* más abajo */
    transform: translate(-50%, -50%);
  }
}

/* HERO ENDS */

/* HERO CONTINUA */

.heros {
  padding: 0 10px;
  margin-top: -20px;
}

.hero-continua {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  max-width: 768px;
  width: 100%;
  margin: 0 auto; /* Centra horizontalmente */
  overflow: hidden;
  gap: 5px;
}

.hero-part {
  display: flex;
  flex-direction: column;
}

.hero-part.left,
.hero-part.right {
  flex: 1;
}

.hero-part.center {
  flex: 2; /* Doble de ancho */
  margin-top: 30px; /* 15px más abajo */
}

@media (max-width: 768px) {
   
}

.hero-part img {
  width: 100%;
  height: auto;
  display: block;
}

/* ANIMACIÓN HERO */

.hero-continua .hero-part {
  transition: transform 1s ease;
}

/* Estado inicial: antes de animar */
.hero-continua.start .left,
.hero-continua.start .right {
  transform: translateY(100px); /* comienzan abajo */
}

.hero-continua.start .center {
  transform: translateY(-15px); /* comienza arriba */
}

/* Estado final: posición natural en el layout */
.hero-continua.animate .left,
.hero-continua.animate .right {
  transform: translateY(0);
}

.hero-continua.animate .center {
  transform: translateY(15px);
}

/* HERO CONTINUA ENDS */


/* WEDDING DATE */

.wedding-date {
  text-align: center;
  margin: 10px auto 4rem;
  font-family: 'Playfair', serif; /* O la que estés usando */
  color: #050301; /* Asegúrate que contraste con el fondo */
}

.date-text {
  font-size: 1rem;
  font-weight: normal;
  letter-spacing: 0.2rem;
  margin-bottom: -10px;
}

/* Ajusta el tamaño del separador si lo deseas */
.date-separator {
  width: 80px;  /* o el tamaño real que se vea bien */
  height: auto;
  display: inline-block;
  transform: rotate(180deg);
}

/* WEDDING DATE ENDS */

/* QUOTE SECTION */

.quote-section {
  width: 80%;
  max-width: 900px;
  margin: 4rem auto;
  text-align: center;
  font-family: 'Playfair Display', serif;
  color: #050301; /* O el que contraste con tu fondo */
}

.quote-text {
  font-size: 1.2rem;
  line-height: 1.6;
  font-weight: 400;
}

/* Responsive para móviles */
@media (max-width: 768px) {
  .quote-section {
    width: 95%;
  }

  .quote-text {
    font-size: 1rem;
  }
}

/* QUOTE SECTION */

/* COUNTDOWN */

.countdown-section {
  text-align: center;
  margin: 4rem auto;
  color: #050301;
  font-family: 'Playfair Display', serif;
}

.countdown-title {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  letter-spacing: 1px;
  font-weight: normal;
  color: #050301;
  letter-spacing: 0.207em;;
}




#countdown {
}

#countdown .countdown {
  margin-bottom: 0;
  font-size: 3rem;
  color: #050301;
}

#countdown .countdown span {
  margin: 0 20px;
  display: inline-block;
}

#countdown .countdown small {
  display: block;
  font-size: 0.8rem;
  margin-top: 0.3rem;
}

@media screen and (max-width: 920px) {
  #countdown .countdown {
    font-size: 2.5rem;
  }
  #countdown .countdown span {
    margin: 0 10px;
    display: inline-block;
  }
}

@media screen and (max-width: 592px) {
  #countdown .countdown {
    font-size: 2.5rem;
  }
  #countdown .countdown span {
    margin: 0 10px;
  }
}


/* Responsive */
@media (max-width: 600px) {
  .countdown-title {
    font-size: 1.2rem;
  }
}

.countdown-message {
  margin-top: 1.2rem;
  font-size: 1.8rem;
  font-family: 'Playfair Display', serif;
  color: #ffffff;
  text-align: center;
  animation: fadeIn 1s ease forwards;
}


/* COUNTDOWN ENDS */

/* PARENTS */

.parents-section {
  text-align: center;
  margin: 4rem auto;
  color: #050301;
  font-family: 'Playfair Display', serif;
  padding: 0 1rem;
  max-width: 900px;
}

.parents-title {
  font-size: 2.5rem;
  margin-bottom: 3rem;
  font-weight: normal;
  font-family: 'Italianno';
}

/* GRID para los papás */
.parents-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.parent-block, .padrinos-block {
  background-color: transparent; /* Puedes poner un color si gustas */
  padding: 1rem;
  min-width: 250px;
  max-width: 300px;
  margin: 0 auto;
}

.parent-block h3,
.padrinos-block h3 {
  font-weight: bold;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.parent-block p,
.padrinos-block p {
  margin: 0.3rem 0;
  font-size: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
  .parents-grid {
    flex-direction: column;
    align-items: center;
  }
  .parents-title {
    margin-bottom: 1rem;
    font-size: 2.2rem;
    line-height: 2rem;
  }
}


/* PARENTS ENDS */

/* FULL-IMAGE */

.full-image-section {
  padding: 0 1rem; /* pequeño margen lateral */
  margin: 0; /* sin márgenes arriba ni abajo */
}

.full-image {
  width: 100%;
  height: auto;
  display: block;
}

/* FULL-IMAGE ENDS */

/* FULL-VIDEO */

.full-video-section {
  padding: 0 1rem;
  margin: 0;
}

.full-video {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover; /* si deseas que llene el contenedor sin distorsionar */
}

/* FULL-VIDEO ENDS */

/* DETAILS */

.details-section {
  padding: 4rem 1rem;
  background-color: transparent;
  font-family: 'Playfair', serif;
  color: #050301;
  font-weight: normal;
}

.details-grid {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.details-box {
  background-color: #ffffff;
  padding: 2rem;
  flex: 1 1 300px;
  max-width: 500px;
  text-align: center;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center; /* centrar todo horizontalmente */
  border: 1px solid transparent; /* opcional para depurar */
  box-shadow: 2px 3px 10px #0000002e;
}


/* Imagen de icono */
.details-icon {
  width: auto;
  height: 80px;
  margin-bottom: 1rem;
}

/* Título (Ceremonia o Recepción) en Italianno */
.details-type {
  font-family: 'Italianno', cursive;
  font-size: 2.5rem;
  font-weight: normal;
}

/* Lugar */
.details-place {
  font-size: 1.2rem;
  font-weight: bold;
  text-transform: uppercase;
}

/* Dirección */
.details-address {
  font-size: 0.8rem;
  color: #555;
}

/* Hora */
.details-time {
  font-size: 1rem;
  font-weight: 500;
}

/* Botones */
.details-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  width: 100%;
  margin-top: auto; /* empuja los botones al fondo natural sin forzarlos */
  margin: 1rem 0 0;
}

.details-button {
  background-color: #666A4F;
  color: #fff;
  padding: 0.6rem 1.2rem;
  text-decoration: none;
  font-size: 0.9rem;
  border: none;
  text-align: center;
  transition: background-color 0.3s ease;
  flex: 1 1 auto;
}

.details-button:hover {
  background-color: #253322;
}


@media (max-width: 768px) {
  .details-box {
    width: 100%;
    max-width: 400px;
  }

  .details-buttons {
    flex-direction: column;
    align-items: center;
  }

  .details-button {
    width: 100%;
    max-width: none;
  }
}

/* DETAILS ENDS */

/* ITINERARIO */

.itinerario {
  padding: 4rem;
  display: flex;
  justify-content: center;
}

/* Responsividad */
@media (max-width: 768px) {
  .itinerario {
    padding: 4rem 3rem;
  }
}

.contenedor-itinerario {
  max-width: 600px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.contenedor-itinerario::before {
  content: '';
  position: absolute;
  top: 120px;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  background-color: #666A4F;
  z-index: 1;
}

.titulo-itinerario {
  font-family: 'Italianno';
  font-size: 2.5rem;
  color: #253322;
  text-align: center;
  margin-bottom: 20px;
  letter-spacing: 2px;
  font-weight: 100;
}


.fila-itinerario {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  width: 100%;
  position: relative;
  z-index: 2;
}

.lado-izquierdo {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
}

.lado-izquierdo img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  border-radius: 10px;
}

.lado-izquierdo h3 {
  font-size: 1rem;
  color: #666;
  margin: 0;
  text-align: center;
  font-weight: 100;
}

.lado-izquierdo .hora {
  font-family: 'Playfair Display', serif;
  font-size: 0.9rem;
  color: #49521D; /* Borgoña */
  margin: 0;
  text-align: center;
  font-weight: bold;
}

.linea-central {
  flex: 0 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.punto {
  width: 8px;
  height: 8px;
  background-color: #666A4F;
  border-radius: 50%;
  position: relative;
}

.lado-derecho {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;  
}

.lado-derecho img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  border-radius: 10px;
}

.lado-derecho h3 {
  font-size: 1rem;
  color: #666;
  margin: 0;
  text-align: center;
  font-weight: 100;
}

.lado-derecho .hora {
  font-family: 'Playfair Display', serif;
  font-size: 0.9rem;
  color: #253322; /* Borgoña */
  margin: 0;
  font-weight: bold;
  text-align: center;
}

/* ITINERARIO ENDS */

/* DRESS CODE */

.dress-code-section {
  display: flex;
  justify-content: center;
  padding: 50px 20px;
}

.dress-code-box {
  background-color: white;
  padding: 40px 20px;
  max-width: 800px;
  width: 100%;
  text-align: center;
  box-shadow: 2px 3px 10px #0000002e;
}

.dress-code-box h2 {
  font-family: 'Italianno', serif;
  font-size: 2.5rem;
  margin-bottom: 30px;
  font-weight: normal;
}

.dress-code-images {
  display: flex;
  justify-content: center;
  margin-bottom: 10px;
}

.dress-code-images a {
  display: inline-block;
  transition: transform 0.3s ease;
  margin-right: -20px;
}

.dress-code-images img {
  height: 300px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.dress-code-images a:hover img {
  transform: scale(1.05);
}

.dress-code-note {
  font-size: 0.9rem;
  margin-bottom: 30px;
}

.palette-section h3 {
  font-weight: normal;
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.color-circles {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}

.color-circles .circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-left: -10px;
  border: 2px solid white;
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.2);
}
.color-circles .circle:first-child {
  margin-left: 0;
}

/* Responsividad */
@media (max-width: 768px) {
  .dress-code-images img {
    height: 200px;
  }

}

/* DRESS CODE ENDS */

/* GIFTS */

.gifts-section {
  display: flex;
  justify-content: center;
  padding: 50px 20px;
}

.gifts-box {
  background-color: white;
  padding: 40px 20px;
  max-width: 800px;
  width: 100%;
  text-align: center;
  box-shadow: 2px 3px 10px #0000002e;
}

.gifts-box h2 {
  font-family: 'Italianno', serif;
  font-size: 2.5rem;
  margin-bottom: 30px;
  font-weight: normal;
}

.gifts-images {
  display: flex;
  justify-content: space-around;
  margin-bottom: 10px;

}

.gifts-images a {
  display: inline-block;
  transition: transform 0.3s ease;
  margin-right: -20px;
  display: flex;
  align-items: center;
}

.gifts-images img {
  width: 200px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gifts-images a:hover img {
  transform: scale(1.05);
}

.gifts-note {
  font-size: 0.9rem;
  margin-bottom: 30px;
}


/* Responsividad */
@media (max-width: 768px) {
  .gifts-images img {
    width: 150px;
  }

}

/* GIFTS ENDS */

/* RSVP */

.invitados {
  text-align: center;
  position: relative;
  z-index: 100;
  padding-top: 4rem;
  display: flex;
  justify-content: center;
}

.invitados-wrapper {
  width: 80%;
}

.invitados .heading-style-h2 {
  color: #ECE8E5;
  font-size: 0.8rem;
  font-weight: 100;
  line-height: 1.2rem;
}

.invitados .heading-style-h3 {
  color: #ECE8E5;
  font-size: 1.2rem;
  line-height: 2.5rem;
  text-transform: uppercase;
}

.invitados .heading-style-h4 {
  color: #ECE8E5;
  font-size: 1rem;
  font-weight: 100;
  line-height: 1.5;
}

.invitados .heading-style-h4 strong {
  font-weight: bold;
}

.invitados p {
  color: #ECE8E5;
  font-size: 1rem;
  font-weight: 100;
}

.invitados .heading-style-h5 {
  color: #ECE8E5;
  font-size: 1.5rem;
  font-weight: normal;
  line-height: 2.5rem;
  padding-top: 20px;
}

.circle {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #ECE8E5;
  transition: background-color 0.3s ease;
}

.circle.filled {
  background-color: #666A4F;
}

.circles_container {
  display: flex; 
  gap: 10px; 
  justify-content: center;
  padding: 20px 0 5px 0;
}

#rsvp {
  position: relative;
  background-size: cover;
  background-position: bottom center;
  background-repeat: no-repeat;
  justify-items: center;
  height: 100%;
}

#rsvp .form-control {
  border: none !important;
  color: #ECE8E5;
  font-size: 1rem !important;
  width: 100%;
  -webkit-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s;
}

#rsvp .heading-section h2 {
  font-family: 'Italianno';
  font-size: 2.5rem;
  font-weight: 100;
  position: relative;
  color: #ECE8E5;
}

.row {
  margin-left: -15px;
  margin-right: -15px;
}

.row:before, .row:after {
  content: " ";
  display: table;
}

.row:after {
  clear: both;
}

.container-form {
  position: relative;
  z-index: 100;
  padding: 4rem;
  text-align: center;
  width: 80%;
}

.form-component-col-1 {
  grid-column-gap: 16px;
  grid-row-gap: 16px;
  grid-template-rows: auto;
  grid-template-columns: 1fr;
  grid-auto-columns: 1fr;
  display: grid;
}

.form-component-col-2 {
  grid-column-gap: 16px;
  grid-row-gap: 16px;
  grid-template-rows: auto;
  grid-template-columns: 0.2fr 1fr 0.2fr 1fr;
  grid-auto-columns: 0.2fr 1fr 0.2fr 1fr;
  display: grid;
}

.form-input {
  border: 1px solid #ECE8E5;
  color: #ECE8E5;
  background-color: #0000;
  border-radius: 2.3125rem;
  min-height: 52px;
  margin-bottom: 10px;
  padding: .9375rem 1.25rem;
  font-size: 1rem;
  line-height: 1.2rem;
  font-family: 'Playfair Display', sans-serif;
}

.selection .form-input {
  border: none;
}

label {
  text-align: left;
}

.form-btn {
  border: 1px solid #ECE8E5;
  color: #ECE8E5;
  background: none;
  border-radius: 1.3125rem;
  min-height: 52px;
  margin-bottom: 10px;
  padding: .9375rem 1.25rem;
  font-size: 1rem;
  line-height: 1.2rem;
  transition: 0.3s;
}

.form-btn:hover {
  transform: scale(1.05);
  border: 1px solid #666A4F;
  background: #666A4F;
}

.form-input::placeholder {
  font-size: 1rem;
  line-height: 1.375rem;
  font-weight: normal;
}

.form-input.is-text-area {
  resize: none;
  min-height: 10rem;
  padding-top: 1.5rem;
  font-size: 1rem;
  padding-left: 1rem;
}

.input-spec, .select-spec {
  color: #ECE8E5;
  vertical-align: middle;
  background-color: #0000002e;
  width: 100%;
  height: 38px;
  margin-bottom: 10px;
  padding: 8px 12px;
  font-size: 1rem;
  line-height: 1.42857;
  display: block;
}

.input-spec::placeholder, .select-spec::placeholder {
  color: #ECE8E5;
  font-size: 1rem;
}

textarea.input-spec, textarea.select-spec {
  height: auto;
  font-size: 1rem;
}

@media (max-width: 768px) {
  .container-form {
    padding: 1rem 1rem 4rem;
    width: 100%;
  }

  .invitados .heading-style-h4 {
    font-size: 0.8rem;
    line-height: 1.2rem;
  }

  .invitados p {
    font-size: 0.8rem;
  }

  textarea.input-spec, textarea.select-spec {
    font-size: 0.8rem;
  }

  .input-spec::placeholder, .select-spec::placeholder {
    color: #ECE8E5;
    font-size: 0.8rem;
  }

  .input-spec, .select-spec {
    font-size: 0.8rem;
  }

  .form-input {
    font-size: 0.8rem;
  }
}

/* RSVP */ 

/* PARALLAX SECTIONS */

.parallax-section {
  position: relative;
  height: 100%;
  overflow: hidden;
}

.parallax-bg {
  position: absolute; /* Hacer que el fondo sea fijo */
  top: -20%;
  left: 0;
  width: 100%;
  height: 1200px;
  background-size: cover;
  background-position: center;
  z-index: -1; /* Mantener detrás del contenido */
}

#section_rsvp .parallax-bg {
  background: 
    linear-gradient( rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.9)), /* Gradiente negro */
    url('img/3.webp'); /* Imagen de fondo */
  filter: grayscale(1);
  background-size: cover;
  background-position: center;
}

/* PARALLAX SECTIONS ENDS */

/* PRE-LOADER */

#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #F0F3E0;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  font-family: 'Italianno';
}

#logo {
  font-size: 5rem;
  font-weight: 100;
  color: #253322;
}

/* Responsividad */
@media (max-width: 768px) {
  #logo {
  font-size: 3rem;
}
}

/* Contenido del loader */
.loader-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Texto de carga */
.loading-text {
  font-family: serif;
  font-size: 14px;
  color: #253322;
  margin-bottom: 10px;
}

/* Barra de carga */
.loading-bar {
  width: 200px;
  height: 8px;
  background-color: #ACB48D;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}

.progress {
  width: 0%;
  height: 100%;
  background-color: #253322;
  animation: progressAnimation 2s infinite;
}

/* Animación de la barra de progreso */
@keyframes progressAnimation {
  0% {
      width: 0%;
  }
  50% {
      width: 70%;
  }
  100% {
      width: 100%;
  }
}

/* PRE-LOADER ENDS */

/* POP-UP */

#mute-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background-color: #F0F3E0;
  border: none;
  border-radius: 50%;
  font-size: 20px;
  padding: 10px;
  cursor: pointer;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
  z-index: 1000;
}

/* Estilos de la ventana pop-up */
.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(10px);
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.popup-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #F0F3E0;
  padding: 20px;
  text-align: center;
  border-radius: 8px;
  width: 500px;
}

.btn,
.popup-content button {
  padding: 10px 20px;
  font-size: 16px;
  line-height: normal;
  cursor: pointer;
  border: none;
  background-color: #666A4F;
  color: #F0F3E0;
  border-radius: 5px;
  -webkit-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
  font-weight: bold;
  margin-top: 1rem;
}

.btn:hover,
.popup-content button:hover {
  background: #253322;
}

.popup-content a {
  width: 100%;
  text-decoration: none;
}

.popup-text {
  width: 400px;
}

.h3-popup {
  color: #666A4F;
  font-size: 3rem;
  font-family: 'Italianno';
  font-weight: 100;
}

.h2-popup {
  color: #666A4F;
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 40px;
  line-height: normal;
}

.popup-p {
  font-weight: 100;
}

.popup-p span {
  font-size: 16px;
}

@media screen and (max-width: 450px) {
  .h2-popup {
    font-size: 1.5rem;
  }
  .popup-p {
    font-size: 16px;
  }
}

@media screen and (max-width: 600px) {
  .popup-text {
    width: 300px;
  }
  .popup-content {
    width: 350px;
  }
}

/* POP-UP ENDS */

/* POP-UP ENVIAR */
.popup_enviar {
  position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(10px);
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.popup_enviar-content {
  width: 500px;
  background-color: #F7EDE3;
  padding: 30px;
  text-align: center;
  border-radius: 8px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
  position: relative;
}

.popup_enviar_text h3 {
  margin: 0;
  line-height: normal;
  font-size: 35px;
}

.closeE {
  position: relative; /* Relativo al contenedor del popup */
  top: 10px;          /* A 10px del borde superior */
  left: 150px;
  font-size: 24px;
  cursor: pointer;
  color: #000;
  background: none;   /* Sin fondo */
  border: none;
}

/* POP-UP ENVIAR ENDS */

/* GALERIA */

.gallery-section {
  padding: 50px 20px;
  text-align: center;
}

.gallery-section h2 {
  font-family: 'Italianno', serif;
  font-size: 2.5rem;
  font-weight: normal;
  margin-bottom: 30px;
}

.owl-carousel .item {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 500px; /* fija la altura que quieras */
  overflow: hidden;
}

.owl-carousel .item img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* llena el contenedor, recortando si es necesario */
}


.carrusel-contenedor {
  width: 90%;
  margin: 0 auto;
  position: relative;
}

/* Ajustar flechas */
.owl-nav {
  position: absolute;
  top: 40%;
  left: -40px;
  right: -40px;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  transform: translateY(-50%);
  font-size: 50px;
}

.owl-nav button {
  background-color: #8d765c;
  color: #333;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 20px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  pointer-events: all;
  cursor: pointer;
  opacity: 0.5;
  transition: all 0.3s ease;

}

.owl-nav button:hover {
  opacity: 1;
  transform: scale(1.1);
  color: #253322 !important;
  background: none !important;
}

/* Dots */
.owl-dots {
  margin-top: 15px;
}

.owl-dot span {
  width: 10px;
  height: 10px;
  background: #ccc;
  border-radius: 50%;
  display: block;
  margin: 5px;
  transition: background 0.3s;
}

.owl-dot.active span {
  background: #333;
}

.owl-dot.active span {
  background: #253322 !important;
  transform: scale(1.3);
}

@media (max-width: 768px) {
  .owl-nav {
    font-size: 30px;
  }
  .owl-carousel .item {
    height: 400px; /* fija la altura que quieras */
  }
}

/* GALERIA ENDS */

/* ANIMACIONES */

.typewriter-text {
  white-space: nowrap;
  border-right: none; /* No queremos línea */
  visibility: hidden;
  text-wrap: auto;
}

.fade-in {
  opacity: 0;
  transition: opacity 1s ease, transform 1s ease;
}

.fade-in.show {
  opacity: 1;
  transform: translate(0, 0);
}

/* Desde arriba */
.fade-in-top {
  transform: translateY(-30px);
}
.fade-in-top.show {
  transform: translateY(0);
}

/* Desde abajo */
.fade-in-bottom {
  transform: translateY(30px);
}
.fade-in-bottom.show {
  transform: translateY(0);
}

/* Desde la izquierda */
.fade-in-left {
  transform: translateX(-30px);
}
.fade-in-left.show {
  transform: translateX(0);
}

/* Desde la derecha */
.fade-in-right {
  transform: translateX(30px);
}
.fade-in-right.show {
  transform: translateX(0);
}

.slide-in-left {
  opacity: 0;
  transform: translateX(-50%);
  transition: opacity 1s ease, transform 1s ease;
  display: block; /* para que el picture se comporte como bloque */
  max-width: 100%; /* para que no se salga */
}

.slide-in-left.show {
  opacity: 1;
  transform: translateX(0);
}

/* Opcional: que la img interna ocupe todo el contenedor */
.slide-in-left img {
  width: 100%;
  height: auto;
  display: block;
}

.slide-in-right {
  opacity: 0;
  transform: translateX(50%);
  transition: opacity 1s ease, transform 1s ease;
  display: block; /* para que el picture se comporte como bloque */
  max-width: 100%; /* para que no se salga */
}

.slide-in-right.show {
  opacity: 1;
  transform: translateX(0);
}

/* Opcional: que la img interna ocupe todo el contenedor */
.slide-in-rigt img {
  width: 100%;
  height: auto;
  display: block;
}


/* ANIMACIONES ENDS */

/* POP-UP GIFTS */
.popup_sobre {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(10px);
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.popup_sobre-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: #fff;
  background-size: contain;
  padding: 0 40px 30px;
  text-align: center;
  border-radius: 8px;
  height: auto;
  width: 350px;
}

.popup_sobre-content img {
  width: 100%;
}

.close {
  position: relative; /* Relativo al contenedor del popup */
  top: 10px;          /* A 10px del borde superior */
  left: 150px;
  font-size: 24px;
  cursor: pointer;
  color: #000;
  background: none;   /* Sin fondo */
  border: none;
}

@media screen and (max-width: 450px) {

}

.download-btn {
  background-color: #000;
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  margin-top: 1rem;
}

.download-btn:hover {
  background-color: #444;
}

/* POP-UP GIFTS ENDS */