@keyframes shine {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}


@font-face{
    font-family: 'garderegular';
    src: url('/public/Resources/fonts/garde-webfont.woff2') format('woff2'),
    url('/public/Resources/fonts/garde-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

/* General Styles */
:root {
    --background-body: linear-gradient(145deg, rgba(209, 167, 160, 0.1), rgba(245, 208, 216, 0.1), rgba(209, 167, 160, 0.1));
    --white-glow: 0 0 7px #fff, 0 0 10px #fff, 0 0 21px #fff;
    --pink-glow: 0 0 42px #d1a7a0, 0 0 82px #d1a7a0,  0 0 92px #d1a7a0,  0 0 102px #d1a7a0,  0 0 151px #d1a7a0;
    --font-color: rgb(95, 70, 7);
    --gold-pink: rgba(255, 215, 220, 0.9);  /* Opacidad del rosa */
    --white-transparent: rgba(255, 255, 255, 0.9); /* Opacidad del blanco */
    --header-footer: linear-gradient(135deg, rgb(78, 77, 77), rgba(206, 205, 205), rgba(33, 32, 32), rgba(79, 77, 77));
}

body {
    font-family: Arial, sans-serif;
    font-size: 1.2em;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: var(--font-color);
    background: var(--background-body),
                url('../img/pared_vn.jpg');
    background-size: cover;
    background-position: left top;  /* Posiciona la imagen arriba y a la izquierda */
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 100vh;
}


.texto-imagen{
    font-family: 'garderegular';
    font-size: 25px;
    background-image: url('/public/Resources/img/oro_rosa.png');
    background-size: cover;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    
}


h2, h3 {
    margin: 0;
    padding: 0;
    color: #6f1855;
}

.container {      color: #784468;
    width: 90%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;

    li {
        margin: 0 15px;
    
        a {
            text-decoration: none;
             text-shadow: var(--white-glow), var(--pink-glow);
            font-weight: bold;
        }
    }
}

/* Header */

.header {
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 20px;
    background: linear-gradient(135deg, rgb(94, 94, 94), rgba(206, 205, 205), rgb(152, 151, 151), rgb(173, 173, 173), rgb(103, 103, 103));
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

nav {
    margin-left: auto;
}

.header-logo-rotulo {
    max-width: 30%;
    width: auto;
}

@media (min-width: 768px) {
    .header-logo-rotulo {
        max-width: 30%;
    }
}

.header-logo {
    margin-left: 15%;
    max-width: 5%; /* Ajusta el tamaño máximo según sea necesario */
    width: auto;
}

@media (min-width: 768px) {
    .header-logo {
        max-width: 5%; /* Ajusta el tamaño máximo según sea necesario */
    }
}

/* Hero Section */

#home {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 0px 0;
    position: relative;
    margin-top: 70px;
    margin-bottom: 70px;

    .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .text-content {
        max-width: 50%;
    }

    h2 {
        font-size: 36px;
        margin-bottom: 20px;
    }

    img {
        max-width: 35%;
        margin-left: auto;
        height: auto;
        border-radius: 25px;
        
    }

    /* Reemplazar estilos de Bootstrap para el botón */
    button, .btn {
        display: inline-block;
        padding: 10px 20px;
        background-color: #cd557c !important;
        color: #fff !important;
        text-decoration: none;
        border-radius: 5px;
        margin-top: 20px;
        border: none;
        cursor: pointer;
        transition: all 0.3s ease;

        &:hover {
            background-color: #b94670 !important;
            transform: translateY(-2px);
        }
    }
}

#home:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gold-pink);
    z-index: -1;
}

/* About Section */
#about {
    height: 550px;
    text-align: center;
    padding: 70px 0;
    background: transparent;
    background-color: rgba(238, 236, 236, 0.636);
    position: relative;

    h2 {
        font-size: 30px;
        margin-bottom: 10px;
    }

    .btn {
        display: inline-block;
        padding: 10px 20px;
        background: #cd557c;
        color: #fff;
        text-decoration: none;
        border-radius: 5px;
    }

    .container {
        display: flex;
        align-items: center;
        justify-content: center;
        max-width: 90%;
        padding-top: 400px;
        padding-bottom: 0px;
    }

    #about::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: transparent;
        background-color: rgba(238, 236, 236, 0.636);  
        z-index: -1;
    }

}
/* Media Query para pantallas pequeñas (móviles) */
@media (max-width: 576px) {
    .about {
        margin-top: 40px !important;  /* Margen superior */
        margin-bottom: 20px !important; /* Margen inferior */
    }
}

/* Media Query para pantallas medianas (tabletas) */
@media (min-width: 577px) and (max-width: 768px) {
    .about {
        margin-top: 40px !important;  /* Margen superior */
        margin-bottom: 20px !important; /* Margen inferior */
    }
}

/* Media Query para pantallas grandes (escritorio) */
@media (min-width: 769px) {
    .about {
        margin-top: 40px !important;  /* Margen superior */
        margin-bottom: 20px !important; /* Margen inferior */
    }
}
/* Carrousel Section */

.banner {

    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 100px;
    width: 50%;
    width: 100%; /* Ancho de donde se van a poner las fotos del carrousel */
    height: 100vh; /*Alto de donde se van a poner las fotos del carrousel */
    text-align: center;
    overflow: hidden;
    
}

.banner .slider {
    position: absolute;
    width: 210px;  /*Ancho de foto carrousel pantalla principal */
    height: 150px; /*Alto de foto carrousel pantalla principal */
    top: 40%;
    left: calc(50% - 100px); /* poscicion del carrousel a la izquierda */
    transform-style: preserve-3d;
    transform: perspective(1000px);
    animation: autoRun 20s linear infinite;  /* Velocidad del giro del carrousel */
    z-index: 2;
}

@keyframes autoRun {
    from {
        transform: perspective(1000px) rotateX(-16deg) rotateY(0deg);  /*Calculo de inicio para el giro del carrousel 0 */
    }

    to {
        transform: perspective(1000px) rotateX(-16deg) rotateY(360deg); /* Calulo de fin para el giro del carrousel  360 */
    }
}

.banner .slider:hover {
    animation-play-state: paused;   /* Sirve para que al poner el cursor en la foto se pare */
}

.banner .slider .item {
    position: absolute;
    inset: 0 0 0 0;
    transform:
        rotateY(calc((var(--position) - 1) * (360 / var(--quantity)) * 1deg)) translateZ(360px); /* translateZ sirve para desplazar las fotos a lo ancho */
    transition: transform 0.3s ease;
}

.banner .slider .item:hover {
    transform:
        rotateY(calc((var(--position) - 1) * (360 / var(--quantity)) * 1deg)) translateZ(400px) scale(1.0); /* TranslateZ sirve para el hover se amplie la foto */
    z-index: 5;
}

.banner .slider .item img {
    width: 90%;   /* ancho de las fotos principales */
    height: 90%;  /* alto de las fotos principales */
    object-fit:cover;
    transition: transform 0.3s ease; 
}

.banner .content {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(1400px, 100vw);
    height: max-content;
    padding-bottom: 100px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    z-index: 1;
}


/* -----MEDIAS QUIERIES para responsive del carrousel----- */

@media screen and (max-width: 1023px) {
        .banner .slider {
        width: 160px;
        height: 200px;
        left: calc(50% - 80px);
    } 

    .banner .slider .item {
        transform:
            rotateY(calc((var(--position) - 1) * (360 / var(--quantity)) * 1deg)) translateZ(330px);
    }

    .banner .slider .item:hover {
        transform:
            rotateY(calc((var(--position) - 1) * (360 / var(--quantity)) * 1deg)) translateZ(400px) scale(1.2);
    }
}

@media screen and (max-width: 767px) {
    .banner .slider {
        width: 85px;
        height: 85px;
        left: calc(50% - 45px);
    }

    .banner .slider .item {
        transform:
            rotateY(calc((var(--position) - 1) * (360 / var(--quantity)) * 1deg)) translateZ(170px);
    }

    .banner .slider .item:hover {
        transform:
            rotateY(calc((var(--position) - 1) * (360 / var(--quantity)) * 1deg)) translateZ(250px) scale(1.15);
    }
}

/* Services Section */
#services {
    text-align: center;
    color: rgb(95, 70, 7);
    padding: 50px 0;

    h2 {
        font-size: 30px;
        margin-bottom: 10px;
    }

    span {
        color: #d13c6c;
    }

}


/* Testimonials */
#testimonials {
    padding: 50px 0;
    text-align: center;
    position: relative;
}

#testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gold-pink);
    z-index: -1;
}

h2 {
    margin: 2rem 0
}

.container {
    flex-direction: column;
}

span {
    display: block;
    margin-top: 10px;
    font-weight: bold;
}

blockquote {
    padding: 2rem;
    background-color: rgba(211, 211, 211, 0.722);
    border-radius: 15px;
}


.reservation-container {
    max-width: 500px;
    margin: auto;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 10px;
    background-color: #f9f9f9;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);

    label {
        display: block;
        margin: 10px 0 5px;
        font-weight: bold;
    }

    select, input, button {
        width: 100%;
        padding: 10px;
        margin-bottom: 15px;
        border: 1px solid #ccc;
        border-radius: 5px;
    }

    button {
        background-color: #007BFF;
        color: white;
        border: none;
        cursor: pointer;
    }

    button:hover {
        background-color: #0056b3;
    }
}

/* Sección video*/

#videoPresentacion {
    background-color: #d1a8a0d6;
    height: fit-content;
    display: flex;
    text-align: center;
    div {
        width: 90%;
        margin: 0 auto;
        video {
            margin: 0 auto;
        }
    }
    
}

/* El modal está oculto por defecto */
.modal {
    position: fixed !important;
    top: 60% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 100%;
    height: auto;
    max-height: 85vh !important;
    z-index: 9999 !important;
    overflow-y: auto !important;
}

/* Estilo específico para el contenido de todos los modales */
.modal-dialog {
    margin: 0 auto !important;
    max-width: 900px !important;
}

/* Estilo específico para el modal del mapa */
#mapModal .modal-dialog {
    margin: 0 auto !important;
    max-width: 900px !important;
    height: 80vh !important;
}

#mapModal .modal-body {
    height: calc(75vh) !important;
    padding: 10px !important;
}

#mapModal .modal-body iframe {
    width: 100% !important;
    height: 100% !important;
    border: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Prevenir el scroll del body cuando el modal está abierto */
body.modal-open {
    overflow: hidden !important;
    padding-right: 0 !important;
}

/* Resto de los estilos del modal permanecen igual */
.modal-backdrop {
    background-color: rgba(0, 0, 0, 0.5) !important;
    z-index: 9998 !important;
}

.header {
    z-index: 1000;
}

.modal-body {
    max-height: 800px;
    overflow-y: auto;
    padding: 20px;
}

/* Botón de cierre */
.close-btn {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close-btn:hover,
.close-btn:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* Estilos para el modal de servicios */
#servicesModalAbout .modal {
    display: none; /* Oculto por defecto */
    position: fixed !important;
    z-index: 1500 !important;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    overflow-y: auto;
}

#servicesModalAbout .modal.show {
    display: block !important;
}

#servicesModalAbout .modal-dialog {
    margin: 30px auto !important;
    max-width: 800px !important;
    position: relative !important;
}

#servicesModalAbout .modal-content {
    background-color: rgba(227, 226, 226, 0.95) !important;
    border: 1px solid #888 !important;
    width: 100% !important;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1) !important;
    max-height: calc(100vh - 60px);
    overflow-y: auto;
}

#servicesModalAbout .modal-body {
    max-height: 70vh;
    overflow-y: auto;
    padding: 20px;
}


/* Maps section*/

#map {
    text-align: center;
    background-color: rgba(238, 236, 236, 0.636);
    background: transparent;
    position: relative;
    margin: 75px 0;

    h2 {
        margin-bottom: 30px;
        text-align: center;
        width: 45%;
        padding-left: 0;
        z-index: 2;
        left: 52.7%;
    }

    .contenedor_principal {
        display: flex;
        gap: 30px;
        align-items: center;
        justify-content: center;
        margin-top: 20px;
        max-width: 1440px;
        margin: 0 auto;
        
        
        /* Contenedor izquierdo para el mapa */
        .map-container {
            width: 50%;
            display: flex;
            flex-direction: column;
            align-items: center;
            margin: 0 auto;
            padding: 0;

           div {
            width: 100%;
                iframe {
                    z-index: 1;
                    width: 100%;
                    height: 350px;
                    position: relative;
                    border: 1.5px solid black;
                    border-radius: 15px;
                    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
                    display: block;
                }
           }
        }

        /* Contenedor derecho para el video */
        
        .video-container {
            max-width: 45%;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;

            h2 {
                position: static;
                left: 0;
                margin-bottom: 20px;
                text-align: center;
                width: 100%;
                padding-left: 0;
            }

            video {
                width: 100%;
                height: 350px;
                border-radius: 15px;
                object-fit: cover;
                display: block;
            }
        }

        @media (min-width: 1024px) {
            padding: 40px;
        }
    }
}

/* Ajustes responsive */
@media (max-width: 768px) {
    #map {
        h2 {
            text-align: center;
            padding-left: 0;
            width: 100%;
            position: static;
            left: 0;
            margin-top: 0;
        }

        .contenedor_principal {
            flex-direction: column;
            margin-top: 10px;
            
            .map-container,
            .video-container {
                max-width: 100%;
            }

            iframe,
            video {
                height: 300px;
            }
        }
    }
}

#map::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white-transparent);
    z-index: -1;
}

/* Footer */
footer {
    background: linear-gradient(135deg, rgb(94, 94, 94), rgba(206, 205, 205), rgb(152, 151, 151), rgb(173, 173, 173), rgb(103, 103, 103));
    position: sticky;
    background-size: 200% 110%; 
    animation: shine;
    padding: 30px 0;
    text-align: center;

    .contentFooter {
        display: flex;
        margin: 0 auto;
        width: 50%;
        justify-content: space-between;

        .redes, .contacto {
            img {
                width: 60px;
                height: auto;
                margin: 0 5px;
            }
        }

        .contacto {
            a {
                color: #0056b3;
            }
        }
    }

    h2 {
        font-size: 2rem;
        padding: .5rem 0;
        color: #d1a7a0;
        text-shadow: var(--white-glow), var(--pink-glow);
    }

    form {
        margin: 0 auto

    }

    input[type="email"] {
        padding: 10px;
        margin: 1rem auto;
        width: 300px;
        max-width: 100%;
        border: none;
        border-radius: 5px;
    }

    .btn {
        padding: 10px 10px !important;
        margin: 1rem 0;
        background-color: #fff !important;
        color: #cd557c !important;
        border: 2px solid #cd557c !important;
        border-radius: 5px !important;
        cursor: pointer !important;
        font-size: 1rem !important;

        /* Evitar que el botón se vea azul cuando se enfoca */
        &:focus {
            outline: none !important;
            box-shadow: 0 0 5px rgba(0, 0, 0, 0.2) !important;
        }

        /* Estilo cuando el botón se presiona */
        &:hover {
            background-color: #cd557c !important;
            color: white !important;
            transition: 0.5s ease-in;
        }
    }
}

/* Espaciado y tamaño uniforme para secciones */
section {
    height: auto; /* Cambiado de 550px a auto para mejor adaptabilidad */
    margin: 70px 0; /* Cambiado de 550px a 70px */
    padding: 0px 0; /* Ajustado de 100px a 50px para mejor proporción */
    position: relative;
}

/* Home section */
#home {
    margin-top: 75px; /* Mantener el espacio superior del home */
    margin-bottom: 70px; /* Ajustado para consistencia */
}

/* Map section */
#map {
    margin-bottom: 70px; /* Ajustado para consistencia */
}

/* Ajuste del contenedor para centrar contenido verticalmente */
.container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar.bg-light {
    background-color: transparent !important; /* Elimina el color de fondo */
}

/* Ajustes para dispositivos móviles */
@media (max-width: 767px) {
    .header {
        padding: 15px 10px; /* Ajusta el padding para pantallas más pequeñas */
    }

    .header-logo {
        max-width: 10%; /* Ajusta el tamaño del logo para pantallas más pequeñas */
    }

    nav {
        margin-left: 0; /* Asegura que el nav se alinee correctamente en pantallas pequeñas */
    }

    #home {
        margin-top: 60px; /* Ajusta el espacio para pantallas más pequeñas */      
        }
      

    #map {
        margin-bottom: 50px; /* Ajusta el espacio para pantallas más pequeñas */
    }

    footer {
        .contentFooter {
            flex-direction: column;
            gap: 2rem;

            .redes, .contacto {
                flex-direction: column;
                align-items: center;

                img {
                    width: 30px;
                    height: auto;
                }
            }

            h2 {
                font-size: 1.5rem;
            }
        }

        p {
            width: 80%;
            font-size: 0.7rem;
            margin: 0 auto;
        }
    }
}

/* Ajustes para tablets */
@media (min-width: 768px) and (max-width: 1024px) {
    .header {
        padding: 18px 15px; /* Ajusta el padding para tablets */
    }

    .header-logo {
        max-width: 8%; /* Ajusta el tamaño del logo para tablets */
    }

    #home {
        margin-top: 75px; /* Ajusta el espacio para tablets */
    }
    


    #map {
        margin-bottom: 60px; /* Ajusta el espacio para tablets */
    }
}

/* Ajustes para pantallas grandes */
@media (min-width: 1025px) {
    .header {
        padding: 20px 30px; /* Mantiene el padding para pantallas grandes */
    }

    .header-logo {
        max-width: 5%; /* Mantiene el tamaño del logo para pantallas grandes */
    }

    #home {
        margin-top: 75px; /* Mantiene el espacio para pantallas grandes */
    }

    #map {
        margin-bottom: 75px; /* Mantiene el espacio para pantallas grandes */
    }
}

/* Estilo general para todos los modales */
.modal-content {
    background-color: rgba(227, 226, 226, 0.95) !important;
    border: 1px solid #888 !important;
}

/* Estilos para las pestañas del panel de administración */
#adminTabs {
    border-bottom: none;
}

#adminTabs .nav-link {
    color: #495057;
    background-color: transparent;
    border: none;
    padding: 1rem 2rem;
    font-weight: 500;
}

#adminTabs .nav-link.active {
    color: #007bff;
    background-color: transparent;
    border-bottom: 3px solid #007bff;
}

#adminTabs .nav-link:hover {
    border-color: transparent;
    color: #007bff;
}

/* Estilos para las tablas */
.table {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.table thead th {
    border-top: none;
    background-color: #f8f9fa;
}

/* Estilos para los botones */
.btn-sm {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
}

.whatsapp-btn {
    background-color: #cd557c; /* Color principal */
    color: #FFFFFF; /* Color del texto */
    border: none; /* Sin borde */
}

.whatsapp-btn:hover {
    background-color: #b04b6d; /* Color más oscuro para el hover */
}

.offer-timer-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 5px;
    margin-top: 5px;
}

.offer-timer-item {
    text-align: center;
    background-color: #cd557c;
    color: #fff;
    padding: 10px;
    border-radius: 5px;
    min-width: 30px;
}

.offer-timer-item span {
    display: block;
    font-size: 1rem;
    font-weight: bold;
}

.offer-timer-item p {
    margin: 0;
    font-size: 0.55rem;
}
.special-opening-banner {
    position: fixed !important;
    top: 50% !important; /* Centrado vertical */
    left: 20px !important; /* Espacio desde el lado izquierdo */
    transform: translateY(-50%) !important; /* Centrado vertical */
    width: 300px !important; /* Ancho del banner */
    background-color: #b04b6d !important; /* Color de fondo */
    padding: 20px !important; /* Espaciado interno */
    border-radius: 10px !important; /* Bordes redondeados */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2) !important; /* Sombra */
    z-index: 1000 !important; /* Asegúrate de que esté por encima de otros elementos */
}

.banner-content, h3 {
    color: white; /* Color del texto */
}

.banner-content h3 {
    font-size: 1.2rem; /* Tamaño del título */
    margin-bottom: 15px; /* Espaciado inferior */
}

.banner-content p {
    font-size: 1rem; /* Tamaño del texto */
    margin: 5px 0; /* Espaciado entre párrafos */
}

.close-banner {
    position: absolute;
    top: 0px;
    right: 7px;
    background: transparent;
    border: none;
    color: white; /* Color del botón de cierre */
    font-size: 30px;
    cursor: pointer;
}

.close-banner:hover {
    color: red; /* Color al pasar el mouse */
}



