:root {
    --primary-color: #ff385c;
    --text-dark: #222222;
    --text-light: #717171;
    --bg-gray: #f7f7f7;
    --shadow: 0 2px 8px rgba(0,0,0,0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Circular', -apple-system, BlinkMacSystemFont, Roboto, Helvetica Neue, sans-serif;
}

body {
    color: var(--text-dark);
    background-color: #fff;
}

.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 5%;
    border-bottom: 0px solid #ddd;
    position: sticky;
    top: 0;
    background: white;
    z-index: 100;
}

.logo {
    display: flex;
    align-items: center;
    color: var(--primary-color);
    font-size: 2rem;
    font-weight: bold;
}

.logo i {
    margin-right: 0.5rem;
}

.search-bar {
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem;
    border: 1px solid #ddd;
    border-radius: 2rem;
    box-shadow: var(--shadow);
}

.search-bar input {
    border: none;
    outline: none;
    padding: 0.5rem;
    font-size: 1rem;
    width: 300px;
}

.search-bar button {
    border: none;
    background: none;
    color: var(--text-dark);
    cursor: pointer;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.host {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
}

.profile-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border: 1px solid #ddd;
    border-radius: 2rem;
    background: none;
    cursor: pointer;
}

.filters {
    display: flex;
    gap: 1rem;
    padding: 1rem 5%;
    overflow-x: auto;
    border-bottom: 1px solid #ddd;
}

.filter-btn {
    padding: 0.5rem 1rem;
    border: 1px solid #ddd;
    border-radius: 2rem;
    background: none;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.filter-btn.active {
    background: var(--text-dark);
    color: white;
    border-color: var(--text-dark);
}

.listings {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem 5%;
}

.listing-card {
    border-radius: 1rem;
    overflow: hidden;
    cursor: pointer;
}

.listing-img {
    position: relative;
    padding-bottom: 75%;
    overflow: hidden;
}

.listing-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.listing-card:hover .listing-img img {
    transform: scale(1.05);
}

.listing-details {
    padding: 1rem 0;
}

.listing-location {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.listing-distance {
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.listing-price {
    font-weight: 600;
}

@media (max-width: 768px) {
    .search-bar {
        display: none;
    }
    
    .listings {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1rem;
        padding: 1rem;
    }
}