/*
Theme Name: Electech Services
Theme URI: https://www.electechltd.co.uk/
Description: Electech Services custom child theme
Author: Electech Services Ltd
Template: twentytwenty
Version: 1.0
Text Domain: electech-child
*/



/* =========================================
   ELECTECH SERVICES - CUSTOM HEADER
   ========================================= */

#electech-header {
    display: block !important;
    width: 100%;
    margin: 0;
    padding: 0;
    background: #ffffff;
    position: relative;
    z-index: 999;
}

#site-header {
    display: none !important;
}

.electech-header-inner {
    width: 100%;
    max-width: 1280px;
    min-height: 100px;
    margin: 0 auto;
    padding: 16px 20px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    box-sizing: border-box;
}

.electech-brand {
    flex: 0 0 auto;
    margin: 0;
}

.electech-brand a {
    display: block;
    color: #0085a8;
    font-family: Georgia, serif;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    white-space: nowrap;
}

.electech-navigation {
    flex: 1 1 auto;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    min-width: 0;
}

.electech-menu {
    display: flex !important;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.electech-menu li {
    display: block;
    flex: 0 0 auto;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.electech-menu a {
    display: block;
    padding: 10px 12px;
    border-radius: 24px;
    color: #151515;
    font-family: Arial, sans-serif;
    font-size: 16px;
    font-weight: normal;
    text-decoration: none;
    white-space: nowrap;
}

.electech-menu a:hover,
.electech-menu .current-menu-item > a,
.electech-menu .current_page_item > a {
    background: #0074c3;
    color: #ffffff;
}

/* Mobile layout */

@media (max-width: 767px) {

    .electech-header-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        padding: 20px;
    }

    .electech-navigation {
        width: 100%;
        justify-content: flex-start;
    }

    .electech-menu {
        flex-wrap: wrap;
        justify-content: flex-start;
    }

}