/* =========================================
   TOP ANNOUNCEMENT BAR
========================================= */

.top-bar {
    height: 25px;

    background: #0b281a;

    color: #ffffff;

    font-size: 10px;
}

.top-bar-inner {
    max-width: 1400px;

    height: 100%;

    margin: 0 auto;

    padding: 0 35px;

    display: flex;

    align-items: center;

    justify-content: space-between;
}

.top-bar p {
    margin: 0;

    opacity: 0.9;
}

.top-bar-links {
    display: flex;

    align-items: center;

    gap: 8px;
}

.top-bar-links a {
    color: #ffffff;

    opacity: 0.9;
}

.top-bar-links a:hover {
    opacity: 1;
}


/* =========================================
   MAIN HEADER
========================================= */

.site-header {
    width: 100%;
    height: 72px;

    background: #ffffff;

    border-bottom: 1px solid #eeeeee;

    position: sticky;

    top: 0;

    z-index: 1000;
}


/* =========================================
   HEADER INNER
========================================= */

.header-inner {
    width: 100%;

    max-width: 1400px;

    height: 100%;

    margin: 0 auto;

    padding: 0 35px;

    display: flex;

    align-items: center;

    position: relative;
}


/* =========================================
   LEFT NAVIGATION
========================================= */

.main-navigation {
    position: absolute;

    right: calc(50% + 110px);

    display: flex;

    align-items: center;

    gap: 28px;
}

.main-navigation a {
    position: relative;

    font-size: 13px;

    font-weight: 500;

    color: #1d2721;

    white-space: nowrap;

    transition: color 0.2s ease;
}

.main-navigation a:hover {
    color: #8c6a2f;
}


/* Navigation underline */

.main-navigation a::after {
    content: "";

    position: absolute;

    left: 0;

    bottom: -8px;

    width: 0;

    height: 1px;

    background: #8c6a2f;

    transition: width 0.2s ease;
}

.main-navigation a:hover::after {
    width: 100%;
}


/* =========================================
   CENTER LOGO
========================================= */

.site-logo {
    position: absolute;

    left: 50%;

    top: 50%;

    transform: translate(-50%, -50%);

    width: 145px;

    display: flex;

    align-items: center;

    justify-content: center;

    z-index: 2;
}

.site-logo img {
    width: 135px;

    height: auto;

    display: block;
}


/* =========================================
   RIGHT SIDE
========================================= */

.header-right {
    position: absolute;

    left: calc(50% + 110px);

    display: flex;

    align-items: center;

    gap: 28px;
}


/* =========================================
   RIGHT NAVIGATION
========================================= */

.secondary-navigation {
    display: flex;

    align-items: center;

    gap: 28px;
}

.secondary-navigation a {
    position: relative;

    font-size: 13px;

    font-weight: 500;

    color: #1d2721;

    white-space: nowrap;

    transition: color 0.2s ease;
}

.secondary-navigation a:hover {
    color: #8c6a2f;
}


/* =========================================
   HEADER ICONS
========================================= */

.header-actions {
    display: flex;

    align-items: center;

    gap: 18px;
}

.header-icon {
    width: 22px;

    height: 22px;

    padding: 0;

    display: flex;

    align-items: center;

    justify-content: center;

    border: none;

    background: transparent;

    color: #1d2721;

    cursor: pointer;

    transition:
        color 0.2s ease,
        transform 0.2s ease;
}

.header-icon:hover {
    color: #8c6a2f;

    transform: translateY(-1px);
}

.header-icon svg {
    display: block;
}


/* =========================================
   MOBILE MENU BUTTON
========================================= */

.mobile-menu-toggle {
    display: none;

    width: 35px;

    height: 35px;

    padding: 0;

    border: none;

    background: transparent;

    cursor: pointer;

    position: relative;

    z-index: 1002;

    -webkit-tap-highlight-color: transparent;
}

.mobile-menu-toggle span {
    display: block;

    width: 22px;

    height: 1px;

    margin: 5px auto;

    background: #1d2721;

    transition:
        transform 0.2s ease,
        opacity 0.2s ease;
}


/* =========================================
   MOBILE MENU OPEN STATE
========================================= */

.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}


/* =========================================
   MOBILE NAVIGATION
========================================= */

.mobile-navigation {
    display: none;

    position: absolute;

    top: 100%;

    left: 0;

    width: 100%;

    background: #ffffff;

    border-bottom: 1px solid #eeeeee;

    padding: 5px 20px 15px;

    z-index: 1001;

    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
}

.mobile-navigation.active {
    display: block;
}

.mobile-navigation a {
    display: block;

    width: 100%;

    padding: 15px 0;

    border-bottom: 1px solid #eeeeee;

    color: #1d2721;

    font-size: 13px;

    font-weight: 500;

    line-height: 1.3;

    text-decoration: none;

    -webkit-tap-highlight-color: transparent;
}

.mobile-navigation a:last-child {
    border-bottom: none;
}

.mobile-navigation a:hover {
    color: #8c6a2f;
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 1100px) {

    .main-navigation {
        gap: 18px;
    }

    .secondary-navigation {
        gap: 18px;
    }

    .main-navigation a,
    .secondary-navigation a {
        font-size: 12px;
    }

    .header-right {
        gap: 18px;
    }

    .header-actions {
        gap: 13px;
    }

    .site-logo {
        width: 130px;
    }

    .site-logo img {
        width: 125px;
    }
}


/* =========================================
   MOBILE / SMALL TABLET
========================================= */

@media (max-width: 900px) {

    .main-navigation,
    .header-right {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;

        margin-left: auto;
    }

    .header-inner {
        padding: 0 20px;
    }

    .site-logo {
        width: 125px;
    }

    .site-logo img {
        width: 120px;
    }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 600px) {

    .top-bar {
        display: none;
    }

    .site-header {
        height: 65px;
    }

    .site-logo {
        width: 110px;
    }

    .site-logo img {
        width: 105px;
    }

    .mobile-navigation {
        padding-left: 20px;
        padding-right: 20px;
    }

}


/* =========================================
   SEARCH PANEL
========================================= */

.header-search-panel {
    display: none;

    position: absolute;

    top: 100%;

    left: 0;

    width: 100%;

    background: #ffffff;

    border-bottom: 1px solid #eeeeee;

    z-index: 999;
}

.header-search-panel.active {
    display: block;
}

.header-search-panel form {
    max-width: 1400px;

    margin: 0 auto;

    padding: 15px 35px;

    display: flex;

    align-items: center;
}

.header-search-panel input[type="search"] {
    flex: 1;

    height: 42px;

    padding: 0 12px;

    border: 1px solid #eeeeee;

    background: #ffffff;

    color: #1d2721;

    font-family: "DM Sans", Arial, sans-serif;

    font-size: 13px;

    outline: none;
}

.header-search-panel input[type="search"]:focus {
    border-color: #8c6a2f;
}

.header-search-panel button {
    height: 42px;

    padding: 0 22px;

    border: 1px solid #0b281a;

    background: #0b281a;

    color: #ffffff;

    font-family: "DM Sans", Arial, sans-serif;

    font-size: 10px;

    letter-spacing: 1px;

    cursor: pointer;
}

.header-search-panel button:hover {
    background: #8c6a2f;

    border-color: #8c6a2f;
}


@media (max-width: 600px) {

    .header-search-panel form {
        padding: 12px 20px;
    }

}