/*
Theme Name: Tolosaldea
Author: CBT
Version: 1.0
*/

/* Fuentes */

@font-face {
    font-family: 'HamburgHand';
    src: url('assets/fonts/HamburgHand-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: 'HamburgHand';
    src: url('assets/fonts/HamburgHand-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
}
@font-face {
    font-family: 'HamburgHand';
    src: url('assets/fonts/HamburgHand-Light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'DMSansCustom';
    src: url('assets/fonts/DMSans-Thin.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
}
@font-face {
    font-family: 'DMSansCustom';
    src: url('assets/fonts/DMSans-ThinItalic.ttf') format('truetype');
    font-weight: 100;
    font-style: italic;
}

@font-face {
    font-family: 'DMSansCustom';
    src: url('assets/fonts/DMSans-ExtraLight.ttf') format('truetype');
    font-weight: 200;
    font-style: normal;
}
@font-face {
    font-family: 'DMSansCustom';
    src: url('assets/fonts/DMSans-ExtraLightItalic.ttf') format('truetype');
    font-weight: 200;
    font-style: italic;
}

@font-face {
    font-family: 'DMSansCustom';
    src: url('assets/fonts/DMSans-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}
@font-face {
    font-family: 'DMSansCustom';
    src: url('assets/fonts/DMSans-LightItalic.ttf') format('truetype');
    font-weight: 300;
    font-style: italic;
}

@font-face {
    font-family: 'DMSansCustom';
    src: url('assets/fonts/DMSans-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: 'DMSansCustom';
    src: url('assets/fonts/DMSans-Italic.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
}

@font-face {
    font-family: 'DMSansCustom';
    src: url('assets/fonts/DMSans-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}
@font-face {
    font-family: 'DMSansCustom';
    src: url('assets/fonts/DMSans-MediumItalic.ttf') format('truetype');
    font-weight: 500;
    font-style: italic;
}

@font-face {
    font-family: 'DMSansCustom';
    src: url('assets/fonts/DMSans-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}
@font-face {
    font-family: 'DMSansCustom';
    src: url('assets/fonts/DMSans-SemiBoldItalic.ttf') format('truetype');
    font-weight: 600;
    font-style: italic;
}

@font-face {
    font-family: 'DMSansCustom';
    src: url('assets/fonts/DMSans-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}
@font-face {
    font-family: 'DMSansCustom';
    src: url('assets/fonts/DMSans-BoldItalic.ttf') format('truetype');
    font-weight: 700;
    font-style: italic;
}

@font-face {
    font-family: 'DMSansCustom';
    src: url('assets/fonts/DMSans-ExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
}
@font-face {
    font-family: 'DMSansCustom';
    src: url('assets/fonts/DMSans-ExtraBoldItalic.ttf') format('truetype');
    font-weight: 800;
    font-style: italic;
}

@font-face {
    font-family: 'DMSansCustom';
    src: url('assets/fonts/DMSans-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
}
@font-face {
    font-family: 'DMSansCustom';
    src: url('assets/fonts/DMSans-BlackItalic.ttf') format('truetype');
    font-weight: 900;
    font-style: italic;
}


@font-face {
    font-family: 'Larken';
    src: url('assets/fonts/Larken-Italic.woff2') format('woff2');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Larken';
    src: url('assets/fonts/Larken-LightItalic.woff2') format('woff2');
    font-weight: 300;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Larken';
    src: url('assets/fonts/Larken-Light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Larken';
    src: url('assets/fonts/Larken-MediumItalic.woff2') format('woff2');
    font-weight: 500;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Larken';
    src: url('assets/fonts/Larken-ExtraBold.woff2') format('woff2');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Larken';
    src: url('assets/fonts/Larken-Black.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Larken';
    src: url('assets/fonts/Larken-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Larken';
    src: url('assets/fonts/Larken-ExtraBoldItalic.woff2') format('woff2');
    font-weight: bold;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Larken';
    src: url('assets/fonts/Larken-Thin.woff2') format('woff2');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Larken';
    src: url('assets/fonts/Larken-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Larken';
    src: url('assets/fonts/Larken-Bold.woff2') format('woff2');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Larken';
    src: url('assets/fonts/Larken-BlackItalic.woff2') format('woff2');
    font-weight: 900;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Larken';
    src: url('assets/fonts/Larken-ThinItalic.woff2') format('woff2');
    font-weight: 100;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Larken';
    src: url('assets/fonts/Larken-BoldItalic.woff2') format('woff2');
    font-weight: bold;
    font-style: italic;
    font-display: swap;
}


/* General */

body {
    font-family: 'Larken', sans-serif !important;
}

main {
    background-color: #f7f0e0;
}

.background-grey {
    background-color: #C4C1B9;
}

.background-grey-dark {
    background-color: #585550;
}

.background-black {
    background-color: #1D1D1B;
}

.background-white {
    background-color: #FDFCF8;
}

.background-yellow {
    background-color: #FBD757;
}

.color-yellow {
    color: #FBD757;
}

.color-white {
    color: #FDFCF8;
}

.font-style-italic {
    font-style: italic;
}

.header-2 {
    font-size: 48px;
    font-weight: 300;
    margin: 0;
}

.paragraph-1 {
    font-size: 18px;
    font-family: DMSansCustom, serif;
    font-weight: 500;
}

.separator-line {
    width: 100%;
    height: 1px;
}

.btn-enlace {
    font-size: 36px;
    font-style: italic;
    position: relative;
    font-weight: 300;
    text-decoration: none;
    color: #1D1D1B;
    width: fit-content;
}

.btn-enlace:before {
    content: "";
    position: absolute;
    bottom: 3px;
    width: 20px;
    height: 1px;
    background-color: #1D1D1B;
    transition: width 0.5s ease;
}

.yellow {
    color: #FBD757;
}

.btn-enlace.yellow {
    color: #FBD757;
}

.btn-enlace.yellow:before {
    background-color: #FBD757;
}

.btn-enlace.white {
    color: #FDFCF8;
}

.btn-enlace.white:before {
    background-color: #FDFCF8;
}

.btn-enlace:hover:before {
    width: 100%;
}

.vh-100 {
    height: 100vh;
}

.responsive-height {
    height: 70vh;
    min-height: 400px;
}

.filter-invert {
    filter: brightness(1) invert(1);
}

.page-header {
    opacity:0.7;
    animation: fadeHeader 1s ease forwards;
}

.page-header::before{
     content: "";
     position: absolute;
     inset: 0;
     background: linear-gradient(to right, rgba(0,0,0,0.6), rgba(0,0,0,0));
     z-index: 1;
 }

@keyframes fadeHeader{
    to{
        opacity:1;
    }
}

@media (max-width: 1720px) {
    .header-2 {
        font-size: 42px;
    }

    .paragraph-1 {
        font-size: 18px;
    }

    .btn-enlace {
        font-size: 30px;
    }
}

@media (max-width: 1500px) {
    .header-2 {
        font-size: 36px;
    }

    .paragraph-1 {
        font-size: 16px;
    }

    .btn-enlace {
        font-size: 26px;
    }
}

@media (max-width: 992px) {
    .responsive-height {
        height: 50vh;
    }
}


/* Menú */

.menu {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
}

.menu > div:first-of-type {
    height: 100vh;
}

.menu-container {
    max-width: 1700px;
    padding: 40px;
}

.menu-idioma .lang-item::marker {
    display: none;
}

.menu-idioma {
    list-style: none;
    padding-left: 0;
    margin-left: 0;
    margin-bottom: 0;
    width: 37px;
    height: 28px;
    overflow: hidden;
    transition: width 0.5s ease;
}

.menu-idioma:hover {
    width: 100%;
}

.menu-idioma > li {
    color: #FBD757;
    padding: 0 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-idioma > li:first-of-type {
    padding-left: 0;
}

.menu-idioma > li:not(:first-of-type) {
    border-left: #FBD757 1px solid;
}

.menu-idioma a {
    text-transform: uppercase;
    color: #FBD757;
    font-size: 26px;
    text-decoration: none;
    font-weight: 100;
}

.menu-enlace {
    text-decoration: none;
    display: block;
    width: fit-content;
    line-height: 1.4;
}

.menu-enlace > span {
    font-style: italic;
    font-weight: 100;
    color: #FBD757;
    font-size: 64px;
    position: relative;
}

.menu-subenlace {
    font-style: italic;
    font-weight: 100;
    color: #FBD757;
    font-size: 46px;
    text-decoration: none;
    cursor: pointer;
    line-height: 1.3;
    max-height:0;
    overflow:hidden;
}

.menu-subenlace.open{
    animation: animationAppearance 1s ease forwards;
}

.menu-subenlace:not(.open){
    animation: animationDisappearance 0.6s ease forwards;
}

@keyframes animationAppearance{
    from{ max-height:0; }
    to{ max-height:200px; }
}

@keyframes animationDisappearance{
    from{ max-height:200px; }
    to{ max-height:0; }
}

.menu-enlace > span:before {
    content: "";
    position: absolute;
    bottom: 0;
    width: 40px;
    background-color: #FBD757;
    height: 1px;
    transition: width 0.5s ease;
}

.menu-enlace > span:hover:before, .menu-enlace.active > span:before {
    width: 100%;
}

.menu-enlace > span > span {
    opacity: 0;
    transition: opacity 0.5s ease;
}

.menu-enlace > span:hover > span, .menu-enlace.active > span > span {
    opacity: 1;
}

.menu-arrow-down {
    width: 40px;
    height: 40px;
    left: 50%;
    transform: translateX(-50%);
    bottom: 20px;
    cursor: pointer;
}

.menu-logo {
    height: 100px;
}

@media (max-width: 1720px) {
    .menu-idioma a {
        font-size: 24px;
    }

    .menu-enlace {
        line-height: 1.1;
    }

    .menu-enlace > span {
        font-size: 54px;
    }

    .menu-subenlace {
        font-size: 34px;
        line-height: 1.2;
    }

    .menu-logo {
        height: 85px;
    }
}

@media (max-width: 1500px) {
    .menu-idioma a {
        font-size: 22px;
    }

    .menu-enlace {
        line-height: 1.1;
    }

    .menu-enlace > span {
        font-size: 44px;
    }

    .menu-subenlace {
        font-size: 28px;
        line-height: 1.2;
    }

    .menu-logo {
        height: 70px;
    }
}

@media (max-width: 1200px) {
    .menu-desktop {
        margin-bottom: 30px;
    }

    .menu-desktop.is-open{
        transform: translateX(0);
    }

    .submenu {
        opacity: 0;
        max-height: 0;
        position: static;
        box-shadow: none;
        transition: opacity .25s ease, max-height .25s ease, visibility 0s linear .25s;
    }

    .submenu > .row > div {
        width: 100%;
    }

    .submenu.active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        max-height: 670px;
        transition-delay: 0s;
    }

    .menu-search-wrapper {
        left: 0;
    }
}

@media (max-width: 992px) {
    .menu-enlace > span > span {
        opacity: 1;
    }

    .menu-enlace > span:before {
        width: 100%;
    }
}

/* Slider */

.slider {
    width: 100%;
    overflow: hidden;
    cursor: grab;
    touch-action: pan-y;
}

.slider:active {
    cursor: grabbing;
}

.slider-container {
    position: relative;
    overflow: visible;
    pointer-events: none;
}

.slider-track {
    display: flex;
    width: max-content;
    pointer-events: auto;
    will-change: transform;
    gap: 3rem;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.slider-track img,
.slider-track a {
    user-select: none;
    -webkit-user-drag: none;
    display: block;
}

.slider-track a {
    cursor: pointer;
}

.slider-arrow {
    position: absolute;
    top: 45%;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: rgb(255 255 255 / 71%);
    display: none;
    place-items: center;
    border: 1px solid rgba(0, 0, 0, 0.06);
    cursor: pointer;
    z-index: 30;
    pointer-events: auto;
}

.slider-arrow--left,.slider-arrow--right {
    display: none;
}

.slider-arrow--left {
    left: 1rem;
}

.slider-arrow--right {
    right: 1rem;
}

@media (max-width: 992px) {
    .slider-arrow--left,.slider-arrow--right {
        display: flex;
    }

    .slider-track {
        gap: 6rem;
    }
}

/* Home */

.home-container {
    max-width: 1450px;
    width: 100%;
    padding: 100px 40px;
}

.slider-restaurantes {
    text-decoration: none;
    width: min-content;
}

.slider-restaurantes-image {
    width: 24vw;
    aspect-ratio: 1 / 1;
    min-height: 0;
}

.slider-restaurantes h3 {
    font-size: 36px;
    font-weight: 200;
    margin: 0;
}

.slider-restaurantes p {
    font-weight: 300;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.slider-restaurantes span {
    font-size: 48px;
}

.slider-restaurantes-iconos {
    border-top: #FDFCF8 1px solid;
}

.slider-restaurantes-iconos > div {
    max-width: 70px;
}

.slider-restaurantes-iconos span {
    font-family: DMSansCustom, serif;
    font-size: 14px;
    line-height: 1.1;
}

@media (max-width: 1720px) {
    .slider-restaurantes h3 {
        font-size: 32px;
        font-weight: 200;
        margin: 0;
    }

    .slider-restaurantes span {
        font-size: 38px;
    }

    .slider-restaurantes-iconos span {
        font-size: 14px;
        line-height: 1.1;
    }
}

@media (max-width: 1500px) {
    .home-container {
        padding: 80px 40px;
    }

    .slider-restaurantes h3 {
        font-size: 28px;
        font-weight: 200;
        margin: 0;
    }

    .slider-restaurantes span {
        font-size: 34px;
    }

    .slider-restaurantes-iconos span {
        font-size: 12px;
        line-height: 1.1;
    }
}

@media (max-width: 992px) {
    .slider-restaurantes {
        width: calc(100vw - 6rem);
    }

    .slider-restaurantes-image {
        width: 100%;
        height: 300px;
    }
}

@media (max-width: 600px) {
    .home-container {
        padding: 60px 30px;
    }
}


/* Footer */

.footer-links {
    font-size: 32px;
    font-weight: 200;
}

.footer-links a {
    text-decoration: none;
}

.footer-logos, .footer-logos a {
    text-decoration: none;
    color: black;
    font-size: 14px;
    font-family: 'Verdana', sans-serif;
    font-weight: 400;
}

.footer-logos-financiado img {
    width: 170px;
    height: auto;
}

.footer-logos > div:first-of-type img {
    filter: invert(1);
}

@media (max-width: 1720px) {
    .footer-links {
        font-size: 32px;
        font-weight: 200;
    }
}

@media (max-width: 1500px) {
    .footer-links {
        font-size: 28px;
        font-weight: 200;
    }
}


/* Slider galería */

.slider-imagenes .slider-track {
    height: 60vh;
    min-height: 400px;
}

.slider-imagenes .slider-track > div {
    flex-shrink: 0;
    height: 100%;
}

.slider-imagenes .slider-track > div:nth-of-type(1) {
    height: 100%;
    aspect-ratio: 848 / 632;
}

.slider-imagenes .slider-track > div:nth-of-type(2) {
    height: 72.15%;
    aspect-ratio: 592 / 456;
}

.slider-imagenes .slider-track > div:nth-of-type(3) {
    height: 72.15%;
    aspect-ratio: 300 / 456;
    align-self: end;
}

.slider-imagenes .slider-track > div:nth-of-type(4) {
    height: 100%;
    aspect-ratio: 600 / 632;
}

.slider-imagenes .slider-track > div:nth-of-type(5) {
    height: 47.47%;
    aspect-ratio: 592 / 300;
}

.slider-imagenes .slider-track > div:nth-of-type(6) {
    height: 100%;
    aspect-ratio: 632 / 632;
}

@media (max-width: 992px) {
    .slider-imagenes .slider-track > div {
        height: 100% !important;
    }

    .slider-imagenes .slider-track {
        height: 40vh;
        min-height: 350px;
    }

    .slider-imagenes .slider-track > div:nth-of-type(1) {
        width: 90vw;
    }
}


/* Restauración */

.restauracion-enlaces a {
    text-decoration: none;
}

.restauracion-enlaces.color-white a {
    color: #FDFCF8;
}

.color-white img {
    filter: invert(1);
}

.img-invert {
    filter: invert(1);
}

.restauracion-enlaces.color-black a {
    color: #1D1D1B;
}

.restaurantes-imagenes {
    height: 100vh;
    min-height: 600px;
}

@media (max-width: 992px) {
    .restaurantes-imagenes {
        height: auto;
    }
}


/* Galería visor de imágenes */

.galeria {
    cursor: pointer;
}

.galeria-visor {
    position:fixed;
    inset:0;
    display:flex;
    justify-content:center;
    align-items:center;
    z-index:9999;
    opacity:0;
    visibility:hidden;
    transition:.25s;
}

.galeria-visor.active {
    opacity:1;
    visibility:visible;
}

.galeria-overlay {
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.65);
}

.galeria-visor-box {
    position: relative;
    width: 90vw;
    max-width: 1400px;
    aspect-ratio: 16 / 10;
    background: #000;
    overflow: hidden;
    border-radius: 16px;
    z-index: 2;
}

@media(max-width:768px) {
    .galeria-visor-box {
        width:92vw;
        aspect-ratio:4/5;
    }
}

.galeria-slider {
    display:flex;
    height:100%;
    transition:transform .6s cubic-bezier(.77,0,.18,1);
}

.galeria-slider img {
    min-width:100%;
    height:100%;
    object-fit:cover;
}

.galeria-close {
    position:fixed;
    top:22px;
    right:22px;
    z-index:10000;
    width:52px;
    height:52px;
    border-radius:50%;
    background:rgba(0,0,0,.6);
    border:none;
    color:white;
    font-size:26px;
    cursor:pointer;
}

.galeria-nav {
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    background:rgba(0,0,0,.5);
    border:none;
    color:white;
    font-size:48px;
    width:70px;
    height:70px;
    cursor:pointer;
    z-index:3;
}

.galeria-nav.prev {
    left:0;
}

.galeria-nav.next {
    right:0;
}

@media (max-width: 1450px) {
    .full-width-header {
        min-height: 80vh;
    }

    .full-width-header > div:nth-of-type(2) {
        padding-top: 50px;
    }
}

@media (max-width: 992px) {
    .galeria > div, .galeria > div:nth-of-type(1), .galeria > div:nth-of-type(2) {
        width: 100% !important;
    }

    .galeria > div {
        aspect-ratio: 1 / 1;
    }

    .full-width-header > div:nth-of-type(2) {
        padding-top: 0;
    }
}


/* Cookies */

.cky-btn-accept {
    background-color: #c4a42f !important;
    border-color: #c4a42f !important;
}

.cky-btn-reject, .cky-btn-customize, .cky-btn-preferences {
    color: #c4a42f !important;
    border-color: #c4a42f !important;
}

.cky-btn-revisit-wrapper {
    display: none !important;
}

.cky-consent-bar > div:last-of-type {
    display: none !important;
}
