a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.container {
    width: 90%;
    max-width: 1550px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* --- Top Bar --- */
.top-bar-wrapper {
    background-color: #FFFFFF;
    padding: 18px 0;
}

.top-bar-container {
    display: flex;
    justify-content: space-between; /* This will push logo left, and (nav + toggle) right */
    align-items: center;
}

/* Logo Area */
.logo-area {
    /* No changes needed here */
}
.logo-link {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.logo-main-text {
    font-size: 50px;
    font-weight: 700;
    color: #58595B;
    line-height: 1;
    letter-spacing: -1.5px;
}
.logo-main-text sup.reg-mark {
    font-size: 0.22em;
    font-weight: normal;
    position: relative;
    top: -2.3em;
    line-height: 0;
    margin-left: 1px;
}
.logo-sub-text {
    display: flex;
    align-items: center;
    font-size: 12px;
    color: #58595B;
    font-weight: 500;
    margin-top: 3px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}
.logo-droplet {
    margin-right: 6px;
    position: relative;
    top: -1px;
}

/* Desktop Top Right Navigation (uk-visible@m) */
.top-right-nav.uk-visible\@m {
    display: flex;
    align-items: center;
    color: #8C7853;
    /* margin-left: auto; /* Ensure it's pushed to the right if toggle was also visible */
}
.header-top-menu ul {
    display: flex;
}
.header-top-menu li {
    margin-left: 28px;
}
.header-top-menu li:first-child {
    margin-left: 0;
}
.header-top-menu a {
    font-size: 13px;
    font-weight: 500;
    color: #8C7853;
    transition: color 0.3s ease;
}
.header-top-menu a:hover {
    color: #6b5b40;
}
.arrow-down {
    font-size: 10px;
    margin-left: 5px;
    display: inline-block;
    vertical-align: middle;
    position: relative;
    top: -1px;
}
.header-contact-info {
    margin-left: 35px;
    display: flex;
    align-items: center;
}
.header-contact-info a {
    font-size: 13px;
    font-weight: 500;
    color: #8C7853;
    display: inline-flex;
    align-items: center;
    transition: color 0.3s ease;
}
.header-contact-info a:hover {
    color: #6b5b40;
}
.header-contact-info a:not(:first-child) {
    margin-left: 20px;
}
.header-contact-info .fa-phone-alt {
    margin-right: 7px;
    font-size: 1em;
}
.header-contact-info .fa-envelope {
    font-size: 1.2em;
}
.header-social-icons {
    margin-left: 28px;
    display: flex;
    align-items: center;
}
.header-social-icons a {
    color: #8C7853;
    margin-left: 18px;
    font-size: 1.3em;
    transition: color 0.3s ease;
}
.header-social-icons a:first-child {
    margin-left: 0;
}
.header-social-icons a:hover {
    color: #6b5b40;
}
.icon-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* UIkit Toggle Icon in Top Bar (uk-hidden@m makes it visible on small) */
.main-nav-uikit-toggle.uk-hidden\@m {
    /* No margin-left: auto needed here if parent is space-between and .top-right-nav is hidden */
}
.main-nav-uikit-toggle svg {
    color: #8C7853; /* Color of the hamburger icon */
}
.main-nav-uikit-toggle:hover svg {
    color: #6b5b40;
}


/* --- Main Navigation Bar (Beige Bar) --- */
.main-nav-wrapper {
    background-color: #F5F1E9;
    padding: 14px 0; /* This padding will make the bar visible even if empty */
    /* If you want the beige bar to completely disappear on mobile, use uk-visible@m on .main-nav-wrapper */
    /* Alternatively, set padding to 0 on mobile for .main-nav-wrapper */
}

.main-nav-container {
    display: flex;
    align-items: center;
    /* On desktop, menu left, search right */
    /* On mobile, this container might be empty if all children are uk-visible@m */
}

/* DESKTOP Main Menu (uk-visible@m) */
.header-main-menu.uk-visible\@m {
    flex-grow: 1;
}
.header-main-menu.uk-visible\@m ul {
    display: flex;
}
.header-main-menu.uk-visible\@m li {
    margin-right: 35px;
    position: relative; /* For dropdown positioning */
}
.header-main-menu.uk-visible\@m li:last-child {
    margin-right: 0;
}
.header-main-menu.uk-visible\@m a {
    font-size: 14.5px;
    font-weight: 500;
    color: #8C7853;
    transition: color 0.3s ease;
}
.header-main-menu.uk-visible\@m a:hover {
    color: #6b5b40;
}

/* DESKTOP Search (uk-visible@m) */
.header-search.uk-visible\@m a {
    color: #8C7853;
    font-size: 1.4em;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    margin-left: auto;
}
.header-search.uk-visible\@m a:hover {
    color: #6b5b40;
}

/* Desktop Top Menu Dropdown Positioning */
.header-top-menu li {
    position: relative; /* For dropdown positioning */
}

/* Custom Dropdown Styles for Navigation */
.uk-navbar-dropdown {
    background-color: #FFFFFF;
    border: 1px solid #E5E5E5;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 8px 0;
    min-width: 200px;
    margin-top: 8px;
}

.uk-navbar-dropdown-nav > li > a {
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 400;
    color: #58595B;
    transition: all 0.3s ease;
    border-radius: 0;
}

.uk-navbar-dropdown-nav > li > a:hover {
    background-color: #F5F1E9;
    color: #8C7853;
}

/* --- UIkit Off-canvas Customization --- */
#offcanvas-nav .uk-offcanvas-bar {
    background-color: #F5F1E9;
}
#offcanvas-nav .uk-nav-default > li > a,
#offcanvas-nav .uk-nav-header {
    color: #8C7853;
    font-weight: 500;
    display: flex;
    align-items: center;
}
#offcanvas-nav .uk-nav-default > li > a .fas,
#offcanvas-nav .uk-nav-default > li > a .fab {
    margin-right: 8px;
    width: 1.2em;
    text-align: center;
}
#offcanvas-nav .uk-nav-default > li > a:hover,
#offcanvas-nav .uk-nav-default > li.uk-active > a {
    color: #6b5b40;
}
#offcanvas-nav .uk-nav-divider {
    border-top-color: rgba(140, 120, 83, 0.3);
    margin-top: 0.75rem;
    margin-bottom: 0.75rem;
}
#offcanvas-nav .uk-offcanvas-close svg {
    color: #8C7853;
}
#offcanvas-nav .uk-offcanvas-close:hover svg {
    color: #6b5b40;
}
.offcanvas-social-icons {
    padding: 10px 15px;
    display: flex;
    justify-content: flex-start;
    gap: 20px;
}
.offcanvas-social-icons .icon-link {
    font-size: 1.4em;
    color: #8C7853;
}
.offcanvas-social-icons .icon-link:hover {
    color: #6b5b40;
}

/* Mobile Off-canvas Submenu Styles */
#offcanvas-nav .uk-nav-sub {
    padding-left: 20px;
    margin-top: 8px;
    border-left: 2px solid #E9E2D5;
    display: none; /* Initially hidden */
}

#offcanvas-nav .uk-nav-sub li {
    margin-bottom: 5px;
}

#offcanvas-nav .uk-nav-sub a {
    font-size: 12px;
    color: #707070;
    padding: 6px 0;
    display: block;
    transition: color 0.3s ease;
}

#offcanvas-nav .uk-nav-sub a:hover {
    color: #8C7853;
}

/* Parent item styling for mobile */
#offcanvas-nav .uk-parent > a {
    position: relative;
}

/* Arrow rotation for expanded items */
#offcanvas-nav .uk-parent.uk-open > a .arrow-down {
    transform: rotate(180deg);
    transition: transform 0.3s ease;
}

#offcanvas-nav .uk-parent > a .arrow-down {
    transition: transform 0.3s ease;
}

/* Show submenu when parent is open */
#offcanvas-nav .uk-parent.uk-open .uk-nav-sub {
    display: block;
}

/* --- Responsive Adjustments --- */
@media (max-width: 1200px) {
    .container {
        width: 95%;
        padding: 0 15px;
    }
    .logo-main-text { font-size: 44px; }
    .logo-sub-text { font-size: 11px; }

    .top-right-nav.uk-visible\@m .header-top-menu li { margin-left: 20px; }
    .top-right-nav.uk-visible\@m .header-contact-info { margin-left: 25px; }
    .top-right-nav.uk-visible\@m .header-contact-info a:not(:first-child) { margin-left: 15px; }
    .top-right-nav.uk-visible\@m .header-social-icons { margin-left: 20px; }
    .top-right-nav.uk-visible\@m .header-social-icons a { margin-left: 12px; }

    .header-main-menu.uk-visible\@m li { margin-right: 25px; }
    .header-main-menu.uk-visible\@m a { font-size: 13.5px; }
}

/* Mobile view adjustments */
@media (max-width: 959px) { /* UIkit's medium breakpoint is 960px */
    .top-bar-container {
        /* justify-content: space-between; will push logo left, toggle right when .top-right-nav is hidden */
    }
    .main-nav-wrapper {
        /* If you want the beige bar to be thinner or disappear completely on mobile: */
        /* padding-top: 0; */
        /* padding-bottom: 0; */
        /* or even display: none; if it should be gone */
        /* For now, it keeps its padding and will be an empty beige bar */
    }
    .main-nav-container {
        min-height: 0; /* Prevent empty container from taking up space if it had a min-height */
    }
}

@media (max-width: 768px) {
    .logo-main-text { font-size: 38px; }
    .logo-sub-text { font-size: 10px; }
    .logo-droplet { width: 8px; height: 12px; }
}