.ir-arriba{
    display: none;
    padding: 20px;
    font-size: 25px;
    color: #c7a87a;
    cursor: pointer;
    position: fixed;
    bottom: 5px;
    right: 0px;
}

/* Pantalla inicial (splash) */
.splash {
    position: fixed;
    inset: 0;
    background: url('../assets/img/fondo_interno.png') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    padding: 2rem;
    transition: opacity 400ms ease, visibility 400ms;
    z-index: 100;
}
.splash.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.splash .content {
    background: rgba(0,0,0,0.45);
    padding: 2rem;
    border-radius: 12px;
    max-width: 700px;
    width: 100%;
}
.enter-btn {
    margin-top: 1rem;
    background: #ffd54a;
    color: #111;
    border: none;
    padding: 0.75rem 1.25rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
}

body {
    background-color: #f8f4ef;

}
p{
     font-family: Georgia, "Times New Roman", Times, serif;
}

/* Contenido de la invitación (debajo) */
.invitation {
    min-height: 100vh;
    padding: 4rem 1.5rem;
}


.photo-card{
  width: min(900px, 92%);
  margin: 2rem auto;
  position: relative;
  aspect-ratio: 4 / 3; /* ajusta relación según tu foto */
  max-height: 700px;
  background: #fff;
  /* opcional: ligera sombra para destacar */
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
  overflow: visible; /* para que la cinta/hoja se salgan si quieres */
}

/* La foto ocupa todo el contenedor y se recorta con el overlay transparente */
.photo{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    z-index: 1;
    border-radius: 6px; 
}
.overlay{
    position: absolute;
    z-index: 3;
    width: 50%;
    left: -18%;
    top: -10%;

}

.img-letras{
    width: 50%;
    margin: auto;
}

.info{
    border-bottom: 2px solid #c7a87a;
    border-top: 2px solid #c7a87a;
    padding: 1rem;
    text-align: center;
    font-family: math;
}

.ima-calen{
    height: 500px;
    border-radius: 6px;
    box-shadow: 0px 15px 25px rgba(0, 0, 0, 0.50);
}

.contador{
    display:flex;
    gap:30px;
    justify-content:center;
    align-items:flex-start;
    flex-wrap:wrap;
}

.reloj{
    width:130px;              
    height:130px;
    background:#9b6f52;       
    border-radius:12px;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    color:#fff;
    box-shadow:0 6px 12px rgba(0,0,0,0.08);
    text-align:center;
    padding:12px;
}

.reloj p{
    font-weight:800;
    font-size:48px;
    line-height:1;
    letter-spacing:1px;
    margin-bottom:6px;
    font-family: 'Anton', 'Arial Black', sans-serif; 
}

span{
    font-size:12px;
    letter-spacing:4px;
    text-transform:uppercase;
    opacity:0.95;
}

.recepcion{
    margin-top: 2rem;
    border-radius: 10px;
    box-shadow: 0px 15px 25px rgb(0 0 0 / 10%);
}

.img-celebracion{
    width: 50%;
}

.contenido figure{
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    box-shadow: 0px 15px 25px rgba(0, 0, 0, 0.50);
    cursor: pointer;
}

.contenido figure img{
    transition: all 500ms ease-out;

}
.contenido figure .capa{
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 13, 13, 0.4);
    transition: all 500ms ease-out;
    visibility: visible;
    color: white;

}

.contenido figure > .capa h3{
    margin-top: 70px;
    margin-bottom: 15px;
} 

.contenido figure:hover > img{
    transform: scale(1.3);
}

.img-vestimenta{
    width: 30%;
}

.mesaR{
    margin-top: 2rem;
    border-radius: 10px;
    box-shadow: 0px 15px 25px rgb(0 0 0 / 10%);
    padding: 1rem;
}

.no-ninos{
    margin-top: 2rem;
    border-radius: 10px;
    box-shadow: 0px 6px 0px rgb(0 0 0 / 10%);
    padding: 1rem;
}

.img-confirmacion{
    width: 30%;
}

.conf-asistencia{
    background: rgba(195, 177, 144, 0.42);
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0px 15px 25px rgb(0 0 0 / 50%);
    cursor: pointer;
}

.carousel-inner{
    width: 50%;
    margin: auto;
}

.aviso{
    width: 45%;
}

@media (max-width:768px) {
    .photo-card{
        margin-top: -2rem;
    }
    .contador{
        gap: 1px;
    }
    .reloj{
        width: 80px;
    }
    .reloj p{
        font-size: 23px;
    }
    .ima-calen{
        height: 300px;
    }
    span{
        font-size: 8px;
    }
    .img-vestimenta{
        width: 50%;
    }
        .contenido figure img {
        transition: all 500ms ease-out;
        width: 80%;
        height: 250px;
    }

    .contenedor-leyenda {
        margin-top: -5rem;
        position: relative;
        color: white;
    }
    .cont-leyenda{
        width: 100%;
        font-size: 11px;
        min-height: 0vh;
    }
    .leyenda{
        margin-top: 0rem;
    }
    .capa{
        font-size: 9px;
    }
    .img-confirmacion{
        width: 60%;
    }
    .carousel-inner{
        width: 90%;
      
    }
    .conf-asistencia{
        width: 90%;
    }
    .aviso{
        width: 100%;
    }


}