@font-face {
  font-family: 'Elegant';
  src: url('../fonts/Elegant.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Scrpt';
  src: url('../fonts/Scrpt.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Brittany';
  src: url('../fonts/Brittany.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  margin: 0;
  color: #1F2937;
  background-image: url('../images/FONDO2.jpg');
  background-repeat: repeat-y;
  background-size: auto 100vh;
  background-position: center top;
  background-attachment: fixed;
}


section {
  /*background-color: #E3F2F9;*/
  color: #1F2937;
  padding: 40px 20px;
  text-align: center;
}

h1, h2, h3 {
  font-family: 'Playfair Display', Georgia, serif;
  color: #1F2937;
  font-weight: 700;
  letter-spacing: 1px;
}


section h2 {
  font-family: 'Elegant', Georgia, serif;
  font-size: 3em; /* opcional: ajusta tamaño si lo quieres más visible */
  letter-spacing: 1px; /* opcional: mejora elegancia visual */
}

header {
  background-color: #becec3;
  padding: 20px;
  text-align: center;
  position: sticky;
  top: 0;
  z-index: 100;
}

header h1 {
  margin: 0;
  font-size: 24px;
  font-family: 'Elegant', Georgia, serif;
}



nav ul {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 2em;
  margin: 10px 0 0;
  flex-wrap: wrap;
}

nav a {
  text-decoration: none;
  color: #000;
  font-weight: 500;
}

.login {
  position: absolute;
  right: 20px;
  top: 20px;
  font-size: 14px;
}

/* Hero */
.hero {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background-image: url('../images/hero.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-overlay {
  /*background-color: rgba(0, 0, 0, 0.45);*/
  color: white;
  padding: 40px 20px;
  text-align: center;
  border-radius: 10px;
  max-width: 700px;
  width: 90%;
  box-sizing: border-box;
}

.hero h2 {
  font-size: 28px;
  margin-bottom: 10px;
}

.hero p {
  font-size: 18px;
  margin-bottom: 15px;
}

.hero .btn {
  /*background-color: white;*/
  color: black;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
  display: inline-block;
}

.btn {
  display: inline-block;
  margin-top: 20px;
  background-color: black;
  color: white;
  padding: 10px 20px;
  text-decoration: none;
}

section {
  padding: 40px 20px;
  text-align: center;
}

section img {
  max-width: 100%;
  height: auto;
  margin-top: 20px;
}

.info {
  margin-top: 20px;
}

#temporizador {
  padding: 30px;
  background-color: #ffffff;
  text-align: center;
}

.countdown {
  font-size: 2em;
  font-weight: bold;
  margin-top: 10px;
}

/* Formulario */
form {
  max-width: 400px;
  margin: 0 auto;
  text-align: left;
}

form label {
  display: block;
  margin: 10px 0 5px;
}

form input, form select, form textarea {
  width: 100%;
  padding: 8px;
  margin-bottom: 10px;
  font-size: 1em;
}

form button {
  padding: 10px 20px;
  background-color: black;
  color: white;
  border: none;
  cursor: pointer;
}

form button:hover {
  background-color: #333;
}

/* Responsive */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  nav ul {
    display: none;
    flex-direction: column;
   /* background: #eaf8fc;*/
    position: absolute;
    top: 60px;
    right: 0;
    width: 100%;
    padding: 10px 0;
  }

  nav ul.show {
    display: flex;
  }



  .menu-toggle {
    display: block;
  }

  .hero h2 {
    font-size: 24px;
  }

  .hero p {
    font-size: 16px;
  }

  .hero .btn {
    font-size: 14px;
    padding: 10px;
  }

  .login {
    position: static;
    text-align: center;
    margin-top: 10px;
  }
}


.wedding-date {
  font-size: 2em;
  color: #fff;
  /*background: rgba(0,0,0,0.42);*/
  padding: 12px 18px;
  /*border-radius: 10px;*/
  font-weight: bold;
  letter-spacing: 2px;
  /*box-shadow: 0 2px 8px rgba(0,0,0,0.14);*/
  font-family: 'Scrpt', Georgia, serif;
}

.timer-hero {
  position: relative;
  width: 100%;
  min-height: 260px;
  /*background: url('../images/manos-anillo.jpg') center center / cover no-repeat;*/
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  overflow: hidden;
}
.timer-overlay {
  background: rgba(255, 255, 255, 0.08); /* más claro */
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  width: 100%;
  height: 100%;
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  box-shadow: inset 0 0 0 1000px rgba(255, 255, 255, 0.03); /* apenas visible */
}



.timer-text {
  text-align: center;
  color: #000;
  width: 100%;
  max-width: 100vw;
  padding: 24px 16px;
  box-sizing: border-box;
}

.timer-heading {
  font-size: 4em;
  letter-spacing: 1px;
  font-family: 'Elegant', Georgia, serif;
  margin-bottom: 20px;
  margin-top: 0;
  word-break: break-word;
}

.countdown {
  font-size: 2.2em;
  font-family: 'Georgia', serif;
  font-weight: 600;
  letter-spacing: 2px;
  margin-bottom: 10px;
  word-break: break-all;
}

.timer-labels {
  display: flex;
  justify-content: center;
  gap: 12px;
  color: #000;
  font-size: 1em;
  opacity: 0.9;
  font-family: 'Elegant', Georgia, serif;
  letter-spacing: 1px;
  margin-top: 6px;
  flex-wrap: wrap;
}
.timer-labels span {
  text-align: center;
  letter-spacing: 2px;
  
}

/* Mejoras para móvil */
@media (max-width: 600px) {
  .timer-hero,
  .timer-overlay {
    min-height: 140px;
    height: 140px;
  }
  .timer-heading { font-size: 2em; margin-bottom: 10px; }
  .countdown { font-size: 1.15em; margin-bottom: 7px; }
  .timer-labels { font-size: 0.6em; gap: 6px; }
  .timer-text {
    padding-left: 16px;
    padding-right: 16px;
  }
}


.intro-mensaje {
  /*background-color: #E3F2F9;*/
  padding: 0px 20px;
  text-align: center;
  font-size: 0.8em;
  font-family: Georgia, serif;
  color: #333;
  line-height: 1.2;
  margin: 0 auto;
}
.decoracion-lateral {
  position: relative;
  width: 100%;
  height:120px; /* altura del contenedor (puedes ajustar) */
  margin-top: -50px; /* superpone ligeramente con la sección anterior */
  margin-bottom: -10px; /* para pegarse también a la sección siguiente */

}

.decoracion-lateral .icono {
  position: absolute;
  top: 0;
  width: 112px;  /* ajusta según tamaño ideal */
  height: auto;
}

.decoracion-lateral .izquierdo {
  left: 16px;
}

.decoracion-lateral .derecho {
  right: 16px;
}
#confirmar {
  /*background-color: #E3F2F9;*/
  padding: 40px 20px;
}
form {
  max-width: 480px;
  margin: 0 auto;
  /*background-color: #E3F2F9;*/
  padding: 30px 24px;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  box-sizing: border-box;
}

form label {
  display: block;
  margin: 20px 0 8px;
  font-weight: 500;
  color: #333;
}
form input, form select, form textarea {
  border: 1px solid #D1D5DB;
  border-radius: 12px;
  padding: 12px;
  font-size: 1em;
  font-family: inherit;
  box-sizing: border-box;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

form input:focus, form textarea:focus {
  border-color: #3CAED2;
  box-shadow: 0 0 0 3px rgba(60, 174, 210, 0.2);
  outline: none;
}


form select:focus{
  border-color: #3CAED2;
  box-shadow: 0 0 0 3px rgba(60, 174, 210, 0.2);
  outline: none;
}

form textarea {
  resize: vertical;
}

form button {
  width: 100%;
  padding: 14px;
  background-color: #3CAED2;
  color: white;
  font-weight: 600;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  font-size: 1em;
  margin-top: 20px;
  transition: background-color 0.3s ease;
}

form button:hover {
  background-color: #2c9aba;
}

form .radio-group {
  margin: 8px 0 16px;
}

form .radio-group label {
  display: inline-block;
  margin-right: 16px;
  font-weight: normal;
}

iframe {
  filter: grayscale(100%) brightness(90%) contrast(110%);
  border-radius: 12px;
  border: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
form button,
a.boton-mapa {
  background-color: rgba(255, 255, 255, 0.4);
  color: #1F2937; /* gris oscuro elegante */
  border: 1.5px solid rgba(0, 0, 0, 0.3);
  border-radius: 12px;
  padding: 12px 20px;
  font-weight: 500;
  font-size: 1em;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

form button:hover,
a.boton-mapa:hover {
  background-color: rgba(255, 255, 255, 0.7);
  color: #111;
  border-color: rgba(0, 0, 0, 0.5);
}


@media (max-width: 768px) {
  html, body {
    overflow-x: hidden;
    width: 100%;
  }

  header, section, .hero, .timer-hero {
    width: 100%;
    padding-left: 16px;
    padding-right: 16px;
    box-sizing: border-box;
  }

  img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
  }

  nav ul {
    flex-direction: column;
    align-items: center;
  }

 

  form {
    width: 100%;
    max-width: 100%;
    padding: 20px;
  }

  .timer-heading {
    font-size: 2em;
  }

  .timer-labels {
    flex-wrap: wrap;
    font-size: 0.8em;
  }
}

@media (max-width: 768px) {
  .algo {
    flex-direction: column;
    gap: 16px;
  }
}
img {
  max-width: 100%;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}



.wrapper {
  position: relative;
  max-width: 573px;
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
  overflow-x: hidden;
}


.img-ubicacion {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;

  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}
form button,
a.boton-mapa {
  position: relative;
  overflow: hidden;
  background-color: rgba(255, 255, 255, 0.4);
  color: #1F2937;
  border: 1.5px solid rgba(0, 0, 0, 0.3);
  border-radius: 12px;
  padding: 12px 20px;
  font-weight: 500;
  font-size: 1em;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

/* Overlay animado */
form button::before,
a.boton-mapa::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 150%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0.3) 0%,
    rgba(255, 255, 255, 0.6) 50%,
    rgba(255, 255, 255, 0.3) 100%
  );
  transform: skewX(-20deg);
  transition: left 0.5s ease;
  pointer-events: none;
}

/* Al pasar el ratón */
form button:hover::before,
a.boton-mapa:hover::before {
  left: 100%;
}

.nav-secciones {
  position: sticky;
  top: 58px; /* debajo del header */
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  z-index: 999;
  padding: 10px 0;
  box-sizing: border-box;
}


.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  max-width: 573px;
  margin: 0 auto;
  background-color: #eaf8fc;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 62px;
  padding: 0 16px;
  box-sizing: border-box;
  border-bottom: none; /* ❌ importante */
}

.site-header-inner {
  max-width: 573px;
  width: 100%;
  margin: 0 auto;
  position: relative; /* para que .menu-toggle se posicione respecto a este */
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  padding: 0 16px;
}

.site-header > * {
  max-width: 573px;
  width: 100%;
  box-sizing: border-box;
  padding: 0 16px;
}




.site-header h1 {
  margin: 0;
  font-family: 'Elegant', Georgia, serif;
  font-size: 1.4em;
  position: relative;
  z-index: 2;
}

.nav-secciones {
  position: fixed;
  top: 62px; /* debe coincidir con la altura del header */
  left: 0;
  right: 0;
  max-width: 573px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.95);
  z-index: 999;
  padding: 0;
  box-sizing: border-box;
  border-top: none; /* ❌ también importante */
  box-shadow: none; /* ❌ si no quieres línea sutil */
}


.boton-mapa {
  background-color: rgba(255, 255, 255, 0.4);
  color: #1F2937;
  border: 1.5px solid rgba(0, 0, 0, 0.3);
  border-radius: 12px;
  padding: 12px 20px;
  font-weight: 500;
  font-size: 1em;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.boton-mapa::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 150%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0.3) 0%,
    rgba(255, 255, 255, 0.6) 50%,
    rgba(255, 255, 255, 0.3) 100%
  );
  transform: skewX(-20deg);
  transition: left 0.5s ease;
  pointer-events: none;
}

.boton-mapa:hover::before {
  left: 100%;
}

.boton-mapa:hover {
  background-color: rgba(255, 255, 255, 0.7);
  color: #111;
  border-color: rgba(0, 0, 0, 0.5);
}
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: auto;
  min-width: 100%;
  height: 100vh;
  background-image: url('../images/FONDO2.jpg');
  background-repeat: repeat-y;
  background-size: auto 100vh;
  background-position: top center;
  z-index: -1;
  pointer-events: none;
}


.carousel-img {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: translateX(100%);
  transition: transform 10s linear;
  z-index: 1;
}


.carousel-img.active-mobile {
  transform: translateX(0%);
  z-index: 2;
}

.carousel-img.exiting-mobile {
  transform: translateX(-100%);
  z-index: 2;
}

.carousel-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 3;
  background: rgba(0,0,0,0.28);
  pointer-events: none;
}
.carousel-section,
.carousel-2d {
  width: 100%;
  max-width: 100%; /* ← ¡IMPORTANTE! no pongas 573px aquí */
  margin: 0 auto;
  height: 480px;
  overflow: hidden;
  position: relative;
  background: transparent; /* elimina fondo negro */
  box-sizing: border-box;
}

html, body {
  max-width: 100%;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}
@media (max-width: 768px) {
  .nav-secciones {
    position: relative;
  }

  
}











.wrapper {
  max-width: 573px;
  width: 100%;
  margin: 0 auto;
  padding-top: 122px; /* espacio para header + nav */
  box-sizing: border-box;
}

/* HEADER */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #becec3;
  z-index: 1000;
  display: flex;
  justify-content: center;
  box-sizing: border-box;
  height: 62px;
}

.site-header-inner {
  max-width: 573px;
  width: 100%;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative; /* ← CLAVE para el posicionamiento del menú */
  box-sizing: border-box;
  
}


/* TÍTULO */
.site-header h1 {
  font-family: 'Brittany', Georgia, serif;
  font-size: 1.2em;
  margin: 0 auto;
  position: relative;
}


/* NAV */
.nav-secciones {
  position: fixed;
  top: 62px; /* justo debajo del header */
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 573px;
  background: rgba(255, 255, 255, 0.95);
  z-index: 999;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  box-sizing: border-box;
}


.menu-toggle {
  display: block;
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 26px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
  color:black;
}
.menu-items {
  position: fixed;
  top: 62px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 573px;
  display: none;
  /*position: absolute;
  top: 100%;
  left: 0;
  width: 100%;*/
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  padding: 10px 0;
  border-radius: 0 0 12px 12px;
  flex-direction: column;
  align-items: flex-start;
  z-index: 1000;
  box-sizing: border-box;
}

.menu-items.show {
  display: flex;
}

.menu-items a {
  display: block;
  width: 100%;
  padding: 14px 20px;  /* ↑↑ espacio vertical ↑↑ */
  text-decoration: none;
  color: #1F2937;
  font-size: 1em;
  box-sizing: border-box;
  transition: background 0.2s ease;
}

.menu-items a:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

.menu-items {
  list-style: none;
  margin: 0;
  padding: 0;
}
.menu-items li {
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.menu-items li:last-child {
  border-bottom: none;
}




.form-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(4px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  transition: opacity 0.3s ease;
}

.form-overlay.hidden {
  display: none;
}

.loader-text {
  font-family: 'Inter', sans-serif;
  font-size: 1.2em;
  color: #333;
  background: #fff;
  padding: 24px 32px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  text-align: center;
}
@media (max-width: 768px) {
  .decoracion-lateral {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: auto;
    margin: 20px 0;
    padding: 0 24px;
  }

  .decoracion-lateral .icono {
    width: 72px; /* reducir tamaño para móviles */
  }

  .decoracion-lateral .izquierdo,
  .decoracion-lateral .derecho {
    position: static; /* no absolutamente posicionados en móvil */
  }
}
.faq {
  max-width: 573px;
  margin: 0 auto;
  text-align: left;
}

.faq-item {
  border-bottom: 1px solid rgba(0,0,0,0.1);
  padding: 12px 0;
}

.faq-question {
  background: none;
  border: none;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1em;
  font-weight: bold;
  width: 100%;
  text-align: left;
  cursor: pointer;
  padding: 12px 0;
  color: #1F2937;
  position: relative;
}

.faq-question::after {
  content: "▼";
  position: absolute;
  right: 0;
  transition: transform 0.3s ease;
}

.faq-item.open .faq-question::after {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.4s ease;
  opacity: 0;
  padding-left: 10px;
}

.faq-item.open .faq-answer {
  max-height: 300px; /* ajusta según contenido */
  opacity: 1;
  margin-top: 10px;
}
body,
.carousel-section,
.carousel-2d,
.carousel-img,
.carousel-overlay {
  margin: 0;
  padding: 7;
  border: none;
}
