@font-face {
    font-family: serv;
    src: url(./assets/NotoSans-VariableFont_wdth\,wght.ttf);
}

:root {
    --rojo-fresa: #cb4154;
    --gris-oscuro: #292929;
    --gris-pers: #6e6e6e;
    --gris-card: #d8d8d8;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: serv;
}

body {
    background-color: #ffffff;
    height: 100%;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding-top: 5vh;
}

#navigate {
    width: 100vw;
    height: 5vh;
    background-color: var(--gris-pers);
    display: flex;
    align-items: center;
    justify-content: end;
    position: fixed;
    top: 0;
    z-index: 1000;
}

.titlic {
    height: 80%;
    cursor: pointer;
    margin: 0 10px 0 10px;
}

a:has(.titlic) {
    display: contents;
    color: inherit;
    text-decoration: none;
    outline: none;
}

.titlic:hover {
    transform: translateY(-2px);
}

.titlic:active {
    filter: invert(1);
}

#title {
    margin-top: 10px;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

.slider-contenedor {
    position: relative;
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
}

.slider-pantalla {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

.slider-pantalla::-webkit-scrollbar {
    display: none;
}

.diapositiva {
    flex: 0 0 100%;
    scroll-snap-align: start;
}

.diapositiva img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    display: block;
}

.slider-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
    padding: 10px;
    border-radius: 12px;
    background-color: #ffffff;
}

.circulo {
    width: 12px;
    height: 12px;
    background-color: var(--gris-pers);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.circulo.activo, .circulo:hover {
    background-color: #cb4154;
    transform: scale(1.2);
}

.subt2 {
    margin-bottom: 30px;
    font-family: 'Inter', sans-serif;
    color: #86222e;
}

#mix {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: stretch; 
    gap: 30px;              
    padding: 0 15px;        
}

.seccion-mapa, #contactSpace {
    background-color: var(--gris-card);
    border-radius: 12px;
    padding: 25px 20px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    box-sizing: border-box;
}

.seccion-mapa {
    flex: 2;
    justify-content: space-between;
    gap: 20px;
}

#contactSpace {
    flex: 1;                
    max-width: 420px;       
    justify-content: center;
    gap: 20px;
    align-items: center;
}

.contenedor-mapa {
    width: 100%;            
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px #292929;
}

.contenedor-mapa iframe {
    width: 100%;
    height: 400px;
    border: 0;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

#maplink {
    color: rgb(0, 0, 0);
    margin-top: 13px;
    text-align: center;
}
#maplink:hover {
    filter: invert(1);
}

.subt2 {
    color: #cb4154;
    font-size: 1.5rem;
    margin-bottom: 5px;
    text-align: center;
}

.csCard {
    display: flex;
    justify-content: center;
    align-items: center;
    color: #333333;
    cursor: pointer;
    transition: transform 0.2s ease, color 0.2s ease;
}

.csCard:hover {
    color: #cb4154;
    transform: scale(1.02);
}

.csCard img {
    width: 1.5rem;
    height: auto;
    margin-right: 10px;
}

.csCard h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
}

#miscInfo {
    background-color: #292929;
    width: 100%;
    display: flex;
    flex-direction: row;
    box-sizing: border-box;
    min-height: 30vh;
    justify-content: center;
    align-items: center;
    margin-top: 40px;       
    padding: 40px 20px;
}

#miscInfo * {
    color: rgb(190, 190, 190);
}

.sepM {
    margin: 10px 30px;
    width: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

#socials {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 15px;
    gap: 7px;
}

#socials a {
    display: inline-block;
    transition: transform 0.2s ease;
}

#socials a:hover {
    transform: scale(1.1);
}

#socials img {
    width: 40px;
    height: auto;
    display: block;
    filter: invert(1);
}

#socials img:active {
    filter: invert(0);
}

html, body {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

html::-webkit-scrollbar, 
body::-webkit-scrollbar {
    display: none;
}

.lineadec {
    width: 100%;
    border: none;
    border-top: 1px solid #cb4154;
    margin: 20px 0;
}

#estado-tienda {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
}

.estado-abierto {
    background-color: #d1e7dd;
    color: #0f5132;
    padding: 6px 12px;
    border-radius: 20px;
    border: 1px solid #badbcc;
}

.estado-cerrado {
    background-color: #f8d7da;
    color: #842029;
    padding: 6px 12px;
    border-radius: 20px;
    border: 1px solid #f5c2c7;
}

@media (max-width: 768px) {
    #mix {
        flex-direction: column; 
        align-items: center;
        gap: 25px;
    }

    #contactSpace, .seccion-mapa {
        width: 100%; 
        max-width: 500px;
        margin: 0;
    }

    .seccion-mapa {
        align-items: center;
    }

    .contenedor-mapa {
        width: 100%; 
    }

    .contenedor-mapa iframe {
        height: 300px; 
    }

    #miscInfo {
        flex-direction: column; 
        gap: 30px;
    }
    
    .sepM {
        margin: 10px 0;
    }
    #title img {
        width: 85% !important; 
        max-width: 320px !important; 
        height: auto !important; 
    }
    
    #title h3 {
        font-size: 0.95rem; 
        padding: 0 10px;
        text-align: center;
    }

    .cardSpace {
        height: auto !important;
        flex-direction: column-reverse !important; 
        justify-content: center !important;
        padding: 30px 15px !important;
        gap: 25px !important;
    }

    .contenedor-fade-scroll {
        width: 100% !important;
        max-width: 100% !important;
        height: 250px !important;
        display: block !important;
    }

    .imagen-fade-scroll {
        width: 100% !important;
        height: 100% !important;
        opacity: 1 !important; /* Asegura visibilidad si fallaba el script de fade en móvil */
    }

    .txtSpace {
        padding: 10px 5px !important;
        width: 100% !important;
    }

    .txtSpace h2 {
        font-size: 1.45rem !important;
    }

    .txtSpace p {
        font-size: 1rem !important;
        line-height: 1.5 !important;
    }
}

.cardSpace {
    width: 100%;
    height: 400px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 30px;
    flex-direction: row;
}

.contenedor-fade-scroll {
    width: 100%;
    max-width: 600px;
    height: 350px;
    overflow: hidden;
    border-radius: 12px;
    margin: 0;
}

.imagen-fade-scroll {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1);
    opacity: 0;
    transition: transform 0.15s ease-out, opacity 0.15s ease-out;
}

.txtSpace {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
    text-align: center;
    gap: 10px;
    flex: 1;
}

.txtSpace h2 {
    font-size: 1.85rem;
}

.txtSpace p {
    font-size: 1.125rem;
}