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

:root {
    --primary-color: #ff6b6b;
    --secondary-color: #f0e68c;
    --background-color: #fffaf0;
    --text-color: #333;
    --white-color: #ffffff;
    --border-radius: 12px;
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

body {
    font-family: 'Noto Sans KR', sans-serif;
    line-height: 1.6;
    background-color: var(--background-color);
    color: var(--text-color);
    display: flex;
    flex-direction: column;
    align-items: center;
}

header, main, section, footer {
    width: 100%;
    max-width: 800px;
    padding: 20px;
    margin-bottom: 20px;
}

header {
    text-align: center;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 20px;
}

h1 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

h2 {
    color: var(--primary-color);
    margin-bottom: 15px;
    padding-bottom: 5px;
    border-bottom: 1px solid var(--secondary-color);
}

main {
    text-align: center;
}

.menu-selector {
    background: var(--white-color);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

#suggestion-btn {
    background-color: var(--primary-color);
    color: var(--white-color);
    border: none;
    padding: 15px 30px;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.3s;
    box-shadow: 0 4px 10px rgba(255, 107, 107, 0.4);
}

#suggestion-btn:hover {
    transform: translateY(-3px);
    background-color: #ff4757;
}

#suggestion-btn:active {
    transform: translateY(0);
}

#result-container {
    margin-top: 40px;
    min-height: 300px;
}

.result-card {
    display: inline-block;
    padding: 20px;
    background: linear-gradient(145deg, var(--secondary-color), #ffd700);
    color: var(--text-color);
    border-radius: var(--border-radius);
    animation: fadeIn 0.5s ease-in-out;
    box-shadow: var(--shadow);
    width: 100%;
    max-width: 300px;
}

.result-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--border-radius);
    margin-bottom: 15px;
}

.result-card h3 {
    font-size: 2rem;
    font-weight: 700;
}

.result-card.thinking {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    background: var(--white-color);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

section {
    background: var(--white-color);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

#all-menus ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

#all-menus li {
    background: #f1f1f1;
    border-radius: var(--border-radius);
    font-size: 0.9rem;
    width: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 10px;
    transition: transform 0.2s;
}

#all-menus li:hover {
    transform: scale(1.05);
}

#all-menus li img {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-top-left-radius: var(--border-radius);
    border-top-right-radius: var(--border-radius);
    margin-bottom: 8px;
}

#all-menus li span {
    font-weight: bold;
}

footer {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #ddd;
    font-size: 0.9rem;
    color: #777;
}

footer nav {
    margin-top: 10px;
}

footer nav a {
    color: var(--primary-color);
    text-decoration: none;
    margin: 0 10px;
}

footer nav a:hover {
    text-decoration: underline;
}

/* Styles for static pages like privacy.html */
.static-page {
    background: var(--white-color);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: left;
}

.static-page h2 {
    margin-top: 20px;
}

.static-page p, .static-page ul {
    margin-bottom: 15px;
}

.static-page ul {
    padding-left: 20px;
}

.static-page a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
}

.static-page a:hover {
    text-decoration: underline;
}

.notice {
    background-color: #fff3cd;
    border-left: 6px solid #ffeeba;
    padding: 15px;
    margin-top: 20px;
    border-radius: 4px;
}