:root {
    --primary: #ff3d3d;
    --primary-dark: #c0392b;
    --dark: #2c3e50;
    --light: #ecf0f1;
    --gray: #7f8c8d;
    --border: #bdc3c7;
}
.main-header {
    background: linear-gradient(135deg, var(--dark) 0%, #34495e 100%);
    color: white;
    padding: 2rem 0;
    margin-bottom: 2rem;
}

.header-title {
    font-weight: 700;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.header-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

.cities-filter {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.city-btn {
    background: #302a2a;
    color: whitesmoke;
    border-radius: 0.8rem;
    padding: 0.5rem 1.5rem;
    margin: 0 0.5rem 0.5rem 0;
    transition: all 0.3s ease;
    font-weight: 500;
}

.activeCity {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}
.city-btn:hover{
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.restaurant-card {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    background: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    margin-bottom: 1.5rem;
    height: 100%;
}

.restaurant-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.restaurant-image {
    height: 180px;

    position: relative;
}

.restaurant-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

.restaurant-content {
    padding: 1.5rem;
}

.restaurant-title {
    font-weight: 600;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.restaurant-description {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.restaurant-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.rating {
    display: flex;
    align-items: center;
    color: var(--dark);
    font-weight: 600;
}

.rating i {
    color: #f39c12;
    margin-left: 0.25rem;
}

.price-level {
    font-weight: 600;
    color: var(--primary);
}

.cuisine-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.cuisine-tag {
    background: var(--light);
    color: var(--gray);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 500;
}

.filter-sidebar {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    position: sticky;
    top: 2rem;
}

.filter-title {
    font-weight: 600;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--light);
}

.filter-section {
    margin-bottom: 1.5rem;
}

.filter-section-title {
    font-weight: 600;
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.form-check {
    margin-bottom: 0.5rem;
}

.form-check-label {
    font-size: 0.9rem;
}

.btn-apply {
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    width: 100%;
    transition: background 0.3s ease;
}

.btn-apply:hover {
    background: var(--primary-dark);
}

.popular-cities {
    margin-bottom: 3rem;
}

.section-title {
    font-weight: 700;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    text-align: center;
}
.filter-bottom-panel {
    position: fixed;
    bottom: -100%;
    left: 0;
    right: 0;
    background: #fff;
    z-index: 2000;
    border-top-left-radius: 1.5rem;
    border-top-right-radius: 1.5rem;
    box-shadow: 0 -5px 25px rgba(0,0,0,0.2);
    transition: bottom 0.35s ease-in-out;
    height: 30vh;
    overflow-y: auto;
}
@media all and (max-width: 780px){
    .filter-bottom-panel{
        width: 100vw;
    }
}
@media all and (min-width: 781px){
    .filter-bottom-panel {
        width: 50vw;
        margin: 0 auto;
    }
}
