/* Top Bar Styles */

.oh-topbar {
    background-color: var(--oh-primary-hover);
    color: var(--oh-bg-white);
    font-size: 0.85rem;
    padding: 0.5rem 0;
    transition: max-height 0.3s ease, padding 0.3s ease, opacity 0.3s ease;
    overflow: hidden;
    max-height: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.oh-topbar__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.oh-topbar__left,
.oh-topbar__right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.oh-topbar__left a {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
}

.oh-topbar__left a:hover {
    color: var(--oh-bg-white);
}

.oh-topbar__left svg {
    stroke-width: 2.5;
    color: rgba(255, 255, 255, 0.9);
}

.oh-topbar__right span {
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
}

.oh-topbar__right strong {
    color: var(--oh-bg-white);
    font-weight: 600;
}

.oh-topbar__separator {
    opacity: 0.4;
}


/* Header scrolled state: collapse top bar */

.oh-header.oh-header--scrolled .oh-topbar {
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    opacity: 0;
    border-bottom-color: transparent;
}


/* Sticky Header Design - Seamlessly attached to top of page without white space gaps */

.oh-header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    border-bottom: 3px solid var(--oh-primary);
    box-shadow: var(--oh-shadow-sm);
    z-index: 2000;
    transition: background-color 0.4s ease, box-shadow 0.4s ease;
}

.oh-header.oh-header--scrolled {
    background-color: #ffffff;
    box-shadow: var(--oh-shadow-md);
}

.oh-header__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
    transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.oh-header.oh-header--scrolled .oh-header__container {
    height: 70px;
}


/* Logo Wrapper */

.oh-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.oh-logo img {
    height: 48px;
    width: auto;
    transition: var(--oh-transition);
}

.oh-header--scrolled .oh-logo img {
    height: 38px;
}

.oh-logo__text {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--oh-dark);
    letter-spacing: -0.02em;
}

.oh-logo__text span {
    color: var(--oh-primary);
}


/* Desktop Navigation */

.oh-nav {
    display: flex;
    align-items: center;
    gap: 2.25rem;
}

.oh-nav__link {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--oh-dark);
    position: relative;
    padding: 0.5rem 0;
}

.oh-nav__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--oh-primary);
    transition: var(--oh-transition);
}

.oh-nav__link:hover {
    color: var(--oh-primary);
}

.oh-nav__link:hover::after {
    width: 100%;
}

.oh-nav__link.oh-nav__link--active {
    color: var(--oh-primary);
}

.oh-nav__link.oh-nav__link--active::after {
    width: 100%;
}


/* Header Action */

.oh-header__actions {
    display: flex;
    align-items: center;
}

.oh-header__actions .oh-btn {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
}


/* Hamburger Menu button */

.oh-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 24px;
    position: relative;
    z-index: 2010;
}

.oh-menu-toggle span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: var(--oh-dark);
    border-radius: 9px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .25s ease-in-out;
}

.oh-menu-toggle span:nth-child(1) {
    top: 0px;
}

.oh-menu-toggle span:nth-child(2) {
    top: 10px;
}

.oh-menu-toggle span:nth-child(3) {
    top: 20px;
}

.oh-menu-toggle.oh-menu-toggle--active span:nth-child(1) {
    top: 10px;
    transform: rotate(135deg);
}

.oh-menu-toggle.oh-menu-toggle--active span:nth-child(2) {
    opacity: 0;
    left: -60px;
}

.oh-menu-toggle.oh-menu-toggle--active span:nth-child(3) {
    top: 10px;
    transform: rotate(-135deg);
}


/* Mobile Menu Panel */

.oh-mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(320px, 85vw);
    height: 100vh;
    height: 100dvh;
    background-color: var(--oh-bg-white);
    box-shadow: -10px 0 30px rgba(19, 44, 22, 0.15);
    padding: 5rem 1.75rem 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    z-index: 2005;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
}

.oh-mobile-nav.oh-mobile-nav--open {
    right: 0;
}

.oh-mobile-nav__close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: rgba(19, 44, 22, 0.06);
    border: none;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    font-size: 1.5rem;
    line-height: 1;
    color: var(--oh-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--oh-transition);
    z-index: 5;
}

.oh-mobile-nav__close:hover {
    background-color: var(--oh-primary);
    color: var(--oh-bg-white);
}

.oh-mobile-nav__links {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-top: 1rem;
}

.oh-mobile-nav__link {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--oh-dark);
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(19, 44, 22, 0.06);
}

.oh-mobile-nav__link:hover,
.oh-mobile-nav__link.oh-mobile-nav__link--active {
    color: var(--oh-primary);
    border-bottom-color: var(--oh-primary);
    padding-left: 0.5rem;
}

.oh-mobile-nav .oh-btn {
    width: 100%;
    margin-top: auto;
}


/* Blur Overlay for Mobile Menu */


/* .oh-header-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  background-color: rgba(19, 44, 22, 0.35);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  z-index: 1500;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.oh-header-overlay.oh-header-overlay--active {
  opacity: 1;
  pointer-events: auto;
} */


/* Responsive adjustments */

@media (max-width: 992px) {
    .oh-nav {
        display: none;
    }
    .oh-header__actions .oh-btn {
        display: none;
    }
    .oh-menu-toggle {
        display: block;
    }
}

@media (max-width: 768px) {
    .oh-header__container {
        height: 75px;
    }
    .oh-header.oh-header--scrolled .oh-header__container {
        height: 65px;
    }
    .oh-logo img {
        height: 40px;
    }
    .oh-logo__text {
        font-size: 1.1rem;
    }
    .oh-topbar__right {
        display: none;
        /* Hide GST and FSSAI on mobile screens for simplicity */
    }
    .oh-topbar__container {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .oh-topbar {
        max-height: 45px;
        padding: 0.35rem 0;
    }
    .oh-topbar__left {
        gap: 0.6rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    .oh-topbar__left a {
        font-size: 0.725rem;
    }
    .oh-logo__text {
        font-size: 1rem;
    }
    .oh-logo img {
        height: 34px;
    }
}