/* Main Navbar Wrapper */
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    background: #fff;
    box-shadow: 0px 0px 4px rgba(0,0,0,0.15);
    position: relative;
    z-index: 10;
}

/* ============ LEFT SECTION ============ */
.nav-left img {
    max-width: 95px;
}

@media (max-width: 768px) {
    .nav-left img {
        max-width: 70px;
    }
}

/* ============ CENTER SEARCH BAR ============ */

.nav-center { flex: 1; text-align: center; }

.search-bar {
    display: flex;
    justify-content: center;
}

.search-inner {
    display: flex;
    align-items: stretch;        /* match heights */
    width: 100%;
    max-width: 520px;            /* desktop max width */
    background: #fff;
    border-radius: 40px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    border: 1px solid #e6e6e6;
    overflow: hidden;
}

/* Input */
.search-inner input {
    flex: 1;
    padding: 10px 14px;
    border: none;
    outline: none;
    font-size: 14px;
    background: transparent;
}

/* Button */
.search-inner .btn-search {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    min-width: 86px;
    border: none;
    background: #111;
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    border-radius: 0;
}

/* Make button height match input on all screens by letting parent control height */
.search-inner input,
.search-inner .btn-searchx {
    height: 44px;
    line-height: 1;
}

/* Small screens: reduce sizes */
@media (max-width: 768px) {
    .search-inner {
        max-width: 420px;
        margin: 0 8px;
    }
    .search-inner input { padding: 9px 12px; font-size: 13px; }
    .search-inner .btn-searchx { min-width: 72px; padding: 0 12px; font-size: 13px; }
}

/* Very small phones */
@media (max-width: 420px) {
    .search-inner { max-width: 320px; }
    .search-inner input { font-size: 13px; padding: 8px 10px; }
    .search-inner .btn-searchx { min-width: 64px; padding: 0 10px; }
}
/* ============ RIGHT SECTION ============ */

.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Desktop Links */
.nav-links {
    display: flex;
    gap: 18px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: #000;
    font-weight: 600;
    transition: 0.3s;
}

.nav-links a:hover {
    color: white;
    background: orange;
    padding: 4px 8px;
    border-radius: 15px;
}

/* Mobile hides these links */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
}

/* Account area */
.nav-account a {
    text-decoration: none;
    font-weight: bold;
}

.account-icon {
    padding: 6px 10px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 0 3px rgba(0,0,0,0.2);
    color: black;
}

.login-btn {
    padding: 5px 12px;
    border: 1px solid black;
    border-radius: 20px;
}

.signup-btn {
    padding: 5px 12px;
    background: orange;
    color: white;
    border-radius: 20px;
}

@media (max-width: 768px) {
    .nav-account {
        display: none;
    }
}

/* ============ HAMBURGER MENU ============ */

.menu-icon {
    display: none;
    width: 24px;
    cursor: pointer;
    z-index: 20;
    background:white !important;
    margin-top:-15px !important;
}

.menu-icon .bar {
    height: 5px;
    background: black;
    margin: 4px 0;
    transition: 0.4s;
}

/* Mobile */
@media (max-width: 768px) {
    .menu-icon {
        display: block;
    }
}

/* Menu Close Animation */
.menu-icon.close .bar1 {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-icon.close .bar2 {
    opacity: 0;
}

.menu-icon.close .bar3 {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ============ MOBILE OVERLAY ============ */

.mobile-overlay {
    height: 100%;
    width: 100%;
    position: fixed;
    top: 0;
    right: 0;
    background: radial-gradient(#216A7C, #102C33);
    display: none;
    z-index: 9;
}

.mobile-overlay.open {
    display: block;
}

.overlay-content {
    margin-top: 20%;
    text-align: center;
}

.overlay-content a {
    display: block;
    padding: 12px;
    font-size: 18px;
    font-weight: bold;
    color: white;
    text-decoration: none;
}

.overlay-content a:hover {
    opacity: 0.8;
}

.mobile-signup {
    background: red;
    padding: 10px 25px;
    border-radius: 25px;
    color: white;
}

/* END */