/* Fuente moderna */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transform-style: preserve-3d;
}

body, html {
    width: 100%;
    height: 100%;
    font-family: 'Poppins', sans-serif;
    transform-style: preserve-3d;
   /* overflow: scroll;*/
}

/* Contenedor principal */
.main-container {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    transform-style: preserve-3d;
    padding-bottom: 60px; /* Añadir espacio para que no se superponga al footer */
}

/* Imagen responsive */
.responsive-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    z-index: -1;
}

/* Efecto parallax (solo en pantallas grandes) */
@media (min-width: 1024px) {
    .responsive-image {
        background-attachment: fixed;
        object-fit: contain;
    }
}

/* Contenedores compactos para botones 
.button-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
    position: absolute;
    padding: 10px 0;
}

/* Botones superiores pegados al margen superior 
.top-buttons {
    top: 0;
}*/

.button-wrapper {
    display: flex;
    justify-content: center; /* Centra los botones dentro del contenedor */
    width: 100%;
    position: relative;
    padding: 10px 0;
    flex-direction: column;
    flex-wrap: wrap;
     /* Asegura que los botones se apilen verticalmente */
}


.button-group {
    display: flex;
    justify-content: flex-end; /* Alinea los botones a la 
    012 1|  1|derecha dentro de su grupo */
    gap: 10px; /* Espacio entre los botones */
    width: 100%;
    padding: 10px 20px;
   /* background: rgba(0, 0, 0, 0.5);*/
    border-radius: 10px;
    flex-wrap: nowrap;


justify-content: center
}


.button-wrapper.top-buttons {
    margin-bottom: 20px;
}
/* Botones inferiores */
.bottom-buttons {
    bottom: 5%;
}

/* Grupo de botones */


/* Estilizado de botones */
.btn {
    font-size: 16px;
    color: #fff;
    background-color: rgba(97, 0, 0, 0.8);
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: rgba(97, 0, 0, 0.8);
    transform: translateY(-2px);
}

/* Footer transparente */
footer {
    width: 100%;
    padding: 5px 20px;
    color: #4b4b4b;
    background-color: transparent;
    display: flex;
   /*/ justify-content: space-between;*/
    align-items: center;
    position: fixed; /* Cambiar a fixed */
    bottom: 0;
    font-size: 14px;
    flex-wrap: nowrap;
    justify-content: center;
    z-index: 40; /* Asegurarse de que esté por encima del contenido */
text-align: center;
    padding: 10px 20px; /* Añade espacio alrededor del footer */
    min-height: 60px; /* Asegura que el footer tenga suficiente altura */
    margin-top: 20px;
}


.about-btn {
    font-size: 14px;
    color: #fff;
    background-color: #333;
    padding: 6px 14px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.about-btn:hover {
    background-color: #555;
}

/* Modal con efecto de desvanecimiento */
.modal {
    display: none;
    position: fixed;
    z-index: 100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    animation: fadeIn 0.5s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-content {
    background-color: white;
    padding: 20px;
    width: 50%;
    max-width: 600px;
    margin: 15% auto;
    border-radius: 10px;
    text-align: center;
}

.close {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 30px;
    cursor: pointer;
}

/* Responsividad 
@media (max-width: 768px) {
    .button-group {
        gap: 5px;
        padding: 8px 15px;
    }

    .btn {
        font-size: 14px;
        padding: 8px 16px;
    }

    footer {
        flex-direction: row; /* Aseguramos que los elementos estén en fila */
     /*   gap: 15px; /* Espacio entre los elementos */
   /*     text-align: center;
        align-items: center; /* Centrado de los elementos */
   /*     padding: 5px 10px; /* Un poco más de espacio alrededor */
     /*   margin-top: 10px; /* Añadir un margen superior para separar mejor del contenido */
      /*  min-height: 40px; /* Aseguramos que el footer tenga altura suficiente */
    /*}

    .modal-content {
        width: 90%;
    }

    /* Asegurar que el main-container tenga suficiente espacio para no solaparse */
   /* .main-container {
        padding-bottom: 100px; /* Aumentamos el espacio inferior para el footer */
    /*}
}*/
@media (max-width: 768px) {
    .button-wrapper {
        flex-direction: row; /* Mantener los botones en fila */
        justify-content: center; /* Centra los botones */
        gap: 10px; /* Espacio entre los botones */
    }

    .btn {
        font-size: 14px;
        padding: 8px 16px;
        max-width: 100%; /* Asegura que los botones no se salgan */
        width: auto; /* Evita que los botones se expandan innecesariamente */
    }

    footer {
       
        gap: 15px; /* Espacio entre los elementos */
        align-items: center;
        display: none; /* Centra los elementos en el eje horizontal */
    }

    footer p {
        font-size: 14px; /* Ajusta el tamaño de fuente si es necesario */
    }

    .modal-content {
        width: 90%;
    }

    .main-container {
        padding-bottom: 100px; /* Añade más espacio inferior para el footer */
    }
    .button-wrapper.top-buttons,
    #footer-navigation {
        display: none;
    }
    .button-wrapper.top-buttons,
    #footer-navigation {
        display: none;
    }

    /* Botón de hamburguesa */
    .menu-hamburguesa {
        display: block;
        position: fixed;
        top: 15px;
        left: 15px;
        background: rgba(0, 0, 0, 0.8);
        color: white;
        border: none;
        padding: 10px 15px;
        font-size: 24px;
        cursor: pointer;
        border-radius: 5px;
        z-index: 2001;
    }

    /* Menú desplegable */
    .menu-desplegable {
        display: none;
        position: fixed;
        top: 50px;
        left: 10px;
        background: rgba(0, 0, 0, 0.9);
        width: 200px;
        border-radius: 10px;
        padding: 10px;
        text-align: center;
        z-index: 2002;
    }

    

    .menu-desplegable a:hover {
        background: rgba(255, 255, 255, 0.2);
    }

    /* Video en móviles */
    .menu-desplegable a {
        display: block;
        padding: 10px;
        color: white;
        text-decoration: none;
        transition: 0.3s;
    }

    .menu-desplegable a:hover {
        background: rgba(255, 255, 255, 0.2);
    }



    
}
@media (max-width: 480px) {
    .button-wrapper {
        flex-direction: row; /* Mantener los botones en fila */
        justify-content: center; /* Centra los botones */
        gap: 10px; /* Espacio entre los botones */
    }

    .btn {
        font-size: 14px;
        padding: 8px 16px;
        max-width: 100%; /* Asegura que los botones no se salgan */
        width: auto; /* Evita que los botones se expandan innecesariamente */
    }

    footer {
       
        gap: 15px; /* Espacio entre los elementos */
        align-items: center; 
        display: none;/* Centra los elementos en el eje horizontal */
    }

    footer p {
        font-size: 14px; /* Ajusta el tamaño de fuente si es necesario */
    }

    .modal-content {
        width: 90%;
    }

    .main-container {
        padding-bottom: 100px; /* Añade más espacio inferior para el footer */
    }
    .button-wrapper.top-buttons,
    #footer-navigation {
        display: none;
    }
   
    #footer-navigation {
        display: none;
    }

    /* Botón de hamburguesa */
    .menu-hamburguesa {
        display: block;
        position: fixed;
        top: 15px;
        left: 15px;
        background: rgba(0, 0, 0, 0.8);
        color: white;
        border: none;
        padding: 10px 15px;
        font-size: 24px;
        cursor: pointer;
        border-radius: 5px;
        z-index: 2001;
    }

    /* Menú desplegable */
    .menu-desplegable {
        display: none;
        position: fixed;
        top: 50px;
        left: 10px;
        background: rgba(0, 0, 0, 0.9);
        width: 200px;
        border-radius: 10px;
        padding: 10px;
        text-align: center;
        z-index: 2002;
    }

    

    .menu-desplegable a:hover {
        background: rgba(255, 255, 255, 0.2);
    }

    /* Video en móviles */
    .menu-desplegable a {
        display: block;
        padding: 10px;
        color: white;
        text-decoration: none;
        transition: 0.3s;
    }

    .menu-desplegable a:hover {
        background: rgba(255, 255, 255, 0.2);
    }



    
}
