/* Archivo: static/css/estilos.css */

/* ----------------------------- */
/*  FUENTES Y PALETA DE COLORES  */
/* ----------------------------- */

/* Importar fuentes (ya incluidos en el <head> del HTML):
   - Alex Brush
   - Playfair Display
*/

/* =============================
   2. RESET & BODY
   ============================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Playfair Display', serif;
  background-color: #546a50; /* Early Green */
  color:            var(--moss-dark);    /* Moss dark */
  line-height:      1.5;
}
html {
  scroll-behavior: smooth;
}

/* =============================
   3. UTILIDADES
   ============================= */
.text-accent   { color: var(--forest-green); }   /* Forest Green */
.bg-accent     { background-color: var(--forest-green); }
.bg-soft       { background-color: var(--beige-light); }
.font-AlexBrush { font-family: 'Alex Brush', cursive; }
.font-Allura   { font-family: 'Allura', cursive; }
.font-DancingScript { font-family: 'Dancing Script', cursive; }
.font-GreatVibes    { font-family: 'Great Vibes', cursive; }
.font-Parisienne    { font-family: 'Parisienne', cursive; }



/*********************************
 * 4. NAVBAR
 *********************************/
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: transparent;
  z-index: 1000;
  padding: 20px 0;
  transition: background 0.3s;
}

.navbar.scrolled {
  background: rgba(255,255,255,0.95);
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.navbar .brand {
  font-family: 'Alex Brush', cursive;
  font-size: 2rem !important;     /* Ajusta al tamaño deseado */
  font-weight: normal;   /* Las cursivas mejor sin bold */
  color: #fff;
  transition: color 0.3s;
}

.navbar.scrolled .brand {
  font-family: 'Alex Brush', cursive;
  font-size: 2rem !important;
  font-weight: normal;
  color: var(--gray-dark);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--forest-green);
  border-radius: 2px;
  transition: background 0.3s;
}

.navbar.scrolled .menu-toggle span {
  background: var(--gray-dark);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
}

.nav-links li a {
  text-decoration: none; 
  font-weight: 500;
  color: var(--gray-dark);
  transition: color 0.3s;
}

.navbar.scrolled .nav-links li a {
  color: var(--gray-dark);
}

.nav-links li a:hover {
  color: var(--forest-green);
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 250px;
    background: var(--beige-light);
    flex-direction: column;
    padding-top: 100px;
    transition: right 0.3s;
    box-shadow: -4px 0 6px rgba(0,0,0,0.1);
  }
  .nav-links.open {
    right: 0;
  }
  .nav-links li {
    margin-bottom: 20px;
  }
  .nav-links li a {
    color: var(--gray-dark);
    font-size: 1.1rem;
  }
}




/* ---------------------------------------- */
/*  SECCIÓN: SAVE THE DATE                  */
/* ---------------------------------------- */
.save-date-section {
    padding: 100px 20px 80px;      /* dejar espacio para navbar fijo */
    margin-top: 0px;              /* compensar navbar fijo */
    background-color: #728A6E;     /* Early green */
    color: #f7f2ec;                /* Beige claro para texto */
    text-align: center;
}

.texto-padres {

    font-size: 1rem;
    color: #324D3E;                /* Calm green */
    margin-bottom: 20px;
}

.padres-box {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    padding: 20px;
    margin-bottom: 35px;
    background-color: #7E8A6D;     /* Moss green */
    border: 1px solid #284336;     /* Resting green */
}

.padre .nombre {
    font-size: 1rem;
    color: #2B3E34;                /* Forest green */
    font-weight: 500;
    text-transform: uppercase;
}

.padre .subnombre {
    font-size: 0.9rem;
    color: #546A50;                /* Olive drab */
    margin-top: 4px;
}

.stitle {
    font-size: 1.5rem;
    color: #284336;                /* Resting green */
    letter-spacing: 2px;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.fecha-grande {
    font-size: 3.5rem;
    color: #2B3E34;                /* Forest green */
    margin-bottom: 5px;
}

.ubicacion-evento {
    font-size: 1.1rem;
    color: #324D3E;                /* Calm green */
    margin-bottom: 20px;
}

/* Botón “Agregar a calendario” */
.btn-calendario {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    margin-bottom: 35px;
    font-size: 0.95rem;
    text-decoration: none;
    background-color: #546A50;     /* Olive drab */
    color: #f7f2ec;                /* Beige claro */
    border: 1px solid #2B3E34;     /* Forest green */
    border-radius: 25px;
    transition: background-color 0.3s, transform 0.2s;
}

.btn-calendario:hover {
    background-color: #2B3E34;     /* Forest green */
    transform: translateY(-2px);
}

.icon-calendario {
    width: 18px;
    height: 18px;
    fill: #f7f2ec;                 /* Beige claro */
}

/* Contenedor de cuenta regresiva */
.countdown-container {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.countdown-box {
    width: 120px;
    height: 120px;
    padding: 20px;
    background-color: #7E8A6D;     /* Moss green */
    border: 2px solid #284336;     /* Resting green */
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.count-num {
    font-size: 3rem;
    font-weight: bold;
    color: #2B3E34;                /* Forest green */
    line-height: 1;
}

.count-label {
    font-size: 0.9rem;
    color: #324D3E;                /* Calm green */
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 5px;
}

/* Botón Confirmar */
.btn-confirmar {
    display: inline-block;
    padding: 12px 28px;
    font-size: 1rem;
    text-decoration: none;
    background-color: #546A50;     /* Olive drab */
    color: #f7f2ec;                /* Beige claro */
    border: none;
    border-radius: 4px;
    transition: background-color 0.3s, transform 0.2s;
}

.btn-confirmar:hover {
    background-color: #2B3E34;     /* Forest green */
    transform: translateY(-2px);
}

/* Responsive SAVE DATE */
@media (max-width: 768px) {
    .padres-box {
        flex-direction: column;
        gap: 15px;
    }
    .padres-box .padre {
        text-align: center;
    }
    .countdown-box {
        width: 90px;
        height: 90px;
    }
    .count-num {
        font-size: 2.2rem;
    }
}

/* ---------------------------------------- */
/*  SECCIÓN: ITINERARIO DEL DÍA             */
/* ---------------------------------------- */
.itinerario-section {
    background-color: #546a50;  /* Early green */
    padding: 80px 20px;
    color: #f7f2ec;             /* Beige claro for text */
}

.itinerario-section .container {
    text-align: center;
}

.itinerario-section .section-title {
    font-family: 'Alex Brush', cursive;
    font-size: 2.5rem;
    color: #f7f2ec;             /* Beige claro */
    margin-bottom: 30px;
}

.itinerario-boxes {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.box-itin {
    background-color: transparent;
    border: 1px solid #f7f2ec;  /* Beige claro */
    flex: 1 1 45%;
    max-width: 45%;
    padding: 30px 20px;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
    transition: background-color 0.3s;
}

.box-itin:hover {
    background-color: rgba(247,242,236,0.2); /* semi-transparent beige */
}

.icon-box {
    width: 50px;
    height: 50px;
    margin: 0 auto 15px;
}

.icon-itin {
    width: 100%;
    height: 100%;
    fill: #2B3E34;             /* Forest green */
}

.itin-title {
    font-size: 1.4rem;
    margin-bottom: 8px;
    color: #2B3E34;             /* Forest green */
}

.itin-time {
    font-size: 1rem;
    margin-bottom: 4px;
    color: #546A50;             /* Olive drab */
}

.itin-lugar {
    font-size: 0.9rem;
    margin-bottom: 12px;
    color: #324D3E;             /* Calm green */
}

.btn-mapa-itin {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    text-decoration: none;
    color: #2B3E34;             /* Forest green */
    border: 1px solid #2B3E34;  /* Forest green */
    padding: 6px 12px;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.btn-mapa-itin:hover {
    background-color: #2B3E34;  /* Forest green */
    color: #f7f2ec;             /* Beige claro */
}

.icon-location {
    width: 18px;
    height: 18px;
    fill: #2B3E34;             /* Forest green */
    vertical-align: middle;
}

/* Hoteles con preferencia */
.hoteles-preferencia {
    margin-top: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.icon-hotel {
    width: 30px;
    height: 30px;
    fill: #2B3E34;             /* Forest green */
}

.hoteles-text {
    font-size: 1.2rem;
    color: #2B3E34;             /* Forest green */
}

/* Responsive Itinerario */
@media (max-width: 1024px) {
    .itinerario-boxes {
        flex-direction: column;
        gap: 25px;
    }
    .box-itin {
        max-width: 100%;
    }
}






/* ---------------------------------------- */
/*  SECCIÓN: CARRUSEL DE FOTOS (estático)   */
/* ---------------------------------------- */
.fotos-section {
    padding: 80px 20px;
    background-color: #546a50;   /* Moss Green */
    text-align: center;
}

.fotos-section .section-title {
    font-family: 'Alex Brush', cursive;
    font-size: 2.5rem;
    color: #2B3E34;               /* Forest Green */
    margin-bottom: 10px;
}

.fotos-section .subtitulo {
    font-size: 1rem;
    color: #324D3E;               /* Calm Green */
    margin-bottom: 20px;
}

.follow-ig {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #2B4336;               /* Resting Green */
    font-size: 1rem;
    margin-bottom: 40px;
    transition: color 0.3s;
}

.follow-ig:hover {
    color: #546A50;               /* Olive Drab */
}

.icon-ig {
    width: 22px;
    height: 22px;
    fill: #2B4336;                /* Resting Green */
    transition: fill 0.3s;
}

.follow-ig:hover .icon-ig {
    fill: #546A50;                /* Olive Drab */
}

.carousel {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
}

.carousel-images {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.carousel-item {
    flex: 1 1 200px;
    max-width: 200px;
}

.carousel-item img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.carousel-item img:hover {
    transform: scale(1.05);
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(84,106,80,0.9); /* Olive Drab */
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
    transition: background-color 0.3s;
}

.carousel-arrow:hover {
    background-color: rgba(84,106,80,1);   /* Olive Drab solid */
}

.carousel-arrow.prev {
    left: 10px;
}

.carousel-arrow.next {
    right: 10px;
}

.icon-arrow {
    width: 20px;
    height: 20px;
    fill: #f7f2ec;                /* Light beige for contrast */
}


/* ---------------------------------------- */
/*  SECCIÓN: MESA DE REGALOS     */
/* ---------------------------------------- */

.regalos-section {
  padding: 80px 20px;
  background-color: #f2f3f0; /* Light Moss Green */
  text-align: center;
  color: #ffffff; /* texto blanco por defecto */
}

/* Título principal */
.regalos-section .section-title {
  font-family: 'Alex Brush', cursive;
  font-size: 2.8rem;
  color: #ffffff;
  margin-bottom: 15px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3); /* sombra para resaltar */
}

/* Subtítulo */
.regalos-section .subtitulo {
  font-size: 1.1rem;
  color: #ffffff;
  margin-bottom: 30px;
  font-weight: 500;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Contenedor de tiendas */
.tiendas-container {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin-bottom: 35px;
  flex-wrap: wrap;
}

/* Tarjetas individuales de tienda */
.tienda {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.tienda img {
  width: 80px;
  height: auto;
  object-fit: contain;
  filter: grayscale(80%);
  transition: filter 0.3s;
}

.tienda img:hover {
  filter: none;
}

/* Botón de regalo */
.btn-regalo {
  display: inline-block;
  background-color: transparent;
  color: #ffffff;
  border: 1px solid #ffffff;
  padding: 10px 18px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s, color 0.3s;
}

.btn-regalo:hover {
  background-color: #ffffff;
  color: #2B3E34; /* fondo blanco, texto verde oscuro */
}

/* Información bancaria (CBU / transferencia) */
.info-cbu {
  font-size: 1rem;
  color: #ffffff;
  margin-top: 24px;
  font-weight: 500;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}


/* ---------------------------------------- */
/*  SECCIÓN: DRESSCODE                      */
/* ---------------------------------------- */
.dresscode {
    position: relative;
    height: 60vh;
    background: url('../img/dresscode-bg.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 60px;
}

.dresscode::before {
    content: "";
    position: absolute;
    top: 0; 
    left: 0; 
    right: 0; 
    bottom: 0;
    /* Usamos un overlay semitransparente en tono Forest Green */
    background-color: rgba(43, 62, 52, 0.85); /* #2B3E34 a 85% */
}

.dresscode .container {
    position: relative;
    z-index: 1;
    text-align: center;
}

.dresscode .section-title {
    font-family: 'Alex Brush', cursive;
    font-size: 3rem;
    /* Título en tono Early Green */
    color: #ebf1ea;  /* Early green */
    margin-bottom: 15px;
}

.texto-dress {
    font-size: 1.2rem;
    /* Texto en tono Resting Green */
    color: #eaeeec;  /* Resting green */
    font-style: italic;
    margin-bottom: 10px;
}

@media (max-width: 768px) {
    .dresscode {
        height: 50vh;
    }
    .dresscode .section-title {
        font-size: 2.5rem;
    }
    .texto-dress {
        font-size: 1rem;
    }
}

/* ======================= */
/*       NAVBAR            */
/* ======================= */

/* Barra de navegación fija en la parte superior */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: transparent;
    z-index: 1000;
    padding: 20px 0;
    transition: background-color 0.3s, box-shadow 0.3s;
}

/* Cuando el usuario hace scroll, cambiar fondo y sombra */
.navbar.scrolled {
    /* Usamos Resting Green semitransparente */
    background-color: rgba(40, 67, 54, 0.95);  /* #284336 @ 95% */
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* Contenedor interno para centrar y separar los elementos */
.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Marca / título de la página */
.navbar .brand {
    font-size: 1.5rem;
    font-weight: bold;
    color: #fff;  /* Blanco para contraste sobre fondo oscuro */
    transition: color 0.3s;
}

/* En estado scrolled, la marca pasa a Forest Green */
.navbar.scrolled .brand {
    color: #2B3E34;  /* Forest Green */
}

/* Botón hamburguesa (invisible en pantallas grandes) */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

/* Líneas del ícono hamburguesa */
.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: #fff;
    border-radius: 2px;
    transition: background-color 0.3s;
}

/* Cuando el navbar está scrolled, las líneas pasan a Forest Green */
.navbar.scrolled .menu-toggle span {
    background-color: #2B3E34;  /* Forest Green */
}

/* Lista de enlaces */
.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

/* Estilo para cada enlace */
.nav-links li a {
    text-decoration: none;
    font-weight: 500;
    color: #fff;  /* Blanco inicial */
    transition: color 0.3s;
}

/* Cuando el navbar está scrolled, los enlaces pasan a Forest Green */
.navbar.scrolled .nav-links li a {
    color: #2B3E34;  /* Forest Green */
}

/* Efecto hover: Early Green */
.nav-links li a:hover {
    color: #728A6E;  /* Early Green */
}

/* Responsive Navbar */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 250px;
        background-color: #fdfdfc;  /* Blanco roto */
        flex-direction: column;
        padding-top: 100px;
        transition: right 0.3s;
        box-shadow: -4px 0 6px rgba(0,0,0,0.1);
    }
    .nav-links.open {
        right: 0;
    }
    .nav-links li {
        margin-bottom: 20px;
    }
    .nav-links li a {
        color: #2B3E34;  /* Forest Green */
        font-size: 1.1rem;
    }
}

/* ======================= */
/*    Responsive Navbar    */
/* ======================= */
@media (max-width: 768px) {
    /* Mostrar el botón hamburguesa */
    .menu-toggle {
        display: flex;
    }
    /* Convertir los enlaces en un panel lateral */
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 250px;
        /* Fondo con Moss Green */
        background-color: #7E8A6D;  /* Moss Green */
        flex-direction: column;
        padding-top: 100px;
        transition: right 0.3s;
        box-shadow: -4px 0 6px rgba(0,0,0,0.1);
    }
    /* Cuando se añade la clase "open", el panel queda visible */
    .nav-links.open {
        right: 0;
    }
    /* Espacio entre cada enlace vertical */
    .nav-links li {
        margin-bottom: 20px;
    }
    /* Enlaces en versión móvil: Calm Green */
    .nav-links li a {
        color: #324D3E;  /* Calm Green */
        font-size: 1.1rem;
    }
    /* Hover de enlace móvil: Early Green */
    .nav-links li a:hover {
        color: #728A6E;  /* Early Green */
    }
}



/* ======================= */
/*  SECCIÓN: SAVE THE DATE */
/* ======================= */

.save-date-section { 
    padding: 100px 20px 80px; /* dejar espacio para navbar fijo */
    /* Early Green */
    background-color: #546a50;
    text-align: center;
    color: #FDFDFC; /* Blanco roto */
    margin-top: 80px; /* compensar navbar fijo */
}

.texto-padres {
    font-size: 1rem;
    /* Blanco roto */
    color: #FDFDFC;
    margin-bottom: 20px;
}

.padres-box {
    display: flex;
    justify-content: center;
    gap: 40px;
    /* Calm Green */
    border: 1px solid #324D3E;
    padding: 20px;
    margin-bottom: 35px;
    flex-wrap: wrap;
    /* Forest Green */
    background-color: #2B3E34;
    border-radius: 8px;
}

.padre .nombre {
    font-size: 1rem;
    /* Blanco roto */
    color: #FDFDFC;
    font-weight: 500;
    text-transform: uppercase;
}

.padre .subnombre {
    font-size: 0.9rem;
    /* Blanco roto con opacidad */
    color: rgba(255,255,255,0.8);
    margin-top: 4px;
}

/* Título “SAVE THE DATE” */
.stitle {
    font-size: 1.5rem;
    /* Blanco roto */
    color: #FDFDFC;
    letter-spacing: 2px;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.fecha-grande {
    font-size: 3.5rem;
    /* Blanco roto */
    color: #FDFDFC;
    margin-bottom: 5px;
}

.ubicacion-evento {
    font-size: 1.1rem;
    /* Blanco roto */
    color: #FDFDFC;
    margin-bottom: 20px;
}

/* Botón “Agregar a calendario” */
.btn-calendario {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    /* Olive Drab */
    background-color: #546A50;
    /* Blanco roto */
    color: #FDFDFC;
    /* Calm Green */
    border: 1px solid #324D3E;
    border-radius: 25px;
    padding: 10px 18px;
    font-size: 0.95rem;
    margin-bottom: 35px;
    transition: background-color 0.3s, transform 0.2s;
}

.btn-calendario:hover {
    /* Moss Green */
    background-color: #7E8A6D;
    transform: translateY(-2px);
}

.icon-calendario {
    width: 18px;
    height: 18px;
    /* Forest Green */
    fill: #2B3E34;
}

/* Contenedor de cuenta regresiva */
.countdown-container {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.countdown-box {
    /* Moss Green */
    background-color: #7E8A6D;
    /* Calm Green */
    border: 2px solid #324D3E;
    padding: 20px;
    width: 120px;
    height: 120px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.count-num {
    font-size: 3rem;
    font-weight: bold;
    /* Calm Green */
    color: #324D3E;
    line-height: 1;
}

.count-label {
    font-size: 0.9rem;
    /* Blanco roto */
    color: #FDFDFC;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 5px;
}

/* Botón Confirmar — AJUSTADO A “PILL” */
.btn-confirmar {
    display: inline-block;
    background-color: #7E8A6D;   /* mantenemos tu color actual */
    color: #FDFDFC;              /* blanco roto */
    padding: 12px 28px;
    border-radius: 28px;         /* pill redondeado */
    border: 2px solid #2B3E34;   /* borde oscuro como en la foto */
    text-decoration: none;
    font-size: 1rem;
    box-shadow: inset 0 -2px 0 rgba(0,0,0,.15); /* relieve suave */
    transition: background-color 0.3s, transform 0.2s, box-shadow 0.2s;
}

.btn-confirmar:hover {
    /* Olive Drab */
    background-color: #546A50;
    transform: translateY(-2px);
}

.btn-confirmar:active {
    transform: translateY(0);          /* sensación de clic */
    box-shadow: inset 0 0 0 rgba(0,0,0,0);
}

/* Responsive SAVE DATE */
@media (max-width: 768px) {
    .padres-box {
        flex-direction: column;
        gap: 15px;
    }
    .padres-box .padre {
        text-align: center;
    }
    .countdown-box {
        width: 90px;
        height: 90px;
    }
    .count-num {
        font-size: 2.2rem;
    }
}


/* ===================================================== */
/*  ADICIONES SOLICITADAS (sin eliminar nada de arriba)  */
/* ===================================================== */

/* 1) Fuente Alex Brush para el título */
@import url('https://fonts.googleapis.com/css2?family=Alex+Brush&display=swap');

/* Aplica Alex Brush al título (mismo selector que ya usas) */
.stitle {
    font-family: 'Alex Brush', cursive;
    text-transform: none;   /* los script se leen mejor en minúsculas */
    letter-spacing: 0;      /* sin tracking para esta fuente */
    line-height: 1.15;
    font-size: 2.2rem;      /* un poco más grande, si lo prefieres ajusta */
}

/* 2) En móvil, 4 cuadros en UNA SOLA FILA, sin scroll y bien alineados */
@media (max-width: 768px) {
    .countdown-container {
        flex-wrap: nowrap;   /* todos en una fila */
        gap: 10px;           /* espacio reducido para que quepan */
        justify-content: space-between;
    }
    .countdown-box {
        box-sizing: border-box;
        width: calc((100% - 30px) / 4); /* 3 gaps de 10px -> 4 cajas */
        aspect-ratio: 1 / 1;            /* las mantiene cuadradas */
        padding: 12px;                  /* compensa el tamaño */
        height: auto;                   /* lo controla el aspect-ratio */
    }
    .count-num {
        font-size: clamp(1.3rem, 5vw, 2rem);  /* escala suave */
    }
    .count-label {
        font-size: clamp(0.6rem, 2.5vw, 0.8rem);
        margin-top: 4px;
        letter-spacing: .5px;
    }
}

/* desktop grande */
@media (min-width: 1200px) {
  .stitle { font-size: 3.6rem; line-height: 1.15; }
}



/* ---------------------------------------- */
/*  SECCIÓN: ceremonia            */
/* ---------------------------------------- */
/* Fondo de la sección */
.itinerario-section{
  background-color:#728A6E; /* Early Green */
  color:#FDFDFC;            /* blanco */
}

/* Tarjetas: sin relleno, solo borde claro */
.itinerario-section .box-itin{
  background-color:transparent !important;
  border:1px solid #C7CEBF !important; /* borde claro */
  border-radius:8px;
}
.itinerario-section .box-itin:hover{
  background-color:transparent !important; /* que no oscurezca al hacer hover */
  border-color:#C7CEBF;
  transform:translateY(-2px);
  box-shadow:0 4px 14px rgba(0,0,0,.12);
}

/* Iconos y textos en blanco */
.itinerario-section .icon-itin{ fill:#FDFDFC !important; }
.itinerario-section .itin-title,
.itinerario-section .itin-time,
.itinerario-section .itin-lugar{ color:#FDFDFC !important; opacity:1; }

/* Botón “Ver ubicación” estilo pill de la foto */
.itinerario-section .btn-mapa-itin{
  background-color:#546a50!important; /* verde claro del botón */
  color:#FDFDFC !important;
  border:2px solid #2B3E34 !important;  /* borde oscuro */
  border-radius:28px !important;         /* pastilla */
  padding:12px 24px;
  box-shadow:inset 0 -2px 0 rgba(0,0,0,.15);
  transition:background-color .25s, transform .2s;
}
.itinerario-section .btn-mapa-itin:hover{
  background-color:#7E8A6D !important;  /* moss/acento al pasar */
  transform:translateY(-2px);
}
.itinerario-section .icon-location{ fill:#FDFDFC !important; }

/* ---------------------------------------- */
/* SECCIÓN: NUESTRA HISTORIA (DESKTOP)     */
/* ---------------------------------------- */

/* Fuente cursiva para títulos */
@import url('https://fonts.googleapis.com/css2?family=Alex+Brush&display=swap');

.historia-section {
  padding: 80px 20px;
  background-color: #F6F7F4;           /* fondo claro como la imagen */
  color: #546a50;                       /* texto principal */
}

.historia-section .container { text-align: left; max-width: 980px; margin: 0 auto; }

/* Título principal centrado, Alex Brush */
.section-title {
  font-family: 'Alex Brush', cursive;
  font-size: clamp(2rem, 4.2vw, 3rem);
  color: #2B3E34;
  text-align: center;
  margin: 0 0 24px;
}

.texto-inicio {
  font-size: 1rem;
  color: #324D3E;
  text-align: center;
  margin: 0 auto 40px;
  max-width: 720px;
}

/* ---------- Timeline general: línea a la izquierda ---------- */
.timeline {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
  padding: 10px 0 10px 0;
}

/* Rail vertical a la izquierda */
.timeline::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  left: 40px;                           /* distancia desde el borde del contenedor */
  width: 3px;
  background-color: #546A50;            /* verde oscuro */
}

/* “Pin” superior pequeño (opcional) */
.timeline::after{
  content: "";
  position: absolute;
  left: 40px; top: -10px;
  width: 10px; height: 10px;
  background: #324D3E;
  border-radius: 50%;
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  padding: 18px 0 28px 110px;           /* deja espacio para la columna izquierda */
}

/* Anulamos alternado: todo a la derecha de la línea */
.timeline-item.left,
.timeline-item.right { width: 100%; left: 0; text-align: left; }
.timeline-item .content { padding: 0; }

/* Círculo del año */
.circle-fecha {
  position: absolute;
  top: 8px;
  left: 40px;
  transform: translate(-50%, 0);
  width: 64px; height: 64px;
  border-radius: 50%;
  background-color: #7E8A6D;            /* Moss (como tus verdes) */
  color: #FFFFFF;
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 2px #C7CEBF;        /* aro claro como la imagen */
  z-index: 2;
}

/* Tarjeta de texto */
.texto-item {
  background-color: #FBFBF7;            /* blanco cálido */
  border-radius: 6px;
  padding: 18px 20px;
  box-shadow: 0 6px 18px rgba(0,0,0,.05);
  border: 1px solid #E7EAE2;
}

/* Título del hito en Alex Brush (cursiva) */
.texto-item h3 {
  font-family: 'Alex Brush', cursive;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  color: #2B3E34;
  margin: 0 0 6px;
  line-height: 1.12;
}

/* Subfecha y párrafo */
.subfecha {
  font-size: 0.95rem;
  color: #546A50;
  margin: 0 0 8px;
}

.desc-item {
  font-size: 0.98rem;
  color: #324D3E;
  line-height: 1.6;
  margin: 0;
}

/* ---------------------------------------- */
/* RESPONSIVE                               */
/* ---------------------------------------- */
@media (max-width: 768px) {
  .historia-section .container { padding: 0 12px; }

  /* mantenemos la línea a la izquierda también en móvil */
  .timeline::before { left: 28px; }
  .timeline::after  { left: 28px; }

  .timeline-item {
    padding: 14px 0 24px 90px;          /* menos sangría en móvil */
  }

  .circle-fecha {
    left: 28px;
    width: 56px; height: 56px;
    font-size: 1rem;
  }

  .texto-item {
    padding: 16px 16px;
  }

  .texto-item h3 {
    font-size: clamp(1.5rem, 6vw, 1.9rem);
  }

  .subfecha, .desc-item {
    font-size: 1rem;
  }
}


/* ======================= */
/*  GALERÍA DE FOTOS       */
/* ======================= */

.fotos-section {
    padding: 80px 20px;
    background-color: #546a50; /* Early green */
    text-align: center;
}

.fotos-section .section-title {
    font-size: 2.5rem;
    font-family: 'Alex Brush', cursive;
    color: #2B3E34; /* Forest Green */
    margin-bottom: 10px;
}

.fotos-section .subtitulo {
    font-size: 1rem;
    color: #7E8A6D; /* Moss Green */
    margin-bottom: 30px;
}

.fotos-section .follow-ig {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #324D3E; /* Calm Green */
    font-size: 1rem;
    margin-bottom: 40px;
    transition: color 0.3s;
}

.fotos-section .follow-ig:hover {
    color: #284336; /* Resting Green */
}

.fotos-section .icon-ig {
    width: 22px;
    height: 22px;
    fill: #324D3E; /* Calm Green */
    transition: fill 0.3s;
}

.fotos-section .follow-ig:hover .icon-ig {
    fill: #284336; /* Resting Green */
}

.carousel {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
}

.carousel-images {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.carousel-item {
    flex: none;
    width: 280px;
    transition: transform 0.3s;
}

.carousel-item img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.carousel-item img:hover {
    transform: scale(1.05);
}

/* Si se usan flechas: */
.carousel-arrow {
    display: none;
}


/* ---------------------------------------- */
/*  SECCIÓN: MESA DE REGALOS                */
/* ---------------------------------------- */

.regalos-section {
    padding: 80px 20px;
    background-color: #546a50; /* Early Green */
    text-align: center;
}

.regalos-section .section-title {
    font-family: 'Alex Brush', cursive;
    font-size: 2.5rem;
    color: #eaece8; /* Dark Moss */
    margin-bottom: 15px;
}

.regalos-section .subtitulo {
    font-size: 1rem;
    color: #e3eae1; /* Olive Drab */
    margin-bottom: 30px;
}

.tiendas-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 60px;
    margin-bottom: 40px;
}

.tienda {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.tienda img {
    width: 80px;
    height: auto;
    filter: grayscale(80%);
    transition: filter 0.3s;
}

.tienda img:hover {
    filter: none;
}

.btn-regalo {
    display: inline-block;
    background-color: transparent;
    color: #e5efea; /* Forest Green */
    border: 1px solid #2B3E34;
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: background-color 0.3s, color 0.3s;
}

.btn-regalo:hover {
    background-color: #2B3E34; /* Forest Green */
    color: #fff;
}

.info-cbu {
    font-size: 0.95rem;
    color: #d6e1db; /* Calm Green */
    margin-top: 24px;
}

@media (max-width: 768px) {
    .tiendas-container {
        gap: 40px;
    }
    .tienda img {
        width: 60px;
    }
}

/* ======================= */
/*   SECCIÓN: GALERÍA      */
/* ======================= */
.galeria {
  text-align: center;
  background-color: #324D3E;
  padding: 40px 0;
}

.galeria .fotos {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
  overflow: visible;
}

.galeria .slides-viewport {
  overflow: hidden;
  width: 100%;
}

.galeria .slides-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.6s ease;
  gap: 16px;
}

.galeria .slides-wrapper img {
  flex: 0 0 auto;
  width: 180px;
  height: auto;
  filter: grayscale(100%);
  border-radius: 10px;
  transform: scale(0.9);
  transition: all 0.5s ease;
  opacity: 0.5;
}

.galeria .slides-wrapper img.center {
  filter: grayscale(0);
  transform: scale(1.05);
  opacity: 1;
  z-index: 2;
}

.galeria .slides-wrapper img.prev {
  transform: rotateY(25deg) scale(0.9);
}

.galeria .slides-wrapper img.next {
  transform: rotateY(-25deg) scale(0.9);
}

.galeria .carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: #3d5747;
  color: #324D3E;
  border: none;
  width: 44px;
  height: 44px;
  font-size: 20px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.galeria .carousel-btn.prev {
  left: 10px;
}

.galeria .carousel-btn.next {
  right: 10px;
}

.galeria-texto {
  margin-top: 30px;
}

.galeria-texto h2 {
  font-size: 24px;
  font-family: 'Cormorant Garamond', serif;
  margin-bottom: 8px;
}

.galeria-texto p {
  font-size: 16px;
  color: #777;
}

/* 📱 MOBILE STYLES */
@media (max-width: 768px) {
  .galeria {
    padding: 20px 10px;
  }

  .galeria .fotos {
    padding: 0 12px;
  }

  .galeria .slides-wrapper {
    justify-content: flex-start;
    overflow-x: auto;
    gap: 12px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .galeria .slides-wrapper img {
    width: 140px;
    scroll-snap-align: center;
    flex-shrink: 0;
    filter: grayscale(0);
    transform: scale(1);
    opacity: 1;
  }

  .galeria .carousel-btn {
    display: none; /* Oculta botones en móvil si se usa swipe */
  }

  .galeria-texto h2 {
    font-size: 20px;
  }

  .galeria-texto p {
    font-size: 14px;
  }
}



/* ======================= */
/*  SECCIÓN: CONFIRMACIÓN  */
/* ======================= */
#confirmacion .form-wrapper {
  background: #fff;                       /* caja blanca */
  border: 1px solid #2B3E34;              /* borde Forest Green */
  padding: 2rem;
  border-radius: 6px;
  max-width: 600px;
  margin: 2rem auto;                      /* centrada */
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

#confirmacion .form-wrapper form {
  display: grid;                          /* una sola columna */
  gap: 1.5rem;
}

/* Etiquetas */
#confirmacion label {
  font-family: 'Playfair Display', serif;
  font-weight: 500;
  font-size: .95rem;
  color: #2B3E34;                         /* Forest Green */
  margin-bottom: .25rem;
}

/* Inputs con solo línea inferior en Olive Drab */
#confirmacion input[type="text"],
#confirmacion input[type="email"],
#confirmacion input[type="tel"],
#confirmacion input[type="number"] {
  width: 100%;
  padding: .4rem 0;
  border: none;
  border-bottom: 1px solid #546A50;      /* Olive Drab */
  background: transparent;
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
}

#confirmacion textarea {
  width: 100%;
  padding: .6rem .4rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
}

#confirmacion input::placeholder,
#confirmacion textarea::placeholder {
  color: #888;
}

/* Radios */
#confirmacion .radio-group {
  display: flex;
  align-items: center;
  gap: 1rem;
}

#confirmacion .radio-group span,
#confirmacion .radio-group label {
  font-family: 'Playfair Display', serif;
  font-size: .95rem;
}

#confirmacion .radio-group input[type="radio"] {
  accent-color: #7E8A6D;                  /* Moss Green */
}

/* Botón */
#confirmacion button {
  width: 100%;
  padding: 14px;
  background: #7E8A6D;                    /* Moss Green */
  color: #fff;
  border: none;
  border-radius: 5px;
  font-family: 'Alex Brush', cursive;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background .3s, transform .2s;
}

#confirmacion button:hover {
  background: #546A50;                    /* Olive Drab */
  transform: translateY(-2px);
}

/* Mensaje de confirmación */
#mensaje-confirmacion {
  text-align: center;
  margin-top: 1rem;
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  color: #7E8A6D;                         /* Moss Green */
  display: none;
}

#mensaje-confirmacion.visible {
  display: block;
}

/* Responsive */
@media (max-width: 768px) {
  #confirmacion .form-wrapper {
    margin: 1rem;
    padding: 1.5rem;
  }
}

/* ======================= */
/*  SECCIÓN: DETALLE (opc.) */
/* ======================= */
.detalle {
  padding: 60px 20px;
  background-color: #fdfdfc;
  text-align: center;
}

.detalle p {
  font-size: 1.2rem;
  color: #2B3E34;                         /* Forest Green */
  margin-bottom: 20px;
}

.detalle strong {
  color: #7E8A6D;                         /* Moss Green */
}

/* ======================= */
/*       ÚLTIMOS AJUSTES   */
/* ======================= */
/* Asegurar que el contenido no quede bajo navbar fijo */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ======================= */
/*  TEXTO BLANCO EN INTRO  */
/* ======================= */

/* Forzar texto blanco en todo el hero */
header.hero .hero-content,
header.hero .hero-content .monograma,
header.hero .hero-content .monograma .m1,
header.hero .hero-content .monograma .m2,
header.hero .hero-content .monograma .m3,
header.hero .hero-content .hero-titulo,
header.hero .hero-content .hero-subtitulo {
  color: #fff !important;
}

section {
  margin: 0;
  padding: 0;
  border: none;
  display: block;
}

section + section {
  margin-top: -1px; /* superposición leve que fusiona fondos */
}

/* Ajustes para tablets y móviles */
@media (max-width: 768px) {

  /* Que la altura no corte tu texto */
  header.hero {
    height: auto;          /* deja que el contenido marque la altura */
    padding: 4rem 1rem;    /* espacio arriba/abajo y margen lateral */
    background-position: center top;  /* enfoca la parte superior de la imagen */
  }

  /* Tipografías más pequeñas para que quepan */
  .monograma .m1,
  .monograma .m3 {
    font-size: 4rem;
  }
  .monograma .m2 {
    font-size: 2rem;
  }
  .hero-titulo {
    font-size: 2rem;
  }
  .hero-subtitulo {
    font-size: 1rem;
    letter-spacing: 1px;
  }

  /* Navbar: marca y enlaces legibles en móvil */
  .navbar .brand {
    font-size: 2rem;
  }
  .nav-links li a {
    font-size: 1.2rem;
    gap: 20px;
  }
}

/* 1. Ocultar el checkbox */
.menu-checkbox {
  display: none;
}

/* 2. Estilos del icono hamburguesa */
.menu-toggle {
  display: none;            /* oculto en desktop */
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  z-index: 110;             /* sobre el menú */
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background-color: #333;
  display: block;
  transition: background 0.3s;
}

/* 3. Menú en desktop */
.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

/* 4. Ajustes para móvil */
@media (max-width: 1024px) {
  .menu-toggle {
    display: flex;          /* muestra sólo en móvil */
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;           /* fuera de vista */
    width: 70%;
    height: 100vh;
    background-color: #fff;
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem;
    gap: 1.5rem;
    transition: right 0.3s ease;
    z-index: 100;
  }

  /* Cuando el checkbox está marcado, desplaza el menú */
  .menu-checkbox:checked ~ .nav-links {
    right: 0;
  }
}



