
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    background-color: #f5f5f5;
}

.header {
    background: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #666;
    transition: color 0.3s;
}

.nav-link:hover {
    color: #333;
}

main {
    margin-top: 80px;
    padding: 2rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.filters-section {
    position: relative;
    margin-bottom: 2rem;
}

.filter-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: white;
    border: 1px solid #ddd;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.filter-button:hover {
    background-color: #f5f5f5;
}

.filter-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 320px;
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    padding: 1rem;
    margin-top: 0.5rem;
    z-index: 100;
}

.filter-section {
    margin-bottom: 1.5rem;
}

.filter-section h3 {
    margin-bottom: 0.5rem;
    color: #666;
    font-size: 0.9rem;
}

.filter-select {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 0.25rem;
    margin-top: 0.5rem;
}

.sort-options {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.sort-option {
    background: none;
    border: none;
    padding: 0.5rem;
    text-align: left;
    cursor: pointer;
    border-radius: 0.25rem;
}

.sort-option:hover {
    background: #f5f5f5;
}

.price-range {
    padding: 0 0.5rem;
}

.range-slider {
    width: 100%;
    margin: 1rem 0;
}

.price-labels {
    display: flex;
    justify-content: space-between;
    color: #666;
    font-size: 0.9rem;
}

.apply-button {
    width: 100%;
    padding: 0.75rem;
    background: #333;
    color: white;
    border: none;
    border-radius: 0.25rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.apply-button:hover {
    background: #444;
}

.hidden {
    display: none;
}

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

.toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: #333;
    color: white;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

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

    .filter-menu {
        width: 100%;
    }

    .parking-spots {
        grid-template-columns: 1fr;
    }
}
