/* =========================================
   TOP BAR
========================================= */
body{
    margin: 0px;
    padding: 0px;
    overflow-x: hidden;
}
.topbar {
    width: 100%;
    height: 44px;
    background: #a7090e;
    color: #ffffff;
}

.topbar__inner,
.header__inner {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    box-sizing: border-box;
}

.topbar__inner {
    height: 44px;

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

/* Individual items */

.topbar__item {
    height: 28px;
    padding: 0 10px;

    display: flex;
    align-items: center;

    border-right: 1px solid rgba(255, 255, 255, 0.9);

    white-space: nowrap;
}

.topbar__item a {
    display: flex;
    align-items: center;
    gap: 7px;

    color: #ffffff;
    text-decoration: none;

    font-family: Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
}

.topbar__item i {
    color: #ffffff;
    font-size: 16px;
}

/* Location */

.topbar__location {
    gap: 7px;
}

.topbar__location > span {
    font-family: Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
}

/* Social */

.topbar__social {
    height: 28px;

    display: flex;
    align-items: center;

    padding-left: 20px;
    gap: 28px;
}

.topbar__social a {
    color: #ffffff;
    text-decoration: none;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 16px;
}

.topbar__social a:hover {
    color: #ffffff;
}
/* Header Styling */
/* Header Container */
header.header-container {
    width: 100%;
    background: #ffffff; /* Sets full-width header background */
    box-shadow: 0 2px 5px rgba(0,0,0,0.05); /* Optional bottom shadow */
}

/* Inner Layout (Matches topbar__inner) */
.header__inner {
    min-height: 80px;
    box-sizing: border-box;
    
    display: flex;
    align-items: center;
    justify-content: space-between; /* Logo left, Nav right */
}

/* Logo Sizing */
.logo-wrapper a {
    padding: 0; /* Prevents global 'a' padding from messing up logo */
}

.header-logo {
    display: block;
    width: min(361px, 100%);
    height: auto;
    max-width: 100%;
    object-fit: contain;
}

.logo-wrapper {
    flex: 0 1 361px;
    min-width: 0;
}

.nav-menu {
    min-width: 0;
}

.nav-toggle {
    display: none;
    border: 0;
    background: transparent;
    padding: 8px;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    margin: 5px 0;
    border-radius: 2px;
    background: #a7090e;
}

.nav-close {
    display: none;
}

.drawer-header {
    display: none;
}

/* Navigation List Clean-up */
ul.nav-list {
    display: flex;
    list-style-type: none;
    gap: 10px;
    margin: 0;
    padding: 0;
}

ul.nav-list a {
    font-family: "Roboto", Sans-serif;
    font-size: 15px;
    font-weight: 800;
    text-transform: uppercase;
    color: #A7090E;
    padding: 0 10px;
    text-decoration: none;
    transition: color .2s ease, transform .2s ease;
}

ul.nav-list a:hover,
ul.nav-list a:focus-visible,
ul.nav-list a.is-active {
    color: #777;
}

ul.nav-list a:hover,
ul.nav-list a:focus-visible {
    transform: translateY(-1px);
}
/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 900px) {

    .header__inner {
        min-height: 0;
        padding: 12px 16px;
        gap: 12px;
    }

    .logo-wrapper {
        flex: 1 1 220px;
    }

    .nav-menu {
        flex: 1 1 100%;
    }

    ul.nav-list {
        justify-content: center;
        flex-wrap: wrap;
        row-gap: 8px;
    }

    .topbar {
   display: none;
    }
}


@media (max-width: 600px) {

    .header__inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 12px 16px 16px;
    }

    .logo-wrapper {
        display: flex;
        justify-content: center;
    }

    .nav-toggle {
        display: block;
        align-self: center;
    }

    .nav-menu {
        display: block;
        position: fixed;
        z-index: 1001;
        top: 0;
        left: 0;
        width: min(350px, 88vw);
        height: 100vh;
        padding: 22px 15px;
        box-sizing: border-box;
        background: #ffffff;
        box-shadow: 4px 0 14px rgba(0, 0, 0, 0.18);
        transform: translateX(-105%);
        transition: transform 0.25s ease;
    }

    .nav-menu.is-open {
        transform: translateX(0);
    }

    .nav-close {
        display: block;
        margin-left: auto;
        width: 45px;
        height: 42px;
        border: 1px solid #888;
        border-radius: 2px;
        background: #ffffff;
        color: #a7090e;
        font-size: 25px;
        line-height: 1;
        cursor: pointer;
    }

    .drawer-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
    }

    .drawer-header a {
        display: block;
        min-width: 0;
    }

    .drawer-logo {
        display: block;
        width: 190px;
        max-width: 100%;
        height: auto;
    }

    ul.nav-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        margin-top: 38px;
    }

    .header-logo {
        width: min(280px, 100%);
    }

    ul.nav-list a {
        display: block;
        padding: 11px 0;
        font-size: 19px;
    }

    .topbar__inner {
        justify-content: center;
    }

    .topbar__item {
        padding: 0 8px;
    }

    .topbar__item a,
    .topbar__location > span {
        font-size: 13px;
    }

    .topbar__social {
        padding-left: 10px;
        gap: 15px;
    }
}
