/* =========================================
   Design System & Variables
========================================= */
:root {
  /* Colors */
  --color-bg: #0f1012;
  --color-bg-light: #16181b;
  --color-text: #eaeaea;
  --color-text-muted: #999999;
  --color-accent: #c5a059;
  --color-accent-hover: #e0bc75;
  
  /* Fonts */
  --font-serif: 'Noto Serif JP', serif;
  --font-sans: 'Zen Kaku Gothic New', sans-serif;
  
  /* Spacing */
  --section-padding: 120px 0;
}

/* =========================================
   Reset & Base
========================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-sans);
  line-height: 1.8;
  letter-spacing: 0.05em;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .serif {
  font-family: var(--font-serif);
  font-weight: 400;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--color-accent);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}

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

/* =========================================
   Typography & Utilities
========================================= */
.section-title {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 4rem;
  color: var(--color-accent);
  letter-spacing: 0.2em;
}

.vertical-text {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  line-height: 2.5;
}

.placeholder-img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4/3;
  background-color: var(--color-bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

/* =========================================
   Header & Nav
========================================= */
#header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 30px 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  transition: background-color 0.4s ease, padding 0.4s ease, box-shadow 0.4s ease;
}

#header.scrolled {
  background-color: rgba(15, 16, 18, 0.95);
  padding: 15px 50px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.6);
  backdrop-filter: blur(8px);
}

.logo {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  letter-spacing: 0.1em;
  color: var(--color-accent);
}

.global-nav ul {
  display: flex;
  gap: 40px;
  align-items: center;
}

.global-nav li a {
  font-size: 0.95rem;
  letter-spacing: 0.15em;
  position: relative;
}

/* Nav underline animation */
.global-nav li a:not(.nav-btn)::after {
  content: '';
  position: absolute;
  width: 0;
  height: 1px;
  bottom: -4px;
  left: 50%;
  background-color: var(--color-accent);
  transition: width 0.3s ease, left 0.3s ease;
}
.global-nav li a:not(.nav-btn):hover::after {
  width: 100%;
  left: 0;
}

.global-nav .nav-btn {
  border: 1px solid var(--color-accent);
  padding: 8px 20px;
  border-radius: 2px;
  color: var(--color-accent);
  transition: all 0.3s ease;
}
.global-nav .nav-btn:hover {
  background-color: var(--color-accent);
  color: var(--color-bg);
}

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 101;
}

/* =========================================
   Hero Section
========================================= */
.hero {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  filter: brightness(0.55);
  z-index: 1;
  animation: heroZoom 20s ease-out forwards;
}

@keyframes heroZoom {
  0% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.hero-title {
  font-size: 4.5rem;
  line-height: 1.4;
  margin-bottom: 2.5rem;
  text-shadow: 0 10px 30px rgba(0,0,0,0.9);
  letter-spacing: 0.15em;
}

.hero-subtitle {
  font-size: 1.2rem;
  letter-spacing: 0.4em;
  color: var(--color-accent);
  text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

.scroll-indicator {
  position: absolute;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.scroll-indicator span {
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
}

.scroll-indicator .line {
  width: 1px;
  height: 60px;
  background-color: var(--color-accent);
  animation: scrollDown 2s infinite cubic-bezier(0.65, 0, 0.35, 1);
}

@keyframes scrollDown {
  0% { transform: scaleY(0); transform-origin: top; }
  45% { transform: scaleY(1); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* =========================================
   Concept Section
========================================= */
.concept-container {
  display: flex;
  justify-content: center;
  padding: 5rem 0;
}

.section-title-vert {
  font-size: 2.8rem;
  color: var(--color-accent);
  letter-spacing: 0.3em;
  margin-left: 4rem;
}

.concept-text p {
  font-size: 1.15rem;
  margin-left: 2.5rem;
  letter-spacing: 0.2em;
  color: var(--color-text);
  font-family: var(--font-serif);
}

/* =========================================
   Menu Section
========================================= */
.menu {
  background-color: var(--color-bg-light);
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px;
}

.menu-item {
  background-color: var(--color-bg);
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.menu-img-wrapper {
  overflow: hidden;
}

.menu-img-wrapper img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

.menu-info {
  padding: 40px;
}

.menu-info h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: var(--color-accent);
  letter-spacing: 0.1em;
}

.menu-note {
  text-align: center;
  margin-top: 60px;
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 2;
}

/* =========================================
   Info Section
========================================= */
.info-content {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}

.info-map {
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

.info-details {
  border-left: 1px solid rgba(197, 160, 89, 0.3);
  padding-left: 50px;
}

.info-details h3 {
  font-size: 1.6rem;
  margin-bottom: 40px;
  color: var(--color-accent);
  letter-spacing: 0.1em;
}

.info-details dl {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 20px 0;
  margin-bottom: 50px;
}

.info-details dt {
  color: var(--color-accent);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.1em;
}

.info-details dd {
  font-size: 1rem;
  color: var(--color-text);
  line-height: 1.6;
}

.tel-link {
  font-size: 1.2rem;
  letter-spacing: 0.05em;
}

.ig-btn {
  display: inline-block;
  padding: 14px 40px;
  background-color: transparent;
  color: var(--color-accent);
  border: 1px solid var(--color-accent);
  border-radius: 2px;
  font-weight: 400;
  letter-spacing: 0.15em;
  transition: all 0.3s ease;
}

.ig-btn:hover {
  background-color: var(--color-accent);
  color: var(--color-bg);
}

/* =========================================
   Footer
========================================= */
.footer {
  text-align: center;
  padding: 60px 0;
  border-top: 1px solid #222;
  background-color: var(--color-bg);
}

.footer-logo {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 15px;
  letter-spacing: 0.25em;
}

.copyright {
  font-size: 0.8rem;
  color: #666;
  letter-spacing: 0.1em;
}

/* =========================================
   Animations classes
========================================= */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1.2s cubic-bezier(0.2, 0.8, 0.2, 1), transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 1.2s cubic-bezier(0.2, 0.8, 0.2, 1), transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.is-visible {
  opacity: 1;
  transform: translate(0);
}

/* =========================================
   Responsive
========================================= */
@media (max-width: 900px) {
  :root {
    --section-padding: 80px 0;
  }
  #header { padding: 20px; }
  #header.scrolled { padding: 15px 20px; }
  
  .hero-title { font-size: 2.8rem; line-height: 1.3; }
  .hero-subtitle { font-size: 0.9rem; margin-top: 10px; }
  
  .section-title-vert { font-size: 2rem; margin-left: 2rem; }
  .concept-text p { font-size: 1rem; margin-left: 1.5rem; }
  
  .menu-grid { grid-template-columns: 1fr; gap: 40px; }
  
  .info-content { grid-template-columns: 1fr; gap: 40px; }
  .info-details { 
    border-left: none; 
    padding-left: 0; 
    border-top: 1px solid rgba(197, 160, 89, 0.3); 
    padding-top: 40px; 
  }
  
  /* Mobile Menu */
  .hamburger {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 10px;
  }
  .hamburger span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--color-text);
    transition: 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  }
  .global-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: var(--color-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: right 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
  }
  .global-nav.active {
    right: 0;
  }
  .global-nav ul {
    flex-direction: column;
    gap: 30px;
    text-align: center;
  }
  .global-nav li a { font-size: 1.2rem; }
  
  /* Hamburger active state */
  .hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}
