@font-face {
    font-family: "Campana";
    src: url("fonts/CampanaScript_PERSONAL_USE_ONLY.otf") format("opentype");
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: "Animal Chariot";
    src: url("fonts/Animal\ Chariot.ttf") format("opentype");
    font-weight: normal;
    font-style: normal;
}

/* ===== RESETEO ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "poppins";
  scroll-behavior: smooth; /* desplazamiento suave */
}

html, body {
  height: 100%;
  background: #fff;
  color: #2b2b2b;
}

/* ===== NAVBAR ===== */
.navbar {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.85), rgba(255,255,255,0.65));
  backdrop-filter: blur(6px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

.logo {
  font-weight: 300; /* o incluso 300 */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #b14f68;
  font-family: 'Campana', cursive;
  font-size: 25px;
  letter-spacing: 0.4px;
}

/* hamburger */
.hamburger {
  width: 36px;
  height: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  z-index: 70;
}
.bar {
  height: 3px;
  width: 100%;
  background: #c96a81;
  border-radius: 6px;
  transition: transform .3s ease, opacity .25s ease;
}

/* nav-menu */
.nav-menu {
  list-style: none;
  display: flex;
  gap: 10px;
  align-items: center;
}

/* links */
.nav-menu a {
  text-decoration: none;
  color: #b14f68;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 6px 10px;
  border-radius: 8px;
  transition: background .18s, color .18s, transform .12s;
}
.nav-menu a:hover {
  background: rgba(201,106,129,0.08);
  color: #b14f68;
  transform: translateY(-2px);
}

/* ===== HERO / PORTADA ===== */
.hero {
  height: 100vh;
  min-height: 640px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding-top: 70px; /* espacio para navbar fijo */
  background-image: url('img/novios.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* overlay rosado suave */
.hero .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(98, 92, 185, 0.35), rgba(225, 13, 13, 0.08));
  backdrop-filter: blur(2px);
  background-image: url('img/galeria/novios\ 2.png');
    background-repeat: no-repeat;
    background-position: center 75%;
    background-size: 100%;
    opacity: 0.3;
    pointer-events: none;
    z-index: 10; /* por debajo del overlay (z-index:15) y del contenido (.hero-content z-index:20) */
    filter: drop-shadow(0 8px 20px rgba(221, 8, 8, 0.12));
}
/* imagen de novios debajo del overlay */
.hero .overlay { z-index: 15; }

.hero::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: min(10%, 90px);
    height: 55%;
    
    
}

/* ajustes responsivos */
@media (max-width: 900px) {
    .hero::before {
        width: min(92%, 560px);
        height: 48%;
        opacity: 0.85;
        background-position: center 85%;
    }
}
@media (min-width: 901px) {
    .hero::before {
        width: min(70%, 1100px);
        height: 60%;
    }
}
/* contenido central */
.hero-content {
  position: relative;
  z-index: 20;
  color: #97063b;
  text-align: center;
  padding: 24px;
  width: min(92%, 920px);
  border-radius: 12px;
}
.hero-content h1 {
  font-size: 2.0rem;
  font-family: "Animal Chariot", cursive;
  letter-spacing: 1px;
  margin-bottom: 8px;
  text-shadow: 0 6px 22px rgba(0,0,0,0.35);
}
.subtitulo {
  font-size: 1.05rem;
  margin-bottom: 14px;
  opacity: 0.95;
}

/* countdown - centrado, con tarjetas */
.countdown-timer {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  margin-top: 12px;
  flex-wrap: wrap;
}
.countdown-timer .card {
  background: rgba(255,255,255,0.95);
  color: #b14f68;
  min-width: 68px;
  padding: 10px 12px;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  font-weight: 700;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 0.95rem;
}
.countdown-timer small {
  font-weight: 400;
  font-size: 0.7rem;
  color: #6b6b6b;
}

/* ===== SECCIONES GENERALES ===== */
section {
  padding: 72px 20px;
  max-width: 1100px;
  margin: 0 auto;
}
.historia, .hijos, .ceremonia, .recepcion, .itinerario, .confirma {
  background: linear-gradient(180deg, rgba(255,250,250,1), rgba(255,247,249,1));
  margin-top: 12px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(171,123,143,0.04);
  padding: 36px 20px;
}

.historia h2, .hijos h2, .ceremonia h2, .recepcion h2, .itinerario h2, .confirma h2 {
  color: #b14f68;
  margin-bottom: 12px;
  font-size: 1.35rem;
}

/* texto */
.historia p {
  line-height: 1.6;
  color: #333;
  margin-bottom: 12px;
  font-size: 0.99rem;
  text-align: center;
}

/* verso */
.verso {
  margin-top: 10px;
  font-style: italic;
  background: rgba(177,79,104,0.06);
  padding: 12px 16px;
  border-left: 4px solid rgba(177,79,104,0.18);
  border-radius: 8px;
  color: #5b2b36;
}

/* hijos - galería */
.hijos-container {
  display: flex;
  gap: 10px;
  flex-wrap: nowrap;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-top: 12px;
}
.hijos-container img {
  width: 130px;
  height: 130px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
  flex: 0 0 auto;
}
.reflexion {
  margin-top: 12px;
  font-size: 0.95rem;
  color: #444;
  line-height: 1.5;
}

/* mapa responsive */
.mapa {
  width: 100%;
  height: 300px;
  border: 0;
  border-radius: 10px;
  margin-top: 12px;
}

/* fotos en secciones */
.ceremonia img, .recepcion img {
  width: 100%;
  border-radius: 10px;
  margin-top: 12px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
}

/* itinerario */
.itinerario ul {
  list-style: none;
  padding-left: 0;
  margin-top: 12px;
}
.itinerario li {
  padding: 10px 0;
  border-bottom: 1px dashed rgba(180,100,120,0.06);
  color: #333;
}



/* footer */
footer {
  padding: 18px 12px;
  text-align: center;
  font-size: 0.9rem;
  color: #6b6b6b;
  margin-top: 20px;
}
.elegantes {
    width: 120px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.08);
    margin-bottom: 8px;
}

/* ===== RESPONSIVE (MÓVIL PRIORITARIO) ===== */
@media (max-width: 900px) {
  .nav-menu { display: none; } /* ocultamos menú de escritorio */
  .hamburger { display: flex; }

  /* cuando se activa el menú (clase .open añadida por JS) mostramos */
  .nav-menu.mobile {
    position: fixed;
    top: 64px;
    right: 14px;
    background: rgba(255,255,255,0.98);
    padding: 14px;
    border-radius: 12px;
    box-shadow: 0 14px 40px rgba(0,0,0,0.12);
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 80;
    min-width: 200px;
  }

  .hero {
    min-height: 680px;
    padding-top: 64px;
  }

  .hero-content h1 { font-size: 1.95rem; }
  .hero-content p { font-size: 1rem; }

  .hijos-container img { width: 110px; height: 110px; }
}

/* para pantallas grandes mostramos el menú horizontal */
@media (min-width: 901px) {
  .hamburger { display: none; }
  .nav-menu { display: flex; }
  section { padding: 80px 30px; }
  .hero { min-height: 760px; }
  .hero-content h1 { font-size: 2.6rem; }
  .countdown-timer .card { min-width: 84px; font-size: 1rem; }
}
/* ===== MODAL DE IMÁGENES (AMPLIACIÓN) ===== */
.img-modal {
  display: none; /* oculto por defecto */
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.img-modal img {
  max-width: 50%;
  max-height: 80%;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
  animation: zoomIn 0.3s ease;
}
.hijos, .artistas, .historia,.ceremonia , .recepcion , .itinerario , .confirma {
  background: #f9f9f9;
  padding: 1rem 1rem;
  text-align: center;
  border-top: 2px solid #b14f68; /* fucsia */
}
.artistas{
  margin-top: 30px;
}

.img-modal .close {
  position: absolute;
  top: 30px;
  right: 40px;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
  background: rgba(255,255,255,0.15);
  padding: 4px 12px;
  border-radius: 8px;
  transition: background 0.2s;
}
.img-modal .close:hover {
  background: rgba(255,255,255,0.35);
}

/* animación */
@keyframes zoomIn {
  from { transform: scale(0.6); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.musica {
  margin-top: 12px;
  font-size: 0.95rem;
  color: #444;
  line-height: 1.5;
  text-align: justify;
}
.recepcion p{
  line-height: 1.6;
  color: #333;
  margin-bottom: 12px;
  font-size: 0.99rem;
  text-align: justify;
}
.recepcion img{
  margin-top: 12px;
}
.recepcion img {
  width: 100%; /* Ajusta el tamaño según sea necesario */
  height: 300px; /* Mantiene la imagen cuadrada */
  object-fit: cover; /* Asegura que la imagen cubra el área */
  display: block; /* Hace que la imagen sea un bloque */
  margin: 0 auto; /* Centra la imagen horizontalmente */
}
h2 {
  color: #b14f68;
  margin-bottom: 12px;
  font-size: 1.35rem;
  align-items: center;
  text-align: center;
}
.sobre{
  display: block;
  margin: 12px auto;
  width: 150px;
  height: 120px;
}
/* ===== ITINERARIO ===== */
.itinerario {
  background: linear-gradient(to bottom, #fff, #fff5fa);
  padding: 2rem 1rem;
  text-align: center;
  border-top: 2px solid #e91e63;
}

.itinerario h2 {
  color: #b14f68;
  font-size: 1.6rem;
  font-family: 'Poppins', sans-serif;
  margin-bottom: 1.5rem;
  letter-spacing: 1px;
}

.itinerario ul {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 380px;
  background: #ffffff;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(233, 30, 99, 0.15);
  overflow: hidden;
}

.itinerario li {
  font-size: 0.95rem;
  color: #444;
  padding: 0.9rem 1rem;
  border-bottom: 1px solid #f3d2df;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Poppins', sans-serif;
  transition: background 0.3s ease, transform 0.2s ease;
}

.itinerario li:last-child {
  border-bottom: none;
}

.itinerario li:hover {
  background: #fff0f6;
  transform: scale(1.02);
}

/* Reloj y emoji más grandes */
.itinerario li::before {
  content: '⏰ ';
  font-size: 1.1rem;
  margin-right: 5px;
  color: #e91e63;
}
/* ===== FORMULARIO ===== */
.confirma {
  background: #fff;
  padding: 2rem 1rem;
  text-align: center;
  border-top: 2px solid #e91e63; /* fucsia */
}

.confirma h2 {
  color: #b14f68;
  font-size: 1.6rem;
  font-family: "Poppins", sans-serif;
  margin-bottom: 0.5rem;
  letter-spacing: 1px;
}

.confirma p {
  color: #444;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.formulario {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(233, 30, 99, 0.2);
  padding: 1.5rem;
  max-width: 400px;
  margin: 0 auto;
}

.campo {
  display: flex;
  flex-direction: column;
  text-align: left;
  margin-bottom: 1rem;
}

.campo label {
  font-weight: 600;
  color: #333;
  margin-bottom: 0.3rem;
  font-size: 0.9rem;
}

.campo input,
.campo select {
  padding: 0.6rem 0.8rem;
  border: 1.5px solid #e0e0e0;
  border-radius: 8px;
  font-size: 0.9rem;
  outline: none;
  transition: all 0.3s ease;
  background-color: #fafafa;
}

.campo input:focus,
.campo select:focus {
  border-color: #e91e63;
  background: #fff;
  box-shadow: 0 0 6px rgba(233, 30, 99, 0.2);
}

/* ===== BOTÓN ===== */
button {
  background: #b14f68;
  color: #fff;
  border: none;
  padding: 0.8rem 1rem;
  font-size: 1rem;
  border-radius: 25px;
  cursor: pointer;
  width: 100%;
  font-weight: 600;
  transition: 0.3s;
}

button:hover {
  background: #d81b60;
  transform: scale(1.03);
}

/* ===== Adaptación a celulares ===== */
@media (max-width: 480px) {
  .confirma h2 {
    font-size: 1.4rem;
  }
  .formulario {
    padding: 1rem;
  }
  .campo label {
    font-size: 0.85rem;
  }
  .campo input,
  .campo select {
    font-size: 0.85rem;
  }
}

/* ===== Responsivo para celular ===== */
@media (max-width: 480px) {
  .itinerario h2 {
    font-size: 1.4rem;
  }

  .itinerario li {
    font-size: 0.9rem;
    padding: 0.8rem;
  }
}
strong {
  color: #b14f68;
}
.recepcion p{
  text-align: left;
  font-family: poppins;
}