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

body {
    font-family: 'Noto Sans KR', sans-serif;
    background: linear-gradient(45deg, #f3e7e9, #e3eeff);
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    padding: 20px;
    box-sizing: border-box;
    overflow-x: hidden;
    position: relative;
}

body::before, body::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: float 15s infinite ease-in-out;
}

body::before { top: -50px; left: -50px; animation-delay: 0s; }
body::after { bottom: -50px; right: -50px; animation-delay: 5s; }

@keyframes float {
    0%, 100% { transform: translateY(0) translateX(0); }
    50% { transform: translateY(-30px) translateX(20px); }
}

.menu-container { text-align: center; width: 100%; max-width: 900px; z-index: 1; }

h1 {
    font-family: 'Dancing Script', cursive;
    font-size: 4.5em;
    font-weight: 700;
    color: #d63384;
    margin-bottom: 60px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 35px;
}

.menu-card {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    padding: 35px;
    text-decoration: none;
    color: inherit;
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.menu-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s;
}

.menu-card:hover::before { left: 100%; }

.menu-card:hover {
    transform: translateY(-15px) perspective(1000px) rotateX(5deg);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.15);
    border-color: #d63384;
}

.menu-card .icon { font-size: 3em; margin-bottom: 20px; transition: transform 0.3s ease; }
.menu-card:hover .icon { transform: scale(1.2); }
.menu-card h2 { margin-top: 0; color: #0d6efd; font-size: 1.8em; font-weight: 700; }
.menu-card p { font-size: 1.1em; color: #555; line-height: 1.7; }

/* --- 반응형 디자인 --- */
@media (max-width: 768px) {
    body { padding: 15px; }
    h1 { font-size: 3em; margin-bottom: 40px; }
    .menu-grid { gap: 20px; }
    .menu-card { padding: 25px; }
}

/* Menu Map Styles */
.menu-map-container {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

.menu-map-btn {
    background-color: #d63384;
    color: white;
    padding: 12px 16px;
    font-size: 18px;
    border: none;
    cursor: pointer;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    transition: background-color 0.3s;
}

.menu-map-btn:hover {
    background-color: #b02a6e;
}

.menu-map-dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    background-color: #f1f1f1;
    min-width: 200px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    border-radius: 10px;
    padding: 10px 0;
    animation: fadeIn 0.3s;
}

.menu-map-dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    transition: background-color 0.2s;
}

.menu-map-dropdown-content a:hover {
    background-color: #ddd;
}

.show {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}
