/* CSS Variables */
:root {
  --color-bg:        #121212;   /* 깊은 블랙 */
  --color-primary:   #E0D7C6;   /* 연한 크림 (텍스트) */
  --color-accent:    #D4A373;   /* 빈티지 골드 */
  --color-muted:     #888888;   /* 회색 텍스트 */
  --color-surface:   #1E1E1E;   /* 어두운 표면 */

  --font-display:    'Playfair Display', serif;
  --font-body:       'Noto Serif KR', serif;

  --spacing-section: clamp(4rem, 10vw, 8rem);
  --radius-card:     4px;       /* 부드러운 인상을 위해 다시 곡률 추가 */
  --max-width:       1100px;
  --header-height:   70px;
}

/* Reset & Base Styles */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background-color: var(--color-bg);
  color: var(--color-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Grainy Texture Overlay */
body::before {
  content: "";
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3%3Ffilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.05;
  pointer-events: none;
  z-index: 9999;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
h1, h2, h3 { font-family: var(--font-display); }

/* Layout Components */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: var(--spacing-section) 0;
}

/* Header & Navigation */
header {
  position: fixed;
  top: 0; width: 100%;
  height: var(--header-height);
  background: rgba(18, 18, 18, 0.9);
  backdrop-filter: blur(8px);
  z-index: 1000;
  border-bottom: 1px solid rgba(224, 215, 198, 0.1);
}

nav {
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 700;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; width: 0; height: 2px;
  background: var(--color-accent);
  transition: width 0.3s;
}

.nav-links a.active::after,
.nav-links a:hover::after {
  width: 100%;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

/* Hero Section */
#hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
              url('https://images.unsplash.com/photo-1501339847302-ac426a4a7cbb?q=80&w=2078&auto=format&fit=crop') center/cover;
  color: #fff;
  position: relative;
}

.hero-inner {
  z-index: 10;
}

.hero-eyebrow {
  font-size: 1.2rem;
  letter-spacing: 0.3em;
  margin-bottom: 1rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeIn 0.8s forwards;
}

.hero-title {
  font-size: clamp(3rem, 8vw, 5rem);
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeIn 0.8s 0.2s forwards;
}

.hero-sub {
  font-size: clamp(1rem, 3vw, 1.5rem);
  margin-bottom: 2.5rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeIn 0.8s 0.4s forwards;
}

.btn-primary {
  display: inline-block;
  padding: 1rem 2.5rem;
  background-color: var(--color-accent);
  color: #000;
  border-radius: var(--radius-card);
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(212, 163, 115, 0.3);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeIn 0.8s 0.6s forwards;
}

.btn-primary:hover {
  background-color: #c49263;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 163, 115, 0.4);
}

@keyframes fadeIn {
  to { opacity: 1; transform: translateY(0); }
}

/* About Section */
#about {
  background-color: var(--color-bg);
  text-align: center;
}

.section-title {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 3rem;
  color: var(--color-primary);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text {
  text-align: left;
}

.about-text p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.about-image {
  width: 100%;
  height: 400px;
  background: url('https://images.unsplash.com/photo-1554118811-1e0d58224f24?q=80&w=2047&auto=format&fit=crop') center/cover;
  border-radius: var(--radius-card);
  box-shadow: 20px 20px 0 var(--color-surface);
}

/* Menu Section - Redesigned based on Reference */
#menu {
  background: linear-gradient(rgba(18, 18, 18, 0.85), rgba(18, 18, 18, 0.85)),
              url('https://images.unsplash.com/photo-1495474472287-4d71bcdd2085?q=80&w=2070&auto=format&fit=crop') center/cover;
  padding: 10rem 0;
}

.menu-header {
  text-align: center;
  margin-bottom: 6rem;
}

.menu-eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--color-muted);
  display: block;
  margin-bottom: 1rem;
}

.menu-title-main {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: #fff;
  margin-bottom: 2rem;
  position: relative;
  display: inline-block;
  font-family: var(--font-display);
}

.menu-title-main::after {
  content: '';
  position: absolute;
  bottom: -1rem;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 1px;
  background: rgba(224, 215, 198, 0.3);
}

.menu-header-desc {
  margin-top: 3rem;
  font-size: 1.1rem;
  color: rgba(224, 215, 198, 0.8);
  font-weight: 400;
}

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

.menu-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.5);
  padding: 0;
  text-align: left;
  display: flex;
  flex-direction: column;
  border-radius: 0;
  transition: background 0.4s, border-color 0.4s;
  overflow: hidden;
}

.menu-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: #fff;
  transform: none;
  box-shadow: none;
}

.menu-card-img-container {
  width: 100%;
  height: 220px;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.menu-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.menu-card:hover .menu-card-img {
  transform: scale(1.05);
}

.menu-card-content {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.menu-number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 400;
  color: #fff;
  margin-bottom: 1.5rem;
  display: block;
  line-height: 1;
  opacity: 0.8;
}

.menu-card .menu-name {
  font-size: 1.6rem;
  color: #fff;
  margin-bottom: 1.2rem;
  font-weight: 700;
  font-family: var(--font-display);
}

.menu-card .menu-desc {
  font-size: 0.95rem;
  color: rgba(224, 215, 198, 0.6);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.menu-card .menu-price {
  margin-top: auto;
  font-weight: 700;
  color: var(--color-accent);
  font-size: 1.2rem;
  display: block;
}

/* Location Section */
#location {
  background-color: var(--color-bg);
}

.location-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.info-block h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

.info-item {
  margin-bottom: 2rem;
}

.info-item h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--color-muted);
}

.info-item p {
  font-size: 1.1rem;
}

.map-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.btn-map {
  flex: 1;
  padding: 1rem;
  text-align: center;
  border: 1px solid var(--color-primary);
  border-radius: var(--radius-card);
  font-weight: 700;
  font-size: 0.9rem;
}

.btn-map:hover {
  background-color: var(--color-primary);
  color: var(--color-bg);
}

.map-container {
  width: 100%;
  min-height: 360px;
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid rgba(224, 215, 198, 0.2);
}

.root_daum_roughmap {
  width: 100% !important;
}

.root_daum_roughmap .wrap_map {
  height: 360px !important;
}

/* Reveal Animation */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Footer */
footer {
  padding: 4rem 0;
  background-color: #000;
  color: var(--color-primary);
  text-align: center;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 2rem;
  margin-bottom: 1.5rem;
  display: block;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-info {
  font-size: 0.9rem;
  opacity: 0.7;
}

/* Responsive */
@media (max-width: 1023px) {
  .about-content, .location-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .about-image { height: 300px; order: -1; }
}

@media (max-width: 767px) {
  :root {
    --spacing-section: 4rem;
  }
  .nav-links {
    display: none; /* Mobile menu logic would go here */
  }
  .mobile-toggle {
    display: block;
  }
  .hero-title { font-size: 3rem; }
  .section-title { font-size: 2rem; }
  .about-text { text-align: center; }
}
