/* ERA Electrical header branding */
.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;

    width: 80px;
    height: 80px;
    margin-right: 30px;

    font-size: 0 !important;
    line-height: 0 !important;
    color: transparent !important;
    text-indent: -9999px;
    overflow: hidden;

    background: url("https://eraelectrical.com.au/wp-content/uploads/2026/08/ERA-Electrical-transparent-final.png")
        center / contain no-repeat;
}

.logo span {
    display: none !important;
}

/* Premium sticky header */
.site-header {
    background: rgba(6, 10, 8, 0.96) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(107, 203, 68, 0.18);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
}

.site-header .header-inner {
    display: flex;
    align-items: center;
    min-height: 82px;
}

/* Navigation spacing */
.site-header .nav {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-left: auto;
}

.site-header .nav a {
    position: relative;
    padding: 29px 0;
    color: #ffffff;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.site-header .nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 19px;
    height: 2px;
    background: #6bcb44;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.2s ease;
}

.site-header .nav a:hover,
.site-header .nav a:focus {
    color: #6bcb44;
}

.site-header .nav a:hover::after,
.site-header .nav a:focus::after {
    transform: scaleX(1);
}

/* Call button */
.site-header .btn.btn-secondary {
    margin-left: 34px;
    padding: 13px 24px;
    border: 1px solid #6bcb44;
    border-radius: 999px;
    background: #6bcb44;
    color: #071008;
    font-weight: 800;
    box-shadow: 0 0 20px rgba(107, 203, 68, 0.2);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.site-header .btn.btn-secondary:hover {
    transform: translateY(-2px);
    background: #7bdd54;
    box-shadow: 0 8px 24px rgba(107, 203, 68, 0.32);
}

/* Tablet and mobile */
@media (max-width: 900px) {
    .logo {
        width: 50px;
        height: 50px;
        margin-right: 14px;
    }

    .site-header .header-inner {
        min-height: 70px;
    }

    .site-header .nav {
        gap: 18px;
    }

    .site-header .btn.btn-secondary {
        margin-left: 16px;
    }
}

@media (max-width: 768px) {
    .logo {
        width: 44px;
        height: 44px;
    }

    .site-header .header-inner {
        min-height: 64px;
    }
}