@import url('https://fonts.googleapis.com/css2?family=Allura&family=Crimson+Pro:ital,wght@0,200..900;1,200..900&display=swap');

:root {
    --color-foco: rgba(0, 0, 0, 0.1);
    --color-primario: #9f3b34;
    --color-primario-50: #9f3b3480;
    --color-primario-hover: #ce9969;
    --color-primario-hover_50: #ce996980;
    --color-countdown: #c77a27;
    --color-text-main: #000000;
    --color-btn-texto: #ffffff;
    --font-size-base: 1.2rem;
    --font-size-large: 2rem;
    --font-size-small: 0.8rem;
    --font-size-extralarge: 3rem;
}
/* Tipos de letra */

.custom-font-titles {
    font-family: "Allura", cursive;
    font-weight: 400;
    font-size: var(--font-size-extralarge);
    font-style: normal;
    color: #651b00;
    z-index: 99999;
}

.custom-font-titles-white{
    font-family: "Allura", cursive;
    font-weight: 400;
    font-size: var(--font-size-extralarge);
    font-style: normal;
    color: #ffffff;
    z-index: 99999;
}

.custom-font-general {
    font-family: "Crimson Pro", serif;
    font-size: var(--font-size-base);
    font-weight: 400;
    font-style: normal;
    color: #000000;
}

.custom-font-btn{
    font-size: var(--font-size-base);
    font-family: "Crimson Pro", serif;
    font-weight: 400;
    font-style: normal;
    color: var(--color-btn-texto);
}

/* Tamaños de Letra */
.custom-font-size-xs{
    font-size: 0.6rem;
}
.custom-font-size-s{
    font-size: 0.8rem;
}
.custom-font-size-m{
    font-size: 1.2rem;
}
.custom-font-size-l{
    font-size: 2rem;
}
.custom-font-size-xl{
    font-size: 3rem;
}
.custom-font-size-xxl{
    font-size: 4rem;
}

/* Formato de Letra */
.custom-font-bold{
    font-weight: bold;
}
.custom-font-italic{
    font-style: italic;
}

/* Tamaños de Secciones */
.min-h-screen-30 {
    min-height: 30svh;
}

.min-h-screen-50 {
    min-height: 50svh;
}

.min-h-screen-70 {
    min-height: 70svh;
}

.min-h-screen-100{
    min-height: 100svh;
}

html,
body {
    width: 100%;
    height: 100%;
    background-color: #f0ebe8 ;
    background-position: center;
    font-family: 'Abhaya Libre', serif;
    font-size: var(--font-size-base);
    text-align: center;
    scroll-behavior: smooth;
    align-content: center;
}

body {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 0;
}

section {
    overflow-x: hidden;
    overflow: hidden;
}

#main-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 100svh; /* Asegura que ocupe el 100% del alto de la pantalla */
    position: relative; /* Para que las imágenes absolutas se coloquen en este contenedor */
}

#img-top-left {
    position: absolute;
    top: 0;
    left: 0;
    height: auto;
}

#img-bottom-right {
    position: absolute;
    bottom: 0;
    right: 0;
    height: auto;
}

@media (max-width: 376px) {
    #img-top-left, #img-bottom-right {
        width: 200px; /* Ajusta el tamaño de la imagen para pantallas pequeñas */
    }
}

@media (min-width: 377px) and (max-width: 400px) {
    #img-top-left, #img-bottom-right {
        width: 350px; /* Ajusta el tamaño de la imagen entre 377px y 400px */
    }
}

@media (min-width: 401px) and (max-width: 450px) {
    #img-top-left, #img-bottom-right {
        width: 375px; /* Ajusta el tamaño de la imagen entre 401px y 450px */
    }
}

@media (min-width: 451px) and (max-width: 599px) {
    #img-top-left, #img-bottom-right {
        width: 400px; /* Puedes agregar un tamaño intermedio si lo necesitas */
    }
}

@media (min-width: 600px)  and (max-width: 1000px)  {
    #img-top-left, #img-bottom-right {
        width: 485px; /* Ajusta el tamaño de la imagen para pantallas grandes */
    }
}

@media (min-width: 1001px)  {
    #img-top-left, #img-bottom-right {
        width: 600px; /* Ajusta el tamaño de la imagen para pantallas grandes */
    }
}


.img-fluid,
.responsive-img {
    width: 100%;
    max-width: 100%;
    height: auto;
}

/* CSS para NavBar */
.navbar-brand img {
    margin-left: 10px;
}

.navbar-custom {
    background-color: var(--color-primario);
}

.navbar-toggler {
    margin-right: 15px;
}

.nav-link {
    font-size: 1rem;
    text-align: center;
}

.nav-link img {
    display: inline-block;
    margin-right: 5px;
}

.nav-link:hover {
    font-size: var(--font-size-base);
}

.offcanvas {
    background-color: var(--color-primario);
}

.offcanvas-header {
    justify-content: center;
    font-size: 30px;
}

.offcanvas-header .btn-close {
    margin-top: 0;
    margin-right: 0;
}

.language-buttons {
    display: flex;
    justify-content: center;
    margin-top: 5px;
}
.language-buttons button {
    background: none;
    border: none;
    padding: 0;
    margin: 0 5px;
}

.flag-button:hover img {
    width: 30px;
    height: 25px;
}

.container-fluid {
    width: 100%;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

#recomendaciones-section {
    background-color: var(--color-primario);
}

.bg-rsvp {
    background-image: url(../images/img_RSVP.png);
}

.bg-contain {
    background-size: contain;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bg-stone {
    background-color: #f5f5f4cc;
    border-radius: .75rem;
    width: 80%;
}

footer {
    width: 100%;
    background-color: var(--color-primario);
    padding: 20px 0;
    text-align: center;
    margin-top: 20px;
}

footer a {
    margin: 0 10px;
    text-decoration: none;
}


/* Modal Styles */
.modal-container {
    position: relative;
    width: 90%;
    height: 400px;
}

.modal-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.modal-dialog {
    max-width: 90vw;
    max-height: 90vh;
    margin: auto;
}

.modal-content {
    height: 90vh;
    position: relative;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.modal-body {
    padding: 0;
    height: 100%;
    display: flex;
    justify-content: center;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    max-height: 80vh;
    overflow-y: auto;
}

.modal-header {
    border-bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.modal-header h5 {
    margin: 0;
    font-size: var(--font-size-large);
    text-align: center;
    flex-grow: 1;
}

.btn-close {
    position: absolute;
    top: 10px;
    right: 10px;
}

.modal-footer {
    display: flex;
    justify-content: center;
    border-top: 1px solid #dee2e6;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    padding: 1rem;
}

.modal-backdrop.show {
    background-color: var(--color-primario-hover);
}

.blur-background {
    filter: blur(8px);
    pointer-events: none;
}

.countdown div {
    width: 80px;
    height: 80px;
    background: var(--color-countdown);
    color: #000;
    border-radius: 50%;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    display: flex;
    aspect-ratio: 1;
}

.countdown span {
    margin-top: -10px;
    font-size: var(--font-size-large);
}

.countdown label {
    margin-top: -10px;
    font-size: 15px;
}

.btn {
    background-color: var(--color-primario);
    color: var(--color-btn-texto);
    border: none;
    padding: 10px 20px;
    border-radius: 50px;
    cursor: pointer;
}

.btn:focus {
    outline: none;
    box-shadow: 0 0 0 2px var(--color-foco);
    background-color: var(--color-primario);
    color: var(--color-btn-texto);
}

.btn:active {
    background-color: var(--color-primario);
    color: var(--color-btn-texto);
    outline: none;
    box-shadow: none;
}

.btn:hover {
    background-color: var(--color-primario-hover);
    color: var(--color-btn-texto);
}

.form-floating .form-control:focus~label,
.form-floating .form-control:not(:placeholder-shown)~label,
.form-floating textarea:focus~label,
.form-floating textarea:not(:placeholder-shown)~label {
    opacity: 0.65;
    transform: scale(0.85) translateY(-1rem) translateX(0.15rem);
}

#musicForm .form-control {
    border-radius: 5px;
    padding-top: 40px;
    font-size: larger;
}

.invalid-feedback {
    display: none;
}

.form-control.is-invalid~.invalid-feedback {
    display: block;
}

.carousel-img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.modal-fullscreen {
    max-width: 100%;
    max-height: 100%;
    margin: 0;
}

.modal-fullscreen .modal-body {
    padding: 0;
}

.modal-fullscreen .img-fluid {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

#RSVPModal .input-group {
    margin-top: 15px;
}

#RSVPModal .form-control {
    border-radius: 5px;
    padding-top: 40px;
    font-size: larger;
}

#searchResult {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#searchResult .btn {
    width: auto;
    margin: 10px 0;
    background-color: #eeeeee;
}

#rsvpDetails {
    margin-top: 20px;
}

#detalleAlergia,
#mensaje {
    height: 100px;
}


.custom-top-60 {
    margin-top: -60px;
}

#accommodation-section .container {
    max-width: 900px;
    margin: auto;
    padding: 20px;
    background-color: var(--color-main);
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#accommodationModal .modal-content {
    border-radius: 15px;
    overflow: hidden;
}

#accommodationModal .modal-body {
    padding: 20px;
}

.hotel-info,
.POI-info {
    background-color: #f9f9f9;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: left;
}

.hotel-info p,
.POI-info p {
    margin: 5px 0;
}


/* Wedding Locations Section CSS */

.weddinglocation-section-info-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.weddinglocation-section-info-box {
    border-top-left-radius: 9999px;
    border-top-right-radius: 9999px;
    border: 1px solid var(--color-primario);
    padding: 20px;
    margin: 10px;
    width: 300px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.weddinglocation-section-info-box h2 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.weddinglocation-section-info-box p {
    margin: 5px 0;
}

.weddinglocation-model-iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

#accommodation-section{
    background-image: url(../images/img_hospedaje.png);
    background-position: center;
    background-repeat: no-repeat;
}
#timeline-section{
    background-image: url(../images/img_Timeline.png);
    background-position: center;

}
.modal-body {
    position: relative;
    padding: 0;
    height: 400px;
}

.music-entry {
    margin-bottom: 20px;
}

#hotel-info .btn {
    margin-top: 10px;
    margin-bottom: 10px;
    display: inline-block;
    width: 200px;
}

#ourlove-section {
    padding: 50px;
    margin-top: -70px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 20px;
    height: 20px;
    background-size: 100% 100%;
    background-image: none;
}

.carousel-control-prev-icon {
    background-image: url('https://cdn-icons-png.flaticon.com/512/271/271220.png');
}

.carousel-control-next-icon {
    background-image: url('https://cdn-icons-png.flaticon.com/512/271/271228.png');
}

.carousel-control-prev,
.carousel-control-next {
    width: 40px;
    height: 40px;
    background-color: white;
    border-radius: 50%;
    opacity: 0.8;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    transition: background-color 0.3s, opacity 0.3s;
}

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

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

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background-color: white;
    opacity: 1;
}

.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-next:hover .carousel-control-next-icon {
    filter: brightness(1.5);
}

.carousel-indicators {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    padding: 0;
    margin: 0;
    list-style: none;
}

.carousel-indicators [data-bs-target] {
    width: 15px;
    height: 15px;
    background-color: var(--color-primario);
    border-radius: 50%;
    margin: 1px 5px;
}

.carousel-indicators .active {
    background-color: var(--color-primario-hover);
}

.carousel-indicators [data-bs-target] {
    height: 18px;
    width: 18px;
}

.dresscode-row {
    justify-content: center;
}

.custom-max-width{
    width: 100px;
}

.dresscode-text {
    padding: 20px;
    border-radius: 10px;
    background-color: #fafaf9b3;
    border: 1px solid var(--color-primario-hover);
    margin: 10px;
    width: 300px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 300px;
}

.dresscode-image {
    align-content: center;
    min-height: 300px;
    max-width: 400px;
    max-height: 400px;
}

.custom-instagram-section{
    border-radius: 10px;
    background-color: #fafaf9b3;
    border: 1px solid var(--color-primario-hover);
    padding: 20px;
    margin: 30px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.timeline-section {
    padding: 50px 0;
}
.custom-icon{
    width: 80%;
}

.timeline-container {
    position: relative;
    width: 80%;
    margin: 0 auto;
}

.timeline-event {
    position: relative;
    margin: 50px 0;
    display: flex;
    align-items: center;
    opacity: 0;
    transform: translateX(100%);
    transition: transform 0.5s ease-out, opacity 0.5s ease-out;
}

.timeline-event:nth-child(even) {
    flex-direction: row-reverse;
    justify-content: center;
    transform: translateX(-100%);
}

.timeline-event:nth-child(odd) {
    justify-content: center;
    transform: translateX(100%);
}

.timeline-event .timeline-icon {
    width: 45px;
    height: 45px;
    background: var(--color-primario);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    position: relative;
}

.timeline-event:nth-child(odd) .timeline-icon {
    order: -1;
}

.timeline-event.visible {
    opacity: 1;
    transform: translateX(0);
}   

.timeline-content {
    background: #FFF;
    width: 300px;
    z-index: 2;
    margin: 0 20px;    
    position: relative;
    display: inline-block;
    padding: 20px;
    border-radius: 10px;
    color: #2c3e50;
    text-align: center;
    box-shadow: 0 14px 14px rgba(0, 0, 0, 0.1);
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 100%; 
    width: 0;
    height: 0;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-right: 15px solid var(--color-primario);
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 8px;
    background: var(--color-primario);
    z-index: 0;
    transform: translateX(-50%);
}

.scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: var(--color-primario);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: opacity 0.3s, visibility 0.3s;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top i {
    font-size: 24px;
}


#h1_main_text, #p_noscasamos_text, #h4_main_text, #h1_main_date,
#RSVP_header_text, #RVSP_main_text, #imgRegalos, #imgMusic, 
#weddinglocation-section-item1, #weddinglocation-section-item2, #instagram_main_text,
#POI-section-header-text, #POI-section-detail-text {
    opacity: 0;
    overflow: hidden;
    position: relative;
    z-index: 0;
}

.slideInUp  {
    animation: slideInUp 2s ease-out forwards;
}

.slideInDown  {
    animation: slideInDown 2s ease-out forwards;
}

.slideInRight {
    animation: slideInRight 2s forwards;
}

.slideInLeft {
    animation: slideInLeft 2s forwards;
}

.fadeIn {
    animation: fadeIn 4s forwards;
}

.fadeOut {
    animation: fadeOut 4s forwards;
}


@keyframes slideInUp {
    from {
        transform: translateY(100px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideInDown {
    from {
        transform: translateY(-100px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(50%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        transform: translateX(-50%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes fadeOut {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

@media (min-width: 992px) {
    #ourlove-section-photos {
        width: 70%;
        margin: 0 auto;
    }

    #POIModal .modal-dialog {
        width: 50%;
        max-width: 50%;
        margin: 0 auto;        
    }
    #accommodationModal .modal-dialog {
        width: 50%;
        max-width: 50%;
        margin: 0 auto;
    }    
}

.background-image-section-url{
    background-image: url('../images/Carrousel1.png');
}

.background-image-section-url2{
    background-image: url('../images/Carrousel2.png');
}

.background-image-section {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
    width: 100%;
}

.background-overlay {
    position: relative;
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

@media (max-width: 768px) {
    .min-h-screen {
        min-height: 20svh;
    }
    .background-overlay {
        height: 20svh;
    }
    .background-image-section{
        background-attachment: unset;
    }    
}

@media (min-width: 768px) {
    .min-h-screen {
        min-height: 30svh;
    }
    .background-overlay {
        height: 30svh;
    }
    .background-image-section{
        background-attachment: fixed;
    }    
}

.transporte-section{
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
}

.bus-card {
    width: 300px;
    border: 1px solid var(--color-primario);
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin: 10px;
    padding: 20px;
    text-align: center;
}

.bus-card img {
    width: 200px;
    height: auto;
    margin-bottom: 10px;
}

.bus-card h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
    color: var(--color-primario-hover);
}

.bus-card p {
    margin-bottom: 5px;
    font-size: 1rem;
}
