:root{
    --color-1: #fff;
    --color-2: #222;
}
*,
*::before,
*::after {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
#advertenciaEscritorio{
    display:none;
}
#contenidoMovil{
    display:block;
}
body {
    padding: 0;
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: var(--color-2);
    background-image: url(./images/speysideBackground.webp);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    width: 100%;
    height: 100vh;
    color: var(--color-1);
}
.medieval {
  font-family: "MedievalSharp", cursive;
  font-weight: 700;
  font-style: normal;
      text-shadow:
        /* Ejes principales */
        2px  0px 0 black,
       -2px  0px 0 black,
        0px  2px 0 black,
        0px -2px 0 black,
        /* Diagonales */
        1.5px  1.5px 0 black,
       -1.5px  1.5px 0 black,
        1.5px -1.5px 0 black,
       -1.5px -1.5px 0 black;
}
.stack {
  font-family: "Stack Sans Headline", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  line-height: 1.8;
  letter-spacing: 2px;
  word-spacing: 10px;
}
.tWhite{
    color: #fff;
}
.tBlack{
    color: #222;
}
.tCenter{
    text-align: center;
}
.titulo{
    font-size: 3rem;
    font-weight: 700;
}
.menu1{
    font-size: 2rem;
    font-weight: 700;
}
.menu2{
    font-size: 1.2rem;
    font-weight: 400;
}
.menu3{
    font-size: 4rem;
    font-weight: 700;
    margin: 0;
}
#welcome{
    width:100vw;
    height:100dvh;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    padding:0 5vw;
    box-sizing:border-box;
    text-align:center;
}

#welcome .intro{
    font-size:1.8rem;
    margin-bottom:3vh;
    line-height:1.5;
    color: #fff;
    opacity:0;
    filter:blur(6px);
    transform:translateY(10px);
    transition:
        opacity 1.5s ease,
        filter 1.5s ease,
        transform 1.5s ease;
}
#welcome .intro.visible{
    opacity:1;
    filter:blur(0);
    transform:translateY(0);
}
#welcome .fit{
    display: inline-block;
    margin:0;
    line-height:.9;
    white-space:nowrap;
    font-weight:400;
    opacity:0;
    filter: blur(12px);
    transform:
        translateY(35px)
        scale(.96);
    transition:
        opacity 2.5s ease,
        filter 2.5s ease,
        transform 2.5s cubic-bezier(.2,.8,.2,1);
}
#welcome .fit.visible{
    opacity:1;
    filter:blur(0);
    transform:
        translateY(0)
        scale(1);
}
#scene{
    position: relative;
}
#bottleSmoked{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: sticky;
    top: 20px;
    z-index: 2;
    margin-bottom: 80px;
}
#bottleSmoked img{
    width: 80%;
    display: block;
}
#contenido{
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: center;
    background-color: brown;
}
#objetivo{
    background-color: #f8d1a4;
}
#objetivo p{
    text-align: left;
    padding: 80px 20px;
    font-size: x-large;
}
.gridFotos{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}
.gridFotos img{
    width: 100%;
    height: auto;
}
#geo a{
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    margin-top: 30px;
    text-decoration: none;
}
#geo p{
    line-height: 1.8;
    font-size: large;
}
#geo svg{
    animation:markerBounce 1.8s infinite;
    transform-origin:center bottom;
}
#fachada img{
    width: 100%;
    display: block;
}
@keyframes markerBounce{
    0%,100%{
        transform:translateY(0) scaleY(1);
    }
    10%{
        transform:translateY(0) scaleY(.9);
    }
    30%{
        transform:translateY(-16px) scaleY(1.05);
    }
    45%{
        transform:translateY(0) scaleY(.95);
    }
    60%{
        transform:translateY(-8px);
    }
    75%{
        transform:translateY(0);
    }
}
.descriptClaro p{
    color: #ffd7c4;
    line-height: 1.8;
    padding: 10px;
}
.losWhiskies{
    width:100%;
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:40px;
    padding-top: 30px;
    padding-bottom: 70px;
    background-color: #a74001;
}
.whisky{
    width:100%;
    display:flex;
    flex-direction:column;
    align-items:center;
}
/* Contenedor de la imagen */
.whiskyImg{
    position:relative;
    width:60%;
}

/* La imagen ahora genera la altura */
.whiskyImg img{

    position: relative;
    z-index: 1;

    width:100%;
    height:auto;
    display:block;
    object-fit:contain;

    opacity:0;
    transition:opacity .4s;
}

/* La máscara ocupa exactamente el tamaño de la imagen */
.whiskyImg .mask{
    position:absolute;
    inset:0;

    z-index: 2;

    background:#301103;

    mask:var(--img) center / contain no-repeat;
    -webkit-mask:var(--img) center / contain no-repeat;

    opacity:1;
    transition:opacity .4s;

    pointer-events:none;
}



.whiskyImg::after{
    content:"?";
    position:absolute;
    inset:0;

    display:flex;
    justify-content:center;
    align-items:center;

    color:white;
    font-size:5rem;
    font-weight:bold;

    text-shadow:0 0 10px rgba(0,0,0,.7);

    pointer-events:none;
    opacity:1;
    transition:opacity .4s;
    transform:translateY(50px);
    z-index: 3;
}

.whisky.reveal .whiskyImg::after{
    opacity:0;
}




/* Estado visible */
.whisky.reveal img{
    opacity:1;
}

.whisky.reveal .mask{
    opacity:0;
}

/* Descripción */

.whiskieDescrip{

    width:80%;

    max-height:0;
    overflow:hidden;

    opacity:0;

    transform:translateY(-15px);

    transition:
        max-height .5s ease,
        opacity .35s ease,
        transform .35s ease;

}

/* Cuando está abierta */

.whisky.reveal .whiskieDescrip{

    max-height:600px;      /* suficiente para el texto */

    opacity:1;

    transform:translateY(0);

    margin-top:20px;

}

.whiskyName{
    font-size:1.5rem;
    font-weight:bold;
    margin-bottom:10px;
    text-align: center;
}

.whiskyDetail{
    line-height:1.5;
    text-align: justify;
    padding: 20px 0 30px 0;
}


#importanteWSP{
    width: 100%;
    padding: 15px 15px 50px 15px;
}
#importanteWSP a{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: #222;
    font-size: larger;
}
#importanteWSP svg{
    margin-left: 10px;

    animation: whatsappGlow 3s ease-in-out infinite;
    transform-origin: center;
}

@keyframes whatsappGlow{

    0%, 86%, 100%{
        transform: scale(1);
        filter: drop-shadow(0 0 0 rgba(37,211,102,0));
    }

    89%{
        transform: scale(1.18);
        filter: drop-shadow(0 0 6px rgba(24,155,72, 0.7));
    }

    92%{
        transform: scale(.96);
        filter: drop-shadow(0 0 18px rgba(24,155,72,.9));
    }

    95%{
        transform: scale(1.12);
        filter: drop-shadow(0 0 8px rgba(24,155,72,.6));
    }

    98%{
        transform: scale(1);
        filter: drop-shadow(0 0 0 rgba(37,211,102,0));
    }

}

/* PARA LIGHTBOX GLENCA */

.glencaTrigger{
    all: unset;
    cursor: pointer;
}

.glencaTrigger strong{
    color: inherit;
    font-weight: bold;
    text-decoration: underline;
    text-decoration-style: dotted;
}
.glencaTrigger strong::after{
    content: "  ⓘ";
    display: inline-block;
    font-size: .72em;
    color: #88543c;
    transform: translateY(-3px);
    margin-left: 2px;
}
#glencaLightbox{
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.85);

    display: flex;
    justify-content: center;
    align-items: center;

    opacity: 0;
    visibility: hidden;

    transition: .3s ease;

    z-index: 9999;
}

#glencaLightbox.active{
    opacity: 1;
    visibility: visible;
}

.glencaContent{
    width: min(90%,500px);
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    position: relative;
}

.glencaContent img{
    width: 100%;
    display: block;
    border-radius: 8px;
    margin-bottom: 15px;
}

.glencaContent p{
    color: #333;
    margin: 0;
    text-align: center;
}

.closeGlenca{
    position: absolute;
    top: 10px;
    right: 10px;

    border: none;
    background: none;
    color: #222;

    font-size: 2rem;
    cursor: pointer;
}
#reservas{
    margin: 80px 0 40px 0;
}

#disponibles{
    width: 100%;
    margin-bottom: 50px;
    font-size: larger;
}
.cta{
    text-align: center;
    font-size: 2rem;
    font-weight: bolder;
    line-height: 1.5;
}
#botonReservar{
    margin-bottom: 50px;
}
.eventoCompleto{
    display:none;
}
.bannerIconos{
    display: flex;
    width: 100%;
    justify-content: space-around;
    align-items: center;
    gap: 10px;
    padding: 50px 10px 50px 10px;
    background-color: #e85d04;
}
.bannerIconos img{
    height: clamp(80px, 15vw, 200px);
    width: auto;
}

footer{
    padding: 20px 10px 20px 10px;
    text-align: center;
    color: #633b16;
}


@media (min-width: 1024px) {


    #advertenciaEscritorio{
        display:flex;
        flex-direction:column;
        justify-content:center;
        align-items:center;
        height:100vh;
        padding:40px;
        text-align:center;
        background:#111;
        color:white;
    }

    #contenidoMovil{
        display:none;
    }

}