﻿/* Hero con decoración superior */



/* NAVBAR GLASS EFFECT */
.custom-navbar {
    backdrop-filter: blur(8px);
    background-color: rgba(255, 255, 255, 0.6); /* Blanco semitransparente */
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    z-index: 1030;
    transition: background-color 0.3s ease;
}

.custom-navbar .nav-link,
.custom-navbar .dropdown-toggle {
    color: #000 !important; /* Color oscuro para visibilidad */
    font-weight: 500;
}

/* Botón de Login Novios */
.custom-navbar .btn-outline-dark {
    border-color: #000;
    color: #000;
}

/* En móvil ajustamos transparencia para no cubrir el logo */
@media (max-width: 576px) {
    .custom-navbar {
        backdrop-filter: blur(8px);
        background-color: rgba(255, 255, 255, 0.6);
    }
}

/* Para que el contenido no quede oculto detrás del navbar */
main {
    padding-top: 55px; /* igual o mayor que altura navbar */
}


.hero {
    background-image: url('/images/background/backInicio.png');
    background-repeat: no-repeat;
    background-position: top center;
    background-size: cover;
    width: 100%;
    min-height: 100vh;  
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeInTop 1.2s ease-in-out;
    position: relative;
    z-index: 1;
    margin: 0;
    padding: 0;
}

/* Animación de entrada */
@keyframes fadeInTop {
    from {
        opacity: 0;
        transform: translateY(-40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Ajuste móvil */

@media (max-width: 576px) {
    .hero {
        aspect-ratio: 5 / 1; /* ajusta según proporción real */
    }
}


/* Fondo lino de invitación */

.invitacion-container {
    background-image: url('/images/background/Fondo_chico.png');
    background-size: cover; 
    background-repeat: no-repeat;
    background-position: center;
    width: 100%;
    padding: 2rem 0;
    display: flex;
    justify-content: center;
}   

.Invitado-container {
    background-image: url('/images/background/Fondo_grande.png');
    background-size: cover; 
    background-repeat: no-repeat;
    background-position: center;
    width: 100%;
    padding: 2rem 0;
    display: flex;
    justify-content: center;
}


/* Contenido de la invitación */

.contenido {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 900px;
    width: 100%;
    padding: 2rem;
    background-color: transparent; /* ✅ elimina fondo blanco */
    animation: fadeIn 1.5s ease;
}

/* Imágenes */
.img-invitacion {
    max-width: 35%;
    height: auto;
    animation: slideDown 1s ease-out;
}

.img-codVestimanta {
    max-width: 75%;
    height: auto;
    animation: slideDown 1s ease-out;
}


.img-nombres {
    max-width: 85%;
    height: auto;
    margin: 1rem 0;
    animation: fadeInScale 1.5s ease-out;
}

.img-fecha {
    max-width: 60%;
    height: auto;
    animation: slideUp 1s ease-out;
}

.img-Plan {
    max-width: 50%;
    height: auto;
    animation: slideUp 1s ease-out;
}

.img-vestimenta {
    max-width: 40%;
    height: auto;
    animation: slideUp 1s ease-out;
}

.imagen-completa {
    max-width: 100%;
    height: auto;
    display: block;
}

.texto-completo {
    max-width: 100%;
    height: auto;
    /*display: block;*/
}


/* Animaciones */
@keyframes fadeInScale {
    0% {
        opacity: 0;
        transform: scale(0.9);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fadeIn {
    animation: fadeIn 1s ease-out both;
}

/* Mejora visual del card sobre fondo de lino */
.card {
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(3px);
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}


/* Responsivo */
@media (max-width: 576px) {
    .img-invitacion { max-width: 60%;}
    .img-nombres { max-width: 95%;}
    .img-fecha { max-width: 80%;}
    .contenido { padding: 1rem 0.5rem;}
}

/*.contador {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
    animation: fadeIn 1.5s ease-in-out;
}
*/

.contador {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.2rem;
    flex-wrap: nowrap; /* <--- esto fuerza una sola línea */
    overflow-x: auto; /* <--- evita desbordamiento en móviles */
    padding: 1rem 0;
}


.tiempo {
    background-color: rgba(255, 255, 255, 0.75);
    border-radius: 12px;
    /*padding: 1rem;*/
    text-align: center;
    /*min-width: 80px;*/
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(4px);
    border: 1px solid #eaeaea;
    min-width: 70px;
    padding: 0.8rem;
}

.tiempo span {
    display: block;
    font-size: 2.4rem;
    font-weight: bold;
    color: #1a1a1a;
    font-family: 'Playfair Display', serif; /* puedes cambiar por otra elegante */
}

.tiempo small {
    display: block;
    font-size: 0.9rem;
    color: #555;
    margin-top: 0.4rem;
    letter-spacing: 1px;
    font-family: 'Raleway', sans-serif;
}

.logo-confirmacion {
    max-width: 120px;
    height: auto;
    margin-bottom: 1rem;
    animation: fadeInScale 1s ease-out;
}

.hoteles-section h2 {
    font-family: 'Poppins', sans-serif;
}

.carousel .card {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    border: none;
}

    .carousel .card:hover {
        transform: scale(1.02);
    }

.carousel-item {
    padding: 2rem 0;
}

.hoteles-section {
    position: relative;
    /*background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)), url('/images/background/Fondo_grande.png') center center/cover no-repeat;*/
    background-image: url('/images/background/Fondo_grande.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    backdrop-filter: blur(3px);
}

.carousel-fade .carousel-item {
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

    .carousel-fade .carousel-item.active {
        opacity: 1;
    }

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 50%;
    padding: 20px;
}

.carousel-item .card {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease;
    position: relative;
}

    .carousel-item .card:hover {
        transform: scale(1.03);
    }

.hotel-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 10;
}

.carousel-item .card-img-top {
    height: 230px;
    object-fit: cover;
}

@media (max-width: 768px) {
   /* #carouselScrollable {
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }
*/
      /*  #carouselScrollable .carousel-item {
            scroll-snap-align: center;
            transition: transform 0.3s ease-in-out;
        }*/


    .carousel-indicators button {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background-color: #555;
    }

    .carousel-indicators .active {
        background-color: #fff;
    }


  /*  .carousel-control-prev,
    .carousel-control-next {
        display: none !important;
    }*/
}
