/*!
Theme Name: MEGA Booking
Author: Digiway
*/

:root {
    --footer-color: rgb(122, 122, 122);
    --footerTransparent1-color: rgba(0, 0, 0, 0.79);
    --footerTransparent2-color: rgba(0, 0, 0, 0.38);
    --social-color: rgba(0, 0, 0, 0.45);
    --overlay-color: rgba(0,0,0,0.3);
    --footerBackground-color: #EDEDED;
    --hover-color: #FF0000;
    --footer-border-color: #A7A7A7;
    --footer-mobile-color: #2C302E;
    --footer-digiway-color: #939393;
}

body {
    font-family: 'Source Sans Pro', sans-serif;
}

/*
header style
*/

#root {
    padding-block: 40px;
}

.header {
    /* min-height: 106px; */
    background-color: #fff;
    transition: all 0.25s;
    padding: 5px;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.header__container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.header__top {     
    min-height: 55px;
    padding-inline: 10px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    position: relative;    
}

.header__centeredBlock {
    display: flex;
    flex: 1;
    width: 35%;
}

.header__logo {
    width: 30%;
    max-width: 340px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.25s ease-in-out;
    flex-grow: 1;
}

.header__logo img {
    width: 65%;
}

.header__right {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

.header__button {
    width: 35px;
    aspect-ratio: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    color: #000;
}

.header__menu {
    max-width: 1200px;
    min-height: 41px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.25s ease-in-out;
}

.header__list {
    display: flex;
    justify-content: center;
}

.header__item {
    padding: 10px;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 600;
}
.header__item a {
    font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;
    text-decoration: none;
    color: #000;
}

@media (max-width: 1024px) {
    .header__logo img {
        width: 85%;
    }
}

@media (max-width: 767px) {
    header {
        padding: 20px 20px 6px;
    }
    .header__top {  
        padding: 10px 0;
    }
    .header__right {  
        padding: 10px;
    }
    .header__logo {
        width: 80%;
        padding: 10px;
        max-width: unset;
    }
    .header__centeredBlock {
        width: 10%;
    }
    .header__logo img {
        width: 75%;
    }
    .header__button-phone {
        display: none;
    }
    .header__menu {
        min-height: unset;
    }
    .header__item {
        padding: 7px;
        font-size: 11px;
    }
}

@media (max-width: 400px) {
    header {
        padding: 20px 10px 6px;
    }
}

/*
hamburger menu styles
*/

.hamburger_menu {
    position: fixed;
    inset: 0;
    z-index: -1;
    transition: all 0.3s, opacity 0.3s;
}

.hamburger_menu.open {
    z-index: 1;
}

.hamburger_menu__overlay {
    position: absolute;
    inset: 0;
    z-index: 0;
    transition: all 0.3s, opacity 0.3s;
}

.hamburger_menu.open .hamburger_menu__overlay {
    background-color: var(--overlay-color);
}

.hamburger_menu__container {
    width: 100%;
    max-width: 400px;
    position: absolute;
    left: 100%;
    top: 0;
    bottom: 0;
    padding: 20px;
    background-color: #fff;
    transition: transform 0.25s ease-in-out;
    z-index: 1;
    overflow: auto;
}

.hamburger_menu.open .hamburger_menu__container {
    transform: translate(-100%, 0);
}

.hamburger_menu__top {
    height: 35px;
    display: flex;
    justify-content: space-between;
    position: relative;
}

.hamburger_menu__close {
    margin-left: auto;
}

.hamburger_menu__logoBlock {
    padding: 15px 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hamburger_menu__logo {
    width: 200px;
}

.hamburger_menu__logo img {
    width: 100%;
}

.hamburger_menu__footer {
    border-top: 1px solid #D2D2D2;
    padding: 20px 12px 12px 12px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    color: #2C302E;
    font-family: 'Source Sans Pro', sans-serif;
    margin-top: 30px;
}

.hamburger_menu__phone {
    padding: 10px;
    display: flex;
}

.hamburger_menu__phone a {
    display: flex;
    gap: 12px;
    color: #000;
    text-decoration: none;
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
}

.hamburger_menu_wrapper {
    width: 100%;
    display: flex;
    transition: all 0.25s ease;
    overflow: visible;
}

.hamburger_menu__list {
    width: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.25s ease-in-out;
}

.hamburger_menu__list.open {
    transform: translateX(-100%);
}

.hamburger_menu__item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-block: 10px;
    font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;
    font-size: 16px;
    line-height: 1.5;
    font-weight: 400;
}

.hamburger_menu__item img {
    width: 25px;
}

.hamburger_menu__item a {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #000;
}

.hamburger_menu__item:hover > a {
    color: var(--hover-color);
}

.hamburger_menu__item:first-of-type a {
    color: var(--hover-color);
}

.hamburger_menu__link-wrapper {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hamburger_menu__link-wrapper:hover > a {
    color: var(--hover-color);
}

.hamburger_menu__arrow {
    width: 30px;
    aspect-ratio: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.hamburger_menu__navigation {
    overflow: hidden;
}

.submenu {
    position: absolute;
    top: 0;
    left: 100%;
    width: 100%;
    display: none;
    background: #fff;
    transition: left 0.25s ease-in-out;
    z-index: 10;
    flex-direction: column;
}

.submenu.open {
    display: flex;
}

.submenu__item {
    display: flex;
    align-items: center;
    padding-block: 10px;
    font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;
    font-size: 16px;
    line-height: 1.5;
    font-weight: 400;
}

.submenu__item:first-of-type {
    text-transform: uppercase;
}

.submenu__item a {
    color: #000;
}

.submenu__item:hover a {
    color: var(--hover-color);
}

.hamburger_menu__submenu {
    display: none;
    position: absolute;
    inset: 0;
    z-index: 10;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
}

.hamburger_menu__submenu.show {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hamburger_menu__submenuBack {
    cursor: pointer;
    display: flex;
    gap: 7px;
    align-items: center;
}

.hamburger_menu__submenuTitle {
    font-size: 12px;
    line-height: 18px;
    font-weight: 400;
    color: #7A7A7A;
}

/*
footer style
*/

.footer {
    width: 100%;
    padding-top: 100px;
    padding-bottom: 50px;
    background-color: var(--footerBackground-color);
}

.footer__container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 10px;
}

.footer__top {
    display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: 20px;
}

.footer__logo {
    width: 18%;
}

.footer__underLogoList {
    display: flex;
    justify-content: center;
    gap: 3px;
}

.footer__underLogoListItem a {
    font-size: 12px;
    line-height: 12px;
    font-weight: 300;
    color: var(--footer-color);
    text-decoration: none;
    position: relative;
}

.footer__nav {
    width: 100%;
    padding-block: 90px;
    display: flex;
    justify-content: space-between;
}

.footer__bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    row-gap: 10px;
    font-size: 12px;
    line-height: 12px;
    font-weight: 300;
    color: var(--footer-color);
}

.footer__bottom a {
    line-height: 16px;
    text-decoration: none;
    color: var(--footer-digiway-color);
    transition: color 0.25s ease;
}

.footer__bottom a:hover {
    color: var(--hover-color);
}
    

.footer__social {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.footer__socialList {
    display: flex;    
}

.footer__socialListItem a {
    width: 54px;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--social-color);
    text-decoration: none;
}

.footer__socialListItem a i {
    font-size: 18px;
}

.footer__socialListItem a:hover {    
    color: var(--hover-color);
}

.footer__list {
    display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: 5px;
}

.footer__list a {
    color: var(--footerTransparent1-color);
    font-size: 14px;
    line-height: 21px;
    font-weight: 300;
    text-decoration: none;
}

.footer__wrapper {
    width: 25%;
    display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: 20px;
}

.footer__wrapper .fa-chevron-down {
    display: none;
}

.footer__wrapper .fa-chevron-up {
    display: none;
}

.footer__menuTitle {
    text-transform: uppercase;
    font-size: 18px;
    line-height: 1.5;
    font-weight: 500;
}

.footer__item {
    height: 24px;
    display: flex;
    align-items: center;
}

@media (max-width: 1024px) {
    .footer__nav {
        padding: 70px 20px 60px;
    }

    .footer__menuTitle {
        font-size: 12px;
        line-height: 12px;
    }
}

@media (max-width: 767px) {
    .footer__container {
        padding: 0;
    }
    .footer__logo {
        width: 60%;
    }
    .footer__nav {
        padding: 30px 0;
        flex-direction: column;
    }

    .footer__list {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.5s ease;   
        align-items: flex-start; 
        transition: all 0.5s ease-in-out;  
    }

    .footer__list a {
        font-size: 18px;
        line-height: 1.5;
    }

    .footer__list.open {
        max-height: 500px;
        padding-top: 15px;
    }

    .footer__wrapper {
        width: 100%;
        padding: 15px 20px;
        cursor: pointer;
        border-bottom: 1px solid var(--footer-border-color);
        row-gap: unset;
        align-items: flex-start;
    }

    .footer__menuTitle {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: 18px;
        line-height: 1.5;
        font-weight: 500;
        color: var(--footer-mobile-color);
    }
    
    .footer__wrapper.active .footer__menuTitle {
        color: var(--hover-color);
    }

    .footer__wrapper .fa-chevron-down {
        display: flex;
    }

    .footer__wrapper .fa-chevron-up {
        display: none;
    }
    .footer__wrapper.active .fa-chevron-down {
        display: none;
    }

    .footer__wrapper.active .fa-chevron-up {
        display: flex;
    }
}