.airbnb-header {
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    max-width: 1760px;
    margin: 0 auto;
    padding: 0 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

/* Logo Section */
.logo-section {
    flex: 0 0 auto;
}

.logo {
    height: 70px;
    width: auto;
}

/* Navigation Section */
.nav-section {
    flex: 1;
    display: flex;
    justify-content: center;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #222;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.2s ease;
    position: relative;
}

.nav-item:hover {
    background-color: #f7f7f7;
}

.nav-item.active {
    color: #F08D1A;
}

.nav-item.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 4px;
    background-color: #F08D1A;
    border-radius: 4px 4px 0 0;
}

.nav-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 8px;
    opacity: 0.6;
    transition: opacity 0.2s ease;
}

.nav-item:hover .nav-icon,
.nav-item.active .nav-icon {
    opacity: 1;
}

.nav-item span {
    font-size: 16px;
    font-weight: 600;
    white-space: nowrap;
}

/* Profile Section */
.profile-section {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 24px;
}

.host-link {
    font-size: 14px;
    font-weight: 600;
    color: white;
    background: #F08D1A;
    border: none;
    cursor: pointer;
    padding: 12px 16px;
    border-radius: 22px;
    transition: all 0.2s ease;
}

.host-link:hover {
    background: #e67e22;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(240, 141, 26, 0.3);
}

.profile-menu {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border: 1px solid #ddd;
    border-radius: 40px;
    background: white;
    cursor: pointer;
    transition: box-shadow 0.2s ease;
}

.profile-menu:hover {
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.hamburger-menu {
    position: relative;
    width: 16px;
    height: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hamburger-menu span {
    width: 100%;
    height: 2px;
    background: #222;
    border-radius: 1px;
    transition: all 0.3s ease;
}

.hamburger-menu.open span:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
}

.hamburger-menu.open span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.open span:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -4px);
}

.profile-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    overflow: hidden;
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 300px;
    height: 100vh;
    background: white;
    border-left: 1px solid #e5e5e5;
    transform: translateX(100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1001;
    overflow-y: auto;
}

.mobile-menu.open {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
}

.mobile-menu-content {
    padding: 24px;
    max-width: 500px;
    margin: 0 auto;
    position: relative;
}

.mobile-menu-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f7f7f7;
    border: none;
    color: #222;
    font-size: 32px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
}

.mobile-menu-close:hover {
    background: #e5e5e5;
}

.mobile-menu-item {
    display: block;
    padding: 10px 0;
    color: #222;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
/*     border-bottom: 1px solid #f7f7f7;
    transition: background-color 0.2s ease; */
}

.mobile-menu-item:hover {
    background-color: #f7f7f7;
}

.mobile-menu-item.active {
    font-weight: 600;
    color: #F08D1A;
}

.mobile-menu-divider {
    height: 1px;
    background: #e5e5e5;
    margin: 5px 0;
}

/* Auth Buttons */
.auth-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
}

.auth-button {
    padding: 8px 16px;
    border-radius: 22px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    border: 1px solid #ddd;
}

.login-btn {
    color: #222;
    background: white;
}

.login-btn:hover {
    background-color: #f7f7f7;
    border-color: #ccc;
}

.register-btn {
    color: white;
    background: #F08D1A;
    border: none;
}

.register-btn:hover {
    background: #e67e22;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(240, 141, 26, 0.3);
}

/* Responsive Design */
@media (max-width: 1128px) {
    .search-section {
        margin: 0 24px;
    }
}

@media (max-width: 950px) {
    .search-section {
        display: none;
    }

    .profile-section {
        gap: 16px;
    }
}

@media (max-width: 768px) {
    .header-content {
        padding: 0 16px;
        height: 64px;
    }

    .logo {
        height: 50px;
    }

    .host-link {
        display: none;
    }

    .profile-menu {
        padding: 6px 12px;
    }

    .profile-avatar {
        width: 28px;
        height: 28px;
    }

    .mobile-menu-content {
        padding: 16px;
    }

    .auth-buttons {
        gap: 8px;
    }

    .auth-button {
        padding: 6px 12px;
        font-size: 13px;
    }

    /* Hide main navigation on small screens */
    .nav-section {
        display: none;
    }
}

/* Hide main navigation items in mobile menu on larger screens */
@media (min-width: 769px) {
    .main-nav-item {
        display: none;
    }
}
