/*-------------------------------- root --------------------------------*/
:root{
    --white: #d3d3d3;
    --black: #000000;

    --redSa: #AD2A30;
    --red: #DD0B2A;
    --yellow: #FFB222;
    --orange: #F58F21;
    --redSa2: #B94538;
    --brown:#552F1A;

    /* --fs--SuperTitle: clamp(52px, calc(2.8vw + 1.8rem), 80px); */
    --fs--SuperTitle: clamp(34px, 5vw + 1rem, 80px);
    /* --fs--Title: clamp(40px, calc(2.2vw + 1.2rekm), 68px); */
    --fs--Title: clamp(26px, 4vw + 1rem, 68px);
    /* --fs--SubTitle: clamp(30px, calc(1vw + 1.2rem), 46px); */
    --fs--SubTitle: clamp(22px, 3vw + 1rem, 46px);
    /* --fs--Text: clamp(1.4rem, 2.6vw, 1.725rem); */
    --fs--Text: clamp(1rem, 2vw + 0.5rem, 1.725rem);
    /* --fs--TextNav: 	clamp(1rem, 1.7vw, 1.2rem); */
    --fs--TextNav: clamp(0.875rem, 1.5vw, 1.2rem);
}

@font-face {
    font-family: 'latoRegular';
    src: url(./Lato-Regular.ttf);
    font-display: swap;
}

@font-face {
    font-family: 'latoBlack';
    src: url(./Lato-Black.ttf);
    font-display: swap;
}

@font-face {
    font-family: 'arvo';
    src: url(./Arvo-Bold.ttf);
    font-display: swap;
}


html {
    scroll-behavior: smooth;
}

body{
    margin: 0;
    padding: 0;
    background-color: var(--white);
}

p:hover{
    cursor: default;
}


/*-------------------------------- Scroll Bar --------------------------------*/
/* Works on Firefox */
* {
    scrollbar-width:thin;
    scrollbar-color: var(--brown) var(--white);
}

/* Works on Chrome, Edge, and Safari */
*::-webkit-scrollbar {
    width: 15px;
}

*::-webkit-scrollbar-track {
    background: var(--white);
}

*::-webkit-scrollbar-thumb {
    background-color: var(--brown);
    border-radius: 0px;
    border: 0px solid var(--white);
}

.reveal-home {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    will-change: opacity, transform;
}

.reveal-home.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    will-change: opacity, transform;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}


/*-------------------------------- loader --------------------------------*/
#hiddenBody{
    overflow:hidden;
}

#loader {
    padding: 0;
    margin: 0;
    width: 100vw;
    height: 100lvh;
    background:var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;

    transition: opacity 0.3s ease;
}

.logoLoader{
    width: 10vw;
    animation: breathe 2s ease-in-out infinite;
}


@keyframes breathe {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.05); 
        opacity: 1; 
    }
    100% {
        transform: scale(1);
        opacity: 0.7;
    }
}

#loader.fade-out {
    opacity: 0;
    pointer-events: none;
}


/*-------------------------------- nav --------------------------------*/
.navSelected{
    color: var(--yellow) !important;
}

header{
    width: 100vw;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin: auto;
    padding-top: 20px;
    padding-bottom: 20px;
    position: fixed;
    z-index: 800;
    background: linear-gradient(180deg,rgba(0, 0, 0, 0.5) 100%, rgba(0, 0, 0, 0) 100%);

    transition: all 0.3s ease-in-out;
}

header.scrolled {
    background: linear-gradient(180deg,rgba(0, 0, 0, 0) 10%, rgba(0, 0, 0, 0) 100%);
    background-color: var(--brown);
    padding-top: 10px;
    padding-bottom: 10px;
}

.logoNav{
    width: 5%;
    object-fit: contain;
    margin-left: 9vw;

    transition: all 0.3s ease-in-out;
}

.logo-scroll{
    width: 4%;
}


/*-------------------------------- Menu Trigger--------------------------------*/
.menu-trigger {
    position: relative;
    width: 60px;
    height: 60px;
    margin-left: 2.5vw;
    margin-top: auto;
    margin-bottom: auto;
    cursor: pointer;
    z-index: 801; 
}

.menu-trigger img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1); 
    backface-visibility: hidden; 
}

.menu-trigger img:first-child {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

.menu-trigger img:last-child {
    opacity: 0;
    transform: rotate(-180deg) scale(0.5);
}

.menu-trigger.is-active img:first-child {
    opacity: 0;
    transform: rotate(180deg) scale(0.5);
}

.menu-trigger.is-active img:last-child {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 30vw;
    height: 100vh;
    background-color: var(--brown);
    transform: translateX(-100%);
    transition: all 0.3s ease-in-out;
    visibility: hidden;
    display: flex;
    flex-direction: column;
    z-index: 700;

    box-shadow: 3px 0px 5px 1px rgba(25, 25, 24, 0.26);
    -webkit-box-shadow: 3px 0px 5px 1px rgba(25, 25, 24, 0.26);
    -moz-box-shadow: 3px 0px 5px 1px rgba(25, 25, 24, 0.26);
}

.mobile-nav ul {
    list-style: none;
    margin: 0px;
    margin: auto;
    padding: 0px;
    margin-left: 2.5vw;
}

.mobile-nav a {
    color: var(--white);
    text-decoration: none;
    font-size: var(--fs--Text);
    font-family: 'latoBlack';
    display: block;
    padding: 1rem 0;
    transition: all 0.3s ease-in-out;
}

.mobile-nav a:hover{
    color: var(--orange);
    font-size: calc(var(--fs--Text) + 4px);
    transition: all 0.3s ease;
}

.mobile-nav.is-active {
    transform: translateX(0);
    visibility: visible;
}

.logoNavMov{
    display: none;
}


/*-------------------------------- botonLenguaje --------------------------------*/
.divIdiomaContactContainer{
    display: flex;
    gap: 30px;
    z-index: 701;
    margin-right: 2.5vw;
}

.language-wrapper {
    display: flex;
    align-items: center;
    gap: 16px;
    cursor: pointer;
}

.flag-icon {
    width: 70px;
    height: auto;
}

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 24px;
}

.switch input { 
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--redSa); /* Color gris cuando está a la izquierda (EN) */
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 10px;
    bottom: 4px;
    background-color: var(--white);
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: var(--orange);
}

input:checked + .slider:before {
    transform: translateX(26px); /* Mueve el círculo a la derecha */
}


/*-------------------------------- contactUsNav --------------------------------*/
.contactUsNav{
    margin-top: auto;
    margin-bottom: auto;
    font-size: var(--fs--TextNav);
    font-family: 'latoBlack';
    color: var(--white);
    text-decoration: none;
}

.contactUsNav:hover{
    color: var(--orange);
}


/*-------------------------------- home --------------------------------*/
.video-contenedor{
    width: 100vw;
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.video-contenedor::before {
    content: '';

    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background-color: lab(0% 0 0 / 0.5);

    z-index: 0;
}

.video-fondo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

/* 3. El contenido de encima */
.contenido-encima {
    /* Asegura que el contenido esté por encima del video */
    /* (Aunque z-index: -1 en el video suele ser suficiente,
       esto lo hace más robusto) */
    position: absolute;
    z-index: 1;

    /* Solo para centrar el texto de ejemplo */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    color: var(--white);
}

.titleHome{
    font-size: var(--fs--SuperTitle);
    font-family: 'arvo';
    text-align: center;
    color: var(--white);
    margin: 0px;
}

.subTitleHome{
    font-size: var(--fs--SubTitle);
    font-family: 'latoBlack';
    text-align: center;
    color: var(--white);
    margin: 0px;
    width: 32%;
}

.contenidoAbajo{
    position: relative;
}




/*-------------------------------- auctionSchedule --------------------------------*/
.auctionSchedule{
    padding-top: 13%;
    padding-bottom: 13%;
    display: flex;
    flex-direction: row;
    text-align: left;
    justify-content: space-evenly;

    background-image: url(./auctionScheduleImg.webp);
    background-size: cover;
    background-position: center;
}

.glass-card{
    justify-content: center;
    text-align: center;
    margin-top: 40px;
    margin-bottom: 40px;
    width: 40%;
}
.auctionScheduleTitle{
    font-size: var(--fs--SubTitle);
    font-family: 'arvo';
    margin: auto;
    margin-bottom: 40px;
    color: var(--white);
    text-shadow: 1px 1px 20px #552F1A;
}

.auctionScheduleText2{
    font-size: var(--fs--Text);
    font-family: 'latoRegular';
    margin: auto;
    margin-bottom: 30px;
    color: var(--white);
    text-shadow: 1px 1px 20px #552F1A;
    width: 70%;
}

.auctionScheduleText{
    font-size: var(--fs--Text);
    font-family: 'latoRegular';
    margin: auto;
    margin-bottom: 16px;
    color: var(--white);
    text-shadow: 1px 1px 20px #552F1A;
    width: 70%;
}

.auctionScheduleButton{
    font-size: var(--fs--Text);
    font-family: 'latoBlack';
    margin: auto;
    max-width: max-content;
    margin-top: 30px;
    padding: 0.5em 1.5em;
    border-radius: 30px;
    transition: all 0.3s ease-in-out;
    text-shadow: 1px 1px 20px #552F1A;
    background-color: var(--redSa2);
    color: var(--white);
    border: none;
    transition:  all 0.3s ease-in-out;
}

.auctionScheduleButton:hover{
    cursor: pointer;
    background-color: var(--redSa);
    color: #FFFFFF;
    scale: 1.06;
}

.frameCalendario{
    width: 40vw;
    height: auto;
    border-radius: 8px;
}


/*-------------------------------- footer --------------------------------*/
footer{
    display: flex;
    flex-direction: column;
    background-color: var(--brown);
    padding-top: 10%;
    padding-left: 2.5%;
}

.contactFooterTitle{
    font-size: var(--fs--SubTitle);
    font-family: 'arvo';
    margin: 0;
    margin-bottom: 18px;
    color: var(--white);
}

.textFooter{
    font-size: var(--fs--Text);
    font-family: 'latoBlack';
    display: block;
    color: var(--white);
    width: max-content;
    margin-bottom: 12px;
}

.textFooter:hover{
    color: var(--orange);
}

.logoFooter{
    width: 8%;
    margin-top: 2%;
    margin-bottom: 2%;
}

.copyFooter{
    font-size: var(--fs--TextNav);
    font-family: 'latoRegular';
    color: var(--white);
    margin-bottom: 50px;
}

.svgFooter{
    margin-right: 10px;
}

/*-------------------------------- responsive --------------------------------*/
@media screen and (max-width: 1730px){

}

@media screen and (max-width: 1200px){
    /*-------------------------------- auctionSchedule --------------------------------*/
    .auctionSchedule{
        justify-content: space-around;
    }

    .glass-card{
        width: 45%;
    }

    .auctionScheduleText2{
        margin-bottom: 20px;
        width: 90%;
    }

    .auctionScheduleText{
        margin-bottom: 16px;
        width: 90%;
    }

    .auctionScheduleButton:hover{
        scale: 1.06;
    }

    .frameCalendario{
        width: 45vw;
    }
}

@media screen and (max-width: 900px){
    /*-------------------------------- auctionSchedule --------------------------------*/
        .auctionSchedule{
            justify-content: center;
            flex-direction: column;
        }

        .glass-card{
            width: 60vw;
            margin: auto;
            margin-bottom: 60px;
        }

        .auctionScheduleText2{
            margin-bottom: 20px;
            width: 90%;
        }

        .auctionScheduleText{
            margin-bottom: 16px;
            width: 90%;
        }

        .frameCalendario{
            width: 60vw;
            height: 54vh;
            margin: auto;
        }
}

@media screen and (max-width: 700px){
    /*-------------------------------- auctionSchedule --------------------------------*/
    .glass-card{
        width: 90vw;
    }

    .auctionScheduleText2{
        width: 95%;
    }

    .auctionScheduleText{
        width: 90%;
    }

    .auctionScheduleButton{
        width: 100%;
        max-width: 100%;
    }

    .auctionScheduleButton:hover{
        scale: 1;
    }

    .frameCalendario{
        width: 90vw;
        height: 64vh;
    }
}


/*-------------------------------- responsiveCom--------------------------------*/
@media screen and (max-width: 1800px) {
    /*-------------------------------- nav --------------------------------*/
    .logoNav{
        margin-left: 9.5vw;
    }
}


@media screen and (max-width: 1400px) {
    /*-------------------------------- nav --------------------------------*/
    .logoNav{
        margin-left: 12.8vw;
    }
}


@media screen and (max-width: 1300px){

    /*-------------------------------- nav --------------------------------*/
    .logoNav{
        width: 6.5%;
        margin-left: 13.5vw;
    }

    .logo-scroll{
        width: 5.5%;
    }


    /*-------------------------------- footer --------------------------------*/
    .logoFooter{
        width: 12%;
    }


}


@media screen and (max-width: 1200px){
    /*-------------------------------- nav --------------------------------*/
    .logoNav{
        width: 8%;
        margin-left: 15vw;
    }
}


@media screen and (max-width: 1100px){

    /*-------------------------------- loader --------------------------------*/
    .logoLoader{
        width: 20vw;
    }

    /*-------------------------------- nav --------------------------------*/
    .logoNav{
        width: 8%;
        margin-left: 14.8vw;
    }

    .logo-scroll{
        width: 6%;
    }

    /*-------------------------------- Menu Trigger--------------------------------*/
    .menu-trigger {
        position: relative;
        width: 70px;
        height: 70px;
        margin-left: 2.5vw;
        margin-top: auto;
        margin-bottom: auto;
        cursor: pointer;
        z-index: 801; 
    }


    .mobile-nav {
        width: 50vw;
        height: 100vh;
    }

    .mobile-nav ul{
        padding-top: 50px;
    }
}


@media screen and (max-width: 800px){
    /*-------------------------------- nav --------------------------------*/
    .logoNav{
        width: 10%;
        margin-left: 16.5vw;
    }

    .logo-scroll{
        width: 8%;
    }

    /*-------------------------------- Menu Trigger--------------------------------*/
    .menu-trigger {
        position: relative;
        width: 70px;
        height: 70px;
        margin-left: 2.5vw;
        margin-top: auto;
        margin-bottom: auto;
        cursor: pointer;
        z-index: 801; 
    }


    .mobile-nav {
        z-index: 705;
        width: 60vw;
    }

    .mobile-nav ul{
        padding-top: 50px;
    }



    /*-------------------------------- botonLenguaje --------------------------------*/
    .flag-icon {
        width: 60px;
        height: auto;
    }


    /*-------------------------------- footer --------------------------------*/
    .logoFooter{
        width: 16%;
        margin-top: 4%;
        margin-bottom: 4%;
    }
}


@media screen and (max-width: 700px){

    /*-------------------------------- loader --------------------------------*/
    .logoLoader{
        width: 30vw;
    }

    .logoNav{
        display: none;
    }


    /*-------------------------------- Menu Trigger--------------------------------*/
    .menu-trigger {
        width: 55px;
        height: 55px;
        margin-left: 2.5vw;
    }


    .mobile-nav {
        width: 100vw;
    }

    .mobile-nav ul {
        margin: auto;
        text-align: center;
        padding-top: 0px;
    }

    .mobile-nav a {
        padding: 0.8rem 0;
        font-size: calc( var(--fs--Text) + 5px);
    }

    .logoNavMov{
        display: block;
        width: 20%;
        margin: auto;
        margin-bottom: 1rem;
    }


    /*-------------------------------- botonLenguaje --------------------------------*/
    .flag-icon {
        width: 55px;
    }

    /*-------------------------------- home --------------------------------*/
    .titleHome{
        width: 90%;
    }

    /*-------------------------------- footer --------------------------------*/
    .logoFooter{
        width: 20%;
    }
}