@font-face {
  font-family: "Premint";
  src: url("../assets/fonts/premint-Regular.otf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Adelia";
  src: url("../assets/fonts/ADELIA.TTF") format("truetype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Chaparral";
  src: url("../assets/fonts/ChaparralPro-Regular.otf") format("truetype");
  font-weight: normal;
  font-size: normal;
}

@font-face {
  font-family: "Chaparral-Italic";
  src: url("../assets/fonts/ChaparralPro-Italic.otf") format("truetype");
  font-weight: normal;
  font-size: normal;
}

* {
  box-sizing: border-box; /* evita que padding/márgenes sumen ancho extra */
}

html,body {

  overflow-x: hidden; /* fuerza que no haya scroll horizontal */
  max-width: 100vw;   /* asegura que nada supere el ancho de la pantalla */
  position: relative;
  z-index: 1;
  background-image: url("../assets/img/background-2.png");
  background-size: contain;
}

/* MAIN SECTION */

.hero {
  background-image: url("../assets/img/main.jpeg");
  background-size: cover;
  background-position: bottom;
  background-attachment: fixed;
  height: 100vh;
  overflow: hidden;
  position: relative;
}

.hero-content {
  margin-top: 20%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.hero-content img {
  width: 30%;
  height: auto;
}

.flowermain{
  margin-right: 10%;
}

@media (max-width: 768px) {
  .hero {
    background-position: right;
  }
  .hero-content {
    margin-top: 60%;
  }
  .hero-content img {
    width: 60%;
  }
}

/* MEMO  */
.memo {
  z-index: 1;
  background-image: url("../assets/img/background.png");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
}

.memo-content {
  margin-top: 12%;
  margin-bottom: 35%;
}

.memo-song {
  color: #626b66;
  text-align: center;
  font-family: Premint;
  font-size: 40px;
}

.memo-anuncio {
  margin-top: 17%;
  color: #626b66;
  text-align: center;
  font-family: Premint;
  font-size: 60px;
}

.memo-names {
  margin-top: 4%;
  color: black;
  text-align: center;
  font-family: Adelia;
  font-size: 80px;
}

.memo-names-ruben{
  margin-top: 4%;
  margin-bottom: 8%;
  color: black;
  text-align: center;
  font-family: Adelia;
  font-size: 80px;
}

.memo-wish {
  color: #626b66;
  text-align: center;
  font-family: Chaparral;
  font-size: 25px;
}

.memo-texto {
  margin-top: 5%;
  color: #626b66;
  text-align: center;
  font-family: Chaparral-Italic;
  font-size: 21.5px;
}

/* Botón existente */
.play-btn {
  width: 150px;
  height: 60px;
  border: none;
  border-radius: 20px;
  background: #bbaa8c;
  color: #f8f8f8;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.2s;
}

.button-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 150px;
  width: 100%; /* Asegura que ocupe todo el ancho */
}

.container.text-center {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.play-btn:hover {
  transform: scale(1.1);
}

.memo-flor-der {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    z-index: 2;
    width: 20%;
    height: auto;
}

.memo-flor-izq{
    position: absolute;
    top: 70%;
    transform: translateY(-50%);
    z-index: 2;
    width: 20%;
    height: auto;
}

.memo-flor-izq {
    left: 0;
}

.memo-flor-der {
    right: 0;
}

.ruben-container {
  position: relative;
  display: inline-block;
}

.u-acento-container {
  position: relative;
  display: inline-block;
}

.acento-img {
  position: absolute;
  top: -45%; /* Ajusta según lo necesites */
  left: 85%;
  width: 280%; /* Proporcional a la fuente */
  height: auto;
  pointer-events: none;
}


/* Ajustes para móviles */
@media (max-width: 768px) {
    .memo{
        height: 120vh;
    }
    .memo-content {
        margin-top: 15%;
        margin-bottom: 25%;
    }
    
    .memo-song {
        font-size: 25px;
    }
    
    .memo-anuncio {
        font-size: 35px;
        margin-top: 12%;
    }
    
    .memo-names {
      margin-top: 10%;
        font-size: 55px;
    }
    
    .memo-names-ruben {
      font-size: 55px;
      margin-bottom: 10%;
    }
    
    .memo-wish {
        font-size: 16px;
    }

    .memo-texto{
      font-size: 13.5px;
    }
    
    .play-btn {
        width: 120px;
        height: 50px;
    }
    
    .button-container {
        min-height: 120px;
    }
    
    .memo-flor-izq,
    .memo-flor-der {
        width: 60%;
    }
    
    .memo-flor-izq {
        top: 65%;
    }
    
    .memo-flor-der {
        top: 43%;
    }
}

/* Ajustes para móviles pequeños */
@media (max-width: 576px) {
    .memo-content {
        margin-top: 20%;
        margin-bottom: 30%;
    }
    
    .memo-song {
        font-size: 20px;
    }
    
    .memo-anuncio {
        font-size: 28px;
    }
    
    .memo-names .memo-names-ruben{
        font-size: 45px;
    }
    
    .memo-wish {
        font-size: 14px;
    }
    
    .play-btn {
        width: 100px;
        height: 40px;
    }
    
    .memo-flor-izq,
    .memo-flor-der {
        width:30%;
    }
}

/* SAVE THE DATE SECTION */
.savedate {
  z-index: 1;
  background-image: url("../assets/img/SaveDate.png");
  background-size: cover;
  background-position: center;
  display: flex;
}

.savedate-content {
  margin-top: 13%;
  margin-bottom: 13%;
  text-align: bottom;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.savedate-content p {
  margin-top: 20%;
  font-size: 95px;
  color: white;
  font-family: Premint;
}

.savedate-calendar {
  width: 60%;
  height: auto;
  margin-top: 50%;
}

@media (max-width: 768px) {
  .savedate {
    background-position: center;
  }


  .savedate-content p {
    margin-top: 23%;
    font-size: 35px;
  }

  .savedate-calendar {
    width: 60%;
    height: auto;
    margin-top: 30%;
  }
}

.savedate-line {
  align-items: center;
  height: 20%;
  width: 100%; /* O el porcentaje que prefieras */
  position: relative;
  z-index: 1;
  background-image: url("../assets/img/background-4.png");
  background-size: cover;}

.savedate-line p {
  padding-top: 3.5%;
  padding-bottom: 3.5%;
  color: white;
  text-align: center;
  font-size: 35px;
  font-family: Premint;
}

.savedate-line p .date-number {
  font-size: 65px;
}

@media (max-width: 768px) {
  .savedate-line p {
    font-size: 25px;
  }
  .savedate-line p .date-number {
    font-size: 30px;
  }
}

/* INFORMATION SECTION */

.information-content {
  padding: 10px;
  text-align: center;
  margin-top: 6%;
  margin-bottom: 6%;
}

.information-content p {
  color: #626b66;
  text-align: center;
  font-family: Chaparral;
  font-size: 20px;
}

.information-content .information-titles {
  color: #bbaa8c;
  text-align: center;
  font-family: Premint;
  font-size: 45px;
}

.information-content img {
  width: 40%;
  height: auto;
}

.countdown {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 50px;
  font-family: Premint;
  margin-bottom: 10%;
}

.time-box {
  text-align: center;
}

.number {
  color: #626b66;
  font-size: 48px;
  margin: 0;
  padding: 0;
}

.label {
  display: block;
  color: #626b66;
  font-size: 18px;
  margin-top: 8px;
  letter-spacing: 2px;
}

@media (max-width: 768px) {
  .information-content p {
    font-size: 17px; /* Ajusta según sea necesario */
  }
  .information-content .information-titles {
    font-size: 30px;
  }
  .information-content img {
    width: 100%;
  }
}

/*events */

.cover-section {
  background-image: url("../assets/img/FOTO.png"); /* tu imagen */
  background-size: cover;           /* cubre todo el fondo */
  background-position: center;      /* centrada */
  background-repeat: no-repeat;     /* sin repetir */
  height: 150vh;                    /* ocupa toda la altura de la pantalla */
  width: 100%;                      /* ocupa todo el ancho */
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}


.cover-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
}

.cover-title-img {
  width: 30%; /* ajusta según tamaño */
  height: auto;
  margin-bottom: 10px;
}

.cover-subtitle {
  font-family: Premint;
  font-size: 35px;
  margin-top: 0;
  color: #fff;
}


/* ==== LOCATIONS SECTION ==== */
.locations {
  margin-top: -5%;
  background-image: url('../assets/img/background-4.png'); /* textura inferior */
  background-size: cover;
  background-repeat: repeat;
  padding: 100px 0;
  position: relative;
  z-index: 0;
}

.location-card {
  margin-top: -70%;
  background-color: #f8f6f2;
  border-radius: 8px;
  padding: 45px 30px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.location-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.location-icon {
  width: 40%;
  height: auto;
  margin-right: 15px;
}

.location-card h3 {
  font-family: Premint;
  color: #bbaa8c;
  font-size: 40px;
  margin-bottom: 10px;
}

.location-card p {
  color: #bbaa8c;
  font-size: 19px;
  margin: 0;
}
  .location-hour, .location-city{
    color: #bbaa8c;
    font-family: Chaparral-Italic;
  }

  .location-lugar{
    font-family: Chaparral;
  }

.location-card .btn {
  font-family: Chaparral-Italic;
  background-color: #bbaa8c;
  border-color: #bbaa8c;
  color: #fff;
  font-size: 22px;
  border-radius: 8px;
  letter-spacing: 1px;
  margin-top: 20px;
}

.location-card .btn:hover {
  background-color: #bbaa8c;
  transform: scale(1.03);
}

/* ==== RESPONSIVE ==== */
@media (max-width: 768px) {
  /* Cover Section */
  .cover-section {
    height: 100vh;
  }
  .cover-title {
    font-size: 48px;
  }
  .cover-subtitle {
    font-size: 18px;
  }

  /* Locations Section */
  .locations {
    padding: 70px 20px; /* menos padding lateral para móvil */
    margin-top: -5%;       /* eliminamos el negativo */
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;           /* espacio entre cards */
  }

  .location-card {
    flex: 1 1 300px;    /* ancho mínimo 300px, se ajusta al contenedor */
    margin-top: -60%;      /* quita margen negativo */
    padding: 30px 20px; /* padding más compacto en móvil */
  }

  .location-card-2{
    margin-top: 10%;
  }

  .location-card h3 {
    font-size: 28px;    /* ajusta título */
  }

  .location-card p {
    font-size: 16px;    /* ajusta párrafo */
  }

  .location-card .btn {
    height: auto;       /* altura flexible */
    font-size: 18px;    /* texto más pequeño en móvil */
  }
}


/* Estilos de galeria */

.owl-carousel .item {
    padding: 10px;
    text-align: center;
    height: 83vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.owl-carousel .item img {
    height: 100%;
    width: auto;
    max-width: 100%;
    object-fit: cover;
}

.gallery-title {
    padding-top: 5%;
    padding-bottom: 2%;
    font-family: Premint;
    font-size: 45px;
    color: #bbaa8c;
}

@media (max-width: 768px) {
    .gallery-title {
        font-size: 30px;   
    }
}

/* Estilos para las flechas de navegación */
.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    font-size: 30px;
    cursor: pointer;
    transition: opacity 0.2s ease;
    z-index: 1001;
    opacity: 0.8;
}

.nav-btn:hover {
    opacity: 1;
}

.prev-btn {
    left: 10px;
}

.next-btn {
    right: 10px;
}

/* Ajustes para pantallas pequeñas */
@media (max-width: 768px) {
    .prev-btn {
        left: 5px;
    }

    .next-btn {
        right: 5px;
    }
}

.nav-btn:hover {
    transform: translateY(-50%) scale(1.1);
}

.prev-btn {
    left: 10px;
}

.next-btn {
    right: 10px;
}

/* Ajustes para pantallas pequeñas */
@media (max-width: 768px) {
    .prev-btn {
        left: 5px;
    }

    .next-btn {
        right: 5px;
    }
}


/* ITINERARY SECTION */
.itinerary{
  margin-top:8%;
  margin-bottom: 8%;
}

.itinerary-content {
  text-align: center;
}

.itinerary-content p {
  color: #626b66;
  text-align: center;
  font-family: Premint;
  font-size: 20px;
}

.itinerary-content .itinerary-titles {
  color: #bbaa8c;
  text-align: center;
  font-family: Premint;
  font-size: 45px;
}

/* TIMELINE STYLES */
.timeline {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.timeline-item {
  display: flex;
  align-items: center;
  justify-content: center;
}

.timeline-icon {
  width: 195px;
  height: auto;
}

.timeline-line {
  width: 100px;
}

.timeline-text {
  text-align: left;
}

.timeline-text h4 {
  font-family: Premint;
  color: #626b66;
  font-size: 45px;
  margin-bottom: 3px;
}

.timeline-text p {
  font-family: Premint;
  text-justify: auto;
  font-size: 18px;
  color: #626b66;
  text-align: end;
  margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .timeline{
    margin-bottom: 10%;
  }
  .timeline-item {
    flex-direction: column;
    gap: 5px;
    width: 50;
  }
  .timeline-icon {
    width: 45%;
    height: auto;
  }
  .timeline-line {
    width: auto;
    height: 50px;
  }
  .timeline-text h4 {
    font-size: 30px;
    text-align: center;
  }
  .timeline-text p {
    font-size: 16px;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .itinerary-content p {
    font-size: 17px; /* Ajusta según sea necesario */
  }
  .itinerary-content .itinerary-titles {
    font-size: 30px;
  }

}


/* dresscode SECTION */

.dresscode {
  background-image: url("../assets/img/dresscode.png");
  background-position: 60% center;
  background-size: cover;
  background-attachment: fixed;
  height: 100vh;
  overflow: hidden;
  display: flex;
  justify-content: center;
}

.dresscode-content {
  margin-top: 15%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.dresscode-content img {
  width: 27%;
  height: auto;
}

.dresscode-anuncio {
  color: #f8f8f8;
  font-family: Premint;
  font-size: 60px;
  margin: 0; /* Elimina margen por defecto */
}

.dresscode-formal {
  color: #f8f8f8;
  font-family: Chaparral-Italic;
  font-size: 27.5px;
  margin: 0; /* Elimina margen por defecto */
}

@media (max-width: 768px) {
  .dresscode {
  background-position: 65% center;
  }

  .dresscode-content {
    margin-top: 55%;
  }

  .dresscode-content img {
    width: 75%; /* Imagen más grande en móviles */
  }

  .dresscode-anuncio {
    font-size: 26px; /* Reduce tamaño de texto */
  }

  .dresscode-formal {
    font-size: 23px; /* Reduce tamaño de subtítulo */
  }
}

/* Estilos generales */
.gift-line {
  background-image: url("../assets/img/background-4.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  width: 100%;
  padding: 60px 20px;
  text-align: center;
}

.gift-content {
  max-width: 700px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Icono */
.gift-icon {
  width: 27%;
  height: auto;
}

/* Título */
.gift-title {
  margin-top: -7%;
  font-family: Premint;
  font-size: 50px;
  color: #f8f8f8;
  margin-bottom: 20px;
}

/* Texto */
.gift-text {
  font-family: Chaparral-Italic;
  font-size: 20px;
  line-height: 1.6;
  color: #f8f8f8;
  text-align: center; /* Usa "justify" si prefieres */
  max-width: 600px;
}

/* Responsive */
@media (max-width: 768px) {
  .gift-title {
    font-size: 28px;
  }

  .gift-text {
    font-size: 17.5px;
  }

  .gift-icon {
    width: 45%;
  }
}

/* Sección Confirmar Asistencia */
.confirm-section {
  padding: 8% 0% 0%; /* Menor padding superior, mayor inferior */
  text-align: center;
}

.confirm-content {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Título */
.confirm-title {
  font-family: Premint;
  font-size: 50px;
  color: #626b66;
  letter-spacing: 1px;
}

/* Imagen botón */
.confirm-button {
  margin-top: -10%;
  width: 45%;
  height: auto;
  transition: transform 0.2s ease;
}

.confirm-button:hover {
  transform: scale(1.03);
}

/* Nota inferior */
.confirm-note {
  margin-top: -7%;
  font-family: Chaparral-Italic;
  font-size: 20px;
  color: #626b66;
  max-width: 500px;
  line-height: 1.5;
}

/* Logo */
.confirm-logo {
  margin-top: -7%;
  margin-bottom: 0%;
  width: 60%;
  height: auto;
}

/* Responsive: móvil */
@media (max-width: 768px) {
  .confirm-section {
    margin-bottom: 5%;
    margin-top: 10%;
  }

  .confirm-title {
    font-size: 26px;
  }

  .confirm-button {
    margin-top: -14%;
    width: 65%;
  }

  .confirm-note {
    margin-top: -12%;
    font-size: 17.5px;
  }

  .confirm-logo {
    width: 70%;
  }
}



/* Estilos del Loader */
#loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #f8f7f4;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 1;
  transition: opacity 0.5s ease;
}

#loader.hidden {
  opacity: 0;
  pointer-events: none;
}

.loader-circle {
  position: relative;
  width: 160px;
  height: 160px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.loader-image {
  width: 100%;
  height: auto;
  z-index: 2;
}

.loader-spinner {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 4.5px solid transparent;
  border-top-color: #ae997c; /* Color principal */
  border-radius: 50%;
  animation: spin 1s linear infinite;
  z-index: 1;
}



@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
