/* =====================================================
   ARCHIMAN HEADER
   DESKTOP + MOBILE RESPONSIVE
===================================================== */


/* =====================================================
   RESET
===================================================== */

.site-header,
.site-header *,
.mobile-menu,
.mobile-menu * {
    box-sizing: border-box;
}


/* =====================================================
   SITE HEADER
===================================================== */

.site-header {
    position: relative;

    width: 100%;

    z-index: 1000;
}


/* =====================================================
   HEADER CONTAINER
===================================================== */

.header-container {
    width: 100%;
    margin: 0;
    padding: 0;
}


/* =====================================================
   DESKTOP NAVIGATION
===================================================== */

.main-navigation {
    width: 100%;
    height: 100px;

    display: flex;

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

    gap: 48px;

    padding: 0 250px 0 40px;

    background: #e5b457;
}


/* =====================================================
   DESKTOP NAV LINKS
===================================================== */

.nav-link {
    position: relative;

    display: flex;

    align-items: center;

    color: #111111;

    text-decoration: none;

    font-family: Arial, Helvetica, sans-serif;

    font-size: 18px;

    font-weight: 400;

    line-height: 1;

    transition: color 0.3s ease;
}


.nav-link:hover {
    color: #ffffff;
}


.nav-link.active {
    color: #ffffff;
}


/* =====================================================
   SERVICE LINK
===================================================== */

.service-dropdown {
    position: relative;
}


.service-link {
    display: flex;

    align-items: center;

    gap: 7px;
}


.service-link i {
    font-size: 13px;

    transition: transform 0.3s ease;
}


/* =====================================================
   DESKTOP SERVICE DROPDOWN
===================================================== */

.service-dropdown {
    position: relative;
    z-index: 9999;
}


.service-menu {

    position: absolute;

    top: calc(100% + 18px);

    left: 50%;

    transform: translateX(-50%) translateY(10px);

    width: 190px;

    padding: 0;

    background: #202020;

    border-bottom: 2px solid #e5b457;

    opacity: 0;

    visibility: hidden;

    pointer-events: none;

    transition:
        opacity 0.25s ease,
        transform 0.25s ease,
        visibility 0.25s ease;

    z-index: 99999;
}


/* Invisible bridge between Service and dropdown */

.service-menu::before {

    content: "";

    position: absolute;

    top: -18px;

    left: 0;

    width: 100%;

    height: 18px;

    background: transparent;

}


.service-dropdown:hover .service-menu {

    opacity: 1;

    visibility: visible;

    pointer-events: auto;

    transform: translateX(-50%) translateY(0);
}


.service-dropdown:hover .service-link i {

    transform: rotate(180deg);
}


.service-menu a {

    position: relative;

    display: block;

    width: 100%;

    box-sizing: border-box;

    padding: 16px 15px;

    color: #ffffff;

    text-decoration: none;

    font-family: Arial, Helvetica, sans-serif;

    font-size: 14px;

    font-weight: 400;

    pointer-events: auto;

    z-index: 100000;

    transition:
        color 0.2s ease,
        background 0.2s ease;
}


.service-menu a:hover {

    color: #e5b457;

    background: #292929;
}


/* =====================================================
   BOOK APPOINTMENT
===================================================== */

.appointment-btn {
    display: inline-flex;

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

    min-height: 42px;

    padding: 0 13px;

    border: 1px solid #ffffff;

    color: #ffffff;

    text-decoration: none;

    font-family: Arial, Helvetica, sans-serif;

    font-size: 18px;

    font-weight: 400;

    white-space: nowrap;

    transition:
        background 0.3s ease,
        color 0.3s ease;
}


.appointment-btn:hover {
    background: #ffffff;

    color: #111111;
}


/* =====================================================
   HEADER ARROW
===================================================== */

.header-arrow {
    display: flex;

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

    color: #ffffff;

    text-decoration: none;

    font-size: 28px;

    font-weight: 800;

    transition:
        transform 0.3s ease,
        color 0.3s ease;
}


.header-arrow:hover {
    color: #111111;

    transform: translate(2px, -2px);
}


/* =====================================================
   MOBILE MENU BUTTON
===================================================== */

/*
   Hidden on desktop
*/

.mobile-menu-toggle {
    display: none;

    border: none;

    padding: 0;
    margin: 0;

    cursor: pointer;

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

    background: #e5b457;

    color: #ffffff;

    outline: none;
}


.mobile-menu-toggle i {
    font-size: 15px;
}


/* =====================================================
   MOBILE MENU OVERLAY
===================================================== */

/*
   Hidden initially
*/

.mobile-menu-overlay {
    position: fixed;

    top: 0;
    left: 0;

    width: 100%;
    height: 100vh;

    background: rgba(0, 0, 0, 0.58);

    opacity: 0;

    visibility: hidden;

    pointer-events: none;

    z-index: 9998;

    transition:
        opacity 0.3s ease,
        visibility 0.3s ease;
}


/*
   Open overlay
*/

.mobile-menu-overlay.active {
    opacity: 1;

    visibility: visible;

    pointer-events: auto;
}


/* =====================================================
   MOBILE SIDE MENU
===================================================== */

/*
   Hidden outside the screen initially
*/

.mobile-menu {
    position: fixed;

    top: 0;
    left: 0;

    width: 195px;
    height: 100vh;

    margin: 0;
    padding: 0;

    background: #202020;

    z-index: 9999;

    overflow-x: hidden;
    overflow-y: auto;

    transform: translateX(-100%);

    transition:
        transform 0.35s ease;

    visibility: hidden;
}


/*
   OPEN SIDE MENU
*/

.mobile-menu.active {
    transform: translateX(0);

    visibility: visible;
}


/* =====================================================
   MOBILE MENU TOP
===================================================== */

.mobile-menu-top {
    width: 100%;
    height: 68px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    background: #e5b457;
}


/* =====================================================
   MOBILE MENU LOGO
===================================================== */

.mobile-menu-logo {
    width: 68px;
    height: 68px;

    display: flex;

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

    color: #ffffff;

    font-size: 15px;
}


.mobile-menu-logo i {
    font-size: 15px;
}


/* =====================================================
   MOBILE CLOSE BUTTON
===================================================== */

.mobile-menu-close {
    width: 68px;
    height: 68px;

    display: flex;

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

    padding: 0;
    margin: 0;

    border: none;

    background: transparent;

    color: #ffffff;

    font-size: 17px;

    cursor: pointer;

    outline: none;
}


.mobile-menu-close:hover {
    background: rgba(0, 0, 0, 0.08);
}


/* =====================================================
   MOBILE NAVIGATION
===================================================== */

.mobile-nav {
    width: 100%;

    display: flex;

    flex-direction: column;

    padding: 12px 8px;
}


/* =====================================================
   MOBILE NORMAL LINKS
===================================================== */

.mobile-nav>a {
    width: 100%;

    min-height: 38px;

    display: flex;

    align-items: center;

    padding: 0 8px;

    color: #ffffff;

    text-decoration: none;

    font-family: Arial, Helvetica, sans-serif;

    font-size: 11px;

    font-weight: 400;

    line-height: 1;

    transition: color 0.2s ease;
}


.mobile-nav>a:hover {
    color: #e5b457;
}


/* =====================================================
   MOBILE SERVICE
===================================================== */

.mobile-service {
    width: 100%;
}


/* =====================================================
   MOBILE SERVICE BUTTON
===================================================== */

.mobile-service-btn {
    width: 100%;

    min-height: 38px;

    display: flex;

    align-items: center;
    justify-content: space-between;

    padding: 0 8px;

    margin: 0;

    border: none;

    background: transparent;

    color: #ffffff;

    font-family: Arial, Helvetica, sans-serif;

    font-size: 11px;

    font-weight: 400;

    text-align: left;

    cursor: pointer;

    outline: none;
}


.mobile-service-btn i {
    font-size: 8px;

    transition: transform 0.3s ease;
}


/*
   Rotate arrow when service opens
*/

.mobile-service.open .mobile-service-btn i {
    transform: rotate(180deg);
}


/* =====================================================
   MOBILE SUBMENU
===================================================== */

.mobile-submenu {
    display: none;

    width: 100%;

    flex-direction: column;

    margin: 0 0 5px 8px;

    padding: 0;

    border-bottom: 1px solid #b88a32;
}


/*
   Show submenu
*/

.mobile-service.open .mobile-submenu {
    display: flex;
}


/* =====================================================
   MOBILE SUBMENU LINKS
===================================================== */

.mobile-submenu a {
    display: block;

    padding: 10px 8px;

    color: #ffffff;

    text-decoration: none;

    font-family: Arial, Helvetica, sans-serif;

    font-size: 10px;

    font-weight: 400;
}


.mobile-submenu a:hover {
    color: #e5b457;
}


/* =====================================================
   DESKTOP
===================================================== */

@media screen and (min-width: 769px) {

    /* Desktop navigation visible */
    .main-navigation {
        display: flex;
    }


    /* Mobile button hidden */
    .mobile-menu-toggle {
        display: none !important;
    }


    /* Mobile menu completely removed */
    .mobile-menu,
    .mobile-menu-overlay {
        display: none !important;
    }

}


/* =====================================================
   TABLET
===================================================== */

@media screen and (min-width: 769px) and (max-width: 1200px) {

    .main-navigation {
        gap: 32px;

        padding-left: 30px;
        padding-right: 80px;
    }


    .nav-link {
        font-size: 16px;
    }


    .appointment-btn {
        font-size: 16px;
    }


    .header-arrow {
        font-size: 17px;
    }

}

/* =====================================================
   MOBILE ONLY
   DESKTOP NAVBAR IS NOT CHANGED
===================================================== */

@media screen and (max-width: 768px) {

    /* =============================================
       HIDE DESKTOP NAVBAR
    ============================================= */

    .main-navigation {
        display: none !important;
    }


    /* =============================================
       MOBILE NAVBAR
    ============================================= */

    .site-header {
        width: 100%;
        height: 68px;

        position: relative;

        background: #e5b457;
    }


    .header-container {
        width: 100%;
        height: 68px;

        position: relative;

        padding: 0;
        margin: 0;
    }


    /* =============================================
       ONLY MOBILE MENU BUTTON SHOWS IN NAVBAR
    ============================================= */

    .mobile-menu-toggle {

        display: flex !important;

        position: absolute;

        top: 0;
        right: 0;

        width: 68px;
        height: 68px;

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

        padding: 0;
        margin: 0;

        border: none;

        background: #e5b457;

        color: #ffffff;

        font-size: 16px;

        cursor: pointer;

        z-index: 9997;
    }


    .mobile-menu-toggle i {
        display: block;

        font-size: 16px;
    }


    /* =============================================
       SIDE MENU - HIDDEN INITIALLY
    ============================================= */

    .mobile-menu {

        display: block;

        position: fixed;

        top: 0;
        left: 0;

        width: 195px;
        max-width: 75vw;

        height: 100vh;

        background: #202020;

        z-index: 9999;

        transform: translateX(-100%);

        visibility: hidden;

        transition:
            transform 0.35s ease,
            visibility 0.35s ease;

        overflow-y: auto;
        overflow-x: hidden;
    }


    /* =============================================
       SIDE MENU OPEN
    ============================================= */

    .mobile-menu.active {

        transform: translateX(0);

        visibility: visible;
    }


    /* =============================================
       OVERLAY
    ============================================= */

    .mobile-menu-overlay {

        display: block;

        position: fixed;

        top: 0;
        left: 0;

        width: 100%;
        height: 100vh;

        background: rgba(0, 0, 0, 0.55);

        opacity: 0;

        visibility: hidden;

        pointer-events: none;

        z-index: 9998;

        transition:
            opacity 0.3s ease,
            visibility 0.3s ease;
    }


    .mobile-menu-overlay.active {

        opacity: 1;

        visibility: visible;

        pointer-events: auto;
    }


    /* =============================================
       MOBILE SIDE MENU TOP
    ============================================= */

    .mobile-menu-top {

        width: 100%;
        height: 68px;

        display: flex;

        align-items: center;
        justify-content: space-between;

        background: #e5b457;
    }


    .mobile-menu-logo {

        width: 68px;
        height: 68px;

        display: flex;

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

        color: #ffffff;
    }


    .mobile-menu-logo i {
        font-size: 15px;
    }


    /* =============================================
       CLOSE BUTTON
    ============================================= */

    .mobile-menu-close {

        width: 68px;
        height: 68px;

        display: flex;

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

        padding: 0;
        margin: 0;

        border: none;

        background: transparent;

        color: #ffffff;

        font-size: 18px;

        cursor: pointer;
    }


    /* =============================================
       MOBILE NAVIGATION
    ============================================= */

    .mobile-nav {

        width: 100%;

        display: flex;

        flex-direction: column;

        padding: 12px 8px;
    }


    .mobile-nav>a {

        width: 100%;

        min-height: 38px;

        display: flex;

        align-items: center;

        padding: 0 8px;

        color: #ffffff;

        text-decoration: none;

        font-family: Arial, Helvetica, sans-serif;

        font-size: 11px;

        font-weight: 400;
    }


    .mobile-nav>a:hover {
        color: #e5b457;
    }


    /* =============================================
       SERVICE
    ============================================= */

    .mobile-service {
        width: 100%;
    }


    .mobile-service-btn {

        width: 100%;

        min-height: 38px;

        display: flex;

        align-items: center;

        justify-content: space-between;

        padding: 0 8px;

        margin: 0;

        border: none;

        background: transparent;

        color: #ffffff;

        font-family: Arial, Helvetica, sans-serif;

        font-size: 11px;

        cursor: pointer;
    }


    .mobile-service-btn i {

        font-size: 8px;

        transition: transform 0.3s ease;
    }


    .mobile-service.open .mobile-service-btn i {

        transform: rotate(180deg);
    }


    /* =============================================
       SUBMENU
    ============================================= */

    .mobile-submenu {

        display: none;

        flex-direction: column;

        width: 100%;

        margin-left: 8px;

        border-bottom: 1px solid #b88a32;
    }


    .mobile-service.open .mobile-submenu {

        display: flex;
    }


    .mobile-submenu a {

        display: block;

        padding: 10px 8px;

        color: #ffffff;

        text-decoration: none;

        font-family: Arial, Helvetica, sans-serif;

        font-size: 10px;
    }


    .mobile-submenu a:hover {
        color: #e5b457;
    }

}


/* =====================================================
   SMALL MOBILE
===================================================== */

@media screen and (max-width: 480px) {

    .site-header,
    .header-container {

        height: 62px;
    }


    .mobile-menu-toggle {

        width: 62px;
        height: 62px;
    }


    .mobile-menu-top {

        height: 62px;
    }


    .mobile-menu-logo,
    .mobile-menu-close {

        width: 62px;
        height: 62px;
    }

}


/* =====================================================
   DESKTOP - MOBILE ELEMENTS HIDDEN
===================================================== */

@media screen and (min-width: 769px) {

    .mobile-menu-toggle,
    .mobile-menu,
    .mobile-menu-overlay {

        display: none !important;
    }

}