@import url('https://fonts.googleapis.com/css2?family=GFS+Didot&display=swap');

:root {
  /* Color Palette */
  --primary-black: #0A0A0A;
  --secondary-gold: #D4AF37; /* Luxury Gold - Primary Accent */
  --text-white: #F5F5F5;
  --text-gray: #A0A0A0;
  --text-dark: #333333;
  --subtle-gray: #2A2A2A;
  --subtle-border: rgba(255, 255, 255, 0.08);
  --bg-darker: #0F0F0F;
  --bg-light: rgba(255, 255, 255, 0.98);
  
  /* Fonts */
  --font-serif: 'Cormorant Garamond', serif;
  --font-sans: 'Montserrat', 'Noto Sans JP', sans-serif;
  --font-nav: 'GFS Didot', serif;
  
  /* Transitions */
  --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

body {
  background-color: var(--primary-black);
  color: var(--text-white);
  font-family: var(--font-sans);
  line-height: 1.8; /* Increased for better Japanese readability */
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

/* Layout Utilities */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 0;
}

.flex {
  display: flex;
  align-items: center;
}

.justify-between {
  justify-content: space-between;
}

.section-padding {
  padding: 100px 0;
}

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

.mb-5 { margin-bottom: 5px; }
.mb-10 { margin-bottom: 10px; }
.mb-15 { margin-bottom: 15px; }
.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }
.mb-40 { margin-bottom: 40px; }
.mb-60 { margin-bottom: 60px; }
.mb-80 { margin-bottom: 80px; }
.mb-100 { margin-bottom: 100px; }
.mt-40 { margin-top: 40px; }
.mt-50 { margin-top: 50px; }
.mt-100 { margin-top: 100px; }

.section-title {
  font-size: 2.8rem;
  color: var(--text-white);
  text-align: center;
  position: relative;
  padding-bottom: 20px;
}  

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 1px;
  background-color: var(--secondary-gold);
}

.concept .section-title::after,
.bg-darker-section .section-title::after {
  display: none;
}

/* Directional Alignment Utilities */
.text-left .section-title,
.text-left.section-title {
  text-align: left;
}
.text-left .section-title::after,
.text-left.section-title::after {
  left: 0;
  transform: none;
}

.text-right .section-title,
.text-right.section-title {
  text-align: right;
}
.text-right .section-title::after,
.text-right.section-title::after {
  left: auto;
  right: 0;
}

.max-width-800 {
  max-width: 800px;
  margin: 0 auto;
}

.content-left {
  margin-right: auto;
  margin-left: 0;
}

.content-right {
  margin-left: auto;
  margin-right: 0;
}

/* Staggered Vertical List (Alternating Left/Right) */
.staggered-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-top: 60px;
}

.staggered-item {
  width: 45%; /* Wider to meet across the center line */
  transition: var(--transition);
}

.staggered-item:nth-child(odd) {
  align-self: flex-start;
  margin-left: 5%; /* Subtle offset from the left edge */
  text-align: left;
}

.staggered-item:nth-child(even) {
  align-self: flex-end;
  margin-right: 5%; /* Subtle offset from the right edge */
  text-align: right;
}

/* Ensure cards inside staggered items look consistent */
.staggered-item .feature-card {
  text-align: inherit;
}

@media (max-width: 768px) {
  .staggered-item {
    width: 100%;
    text-align: center !important;
  }
  .staggered-item:nth-child(even),
  .staggered-item:nth-child(odd) {
    align-self: center;
  }
}

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

.grid-staff {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

/* Split Layout Utilities */
.split-section {
  display: flex;
  align-items: center;
  gap: 80px;
  margin-bottom: 120px;
}

.split-section.reverse {
  flex-direction: row-reverse;
}

.split-image {
  flex: 1;
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}

.split-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1.2s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.split-image:hover img {
  transform: scale(1.05);
}

.split-content {
  flex: 1;
}

.split-content .section-title {
  text-align: left;
  margin-bottom: 30px;
}

.split-content .section-title::after {
  left: 0;
  transform: none;
}

.split-section.reverse .split-content .section-title {
  text-align: right;
}

.split-section.reverse .split-content .section-title::after {
  left: auto;
  right: 0;
}

/* Decorative Decorations */
.image-reveal-wrapper {
  position: relative;
  overflow: hidden;
}

.image-reveal-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--secondary-gold);
  transform: translateX(-101%);
  transition: transform 0.8s cubic-bezier(0.77, 0, 0.175, 1);
  z-index: 2;
}

.reveal-active.image-reveal-wrapper::after {
  transform: translateX(101%);
}

@media (max-width: 991px) {
  .split-section {
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .split-section, 
  .split-section.reverse {
    flex-direction: column;
    gap: 40px;
    margin-bottom: 80px;
  }
  
  .split-image {
    width: 100%;
    order: 2; /* Image below text on mobile */
  }
  
  .split-content {
    width: 100%;
    order: 1;
    text-align: center;
  }
  
  .split-content .section-title,
  .split-section.reverse .split-content .section-title {
    text-align: center;
  }
  
  .split-content .section-title::after,
  .split-section.reverse .split-content .section-title::after {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
  }
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 30px;
  border: 1px solid var(--text-white);
  background: transparent;
  cursor: pointer;
  transition: var(--transition);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 50px; /* Fully rounded buttons */
}

.btn:hover {
  background: var(--text-white);
  color: var(--primary-black);
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(255, 255, 255, 0.1);
}

.btn-primary {
  background: var(--secondary-gold);
  border-color: var(--secondary-gold);
  color: #000000;
}

.btn-primary:hover {
  background: transparent;
  color: var(--secondary-gold);
  box-shadow: 0 5px 20px rgba(212, 175, 55, 0.3);
}

.btn-lg {
  font-size: 1.2rem;
  padding: 15px 50px;
}

/* Header & Nav */
.header-container {
  padding: 0;
  height: 100%;
}

.header-left {
  gap: 60px; /* Space between logo and menu */
}

.logo-link {
  font-size: 1.5rem;
  color: var(--text-white);
}

.logo-accent {
  color: var(--secondary-gold);
}

.nav-reserve-btn {
  padding: 8px 15px;
  font-size: 0.8rem;
}

main {
  padding-top: 80px;
}

.hero {
  padding-top: 0 !important;
  margin-top: -80px;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.slider-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.slide.active {
  opacity: 1;
}

.slide-1 { background-image: url('sal.hasami_s.jpg'); }
.slide-2 { background-image: url('25028757_s.jpg'); }
.slide-3 { background-image: url('34399828_s.jpg'); }

.slide::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6));
}

.split-section {
    display: block; /* Remove flex as we don't have images now */
    margin-bottom: 80px;
}
.split-content {
    flex: none;
    width: 100%;
}
/* Re-centering Hero Slider specifically for user request */
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
}
.hero-title {
  justify-content: center !important;
}

.hero-title span {
  display: inline-block;
  opacity: 0;
}

.hero-title .elegant {
  animation: fadeInUp 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.hero-title .amp {
  animation: fadeIn 1.2s ease-out 0.5s forwards;
  font-size: 2.5rem;
  color: var(--secondary-gold);
}

.hero-title .modern {
  animation: fadeInDown 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.hero-subtitle {
  font-size: 1.2rem;
  letter-spacing: 2px;
  margin-top: 20px;
  opacity: 0;
  animation: fadeIn 1.2s ease-out 1s forwards;
}

.hero-content .btn {
  opacity: 0;
  animation: fadeIn 1.2s ease-out 1.5s forwards;
  margin-top: 40px;
}

header {
  height: 80px;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--subtle-border);
  display: flex;
  align-items: center;
}
.logo-link,
.nav-links a{
   color: var(--primary-black) !important;
}
.nav-reserve-btn {
  background-color: var(--secondary-gold);
  color: #000000 !important;
  border: none;
}

.nav-links {
  gap: 40px;
}

.nav-links a:hover {
  color: var(--secondary-gold);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  header {
    height: auto;
    padding: 15px 0;
  }
  header .container {
    flex-direction: row;
    justify-content: space-between;
    gap: 0;
  }
  .header-left {
    gap: 20px;
  }
  .logo-link {
    font-size: 1.1rem;
  }
  .nav-links {
    gap: 15px;
    font-size: 0.7rem;
    flex-wrap: wrap;
  }
  /* Increase padding and specificity to override .container defaults */
  main, 
  main.container {
    padding-top: 140px !important; /* Ensure enough space for fixed header */
  }
  .hero {
    margin-top: -140px; /* Sync with main padding-top */
  }
  .hero-title {
    font-size: 2.2rem;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
  }
  .hero-title .amp {
    font-size: 1.4rem;
  }
  .hero-subtitle {
    font-size: 0.9rem;
    padding: 0 20px;
    line-height: 1.8;
  }
  /* Scale down section titles for smaller screens */
  .section-title {
    font-size: 2rem !important;
  }
  .section-title-large {
    font-size: 2.4rem !important;
    letter-spacing: 0.1em;
  }
}

/* Footer */
footer {
  background: var(--bg-darker);
  padding: 60px 0 20px;
  border-top: 1px solid var(--subtle-border);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

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

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(50px); }
  to { opacity: 1; transform: translateY(0); }
}

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

/* Removed individual animation call as it's now handled by .hero-content */

/* Enhanced Hover Effects */
.nav-links a {
  font-family: var(--font-nav);
  position: relative;
  padding: 8px 16px;
  border-radius: 20px;
  transition: var(--transition);
}

.nav-links a:hover {
  background: rgba(0, 0, 0, 0.05); /* Very subtle rounded frame */
  color: var(--secondary-gold) !important;
}

.nav-links a::after {
  display: none; /* Removed the line to replace with the rounded frame above */
}

.card-hover:hover {
  transform: translateY(-5px);
  border-color: var(--accent-blue) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.bg-darker-section {
  background: var(--bg-light);
  color: var(--text-dark);
}

.bg-darker-section .section-title {
  color: var(--text-dark);
}

.bg-darker-section .btn {
  border-color: var(--text-dark);
  color: var(--text-dark);
}

.bg-darker-section .btn:hover {
  background: var(--text-dark);
  color: var(--text-white);
}

.feature-card {
  background: #FFFFFF;
  border: 1px solid rgba(0,0,0,0.05);
  padding: 50px 60px; /* Increased horizontal padding for pill shape */
  text-align: center;
  transition: var(--transition);
  box-shadow: 0 15px 45px rgba(0,0,0,0.05);
  border-radius: 100px; /* Pill shape */
}

.feature-card h3 {
  color: var(--text-dark);
}

.feature-desc {
  color: #666;
  margin-bottom: 20px;
}

.price-tag {
  font-size: 1.5rem;
  color: var(--secondary-gold);
  font-family: var(--font-serif);
}

.text-accent {
  color: var(--secondary-gold) !important;
  /*text-align: left;*/
}

.text-gold {
  color: var(--secondary-gold) !important;
}

.text-gray {
  color: var(--text-gray) !important;
}

.parking-info {
  padding: 20px;
  border-left: 2px solid var(--secondary-gold);
  margin-top: 20px;
}

.parking-title {
  color: var(--secondary-gold);
  font-weight: 600;
}

/* Accessibility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Menu Specific Styles */
.price-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 40px;
}
.price-table th, .price-table td {
    padding: 20px;
    text-align: left;
    border-bottom: 1px solid var(--subtle-border);
}
.price-table th {
    color: var(--text-white);
    font-family: var(--font-serif);
    font-size: 1.5rem;
    padding-top: 60px;
    border-bottom: 2px solid var(--subtle-gray);
}
.price-item {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}
.price-val {
    font-weight: 700;
    color: var(--text-white);
}
.price-note {
    font-size: 0.8rem;
    color: var(--text-gray);
    margin-top: 5px;
}
.menu-category {
    margin-bottom: 80px;
}

/* Info Specific Styles */
.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 60px;
}
@media (max-width: 768px) {
    .info-grid {
        grid-template-columns: 1fr;
    }
}
.staff-card {
    border: 1px solid var(--subtle-border);
    padding: 30px;
    text-align: center;
    background: rgba(255, 255, 255, 0.02);
    transition: var(--transition);
    border-radius: 30px; /* More rounded */
}
.staff-card:hover {
    border-color: var(--secondary-gold);
}
.staff-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: #333 url('sal.hasami_s.jpg') no-repeat center/cover;
    margin: 0 auto 20px;
    border: 2px solid var(--subtle-gray);
}
.info-label {
    color: var(--secondary-gold);
    font-weight: 700;
    width: 120px;
    display: inline-block;
}
.map-placeholder {
    width: 100%;
    height: 400px;
    background: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 30px 0;
    border: 1px solid var(--subtle-border);
}
/* --- Typography Updates --- */

/* Headings (Elegant & Modern / Menu etc) */
h1, .section-title, .hero-title, .section-title-large {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* Body & Buttons */
body, .btn {
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 0.05em;
}

.nav-links a {
  font-family: 'GFS Didot', serif;
  letter-spacing: 0.05em;
}

/* Numbers in Menu etc. */
.price-val {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 400;
}

/* Floating Back to Portfolio Button */
.back-to-portfolio {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  background: var(--secondary-gold, #D4AF37);
  color: #000000;
  padding: 12px 20px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.back-to-portfolio:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.6);
  background: #FFFFFF;
  color: #000000;
}

@media (max-width: 768px) {
  .back-to-portfolio {
    bottom: 16px;
    right: 16px;
    padding: 10px 16px;
    font-size: 0.8rem;
  }
}