@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@400;700&display=swap');

body {
    font-family: 'Noto Sans KR', sans-serif;
    margin: 0;
    background-color: #f4f4f9;
    color: #333;
}

header {
    background-color: #ff6347;
    color: white;
    padding: 1rem;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

h1 {
    margin: 0;
}

main {
    padding: 1rem;
}

#category-filters {
    text-align: center;
    margin-bottom: 1rem;
}

#category-filters button {
    background-color: #fff;
    color: #ff6347;
    border: 1px solid #ff6347;
    padding: 0.5rem 1rem;
    margin: 0.2rem;
    border-radius: 20px;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
}

#category-filters button:hover, #category-filters button.active {
    background-color: #ff6347;
    color: white;
}

#location-status {
    text-align: center;
    padding: 0.5rem;
    margin-bottom: 1rem;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    font-size: 0.9rem;
    color: #555;
}

#restaurant-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1rem;
}

.restaurant-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 1rem;
    transition: transform 0.2s;
    display: flex;
    flex-direction: column;
}

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

.restaurant-card h2 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    color: #ff6347;
    font-size: 1.2rem;
}

.restaurant-card p {
    margin: 0.2rem 0;
}

.restaurant-card .category {
    font-size: 0.8rem;
    font-weight: bold;
    color: #777;
    margin-bottom: 0.5rem;
}

.restaurant-card .address {
    font-size: 0.9rem;
    color: #555;
    flex-grow: 1;
}

.rating {
    margin-top: 1rem;
    color: #fdd835; /* Yellow for stars */
}

.rating .star {
    cursor: pointer;
    font-size: 1.5rem;
}
