﻿@import url(buttons.css);
@import url(colors.css);
@import url(typography.css);

:root {
    --mud-appbar-height: 130px !important;
    --mud-mobile-appbar-height: 64px !important;
}

html, body {
    font-family: var(--font-body);
    background-color: var(--solid-system-bg-light);
    margin: 0;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

main {
    min-height: 100vh;
}

.zonic-header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(234, 247, 255, 0.9);
    backdrop-filter: blur(44px);
    height: var(--mud-appbar-height);
    padding: 2rem 0;
}

.header-container {
    max-width: 1200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: auto;
    padding: 0rem 0.5rem;
}

.header-links,
.header-actions {
    display: flex;
    align-items: center;
}

.header-actions {
    gap: 4px;
}

.navbar-nav {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: row;
}

.nav-item {
    font-size: 0.875rem;
    line-height: 1.125rem;
    color: var( --zenic-ink-700) !important;
    padding: 11px 8px;
}

    .nav-item.active {
        font-weight: 700;
        color: var(--zenic-primary-500) !important;
    }

.search-box {
    position: relative;
    background-color: var(--zenic-ink-50);
    border-radius: 31px;
    border: 1px solid var(--zenic-primary-100);
}

.search-icon {
    position: absolute;
    top: 8px;
    left: 8px;
}

.search-input {
    padding: 10px 36px 10px;
    font-size: 0.875rem;
    line-height: 1.125rem;
    color: var( --zenic-ink-500);
    border-radius: 31px;
}

.language-select {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    line-height: 1.125rem;
    color: var( --zenic-ink-700);
}

.header-container-mobile,
.mobile-menu {
    display: none;
}

footer {
    width: 100%;
    background-color: rgba(255, 255, 255, 1);
    padding: 56px 122px 0;
    border-top: 16px solid var(--zenic-secondary-500);
}

.footer-container {
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin: auto;
}

.footer-content {
    display: flex;
    justify-content: space-between;
}

.footer-content-logo {
    display: flex;
    flex-direction: column;
}

    .footer-content-logo > a {
        width: fit-content;
    }

.footer-logo {
    align-self: flex-start;
    margin-bottom: 0.75rem;
}

.footer-socials {
    margin-top: 1.5rem;
    display: flex;
    gap: 1rem;
}

.footer-links {
    display: flex;
    gap: 1rem;
}

    .footer-links div {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
    }

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0rem;
    border-top: 1px solid var(--zenic-ink-100);
}

    .footer-bottom-content span {
        font-family: var(--font-body);
        font-size: 0.75rem;
        line-height: 1rem;
        color: var(--zenic-ink-500);
    }

.footer-useful {
    display: flex;
    gap: 1.5rem;
}

.footer-contact {
    display: flex;
    flex-direction: row !important;
    gap: 0.5rem !important;
}

    .footer-contact img {
        align-self: start;
    }

@media (max-width: 1150px) {
    .zonic-header {
        height: var(--mud-mobile-appbar-height);
        padding: 0.5rem 0;
    }

    .header-container {
        display: none;
    }

    .header-container-mobile {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0rem 1rem;
    }

    .logo-mobile {
        height: 48px;
    }

    .menu-toggler {
        height: 15px;
    }

    .mobile-menu {
        display: flex;
        z-index: 3;
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 100vh;
    }

    .bg-overlay {
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
        z-index: 1;
        background-color: rgba(234, 247, 255, 0.9);
    }

    .mobile-menu .mobile-nav {
        position: absolute;
        text-align: end;
        right: 0;
        top: 0;
        z-index: 2;
        background-color: rgba(234, 247, 255, 0.9);
        backdrop-filter: blur(44px);
        padding: 1rem;
        margin: 0;
        width: 100%;
        height: 100%;
    }

    .mobile-nav ul {
        list-style-type: none;
        margin-bottom: 0;
        padding: 0.5rem 0;
        border-bottom: 1px solid rgba(30, 57, 107, 1);
    }

    .nav-item {
        padding: 8px 0px;
    }

    .header-actions {
        flex-direction: column;
        align-items: end;
        padding-top: 16px;
        gap: 16px;
    }

    .btn-login {
        padding: 0;
    }

    footer {
        padding: 2rem 1rem 0;
    }

    .footer-content {
        flex-direction: column-reverse;
        align-items: center;
    }

    .footer-content-logo {
        align-items: center;
        text-align: center;
    }

    .footer-bottom-content {
        flex-direction: column;
        gap: 1rem;
    }

    .footer-useful {
        width: 100%;
        max-width: 500px;
        gap: unset;
        justify-content: space-between;
    }
}

@media (max-width: 600px) {
    .footer-links {
        flex-direction: column;
        width: 100%;
    }
}
