/* Arinatek Header for Elementor */


@font-face {
    font-family: 'allerregular';
    src: url('../fonts//aller_rg-webfont.eot');
    src: url('../fonts//aller_rg-webfont.eot?#iefix') format('embedded-opentype'),url('../fonts/aller_rg-webfont.woff') format('woff'),url('../fonts/aller_rg-webfont.ttf') format('truetype'),url('../fonts/aller_rg-webfont.svg#allerregular') format('svg');
    font-weight: 400;
    font-style: normal
}

@font-face {
    font-family: 'aller_lightregular';
    src: url('../fonts/aller_lt-webfont.eot');
    src: url('../fonts/aller_lt-webfont.eot?#iefix') format('embedded-opentype'),url('../fonts/aller_lt-webfont.woff') format('woff'),url('../fonts/aller_lt-webfont.ttf') format('truetype'),url('../fonts/aller_lt-webfont.svg#aller_lightregular') format('svg');
    font-weight: 400;
    font-style: normal
}


:root,
body,
.elementor-kit-7,
[class*="elementor-kit-"],
.arinatek-header-wrapper {
    --arinatek-header-blue: var(--e-global-color-primary, #0072bc);
    --arinatek-header-dark-blue: var(--e-global-color-d7ba77b, #1d4189);
    --arinatek-header-text: var(--e-global-color-3b83508, #ffffff);
}

/* -------------------------------------------------------------
   MAIN HEADER WRAPPER & BAR
------------------------------------------------------------- */
.arinatek-header-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9990;
    box-sizing: border-box;
    transition: background-color 0.3s ease, box-shadow 0.3s ease, height 0.3s ease;
}

/* Position below WordPress Admin Bar when logged in */
body.admin-bar .arinatek-header-wrapper {
    top: 32px;
}

@media screen and (max-width: 782px) {
    body.admin-bar .arinatek-header-wrapper {
        top: 46px;
    }
}

.arinatek-header-wrapper.is-sticky {
    position: fixed;
}

.arinatek-header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    box-sizing: border-box;
    position: relative;
    min-height: 80px;
    transition: min-height 0.3s ease;
}

/* Scrolled / Compact Header State */
.arinatek-header-wrapper.is-scrolled {
    background-color: var(--arinatek-header-blue) !important;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.25);
}

.arinatek-header-wrapper.is-scrolled .arinatek-header-container {
    min-height: 78px;
}

/* -------------------------------------------------------------
   LEFT: LOGO BADGE
------------------------------------------------------------- */
.arinatek-logo-badge {
    background-color: var(--arinatek-header-blue);
    width: 80px;
    min-height: 115px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    padding: 32px 8px 12px 8px;
    box-sizing: border-box;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transition: min-height 0.3s ease, padding 0.3s ease;
    flex-shrink: 0;
    position: relative;
    z-index: 10;
}

.arinatek-logo-badge img {
    max-height: 85px;
    width: auto;
    display: block;
    object-fit: contain;
    transition: max-height 0.3s ease;
    margin-top: -20px;
    transition: 0.3s;
}

.arinatek-logo-badge span {
    font-family: 'aller_lightregular';
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 7px;
    line-height: 1;
    transition: font-size 0.3s ease;
}

/* Scrolled Logo Adjustment */
.arinatek-header-wrapper.is-scrolled .arinatek-logo-badge {
    min-height: 65px;
    padding: 8px 6px;
    box-shadow: none;
}

.arinatek-header-wrapper.is-scrolled .arinatek-logo-badge img {
    max-height: 60px;
    margin-top: 0;
}

.arinatek-header-wrapper.is-scrolled .arinatek-logo-badge span {
    font-size: 12px;
    margin-top: 3px;
}

/* -------------------------------------------------------------
   RIGHT: HEADER CONTENT (2 ROWS: CONTACT INFO + MENU)
------------------------------------------------------------- */
.arinatek-header-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    flex-grow: 1;
    padding-left: 20px;
    transition: all 0.3s ease;
}

/* Top Row: Contact Info */
.arinatek-header-top-info {
    display: flex;
    align-items: center;
    gap: 30px;
    font-family: 'aller_lightregular';
    font-size: 16px;
    font-weight: 300;
    color: #ffffff;
    padding-top: 12px;
    padding-bottom: 8px;
    max-height: 60px;
    height: 60px;
    opacity: 1;
    visibility: visible;
    transition: 0.3s ease, opacity 0.3s ease, padding 0.3s ease, margin 0.3s ease;
    overflow: hidden;
}

.arinatek-contact-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.2s ease;
}

.arinatek-contact-item i {
    color: #ffffff;
    font-size: 18px;
}

/* Scrolled State: Contact Info Disappears */
.arinatek-header-wrapper.is-scrolled .arinatek-header-top-info {
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    padding-top: 0;
    padding-bottom: 0;
    margin: 0;
    pointer-events: none;
}

/* Bottom Row: Navigation Menu & Search */
.arinatek-nav-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding-bottom: 17px;
    transition: padding 0.3s ease;
}

.arinatek-header-wrapper.is-scrolled .arinatek-nav-bar {
    padding-bottom: 0;
}

.arinatek-header-wrapper.is-scrolled .arinatek-header-right {
    /* justify-content: center; */
}

/* Menu Items List */
.arinatek-menu-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0px;
    align-items: center;
}

.arinatek-menu-list li {
    margin: 0;
    padding: 0;
}

.arinatek-menu-list li a {
    font-family: 'allerregular';
    font-size: 14px;
    font-weight: 300;
    color: #ffffff;
    text-decoration: none;
    text-transform: uppercase;
    padding: 8px 16px;
    display: inline-block;
    transition: background-color 0.25s ease, color 0.25s ease;
}

.arinatek-menu-list li a:hover {
    background-color: var(--arinatek-header-blue);
    color: #ffffff;
}

/* Active Menu Item Highlight (Blue Box) */
.arinatek-menu-list li.active a,
.arinatek-menu-list li.current-menu-item a {
    background-color: var(--arinatek-header-blue);
    color: #ffffff;
}

/* When header is scrolled, active item is darker blue */
.arinatek-header-wrapper.is-scrolled .arinatek-menu-list li.active a,
.arinatek-header-wrapper.is-scrolled .arinatek-menu-list li.current-menu-item a {
    background-color: var(--arinatek-header-dark-blue);
    color: #ffffff;
}

.arinatek-header-wrapper.is-scrolled .arinatek-menu-list li a:hover {
    background-color: var(--arinatek-header-dark-blue);
}

/* -------------------------------------------------------------
   SEARCH ICON & POPUP
------------------------------------------------------------- */
.arinatek-search-wrap {
    position: relative;
    margin-left: 10px;
    
}
.arinatek-search-wrap button,
.arinatek-nav-bar button,
.arinatek-drawer-header button {
    border: none!important;
}
.arinatek-search-wrap button:hover,
.arinatek-nav-bar button:hover,
.arinatek-drawer-header button:hover {
    background: none!important;
}

.arinatek-nav-bar button i{
    color: var(--e-global-color-3b83508);
}


.arinatek-search-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 16px;
    cursor: pointer;
    padding: 8px;
    line-height: 1;
    transition: color 0.2s ease, transform 0.2s ease;
}

.arinatek-search-toggle:hover {
    color: var(--arinatek-header-blue);
    transform: scale(1.1);
}

.arinatek-search-toggle:focus {
    outline: none;
}

/* Search Dropdown Popup */
.arinatek-search-popup {
    position: absolute;
    top: calc(100% + 14px);
    right: 0;
    width: 250px;
    background: #ffffff;
    border-radius: 3px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    /*padding: 8px 10px;*/
    box-sizing: border-box;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    z-index: 1000;
}

.arinatek-search-popup.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}


.arinatek-search-form {
    display: flex;
    align-items: center;
    margin: 0;
    position: relative;
    z-index: 2;
}

.arinatek-search-input {
    width: 100%;
    border: none;
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    color: #333333;
    outline: none!important;
    box-sizing: border-box;
    transition: border-color 0.2s;
	padding: 1px 2px;
	border-radius: 0;
}

.arinatek-search-input:focus {
    border-color: var(--arinatek-header-blue);
}

/* -------------------------------------------------------------
   MOBILE NAVIGATION (HAMBURGER & OFF-CANVAS DRAWER)
------------------------------------------------------------- */
.arinatek-hamburger-btn {
    display: none;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 24px;
    cursor: pointer;
    padding: 8px 10px;
    line-height: 1;
    margin-left: 6px;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.arinatek-hamburger-btn:hover,
.arinatek-hamburger-btn.is-active {
    color: var(--arinatek-header-blue);
}

.arinatek-hamburger-btn:focus {
    outline: none;
}

/* Scroll Lock when Drawer is Open */
html.arinatek-scroll-locked,
body.arinatek-scroll-locked {
    overflow: hidden !important;
    height: 100% !important;
    touch-action: none;
}

/* Backdrop */
.arinatek-drawer-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    z-index: 99980;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

body.admin-bar .arinatek-drawer-backdrop {
    top: 32px;
    height: calc(100vh - 32px);
}

@media screen and (max-width: 782px) {
    body.admin-bar .arinatek-drawer-backdrop {
        top: 46px;
        height: calc(100vh - 46px);
    }
}

.arinatek-drawer-backdrop.is-active {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

/* Off-Canvas Drawer (Image 5) */
.arinatek-mobile-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: 290px;
    max-width: 82vw;
    height: 100vh;
    background: #ffffff;
    z-index: 99990;
    box-shadow: 4px 0 25px rgba(0, 0, 0, 0.3);
    transform: translate3d(-100%, 0, 0);
    -webkit-transform: translate3d(-100%, 0, 0);
    transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    box-sizing: border-box;
}

body.admin-bar .arinatek-mobile-drawer {
    top: 32px;
    height: calc(100vh - 32px);
}

@media screen and (max-width: 782px) {
    body.admin-bar .arinatek-mobile-drawer {
        top: 46px;
        height: calc(100vh - 46px);
    }
}

.arinatek-mobile-drawer.is-open {
    transform: translate3d(0, 0, 0) !important;
    -webkit-transform: translate3d(0, 0, 0) !important;
}

.arinatek-drawer-header {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 8px 10px;
    border-bottom: 1px solid #eeeeee;
    background: #ffffff;
}

.arinatek-drawer-close {
    
    width: 30px;
    height: 40px;
    display: none;
    color: #70798b;
    font-size: 26px!important;
    
    background: transparent;
    border: none;
    cursor: pointer;
    line-height: 1;
    padding: 4px;
    transition: color 0.2s ease, transform 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.arinatek-drawer-close:hover {
    color: var(--arinatek-header-blue);
    transform: scale(1.1);
}

.arinatek-drawer-close:focus {
    outline: none;
}

.arinatek-drawer-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.arinatek-drawer-menu li {
    border-bottom: 1px solid #f2f2f2;
    margin: 0;
    padding: 0;
}

.arinatek-drawer-menu li a {
    font-family: 'aller_lightregular', sans-serif;
    font-size: 12px;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 14px 22px;
    display: block;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.arinatek-drawer-menu li a:hover {
    background-color: #f7f9fc;
    color: var(--arinatek-header-blue);
}

/* Mobile Active Menu Item Highlight (Solid Blue) */
.arinatek-drawer-menu li.active a,
.arinatek-drawer-menu li.current-menu-item a {
    background-color: var(--arinatek-header-blue) !important;
    color: #ffffff !important;
}

/*[type=button]:focus, [type=button]:hover, [type=submit]:focus, [type=submit]:hover, button:focus, button:hover {*/
/*    background-color: unset !important;*/
/*}*/

button.arinatek-search-toggle {
    padding: 0;
}

/* -------------------------------------------------------------
   RESPONSIVE BREAKPOINTS
------------------------------------------------------------- */

/* Desktop (Above 1024px): Hamburger strictly HIDDEN, Menu strictly VISIBLE */
@media (min-width: 1025px) {
    .arinatek-hamburger-btn {
        display: none !important;
    }

    .arinatek-menu-list {
        display: flex !important;
    }

    .arinatek-header-top-info {
        display: flex;
    }

    .arinatek-drawer-backdrop,
    .arinatek-mobile-drawer {
        display: none !important;
    }
}

/* Tablet & Mobile (1024px and below): Menu HIDDEN, Hamburger VISIBLE */
@media (max-width: 1024px) {
    /* Header background is always solid blue on mobile like .is-scrolled */
    .arinatek-header-wrapper {
        background-color: var(--arinatek-header-blue) !important;
        box-shadow: 0 3px 15px rgba(0, 0, 0, 0.25);
    }

    .arinatek-header-top-info {
        display: none !important;
    }

    .arinatek-menu-list {
        display: none !important;
    }

    .arinatek-hamburger-btn {
        display: inline-flex !important;
    }

    .arinatek-drawer-backdrop {
        display: block;
    }

    .arinatek-mobile-drawer {
        display: flex;
    }

    .arinatek-header-container {
        min-height: 65px;
        padding: 0 15px 0 0; /* Flush on the left for the logo badge */
    }

    .arinatek-header-wrapper.is-scrolled .arinatek-header-container {
        min-height: 55px;
    }

    .arinatek-header-right {
        flex-direction: row;
        align-items: center;
        justify-content: flex-end;
        padding-left: 10px;
    }

    .arinatek-nav-bar {
        padding-bottom: 0;
        gap: 8px;
    }

    /* ---------------------------------------------------------
       Logo Badge in Mobile NOT Scrolled (Image 1)
       - Background is hover/dark-blue color
       - Deer icon + 'DOORS' text both visible
       - Stretches full height of bar flush to the left
    --------------------------------------------------------- */
    .arinatek-header-wrapper:not(.is-scrolled) .arinatek-logo-badge {
        background-color: var(--arinatek-header-dark-blue) !important;
        width: 75px;
        min-height: 65px;
        height: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 8px 6px;
        box-shadow: none;
        margin-left: 0;
    }

    .arinatek-header-wrapper:not(.is-scrolled) .arinatek-logo-badge img {
        max-height: 36px;
        width: auto;
        display: block;
        margin: 0 auto;
    }

    .arinatek-header-wrapper:not(.is-scrolled) .arinatek-logo-badge span {
        display: block !important;
        font-family: 'aller_lightregular', sans-serif;
        font-size: 11px;
        font-weight: 700;
        color: #ffffff;
        letter-spacing: 2px;
        text-transform: uppercase;
        margin-top: 4px;
        line-height: 1;
        text-align: center;
    }

    /* ---------------------------------------------------------
       Logo Badge in Mobile SCROLLED (Image 2)
       - Dark background goes away (transparent, only header blue shows)
       - Text 'DOORS' disappears
       - Only deer logo remains
    --------------------------------------------------------- */
    .arinatek-header-wrapper.is-scrolled .arinatek-logo-badge {
        background-color: transparent !important;
        box-shadow: none;
        width: 70px;
        min-height: 55px;
        height: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 6px;
        margin-left: 0;
    }

    .arinatek-header-wrapper.is-scrolled .arinatek-logo-badge img {
        max-height: 42px;
        width: auto;
        display: block;
        margin: 0 auto;
    }

    .arinatek-header-wrapper.is-scrolled .arinatek-logo-badge span {
        display: none !important;
    }
    
    
}


@media (max-width: 767px) {
    .arinatek-header-wrapper.is-scrolled .arinatek-logo-badge{
        min-height: 65px!important;
    }
    .arinatek-header-container{
        padding: 0 15px;
    }
    .arinatek-header-wrapper.is-scrolled .arinatek-header-container{
        min-height: 65px;
    }
}
    
