:root {
    --main-color: #4A2C1A;
    --bg-cream: #F5F0EB;
    --text-white: #ffffff;
    --text-black: #000000;
    --text-gray: #666666;
    --border-color: #F0ECE6;
    --mega-bg: #FAFAFA;
    --accent-color: #b56c50;
    --badge-color: #D48466;
    --search-text: #5C3A2E;
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-family: 'Barlow Condensed', sans-serif;
}

html {
    scroll-behavior: smooth;
}

.main-header {
    position: relative;
    max-width: 1920px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.header-top {
    align-items: center;
    gap: 1rem;
    display: flex;
    width: 100%;
    justify-content: center;
    overflow: hidden;
    padding: 0.8rem 0;
    background-color: #F7F8FA;
}

.header-top span {
    font-weight: 600;
    font-size: 1.2rem;
    color: var(--main-color);
    letter-spacing: 1.5px;

}

.header-content {
    background-color: var(--text-white);
    padding: 1.5rem 7%;
    justify-content: space-between;
    margin: 0 auto;
    width: 100%;
    align-items: center;
    min-height: 85px;
    display: flex;
}

.logo {
    object-fit: contain;
    height: auto;
    width: 13%;
    cursor: pointer;
    margin: 0 auto;
}

.search-container {
    width: 23%;
    align-items: center;
    padding: 0.1rem 1rem;
    display: flex;
    border: 1px solid var(--border-color);
    border-radius: 2rem;
    background-color: var(--text-white);
}

.search-input {
    font-size: 0.9rem;
    padding: 0.5rem;
    border: none;
    outline: none;
    background: transparent;
    width: 100%;
    color: var(--search-text);
}

.search-input::placeholder {
    font-family: 'Georgia', 'Times New Roman', serif;
    color: var(--search-text);
}

.search-button {
    cursor: pointer;
    background: transparent;
    align-items: center;
    display: flex;
    justify-content: center;
    border: none;
}

.search-icon {
    width: 18px;
    height: 18px;
}

.header-item-container {
    display: flex;
    align-items: center;
    gap: 3rem;
    justify-content: flex-end;
}

.header-item a {
    gap: 0.7rem;
    flex-direction: row;
    align-items: center;
    color: var(--main-color);
    justify-content: center;
    transition: opacity 0.2s ease;
    text-decoration: none;
    font-weight: 500;
    display: flex;
}

.header-item a:hover {
    opacity: 0.7;
}

.item-text {
    text-transform: uppercase;
    font-size: 1rem;
    font-weight: 500;
    white-space: nowrap;
    letter-spacing: 0.5px;
    line-height: 1;
    -webkit-text-stroke: 0.5px var(--main-color);
}

.item-icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.item-icon {
    width: 24px;
    height: 24px;
}

.badge {
    position: absolute;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: 700;
    font-style: normal;
    font-family: sans-serif;
    border-radius: 50%;
    height: 18px;
    display: flex;
    right: -12px;
    width: 18px;
    align-items: center;
    background-color: var(--badge-color);
    top: -14px;
    color: var(--text-white);
    line-height: 1;
}

.header-bottom {
    justify-content: center;
    width: 100%;
    display: flex;
    position: relative;
    background-color: var(--text-white);
}

.main-menu-list {
    list-style: none;
    gap: 3.7rem;
    display: flex;
    font-size: 1rem;
    justify-content: center;
    max-width: 1800px;
    padding: 0 4rem;
    padding-bottom: 0.5rem;
}

.menu-element {
    padding: 1.2rem 0;
}

.menu-element>a {
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    gap: 0.5rem;
    color: var(--main-color);
    transition: all 0.2s ease-in-out;
    display: flex;
    font-weight: 500;
    font-size: 1.3rem;
    align-items: center;
    -webkit-text-stroke: 1px var(--main-color);
}

.menu-element>a:hover {
    color: var(--accent-color);
}

.arrow-down {
    margin-left: 5px;
    display: inline-block;
}

.mega-dropdown-menu {
    left: 0;
    transform: translateY(2px);
    position: absolute;
    transition: all 0.3s ease-in-out;
    border-top: 1px solid var(--border-color);
    justify-content: space-between;
    pointer-events: none;
    visibility: hidden;
    box-shadow: 0px 15px 30px rgba(0, 0, 0, 0.08);
    width: 100%;
    padding: 0 0 0rem 1rem;
    background-color: var(--mega-bg);
    display: flex;
    z-index: 100;
    opacity: 0;
    top: 100%;
}

.menu-element.has-dropdown:hover .mega-dropdown-menu {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
    visibility: visible;
}

.mega-left {
    gap: 3rem;
    display: flex;
    justify-content: flex-start;
    padding: 0 3rem;
    flex: 1;
    max-width: 1200px;
    margin: 0 auto;
    margin-top: 3rem;
}

.menu-card {
    gap: 1rem;
    flex-direction: column;
    display: flex;
}

.menu-card h3 {
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    color: var(--main-color);
}

.card-text {
    flex-direction: column;
    gap: 0.8rem;
    display: flex;
}

.card-text a {
    font-weight: 600;
    font-size: 0.95rem;
    font-family: 'Noto Serif', serif;
    text-decoration: none;
    transition: color 0.2s;
    color: #5C3A2E;
}

.card-text a:hover {
    color: var(--main-color);
    font-weight: 700;
}

.mega-right {
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
}

.mega-img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.hamburger-div {
    align-items: center;
    flex-direction: column;
    width: 25px;
    justify-content: space-around;
    cursor: pointer;
    display: none;
    height: 30px;
}

.hamburger-text {
    letter-spacing: 0.5px;
    color: var(--main-color);
    text-transform: uppercase;
    font-size: 0.5rem;
    font-weight: 700;
}

.hamburger-line {
    background-color: var(--main-color);
    margin-top: 2px;
    width: 100%;
    border-radius: 2px;
    height: 2px;
}



.menu-card-half {
    flex: 0.5;
}

.space {
    height: 200vh;
}

@media (max-width: 991px) {
    nav {
        display: none;
    }

    .header-top {
        flex-wrap: wrap;
        padding: 0.5rem;
        text-align: center;
    }

    .header-top span {
        font-size: 0.7rem;
    }

    .header-content {
        justify-content: space-between;
        display: flex;
        flex-wrap: wrap;
        padding: 2rem 1rem 0.5rem 1rem;
        align-items: center;
    }



    .hamburger-div {
        display: flex;
    }

    .logo {
        max-width: 150px;
        width: 30%;
        margin: 0 auto;
    }

    .header-item-container {
        gap: 1rem;
    }

    .item-text {
        font-size: 0.6rem;
    }

    .item-icon {
        width: 18px;
        height: 18px;
    }

    .search-container {
        max-width: 100%;
        margin: 0.5rem 2rem 0.5rem 2rem;
        width: 90%;
        order: 4;
    }
}