/* Reset and Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f8f8f8;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Header */
#head {
    width: 100%;
    height: 80px;
    background-color: rgb(42, 41, 41);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px; /* Space between buttons */
    margin-bottom: 20px;
}

/* Buttons */
button {
    border: 1px solid #ccc;
    background-color: green;
    padding: 10px 18px;
    border-radius: 20px;
    font-size: 16px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

button:hover {
    /* background-color: #e0e0e0; */
    transform: scale(1.05);
}

/* Root Container */
#root {
    display: flex;
    flex-wrap: wrap;
    gap: 33px;
    padding: 20px;
    justify-content: center;
    /* max-width: 1200px; */
    width: 100%;
}

/* Card Styling */
.card {
    width: 100%;
    max-width: 310px;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    
}

.card:hover {
    transform: translateY(-5px);
}

/* Image Styling */
.card img {
    align-self: center;
    margin-top: 10px;
    width: 90%;
    height: 200px;
    border-radius: 10px;
    object-fit: cover;
    border-bottom: 2px solid #ddd;
}

/* Card Content */
.card_content {
    padding: 15px;
}

/* Card Header */
.card_header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.card_header h3 {
    font-size: 18px;
    color: #333;
}

/* Rating */
.rating {
    background: green;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: -10x;
    font-weight: bold;
}
.rating::after {
    content: " ★"; /* Adjust based on rating */
    color: white;
    font-size: 14px;
}


/* Card Footer */
.card_footer {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #555;
    padding: 10px 15px;
}

/* Card Location */
.card_location {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #777;
    
    padding: 10px 15px;
}

#filterpopup{
    width: 320px;
    height: 270px;
    background-color:white;
    padding-left:  45PX;
    padding-top: 25PX;
    border-radius: 10PX;
    gap: 10PX;
    box-shadow: #ccc 2PX 2PX 2PX 2PX ;
    gap: 12px;
}
.filterOption{
margin: 10px;
margin-left: 0px;
margin-bottom: 20px;
}
.Hidden{
    display: none;
}
#filterpopup button{
    margin-right: 20px;
}




/* Responsive Design */
@media (max-width: 768px) {
    #head {
        /* flex-direction: column; */
        height: auto;
        padding: 20px;
        display: flex;
        flex-wrap: wrap;
    }

    button {
        
        width: 30%;
        text-align: center;
    }

    #root {
        flex-direction: column;
        align-items: center;
    }

    .card {
        max-width: 90%;
    }
}