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

:root {
    --primary-color: #ff6347; /* Tomato */
    --background-color: #fdfaf8;
    --text-color: #333;
    --card-bg-color: #ffffff;
    --shadow-color: rgba(0, 0, 0, 0.08);
}

body {
    font-family: 'Open Sans', 'Noto Sans KR', sans-serif;
    margin: 0;
    background-color: var(--background-color);
    color: var(--text-color);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.site-header {
    background-color: var(--primary-color);
    color: white;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 4px 12px var(--shadow-color);
}

.site-header h1 {
    margin: 0;
    font-size: 2.5em;
    font-weight: 700;
}

.site-header p {
    margin: 5px 0 0;
    font-size: 1.1em;
}

.container {
    width: 90%;
    max-width: 800px;
    margin: 40px auto;
    flex-grow: 1;
}

.search-form {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

#search-input {
    flex-grow: 1;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1em;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

#search-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(255, 99, 71, 0.2);
}

.search-form button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 0 25px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.search-form button:hover {
    background-color: #e5533d;
}

hr {
    border: none;
    border-top: 1px solid #eee;
    margin: 40px 0;
}

.results-section {
    display: grid;
    gap: 25px;
}

#featured-section h2 {
    font-size: 1.8em;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.restaurant-card {
    background-color: var(--card-bg-color);
    border-radius: 12px;
    box-shadow: 0 6px 20px var(--shadow-color);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.restaurant-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px var(--shadow-color);
}

.restaurant-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.restaurant-card h3 {
    margin: 0;
    padding: 15px 20px;
    font-size: 1.4em;
}

.restaurant-card p {
    padding: 0 20px;
    font-size: 1em;
    line-height: 1.6;
}

.restaurant-card .restaurant-details {
    font-size: 0.9em;
    color: #666;
    padding: 15px 20px 5px 20px;
}

.site-footer {
    background-color: #333;
    color: #ccc;
    text-align: center;
    padding: 40px 20px;
    margin-top: 50px;
}

.site-footer h2 {
    color: white;
    font-size: 1.5em;
    margin-top: 0;
}

.site-footer p {
    max-width: 600px;
    margin: 10px auto;
    line-height: 1.7;
}