@font-face {
    font-family: 'roboto';
    src: url(../font/RobotoCondensed-Italic-VariableFont_wght.ttf);
}
@font-face {
    font-family: 'noto';
    src: url(../font/NotoSerifHentaigana-Regular.ttf);
}
@font-face {
    font-family: 'sacramento';
    src: url(../font/Sacramento-Regular.ttf);
}
.bannerp{
    background-image: url(../img/Alejandra&Lalobnp.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: normal;
    align-items: center;  
    text-align: center;
}


.bannerp h1{
    color: #fff;
    font-family: 'sacramento';
    font-size: 5rem;
}
.bannerp h3{
    color: #fff;
    font-family: 'noto';
}
.bannerp p{
    color: #fff;
    font-family: 'noto';
    font-size: 1.5rem;
}
.countdown{
    font-family: 'roboto';
    font-size: 2.5rem;
    color: #ffffff;
    display: flex;
    justify-content: center; 
    align-items: center;   
    gap: 2rem; 
    margin: 2% 0%;
}
.cintilla{
    text-align: center;
    font-family: 'noto';
    font-size: 25px;
    padding: 10% 10%;
    background-color: #A41717;
    color: #fff;
}
.cintilla img{
    max-width: 25%;
    margin-top: 2%;
}
.counter{
    background-image: url(../img/Alejandra&Lalocount.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    height: 110vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;  
    text-align: center;
}
.counter h1{
    color: #fff;
    font-family: 'sacramento';
    font-size: 5rem;
    font-weight: 500;
}
.counter h3{
    color: #fff;
    font-family: 'sacramento';
    font-size: 4rem;
    font-weight: 500;
}
.cyd{
    padding: 5% 0%;
    
    
}
.cyd h1{
    color: #a41717;
    font-family: 'sacramento';
    font-size: 5rem;
    font-weight: 500;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;  
    text-align: center;
}
.cyd h3{
    color: #ffffff;
    font-family: 'sacramento';
    font-size: 3rem;
    font-weight: 500;
    margin: 5% 0%;
}
.cdyc{
    width: 90%;
    padding: 10% 5% ;
    background-color: #a41717;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;  
    text-align: center;
    color: #fff;
    font-size: 20px;
    margin-top: 5%;
}
.cdyc h6{
color: #fff;
font-family: 'roboto';
font-size: 25px;
}
.cdyc img{
    max-width: 80%;
}
.btnmapa{
    padding: 2px 10px;
    background-color: #fff;
    color: #A41717;
    text-decoration: none;
}
.invitacion {
    background-image: url(../img/Alejandra&Laloinvitacion.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 100vh;
    display: flex;
    justify-content: center; 
    align-items: center; 
    text-align: center;
}

.invper {
    background-color: #00000038; 
    width: 75%;
    padding: 5%;
    color: #fff;
    border: 2px solid #ffffff;
}

.btninvper {
    margin-top: 20px; /* separa del h3 */
    padding: 12px 30px;
    background-color: #fff;
    color: #000;
    text-decoration: none;
    display: inline-block;
    border: 0px;
}
.vestimenta{
    padding: 5%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;  
    text-align: center;
    font-family: 'noto';
    font-size: 20px;
}
.vestimenta img{
    max-width: 45%;
}

.vestimenta h1{
    color: #a41717;
    font-family: 'sacramento';
    font-size: 4rem;
    font-weight: 500;
}

.galeria {
      padding: 5%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;  
    text-align: center;
    font-family: 'noto';
}
.galeria h1{
    color: #a41717;
    font-family: 'sacramento';
    font-size: 4rem;
    font-weight: 500;
}

.masonry-container {
    column-count: 4;
    column-gap: 1rem;
    margin: 0 auto;
    max-width: 1400px;
    padding: 0 15px;
    
}
.masonry-item {
    display: inline-block;
    width: 100%;
    margin-bottom: 1rem;
    break-inside: avoid;
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease;
}
.masonry-item:hover {
    transform: translateY(-5px);
}
.masonry-img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}
.masonry-item:hover .masonry-img {
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}
.image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: white;
    padding: 20px 10px 10px;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.masonry-item:hover .image-caption {
    opacity: 1;
}
        
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}
.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    margin: 0 auto;
    position: relative;
}
.lightbox-img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 5px;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.4);
}
.lightbox-caption {
    color: #fff;
    text-align: center;
    margin-top: 15px;
    font-size: 1.2rem;
}
.close-btn {
    position: absolute;
    top: 25px;
    right: 25px;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.3s;
}
.close-btn:hover {
    color: #e74c3c;
}
.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 2.5rem;
    cursor: pointer;
    background-color: rgba(0, 0, 0, 0.4);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s;
}
.nav-btn:hover {
    background-color: rgba(0, 0, 0, 0.7);
}
.prev-btn {
    left: 25px;
}
.next-btn {
    right: 25px;
}
        
footer{
    background-color: #a41717;
    color: #fff;
    text-align: center;
    font-size: 4rem;
    padding: 2%;
    font-family: 'sacramento';
}
@media (max-width: 1200px) {
    .masonry-container {
        column-count: 3;
    }
}
@media (max-width: 768px) {
    .bannerp{
    background-image: url(../img/Alejandra&LaloSTD-43.jpg);
    justify-content: center;
}
    .cintilla{
    font-size: 20px;
    padding: 10% 8%;
    }
    .cintilla img {
    max-width: 80%;
    margin-top: 5%;
}
.counter {
    background-image: url(../img/Alejandra&Lalocounmt.jpg);
 
}
.countdown {
    font-size: 2rem;
    gap: 1.5rem;
    margin: 2% 0%;
}
.counter h1 {
    font-size: 4rem;
}
.counter h3 {
    font-size: 3rem;
}
.cyd {
    padding: 10% 0%;
}
.cyd h1 {
    font-size: 4rem;
}
.invitacion {
    background-image: url(../img/Alejandra&Laloinvitacionm.jpg);
 
}
.cdyc{
    width: 100%;
   
}
.vestimenta img {
    max-width: 50%;
}

.invper {
    width: 90%;
 
}
footer {
    padding: 5%;
}
    .masonry-container {
        column-count: 2;
    }
    .header h1 {
        font-size: 4rem;
        margin-bottom: 15%;
    }
}
@media (max-width: 576px) {
    .masonry-container {
        column-count: 1;
    }
    .nav-btn {
        font-size: 2rem;
        width: 40px;
        height: 40px;
    }
    .close-btn {
        top: 15px;
        right: 15px;
    }
}
        
        /* Filter buttons */
.filter-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
    padding: 0 15px;
}
.filter-btn {
    background-color: #fff;
    border: 2px solid #3498db;
    color: #3498db;
    padding: 8px 20px;
    border-radius: 30px;
    transition: all 0.3s;
}
.filter-btn:hover, .filter-btn.active {
    background-color: #3498db;
    color: white;
}