/* ======================
   Reset
====================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ======================
   Base
====================== */
body {
  font-family: 'Inter', sans-serif;
  color: #111;
  background-color: #fff;
  padding-top: 140px; /* top-bar 40 + header 100 */
}

/* ======================
   Top Bar
====================== */
.top-bar {
  position: fixed;
  top: 0;
  width: 100%;
  height: 40px;
  padding: 0 60px;

  display: flex;
  justify-content: space-between;
  align-items: center;

  background-color: #111;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;

  z-index: 200;
}

.top-bar .top-left { color: #aaa; }
.top-bar .top-right { color: #e0e0e0; }

/* ======================
   Header
====================== */
.header {
  position: fixed;
  top: 40px;
  width: 100%;
  height: 100px;
  padding: 0 60px;

  display: flex;
  justify-content: space-between;
  align-items: center;

  background-color: #fff;
  border-bottom: 1px solid rgba(0,0,0,0.05);

  z-index: 100;
}

.logo img {
  height: 60px;
  width: auto;
  display: block;
}

.nav a {
  margin-left: 30px;
  text-decoration: none;
  color: #111;
  font-size: 14px;
  letter-spacing: 1px;
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 1px;
  background-color: #111;
  transition: width 0.3s ease;
}

.nav a:hover::after {
  width: 100%;
}

/* ======================
   Hamburger Button
====================== */
.hamburger {
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);

  display: none;
  flex-direction: column;
  gap: 6px;

  background: none;
  border: none;
  cursor: pointer;

  z-index: 10001;
}

.hamburger span {
  width: 26px;
  height: 2px;
  background: #111;
}

/* ======================
   Hero
====================== */
.hero {
  position: relative;
  height: calc(100vh - 140px);
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 1.6s ease, transform 6s ease;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.28);
  z-index: 1;
}

.hero-content {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
}

.hero-sub {
  font-size: 14px;
  letter-spacing: 3px;
  margin-bottom: 20px;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 64px;
  line-height: 1.2;
}



/* ======================
   Sections
====================== */
.section {
  padding: 100px 100px 100px 160px;
}

/* ======================
   About
====================== */
.about {
  display: flex;
  justify-content: center;  /* 화면 가로 중앙 */
  align-items: center;      /* 세로 중앙 */
  background: #fef8ed;      /* 전체 배경색 적용 */
  padding: 80px 0;          /* 상하 여백만 주기 */
  width: 100%;               /* 화면 전체 너비 */
}

/* 내부 콘텐츠 컨테이너 */
.about .about-container {
  display: flex;
  flex-direction: row;       /* 데스크탑: 가로 배치 */
  gap: 80px;
  align-items: center;
  max-width: 1200px;        /* 콘텐츠 너비 제한 */
  padding: 0 24px;          /* 좌우 여백 */
  margin: 0 auto;           /* 좌우 중앙 정렬 추가! */
}



.about h2 {
  font-family: 'Playfair Display', serif;
  font-size: 42px;
  margin-bottom: 30px;
}

.about p {
  font-size: 16px;
  line-height: 1.8;
  max-width: 500px;
}

.about .image {
  width: 390px;
  height: 500px;
  border-radius: 250px;
  overflow: hidden;
}

.about .image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}




/* ======================
   Menu Category Nav (FINAL)
====================== */
.menu-category-nav {
  position: sticky;
  top: 140px;
  z-index: 50;

  display: flex;
  align-items: center;

  width: 100%;
  background-color: #fef8ed;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

/* 화살표 */
.menu-arrow {
  width: 48px;
  height: 48px;
  border: none;
  background: transparent;
  font-size: 28px;
  cursor: pointer;
  color: #111;

  display: flex;
  align-items: center;
  justify-content: center;

  flex-shrink: 0;
}

.menu-arrow:hover {
  opacity: 0.6;
}

/* 스크롤 트랙 */
.menu-category-track {
  display: flex;
  align-items: center;
  gap: 36px;

  flex: 1;
  padding: 16px 20px;

  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;

  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.menu-category-track::-webkit-scrollbar {
  display: none;
}

/* 카테고리 아이템 */
.category-item {
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #777;
  text-decoration: none;

  position: relative;
  padding-bottom: 6px;
  white-space: nowrap;
  flex-shrink: 0;
}

.category-item::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: #111;
  transition: width 0.3s ease;
}

.category-item:hover,
.category-item.active {
  color: #111;
  font-weight: 500;
}

.category-item:hover::after,
.category-item.active::after {
  width: 100%;
}

.menu-category {
  scroll-margin-top: 230px; /* sticky header + category nav 높이 */
}



/* ======================
   MENU PAGE (2 COLUMN)
====================== */
.section.menu-page {
  padding: 30px 80px;
}

.menu-wrapper {
  background-color: #fef8ed;
}


.menu-page {
  max-width: 1200px;
  margin: 0 auto;
}

.menu-category {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 80px;
  row-gap: 10px;
  margin-bottom: 60px;
}

.menu-category h2 {
  grid-column: 1 / -1;
  font-family: 'Inter', serif;
  font-size: 36px;
  margin-bottom: 40px;
}

.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  padding-bottom: 10px;
  border-bottom: 2px dashed rgba(255, 2, 2, 0.08);
}

.menu-detail {
  max-width: 75%;
}

.menu-name {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 6px;
}

.menu-desc {
  font-size: 14px;
  color: #666;
  line-height: 1.4;
}

.menu-price {
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
}

/* 메뉴 경고 문구 스타일 */
.food-warning {
  line-height: 1.6;
  font-size: 0.85rem;       /* 작게 */
  color: #6d6d6d;              /* 연한 회색 */
  text-align: left;      
  margin-top: -30px;   /* 🔥 위로 당김 */
  margin-bottom: 30px;        
  font-style: italic;       /* 기울임체 */c
}



/* ======================
   LOCATION
====================== */
.location-section {
  padding: 40px 120px;
  background-color: #f6f6f6;
}

.location-header {
  text-align: center;
  margin-bottom: 40px;
}

.location-title {
  font-family: 'Libre Baskerville', serif;
  font-size: 48px;
  margin-bottom: 10px;
}

.location-sub {
  font-size: 14px;
  letter-spacing: 2px;
  color: #777;
  text-transform: uppercase;
}

.location-content {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 80px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Google Map */
.map-box {
  width: 100%;
  aspect-ratio: 16 / 9; /* 16:9 비율 */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0,0,0,0.08);
}

.map-box iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
/* Info Box */
.location-info h2 {
  font-family: 'Libre Baskerville', serif;
  font-size: 28px;
  margin-bottom: 30px;
}

.info-item {
  margin-bottom: 20px;
}

.info-item span {
  display: block;
  font-size: 12px;
  letter-spacing: 1.5px;
  color: #888;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.info-item p {
  font-size: 15px;
  line-height: 1.6;
}

.direction-btn {
  display: inline-block;
  margin-top: 30px;
  padding: 14px 32px;
  border: 1px solid #111;
  text-decoration: none;
  color: #111;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.direction-btn:hover {
  background-color: #111;
  color: #fff;
}

/* ======================
   Gallery Section
====================== */
.gallery-section {
  padding: 40px 60px;
  background-color: #f9f9f9;
  text-align: center;
}

.gallery-title {
  font-family: 'Libre Baskerville', serif;
  font-size: 46px;
  font-weight: 400;
  letter-spacing: 0.5px;
}


.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.gallery-item {
  overflow: hidden;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-item:hover {
  transform: scale(1.05);
}

/* ======================
   Footer
====================== */
.footer {
  background-color: #111;
  color: #eee;
  padding: 80px 120px 40px;
  font-size: 14px;
}

.footer a {
  color: #eee;
  text-decoration: none;
  margin-right: 20px;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo h3 {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
}

.footer-contact p {
  margin-bottom: 8px;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  font-size: 12px;
  color: #aaa;
}

.footer-social a img {
  width: 24px;
  height: 24px;
  margin: 0 8px;
}


/* ======================
   Mobile Menu Overlay
====================== */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: #111;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 32px;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transition: opacity 0.4s ease;
  z-index: 9999;
}

.mobile-menu.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-menu a {
  color: #fff;
  font-size: 24px;
  letter-spacing: 2px;
  text-decoration: none;
  font-family: 'Playfair Display', serif;
}



/* Back To Top */
#backToTop {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background-color: #111;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
}

#backToTop.show {
  opacity: 1;
  visibility: visible;
}

#backToTop:hover {
  background-color: #333;
}




/* ======================
   MOBILE (<=768px)
====================== */
@media (max-width: 768px) {

  .top-bar { display: none; }

  body {
    padding-top: 80px;
  }

  .header {
    top: 0;
    height: 80px;
    padding: 0 24px;
    z-index: 1000;
  }

  .nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .hamburger span {
    background: #111;  /* 기본 검정 */
    transition: background 0.3s ease;
  }

  /* 햄버거 열림 상태 */
  .hamburger.active span {
    background: #fff;  /* 메뉴 오픈 시 흰색 */
  }

  .mobile-menu a {
  font-family: 'Inter', sans-serif;  /* 헤더 메뉴와 통일 */
  font-size: 22px;                    /* 모바일용 크기 */
  letter-spacing: 1px;                /* 헤더 메뉴와 통일 */
  text-transform: uppercase;          /* 필요하면 */
  color: #fff;
  text-decoration: none;
}

  .hero {
    height: 100svh;
  }

  .hero-content {
    display: none;
  }

  .hero h1 {
    font-size: 42px;
  }

  .section {
    padding: 80px 24px;
  }

  .about {
  display: flex;
  justify-content: center;  /* 화면 가로 중앙 */
  background: #fef8ed;      /* 전체 배경색 */
  padding: 80px 0;          /* 상하 여백 */
  width: 100%;               /* 화면 전체 너비 */
}

/* 모바일용 about 컨테이너 */
.about .about-container {
    display: flex;
    flex-direction: column; /* 세로 배치 */
    gap: 40px;
    text-align: center;

    width: 100%;           /* 화면 전체 폭 */
    max-width: 500px;      /* 콘텐츠 최대 폭 제한 */
    padding: 0 24px;       /* 좌우 여백 확보 */
    margin: 0 auto;        /* 화면 중앙 배치 */
}

/* 이미지 */
.about .about-container .image {
    width: 280px;
    height: 400px;
    margin: 0 auto;        /* 중앙 정렬 */
}

/* 텍스트 */
.about h2, .about p {
    text-align: center;
}



  .about h2, .about p {
    text-align: center;
  }

  .about .image {
    width: 280px;
    height: 400px;
    border-radius: 200px;     /* 모바일에서 둥글기 줄임 */
  }

  /* Menu Category Nav - 카테고리 트랙 너비 줄이기, 아이템 간격 축소 */
  .menu-category-track {
    gap: 16px;
    padding: 12px 12px;
  }

  .category-item {
    font-size: 13px;
    padding-bottom: 4px;
  }

  .menu-category-nav {
    top: 80px; /* 모바일 헤더 높이 */
    z-index: 999; /* 모바일에서 다른 요소 위로 */
  }

  /* Menu Page grid - 1 column으로 변경 */
  .menu-category {
    display: grid;
    grid-template-columns: 1fr;
    row-gap: 40px; /* 세로 간격 확보 */
    column-gap: 0;
  }

  .menu-category h2 {
    font-size: 28px;
    margin-bottom: 20px;
  }

  .menu-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .menu-detail {
    max-width: 100%;
  }

  .menu-price {
    align-self: flex-start; /* 가격 왼쪽으로 */
  }

  .food-warning {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 0.8rem;
  }

  .location-content {
    display: grid;
    grid-template-columns: 1fr; /* 1-column */
    gap: 30px; /* 세로 간격 확보 */
  }

  .section {
    padding: 60px 24px; /* 상하 60px, 좌우 24px */
  }

  /* Location 섹션에서 추가 여유 필요하면 */
  .location-section{
    padding: 40px 24px; /* 상하 여유 조정 */
  }

  .gallery-section {
    padding: 40px 24px; /* 상하 여유 조정 */
  }

  /* Menu Page */
  .section.menu-page {
    padding: 30px 24px;
  }

  .footer {
    padding: 40px 24px 20px; /* 상 40px, 좌우 24px, 하 20px */
    text-align: center;      /* 모바일에서는 중앙 정렬 */
  }

  .footer-container {
    flex-direction: column;  /* flex wrap 대신 세로로 배치 */
    gap: 20px;
    align-items: center;
  }

  .footer a {
    margin: 0 8px; /* 링크 간격 줄임 */
    display: inline-block;
  }

  .footer-logo h3 {
    font-size: 20px; /* 모바일에 맞게 축소 */
  }

  .footer-contact p {
    font-size: 13px;
    line-height: 1.5;
  }

  .footer-bottom {
    font-size: 12px;
  }
}

