/* =========================================================
   HYRO TECHNOLOGIES FZE — HEADER
   File:
   /assets/css/header.css
========================================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;

    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid rgba(232, 234, 240, 0.90);

    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
}

.nav-wrap {
    min-height: 84px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

/* Logo */

.brand-image-link {
    display: flex;
    align-items: center;
    flex: 0 0 auto;

    padding: 0;
    margin: 0;
}

.brand-logo {
    display: block;

    width: auto;
    height: 64px;
    max-width: 340px;

    object-fit: contain;

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

.brand-image-link:hover .brand-logo {
    transform: scale(1.02);
}

/* Main Navigation */

.main-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;

    gap: 24px;

    font-size: 14px;
    font-weight: 500;
}

.main-nav > a:not(.btn) {
    position: relative;

    color: #182033;

    transition: color 0.20s ease;
}

.main-nav > a:not(.btn)::after {
    content: "";

    position: absolute;
    left: 0;
    right: 0;
    bottom: -8px;

    width: 0;
    height: 2px;
    margin: auto;

    border-radius: 10px;

    background: linear-gradient(
        90deg,
        #d62f83 0%,
        #8b63f5 100%
    );

    transition: width 0.22s ease;
}

.main-nav > a:not(.btn):hover {
    color: #d62f83;
}

.main-nav > a:not(.btn):hover::after {
    width: 100%;
}

/* Demo Button */

.main-nav .nav-cta {
    min-height: 48px;
    padding: 0 24px;

    color: #ffffff;

    background: linear-gradient(
        135deg,
        #e52b87 0%,
        #c72b9c 55%,
        #8b63f5 100%
    );

    border: 0;
    border-radius: 14px;

    box-shadow: 0 10px 25px rgba(214, 47, 131, 0.22);

    white-space: nowrap;
}

.main-nav .nav-cta:hover {
    color: #ffffff;

    transform: translateY(-2px);

    box-shadow: 0 14px 30px rgba(138, 82, 220, 0.28);
}

/* Mobile Menu Button */

.menu-toggle {
    display: none;

    padding: 6px;

    color: #182033;
    background: transparent;
    border: 0;

    font-size: 27px;
    line-height: 1;

    cursor: pointer;
}

/* Tablet */

@media (max-width: 980px) {

    .nav-wrap {
        min-height: 78px;
    }

    .brand-logo {
        height: 54px;
        max-width: 285px;
    }

    .menu-toggle {
        display: block;
    }

    .main-nav {
        display: none;

        position: absolute;
        top: 78px;
        left: 4%;
        right: 4%;

        padding: 18px;

        flex-direction: column;
        align-items: stretch;
        gap: 4px;

        background: #ffffff;
        border: 1px solid #e8eaf0;
        border-radius: 18px;

        box-shadow: 0 18px 50px rgba(31, 40, 70, 0.12);
    }

    .main-nav.open {
        display: flex;
    }

    .main-nav > a:not(.btn) {
        padding: 12px 10px;
    }

    .main-nav > a:not(.btn)::after {
        display: none;
    }

    .main-nav .nav-cta {
        width: 100%;
        margin-top: 8px;
    }
}

/* Mobile */

@media (max-width: 640px) {

    .nav-wrap {
        min-height: 72px;
    }

    .brand-logo {
        height: 44px;
        max-width: 225px;
    }

    .main-nav {
        top: 72px;
    }
}
/* HYRO Login Button */
.nav-login {
    background: linear-gradient(135deg, #e5228a 0%, #9b36dc 100%);
    color: #ffffff !important;
    border: 1px solid transparent;
    box-shadow: 0 8px 22px rgba(155, 54, 220, 0.18);
}

.nav-login:hover {
    background: linear-gradient(135deg, #d91f82 0%, #8f2fd0 100%);
    color: #ffffff !important;
    border-color: transparent;
    transform: translateY(-1px);
}