/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.4.14,
* Autoprefixer: v10.4.7
* Browsers: last 4 version
*/

.main-header{
    background-color: var(--colorMain);
    padding-block: 20px;
    font-size: 16px;
}

.main-header--wrapper{
    -webkit-box-pack: end;
        -ms-flex-pack: end;
            justify-content: end;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
}

.main-header .logo{
    margin-right: auto;
    width: 185px;
}

.main-header--right{
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
}

.menu-btn{
    width: 47px;
    height:14px;
    position: relative;
    cursor: pointer;
    background: none;
    border-style: none;
}

.menu-btn .line{
    position: absolute;
    width: 100%;
    top: calc(50% - 1px);
    border-top: 2px solid #fff;
    left: 0;
    -webkit-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s;
}

.menu-btn .line:nth-child(1){top: calc(50% - 7px);}
.menu-btn .line:nth-child(3){top: calc(50% + 5px);}

.menu-btn.on .line{-webkit-transform: rotate(360deg);-ms-transform: rotate(360deg);transform: rotate(360deg);}
.menu-btn.on .line:nth-child(3){-webkit-transform: rotate(-360deg);-ms-transform: rotate(-360deg);transform: rotate(-360deg);}

.menu-btn.on .line:nth-child(1){top: calc(50% - 1px);}
.menu-btn.on .line:nth-child(3){top: calc(50% - 1px);}

.lang-options{
    margin-right: 35px;
    margin-top: 4px;
    color: var(--colorGold);
    font-family: "HelveticaNeueLight";
    flex: 0 0 auto;
}
.lang-option.selected{ font-family: "HelveticaNeuBold";}
.lang-options li:not(:last-of-type){
    margin-right: 1rem;
}

.account-status{
    position: relative;
    z-index: 10;
}
.account-status .login{
    margin-right: 37.5px;
}
.account-status.on .login{
    display: none
}
.account-status .account-btn{
    display: none;
}
.account-status.on .account-btn{
    display: block;
    margin-right: 2rem;
    cursor: pointer;
}
.account-status .account-menu{
    display: block;
    position: absolute;
    right: 2rem;
    top: calc(100% + 33px);
    color: var(--colorMain);
    background-color: #fff;
    width: 273px;
    font-size: 18px;
    max-height: 0;
    -webkit-transition: max-height .3s;
    -o-transition: max-height .3s;
    transition: max-height .3s;
    overflow: hidden;
}
.account-status .account-menu.on{
    max-height: 300px;
}
.account-status .account--icon{
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
}

.account-status .profile-pic{
    width: 29px;
    height: 29px;
    border-radius: 50%;
    overflow: hidden;
}

.account-status .caret{
    width: 20px;    
    margin-left: .5rem;
}

.account-menu--wrapper{
    padding: 30px 23px;
}
.account-menu-profile-pic{display:none;}
.account--name{
    /* font-weight: 600; */
    padding-bottom: 28px;
    margin-bottom: 22px;
    border-bottom: 1px solid #BCBCBC;  
    line-height: 22px;  
    font-family: 'HelveticaNeuBold';
}
.account--option{
    line-height: 43px;
}
.account-plans{
    margin-right: 40px;
    /* font-weight: bold; */
    font-family: 'HelveticaNeuBold';
}

.main-header .brand-link{
    font-size: 17px;
    line-height: 21px;
    color: #fff;
    font-family: 'HelveticaNeuMedium';
    padding: 4px 20px 7px 21px;
    border-radius: 16px;
    background: transparent linear-gradient(90deg, #ACD1F9 0%, #B490F6 33%, #D093CF 68%, #F3959D 100%) 0% 0% no-repeat padding-box;
    margin-left: auto;
}

.main-header .freeway-link{
    margin: 0 24px 0 30px;
    background-color: transparent;
    width: fit-content;
    border-radius: 0;
    padding: 0;
    max-width: none;
}


@media screen and (max-width: 780px) { 
    .account-plans{display: none;}
    .account-status .account-menu{right: calc(-47px - 2rem);}
    .main-header{padding-block: 11px;}
    .main-header .logo{
        width: 123px;
    }
    .menu-btn{width: 45px;}
    .account-status .account-menu{
        right: calc(-45px - 2rem);
        top:calc(100% + 18px);
    }
    .account-status.on .account-btn{
        margin-right: 22px;
    }
    .lang-options{
        display: none;
        margin-right: 0;
    }

}

@media screen and (max-width: 680px) {
    .account-status .account-menu{right: calc(-45px - var(--mobilePadding));}

}
@media screen and (max-width: 580px) {
    .account-status .caret{display: none;}

    .account-status .account-menu{
        width: 100dvw;
        background-color: var(--colorMain);
        color: #fff;
    }
    .account-menu--wrapper{
        height: 100%;
        padding-top: 58px;
        position:relative;
    }
    .account-status .account-menu.on{
        max-height: calc(100dvh - 66px);
        height: calc(100dvh - 66px);
        z-index: 2;
    }
    .account--option{
        line-height: 62px;
    }
    .account--name{
        font-size: 18px;
        line-height: 45px;
        padding: 0 0 32px 63px;
        margin-bottom: 10px;
    }
    .account-menu-profile-pic{
        display: block;
        border-radius: 50%;
        position: absolute;
        left: var(--mobilePadding);
        top: 58px;
        width: 45px;
        aspect-ratio: 1;
        overflow: hidden;
    }
    .main-header .brand-link,
    .main-header .freeway-link{
        display: none;
    }
}

/* menu */

.menu{
    position: fixed;
    right: -200vw;
    top: 95px;
    height: calc(100dvh - 95px);
    width: 100%;
    /* width: clamp(842px, 60vw, 1200px); */
    max-width: 872px;
    z-index: 200;
    background: var(--colorMain);
    -webkit-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s;
}

.menu.on{
    right: 0;
}

.menu-wrapper{
    padding: 0 calc(((100vw - var(--wrapperWidthLg)) / 2) + 2rem) 2rem 56px;
}

.menu-item{
    font-size: 60px;
    line-height: 120%;
    padding-block: 20px;
    font-family: 'HelveticaNeuBold';
}

.menu-wrapper .mob{ display: none;}

.menu-item:last-of-type{
    border: none;
}

.menu-item--guests-list{
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    gap: 20px;
    --cardNum : 5;
    --gap: 20px;
    padding-top: 14px;
    max-height: 524px;
    overflow-y: auto;
    width: calc(100% + 1rem);
    padding-right: 1rem;
}

.menu-item--guests{
    position: relative;
}

.menu-item--guests-btns{
    font-size: 16px; 
    line-height: 20px;
    position: absolute;
    right: 0;
    top: 0;   
    -webkit-transform: translateY(-100%);   
        -ms-transform: translateY(-100%);   
            transform: translateY(-100%);
    gap: 15px;
    font-family: 'HelveticaNeueLight';
}

.menu-item--option{
    cursor: pointer;
}
.menu-item--option.selected{
    text-decoration: underline;
    font-family: 'HelveticaNeuMedium';
}
/* ===== MENU GALLERY CARDS – FIX ===== */

.menu-item--guests .guests .card--image {
    width: 100%;
    aspect-ratio: 4 / 3;   /* μικρό, καθαρό */
    overflow: hidden;

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

.menu-item--guests .guests .card--image img {
    width: 100%;
    height: 100%;
    object-fit: cover;     /* γεμίζει, μικρό ύψος */
    display: block;
}

/* ακύρωση παλιού rule */
.menu-item--guests .guests img {
    aspect-ratio: auto;
}


.guests{
    width: calc((100% - (var(--cardNum) - 1) * var(--gap)) / var(--cardNum)); 
    margin-top: 12px;
}

/* .guests:nth-of-type(n + 6){
    margin-top: 12px;
} */

.guests img{
    aspect-ratio: 0.79;
}
.guests .card--image{
    margin-bottom: 11px;
    position: relative;
}
.guests.upcoming .card--image::after{
    content: "Upcoming";
    width: 100%;
    height: 100%;
    background-color: #161520a0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    color: #fff;
    position: absolute;
    left: 0;
    top: 0;
    font-size: 16px;
    line-height: 23px;
}
.guests .card--title{
    margin-bottom: 4px;
}

.sublist-item{
    font-size: 30px;
    line-height: 50px;
    font-family: 'HelveticaNeuMedium';
}

.guests .card--description{
    font-size: 14px;
    font-family: 'HelveticaNeueLight';
}

@media screen and (max-width: 1840px) {
    .menu-wrapper{
        padding-right: 2rem;
    }
}

@media screen and (max-width: 980px) {
    .menu-wrapper{
        padding: 0 2rem 2rem;
        min-height: 100%;
    }
}
@media screen and (max-width: 780px) {
    .menu-wrapper .mob{display: block;}
    .menu{
        top: 66px;
        height: calc(100dvh - 66px);
    }
    .mobile-items{
        padding-block: 10px;
    }
    .menu-login{
        font-size: 18px;
        line-height: 22px;
        margin-bottom: 28px;   
        text-align: right; 
    }
    .logged .menu-login{display: none;}
    .menu .lang-options{display: block;}
    .menu .lang-options ul{
        -webkit-box-pack: end;
            -ms-flex-pack: end;
                justify-content: flex-end;
    }

    .menu nav{ position: relative;}
    .menu-item--guests{
        position: absolute;
        left: calc(100% + 2rem);
        top: 0;
        width: 100%;
        height: 100%;  
        background-color: var(--colorMain);
        -webkit-transition: left .3s;
        -o-transition: left .3s;
        transition: left .3s;  
    }
    .mob-haslevel.on .menu-item--guests{
        left: 0;
    }
    .menu-item--guests-btns{
        position: static;
        -webkit-transform: translateY(0);
            -ms-transform: translateY(0);
                transform: translateY(0);
        margin-top: 10px;
    }
    .menu-item--guests-list{
        --cardNum : 3;
        gap: 15px;
        --gap: 15px;  
        margin-top: 10px;
        max-height: calc(100dvh - 66px - 88px - 72px - 3rem);  
    }
    /* .guests:nth-of-type(n + 4){
        margin-top: 5px;
    } */
    .guests .card--title,
    .guests .card--description{
        font-size: 15px;
    }

    .menu-lang{position: relative;}
    .level-back-btn{
        position: absolute;
        left: 0;
        top: 50%;
        -webkit-transform: translateY(-50%);
            -ms-transform: translateY(-50%);
                transform: translateY(-50%);
        color: #fff;
        font-size: 16px;
        text-decoration: underline;
        display: none;
    }
    .menu.level .level-back-btn{
        display: block;
    }
    .menu-social {margin-top: auto;}
    .level .menu-social {display: none;}
    .menu-social > ul{
        height: 2rem;
        -webkit-box-pack: center;
            -ms-flex-pack: center;
                justify-content: center;
        width: 100%;
        -webkit-filter: brightness(0) invert(1);
                filter: brightness(0) invert(1);
    }
    .menu-social li{
        margin-right: 2rem;
    }
}

@media screen and (max-width: 580px) {
    .menu-wrapper{
        padding-inline: 20px 24px;
    }    
}