/* Meihodo Site Styles - Serene Japanese Elegance × Modern Minimalism */

:root {
  --bg: #f8f6f2;
  --ink: #1a1a1a;
  --muted: #6b6b6b;
  --light-muted: #9a9a9a;
  --line: #e8e8e8;
  --accent: #c2a878;
  --accent-light: #d4bb8e;
  --shadow: rgba(0, 0, 0, 0.08);
  --shadow-hover: rgba(0, 0, 0, 0.12);
  --container: 1200px;
  --radius: 8px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --texture-opacity: 0.8;
  --texture-opacity-light: 0.6;
  --texture-opacity-dark: 1;
}

* {
  box-sizing: border-box;
}

/* Watercolor Texture Base */
.watercolor-texture {
  position: relative;
}

.watercolor-texture::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='400' height='400' viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='paper'%3E%3CfeTurbulence type='turbulence' baseFrequency='0.4' numOctaves='2' seed='1'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23paper)'/%3E%3C/svg%3E");
  background-size: 400px 400px, 100px 100px;
  opacity: var(--texture-opacity);
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: multiply;
}

html {
  background: var(--bg);
  color: var(--ink);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Noto Sans JP", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  line-height: 1.7;
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../texture/painted-relief-texture.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: var(--texture-opacity-light);
  pointer-events: none;
  z-index: -1;
  mix-blend-mode: multiply;
}

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

@keyframes slideRight {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(4px);
  }
}

/* Respect user motion preferences */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  html {
    scroll-behavior: auto;
  }
}

.fade-in {
  animation: fadeInUp 0.8s ease-out;
}

/* Staggered animations for cards */
.grid .card:nth-child(1) { animation-delay: 0.1s; }
.grid .card:nth-child(2) { animation-delay: 0.2s; }
.grid .card:nth-child(3) { animation-delay: 0.3s; }
.grid .card:nth-child(4) { animation-delay: 0.4s; }
.grid .card:nth-child(5) { animation-delay: 0.5s; }
.grid .card:nth-child(6) { animation-delay: 0.6s; }

.grid .card {
  animation: fadeInUp 0.8s ease-out both;
}

/* Typography */
h1, h2, h3 {
  margin: 0 0 1rem;
  font-weight: 700;
}

h1 {
  font-family: "Noto Serif JP", serif;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h2 {
  font-family: "Noto Serif JP", serif;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  line-height: 1.3;
  letter-spacing: -0.01em;
}

h3 {
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1.4;
}

p {
  color: var(--muted);
  margin: 0 0 1rem;
}

.lead {
  font-size: 1.125rem;
  color: var(--light-muted);
  margin-bottom: 2rem;
}

.eyebrow {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

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

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

a:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

img, video {
  display: block;
  max-width: 100%;
  height: auto;
      object-fit: cover;
  }

  /* Force 3:2 aspect ratio for section images */
  .section img[width="1200"][height="800"] {
    width: 100%;
    aspect-ratio: 3/2;
    height: auto;
    object-fit: cover;
  }

  /* Force 3:2 aspect ratio for experience hero images */
  .experience-hero img {
    width: 100%;
    aspect-ratio: 3/2;
    height: auto;
    object-fit: cover;
  }

  /* Force 4:3 aspect ratio for experience gallery images */
  .experience-gallery img[width="600"][height="400"] {
    width: 100%;
    aspect-ratio: 4/3;
    height: auto;
    object-fit: cover;
    border-radius: var(--radius);
  }

  /* FAQ Section Styles */
  .faq-section details {
    margin-bottom: 1rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
  }

  .faq-section summary {
    padding: 1rem;
    background: var(--bg);
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
  }

  .faq-section summary:hover {
    background: var(--accent);
    color: white;
  }

  .faq-section details[open] summary {
    background: var(--accent);
    color: white;
  }

  .faq-section details p {
    padding: 1rem;
    margin: 0;
    background: white;
    border-top: 1px solid var(--line);
  }

  /* Cancellation Policy Styles */
  .cancellation-policy {
    background: var(--bg);
    padding: 1.5rem;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    margin-top: 1rem;
  }

  .cancellation-policy h4 {
    margin-top: 0;
    color: var(--accent);
  }

  /* Logo Section Styles */
  .logo-section {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem 0;
  }

  .meihodo-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .logo-circle {
    width: 80px;
    height: 80px;
    border: 3px solid var(--ink);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
  }

  .logo-symbol {
    width: 40px;
    height: 40px;
    background: var(--ink);
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cpath d='M8 12C8 10 10 8 12 8H28C30 8 32 10 32 12V28C32 30 30 32 28 32H12C10 32 8 30 8 28V12ZM12 12V28H28V12H12Z'/%3E%3Cpath d='M16 16C16 14 18 12 20 12C22 12 24 14 24 16V24C24 26 22 28 20 28C18 28 16 26 16 24V16Z'/%3E%3C/svg%3E") center/contain;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cpath d='M8 12C8 10 10 8 12 8H28C30 8 32 10 32 12V28C32 30 30 32 28 32H12C10 32 8 30 8 28V12ZM12 12V28H28V12H12Z'/%3E%3Cpath d='M16 16C16 14 18 12 20 12C22 12 24 14 24 16V24C24 26 22 28 20 28C18 28 16 26 16 24V16Z'/%3E%3C/svg%3E") center/contain;
  }

  .logo-text {
    font-family: "Noto Serif JP", serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--ink);
    margin: 0;
  }

  /* Pricing Table Styles */
  .pricing-tables {
    display: grid;
    gap: 2rem;
    margin-bottom: 2rem;
  }

  .pricing-table {
    background: white;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
  }

  .pricing-table h3 {
    background: var(--accent);
    color: white;
    margin: 0;
    padding: 1rem;
    text-align: center;
    font-family: "Noto Serif JP", serif;
  }

  .pricing-table-content {
    width: 100%;
    border-collapse: collapse;
  }

  .pricing-table-content th,
  .pricing-table-content td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--line);
  }

  .pricing-table-content th {
    background: var(--bg);
    font-weight: 600;
    color: var(--ink);
  }

  .pricing-table-content td {
    vertical-align: top;
  }

  .pricing-table-content small {
    color: var(--muted);
    font-size: 0.875rem;
  }

  .pricing-note {
    background: var(--bg);
    margin: 0;
    padding: 1rem;
    text-align: center;
    color: var(--muted);
    font-style: italic;
  }

  @media (max-width: 768px) {
    .pricing-table-content {
      font-size: 0.875rem;
    }
    
    .pricing-table-content th,
    .pricing-table-content td {
      padding: 0.75rem 0.5rem;
    }
    
    .logo-text {
      font-size: 2rem;
    }
    
    .logo-circle {
      width: 60px;
      height: 60px;
    }
    
    .logo-symbol {
      width: 30px;
      height: 30px;
    }
  }

  /* Exception: Access image should show original proportions */
  .section img[alt*="Access"],
  .section img[alt*="アクセス"],
  .section img[alt*="交通"] {
    aspect-ratio: unset !important;
    height: auto;
    object-fit: contain;
  }

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

/* Common container for all sections */
.section-container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}

.section {
  padding: 4rem 0;
}

/* Unified section spacing */
.section--large {
  padding: 5rem 0;
}

.section--small {
  padding: 3rem 0;
}

/* Unified image styles */
.unified-image {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
}

.unified-image--square {
  aspect-ratio: 1/1;
}

.unified-image--card {
  aspect-ratio: 3/2;
}

/* Unified grid layouts */
.unified-grid {
  display: grid;
  gap: 24px;
}

.unified-grid--3-col {
  grid-template-columns: repeat(3, 1fr);
}

.unified-grid--2-col {
  grid-template-columns: repeat(2, 1fr);
}

.unified-grid--1-col {
  grid-template-columns: 1fr;
}

/* Responsive grid breakpoints */
@media (max-width: 1024px) {
  .unified-grid--3-col {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .section-container {
    padding-left: 12px;
    padding-right: 12px;
  }
}

@media (max-width: 768px) {
  .unified-grid--3-col,
  .unified-grid--2-col {
    grid-template-columns: 1fr;
  }
  
  .unified-grid {
    gap: 16px;
  }
  
  .section-container {
    padding-left: 8px;
    padding-right: 8px;
  }
  
  .section {
    padding: 2.5rem 0;
  }
  
  .section--large {
    padding: 3rem 0;
  }
  
  .unified-card-content {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .section-container {
    padding-left: 4px;
    padding-right: 4px;
  }
  
  .unified-card-content {
    padding: 1rem;
  }
}

/* Unified card styles */
.unified-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px var(--shadow);
  transition: var(--transition);
  transform: translateY(0);
  position: relative;
}

.unified-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.unified-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px var(--shadow-hover);
}

.unified-card:hover::before {
  transform: scaleX(1);
}

.unified-card img {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
  transition: var(--transition);
}

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

.unified-card-content {
  padding: 2rem;
  position: relative;
}

.unified-card h3 {
  margin-bottom: 1rem;
  color: var(--ink);
  font-size: 1.375rem;
  transition: var(--transition);
  line-height: 1.3;
}

.unified-card:hover h3 {
  color: var(--accent);
}

.unified-card p {
  font-size: 1.0625rem;
  margin: 1rem 0 2rem;
  color: var(--muted);
  line-height: 1.65;
}

/* Unified typography */
.unified-heading {
  font-family: "Noto Serif JP", serif;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin-bottom: 1.5rem;
  color: var(--ink);
}

.unified-text {
  color: var(--muted);
  margin-bottom: 1rem;
  max-width: 70ch;
  line-height: 1.7;
}

.unified-text--large {
  font-size: 1.125rem;
  color: var(--light-muted);
  margin-bottom: 2rem;
}

/* Unified iframe styles */
.unified-iframe {
  width: 100%;
  aspect-ratio: 16/9;
  border: 0;
  border-radius: 8px;
}

/* Remove inline styles and replace with classes */
.btn--black {
  background-color: black;
  color: white;
  border-color: black;
}

.text-center {
  text-align: center;
}

.mt-1 {
  margin-top: 1rem;
}

.section:first-of-type {
  padding-top: 2rem;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  background: rgba(254, 254, 254, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  padding: 1.25rem 0;
  z-index: 100;
  transition: var(--transition);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: "Noto Serif JP", serif;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.05em;
  color: var(--ink);
}

.nav {
  display: flex;
  gap: 2rem;
  font-size: 0.875rem;
  font-weight: 500;
}

.nav a {
  position: relative;
  padding: 0.5rem 0;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.nav a[target="_blank"]::after {
  content: ' ↗';
  font-size: 0.75rem;
  opacity: 0.7;
}

.nav a::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: var(--transition);
}

.nav a:hover::before,
.nav a.active::before {
  width: 100%;
}

.nav a.active {
  color: var(--accent);
  font-weight: 600;
}

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

/* Language Dropdown */
.nav-item {
  position: relative;
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  cursor: pointer;
  position: relative;
  padding: 0.5rem 0;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.875rem;
  font-weight: 500;
  color: inherit;
  text-decoration: none;
}

/* Add arrow to dropdown toggles */
.dropdown-toggle:not(.no-arrow)::after {
  content: '▼';
  font-size: 0.6rem;
  transition: var(--transition);
  margin-left: 0.25rem;
}

.dropdown-toggle::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: var(--transition);
}

.dropdown-toggle:hover::before,
.dropdown:hover .dropdown-toggle::before {
  width: 100%;
}

.dropdown-toggle:hover,
.dropdown:hover .dropdown-toggle {
  color: var(--accent);
}

.dropdown:hover .dropdown-toggle:not(.no-arrow)::after {
  transform: rotate(180deg);
}

.dropdown-content {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 4px 20px var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: var(--transition);
  z-index: 1000;
  padding: 0.5rem 0;
}

/* Experience dropdown is wider */
.nav .dropdown:nth-child(4) .dropdown-content {
  min-width: 250px;
}

.dropdown:hover .dropdown-content {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}



.dropdown-content a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem;
  color: var(--ink);
  text-decoration: none;
  font-size: 0.875rem;
  text-transform: none;
  letter-spacing: normal;
  transition: var(--transition);
}

.dropdown-content a:hover {
  background: rgba(194, 168, 120, 0.1);
  color: var(--accent);
}

.dropdown-content a.current {
  background: rgba(194, 168, 120, 0.15);
  color: var(--accent);
  font-weight: 600;
}

/* Mobile Navigation Styles */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 24px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.hamburger-line {
  width: 100%;
  height: 2px;
  background: var(--ink);
  transition: var(--transition);
  border-radius: 1px;
}

.mobile-menu-toggle--open .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle--open .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle--open .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Navigation */
@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: flex;
  }
  
  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 320px;
    height: 100vh;
    background: rgba(254, 254, 254, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    gap: 0;
    padding: 5rem 2rem 2rem;
    transition: right 0.3s ease;
    overflow-y: auto;
    box-shadow: -4px 0 20px var(--shadow);
  }
  
  .nav--open {
    right: 0;
  }
  
  .nav a,
  .dropdown-toggle {
    padding: 1rem 0;
    border-bottom: 1px solid var(--line);
    font-size: 1rem;
    text-align: left;
  }
  
  .nav a:last-child,
  .dropdown-toggle:last-child {
    border-bottom: none;
  }
  
  .dropdown {
    position: static;
  }
  
  .dropdown-content {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: transparent;
    padding: 0 0 0 1rem;
    margin: 0.5rem 0;
    display: none;
  }
  
  .dropdown--open .dropdown-content {
    display: block;
  }
  
  .dropdown-content a {
    padding: 0.75rem 0;
    border-bottom: none;
    font-size: 0.9rem;
  }
  
  /* Only show dropdown arrow for Languages on mobile */
  .dropdown-toggle::after {
    display: none;
  }
  
  .dropdown--languages .dropdown-toggle::after {
    display: block;
    margin-left: auto;
    transition: transform 0.3s ease;
  }
  
  .dropdown--languages.dropdown--open .dropdown-toggle::after {
    transform: rotate(180deg);
  }
  
  /* Prevent body scroll when menu is open */
  body.nav-open {
    overflow: hidden;
  }
  
  /* Language links in mobile */
  .lang-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .lang-name {
    font-size: 0.9rem;
  }
  
  .lang-code {
    font-size: 0.75rem;
    opacity: 0.7;
    background: var(--accent);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
  }
  
  /* Make Experiences and Accommodations work as simple links on mobile */
  .dropdown--experiences .dropdown-toggle,
  .dropdown--accommodations .dropdown-toggle {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
  }
  
  .dropdown--experiences .dropdown-toggle:hover,
  .dropdown--accommodations .dropdown-toggle:hover {
    color: var(--accent);
  }
  
  /* Hide dropdown content for non-language dropdowns on mobile */
  .dropdown--experiences .dropdown-content,
  .dropdown--accommodations .dropdown-content {
    display: none !important;
  }
}

/* Small mobile devices */
@media (max-width: 480px) {
  .nav {
    max-width: 100%;
    padding: 5rem 1.5rem 2rem;
  }
  
  .nav a,
  .dropdown-toggle {
    font-size: 1.1rem;
  }
  
  .dropdown-content a {
    font-size: 1rem;
  }
}

.lang-name {
  font-weight: 500;
}

.lang-code {
  font-size: 0.75rem;
  color: var(--muted);
  text-transform: uppercase;
}

/* Dropdown sections for Experience menu */
.dropdown-section {
  border-bottom: 1px solid var(--line);
  padding: 0.5rem 0;
}

.dropdown-section:last-child {
  border-bottom: none;
}

.dropdown-header {
  display: block;
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: rgba(194, 168, 120, 0.05);
  margin-bottom: 0.25rem;
}

.dropdown-section a {
  padding-left: 1.5rem;
  font-size: 0.8rem;
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  position: relative;
}

.hero-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: -1;
}

/* Custom Video Controls */
.video-controls {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 9999;
  opacity: 0.8;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: auto;
  animation: fadeInControls 0.6s ease-out;
  /* Ensure controls are positioned relative to hero-video */
  position: absolute;
}

@keyframes fadeInControls {
  from {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.8);
  }
  to {
    opacity: 0.8;
    transform: translate(-50%, -50%) scale(1);
  }
}

.hero:hover .video-controls {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.02);
}

.control-btn {
  background: rgba(0, 0, 0, 0.3);
  border: 2px solid rgba(255, 255, 255, 0.4);
  color: white;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  backdrop-filter: blur(15px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  /* Subtle glow effect */
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.1));
}

.control-btn:hover {
  background: rgba(0, 0, 0, 0.5);
  border-color: rgba(255, 255, 255, 0.7);
  transform: scale(1.05);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.control-btn:active {
  transform: scale(0.98);
  background: rgba(0, 0, 0, 0.6);
}

.play-icon,
.pause-icon {
  display: none;
}

.control-btn.playing .pause-icon {
  display: block;
}

.control-btn:not(.playing) .pause-icon {
  display: none;
}

.control-btn.playing .play-icon {
  display: none;
}

.control-btn:not(.playing) .play-icon {
  display: block;
}

/* Ensure play icon is visible by default when button doesn't have .playing class */
.control-btn .play-icon {
  display: block;
}

/* Responsive video controls */
@media (max-width: 768px) {
  .control-btn {
    width: 70px;
    height: 70px;
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  .control-btn {
    width: 60px;
    height: 60px;
    font-size: 18px;
  }
}

/* Contact Form Styles */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--ink);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.3s ease;
  background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(194, 168, 120, 0.1);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: #e53e3e;
  box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.1);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-submit {
  text-align: center;
  margin-top: 2rem;
}

.form-submit .btn {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
}

/* Alert Messages */
.alert {
  padding: 1rem 1.5rem;
  border-radius: var(--radius);
  margin: 1rem 0;
  font-weight: 500;
  text-align: center;
}

.alert--success {
  background: #f0fff4;
  color: #22543d;
  border: 2px solid #68d391;
}

.alert--error {
  background: #fff5f5;
  color: #742a2a;
  border: 2px solid #fc8181;
}

/* Form Loading State */
.form-submit .btn:disabled {
  cursor: not-allowed;
  opacity: 0.7;
}

.hero-content {
  max-width: 800px;
  padding: 0 2rem;
  z-index: 1;
}

.hero-content h1 {
  color: white;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-content .lead {
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

/* Hero Text Section */
.hero-text-section {
  padding: 5rem 0;
  background: linear-gradient(180deg, #fefefe, #f9f9f9);
  border-bottom: 1px solid var(--line);
  position: relative;
}

.hero-text-section::before {
  display: none;
}

.hero-text-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero-text-content h1 {
  color: var(--ink);
  margin-bottom: 1.5rem;
  text-shadow: none;
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  line-height: 1.3;
  letter-spacing: -0.01em;
  font-weight: 700;
}

.hero-text-content .lead {
  color: var(--muted);
  text-shadow: none;
  margin-bottom: 2.5rem;
  font-size: 1.25rem;
  line-height: 1.6;
  font-weight: 400;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2.5rem;
}

.hero-text-content .btn {
  font-size: 1rem;
  padding: 1rem 2.5rem;
  border-radius: var(--radius);
  background: var(--ink);
  color: white;
  transition: var(--transition);
  box-shadow: 0 2px 12px rgba(26, 26, 26, 0.15);
  position: relative;
  overflow: hidden;
}

.hero-text-content .btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(26, 26, 26, 0.2);
  background: var(--accent);
}

.hero-text-content .btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.6s;
}

.hero-text-content .btn:hover::before {
  left: 100%;
}

.hero-image {
  margin-top: 3rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-image img {
  width: 100%;
  max-width: 1000px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-image img:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.hero-image-button {
  margin-top: 2rem;
  text-align: center;
}

.hero-image-button .btn {
  font-size: 1rem;
  padding: 1rem 2.5rem;
  border-radius: var(--radius);
  background: var(--ink);
  color: white;
  transition: var(--transition);
  box-shadow: 0 2px 12px rgba(26, 26, 26, 0.15);
  position: relative;
  overflow: hidden;
}

.hero-image-button .btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(26, 26, 26, 0.2);
  background: var(--accent);
}

/* Restaurant Section */
.restaurant-section {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.restaurant-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.restaurant-content h2 {
  color: var(--ink);
  margin-bottom: 1.5rem;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.3;
  font-weight: 700;
}

.restaurant-content p {
  color: var(--muted);
  margin-bottom: 2rem;
  font-size: 1.25rem;
  line-height: 1.6;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2rem;
}

.restaurant-image {
  text-align: center;
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.restaurant-image img {
  width: 100%;
  max-width: 1000px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.restaurant-image img:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.restaurant-image-button {
  margin-top: 2rem;
  text-align: center;
}

.restaurant-image-button .btn {
  font-size: 1rem;
  padding: 1rem 2.5rem;
  border-radius: var(--radius);
  background: var(--ink);
  color: white;
  transition: var(--transition);
  box-shadow: 0 2px 12px rgba(26, 26, 26, 0.15);
  position: relative;
  overflow: hidden;
}

.restaurant-image-button .btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(26, 26, 26, 0.2);
  background: var(--accent);
}

/* Photography Section */
.photography-section {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.photography-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.photography-content h2 {
  color: var(--ink);
  margin-bottom: 1.5rem;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.3;
  font-weight: 700;
}

.photography-content p {
  color: var(--muted);
  margin-bottom: 2rem;
  font-size: 1.25rem;
  line-height: 1.6;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2rem;
}

.photography-image {
  text-align: center;
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.photography-image img {
  width: 100%;
  max-width: 1000px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  object-fit: cover;
  object-position: center;
}

.photography-image img:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.photography-image-button {
  margin-top: 2rem;
  text-align: center;
}

.photography-image-button .btn {
  font-size: 1rem;
  padding: 1rem 2.5rem;
  border-radius: var(--radius);
  background: var(--muted);
  color: white;
  transition: var(--transition);
  box-shadow: 0 2px 12px rgba(26, 26, 26, 0.15);
  position: relative;
  overflow: hidden;
}

.photography-image-button .btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(26, 26, 26, 0.2);
  background: var(--accent);
}

/* Grid System */
.grid {
  display: grid;
  gap: 2rem;
}

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

.cards-2 {
  grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
  gap: 2rem;
}

/* Cards */
.card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 12px var(--shadow);
  transition: var(--transition);
  transform: translateY(0);
  position: relative;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px var(--shadow-hover);
}

.card:hover::before {
  transform: scaleX(1);
}

  .card img {
    width: 100%;
    aspect-ratio: 3/2;
    object-fit: cover;
    transition: var(--transition);
  }

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

.card-content {
  padding: 2.5rem;
  position: relative;
}

.card h3 {
  margin-bottom: 1rem;
  color: var(--ink);
  font-size: 1.375rem;
  transition: var(--transition);
  line-height: 1.3;
}

.card:hover h3 {
  color: var(--accent);
}

.card p {
  font-size: 1.0625rem;
  margin: 1rem 0 2rem;
  color: var(--muted);
  line-height: 1.65;
}

.card .btn {
  position: relative;
  overflow: hidden;
}

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

.card:hover .btn::before {
  left: 100%;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.btn::after {
  content: '→';
  transition: var(--transition);
}

.btn:hover::after {
  transform: translateX(4px);
}

.btn--primary {
  background: var(--ink);
  color: white;
}

.btn--primary:hover {
  background: var(--accent);
  color: white;
}

.btn--secondary {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}

.btn--secondary:hover {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
}

.btn--ghost {
  background: transparent;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn--ghost:hover {
  background: white;
  color: var(--ink);
  border-color: white;
}

/* Section Layout */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.split-section.reverse {
  direction: rtl;
}

.split-section.reverse > * {
  direction: ltr;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header .eyebrow {
  display: block;
  margin-bottom: 1rem;
}

.section-header p {
  max-width: 600px;
  margin: 1.5rem auto 0;
  font-size: 1.125rem;
}

/* Image Placeholders */
.placeholder-img {
  background: #e5e5e5;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 0.875rem;
}

.placeholder-hero {
  aspect-ratio: 16/9;
  width: 100%;
  height: 100%;
}

.placeholder-section {
  aspect-ratio: 3/2;
  width: 100%;
}

.placeholder-card {
  aspect-ratio: 3/2;
  width: 100%;
}

.placeholder-logo {
  aspect-ratio: 200/80;
  width: 200px;
  height: 80px;
}

/* Special Elements */
.note {
  font-size: 0.875rem;
  color: var(--light-muted);
  font-style: italic;
  margin: 0.5rem 0;
}

.status-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: var(--accent-light);
  color: var(--ink);
  border-radius: 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Language Options */
.language-options {
  max-width: 600px;
  margin: 0 auto;
}

.language-list {
  display: grid;
  gap: 1rem;
  margin-bottom: 3rem;
}

.language-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: var(--transition);
  text-decoration: none;
}

.language-link:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px var(--shadow);
}

.language-link.active {
  border-color: var(--accent);
  background: rgba(194, 168, 120, 0.05);
}

.language-name {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ink);
}

.language-code {
  font-size: 0.875rem;
  color: var(--muted);
}

.language-note {
  text-align: center;
  padding: 1.5rem;
  background: rgba(0, 0, 0, 0.02);
  border-radius: var(--radius);
}

/* Accommodations Section */
.accommodations-cta {
  text-align: center;
  margin-top: 3rem;
}

/* Page Header Styles */
.page-header {
  text-align: center;
  padding: 3rem 0 2rem;
}

.page-header h1 {
  margin-bottom: 1rem;
}

.page-intro {
  max-width: 600px;
  margin: 0 auto 3rem;
  text-align: center;
  font-size: 1.125rem;
}

/* Detail Page Styles */
.detail-hero {
  margin-bottom: 3rem;
}

.detail-hero img,
.detail-hero video {
  width: 100%;
  aspect-ratio: 21/9;
  border-radius: var(--radius);
}

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

.detail-section {
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line);
}

.detail-section:last-of-type {
  border-bottom: none;
}

.detail-section h2 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.detail-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}

.detail-gallery img {
  aspect-ratio: 3/2;
  border-radius: var(--radius);
}

.detail-cta {
  background: rgba(0, 0, 0, 0.02);
  padding: 2rem;
  border-radius: var(--radius);
  text-align: center;
  margin: 3rem 0;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted);
  font-size: 0.875rem;
  margin-bottom: 2rem;
  transition: var(--transition);
}

.back-link:hover {
  color: var(--accent);
}

/* Mini TOC */
.mini-toc {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 3rem 0;
  padding: 1.5rem;
  background: rgba(0, 0, 0, 0.02);
  border-radius: var(--radius);
  flex-wrap: wrap;
}

.mini-toc a {
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: calc(var(--radius) / 2);
  transition: var(--transition);
}

.mini-toc a:hover {
  color: var(--accent);
  background: rgba(194, 168, 120, 0.1);
}

/* Experience Groups */
.experience-group {
  margin-bottom: 6rem;
  scroll-margin-top: 100px; /* Account for sticky header */
  position: relative;
}

.experience-group::after {
  display: none;
}

.experience-group::before {
  content: '';
  position: absolute;
  top: -2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.experience-group:first-of-type::before {
  display: none;
}

.group-header {
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
}

.group-header h2 {
  margin-bottom: 1.5rem;
  color: var(--ink);
  position: relative;
  display: inline-block;
}

.group-header h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
}

.group-header p {
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.125rem;
  color: var(--muted);
  line-height: 1.7;
}

/* Samurai Hero Card */
.samurai-hero {
  max-width: 900px;
  margin: 0 auto 5rem;
  position: relative;
}

.samurai-hero::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  right: -20px;
  bottom: -20px;
  background: linear-gradient(135deg, rgba(194, 168, 120, 0.1), rgba(194, 168, 120, 0.05));
  border-radius: calc(var(--radius) + 4px);
  z-index: -1;
  opacity: 0;
  transition: var(--transition);
}

.samurai-hero:hover::before {
  opacity: 1;
}

.hero-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: center;
  overflow: hidden;
  position: relative;
}

.hero-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), #d4bb8e, var(--accent));
  transform: scaleX(0);
  transform-origin: center;
  transition: var(--transition);
}

.hero-card:hover::after {
  transform: scaleX(1);
}

  .hero-card img {
    width: 100%;
    aspect-ratio: 3/2;
    object-fit: cover;
    transition: var(--transition);
}

.hero-card:hover img {
  transform: scale(1.03);
}

.hero-card .card-content {
  padding: 3rem;
  background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(255,255,255,1));
  position: relative;
}

.hero-card .card-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--accent), var(--accent-light));
  transform: scaleY(0);
  transform-origin: top;
  transition: var(--transition);
}

.hero-card:hover .card-content::before {
  transform: scaleY(1);
}

.hero-card h3 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--ink);
  transition: var(--transition);
}

.hero-card:hover h3 {
  color: var(--accent);
  transform: translateX(8px);
}

.hero-card p {
  font-size: 1.125rem;
  margin-bottom: 2.5rem;
  color: var(--muted);
  line-height: 1.7;
}

.hero-card .btn--primary {
  position: relative;
  overflow: hidden;
}

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

.hero-card:hover .btn--primary::before {
  left: 100%;
}

/* Experience List Styles */
.experience-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.experience-card {
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: var(--transition);
}

.experience-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px var(--shadow);
}

.experience-card h3 {
  margin-bottom: 0.5rem;
}

.experience-card p {
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

/* Pricing Table */
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
}

.pricing-table th,
.pricing-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.pricing-table th {
  background: rgba(0, 0, 0, 0.02);
  font-weight: 600;
}

/* Form Styles */
.contact-form {
  max-width: 600px;
  margin: 2rem auto;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--ink);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.875rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(194, 168, 120, 0.1);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-submit {
  text-align: center;
  margin-top: 2rem;
}

/* Legal Page Styles */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-section {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}

.legal-section:last-of-type {
  border-bottom: none;
}

.legal-section h3 {
  margin-bottom: 0.75rem;
  color: var(--accent);
}

/* Footer */
footer {
  background: var(--bg);
  border-top: 1px solid var(--line);
  margin-top: 5rem;
  padding: 3rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: start;
}

.contact-info p {
  margin: 0.25rem 0;
  color: var(--muted);
  font-size: 0.875rem;
}

.contact-info strong {
  color: var(--ink);
}

.legal-link {
  color: var(--muted);
  font-size: 0.875rem;
  transition: var(--transition);
}

.legal-link:hover {
  color: var(--accent);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .split-section {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .split-section.reverse {
    direction: ltr;
  }
  
  .hero {
    min-height: 500px;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .hero-card {
    grid-template-columns: 1fr;
  }
  
  .hero-card .card-content {
    padding: 2rem;
  }
  
  .experience-group {
    margin-bottom: 3rem;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }
  
  .header-content {
    flex-direction: column;
    gap: 1rem;
  }
  
  .nav {
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .hero {
    min-height: 400px;
  }
  
  .hero-content {
    padding: 0 1rem;
  }
  
  .section {
    padding: 2rem 0;
  }
  
  .grid {
    gap: 1.5rem;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .mini-toc {
    gap: 1rem;
    padding: 1rem;
  }
  
  .mini-toc a {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
  }
  
  .hero-card .card-content {
    padding: 1.5rem;
  }
  
  .card-content {
    padding: 1.5rem;
  }
  
  .card h3 {
    font-size: 1.125rem;
  }
  
  .card p {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 2rem;
    line-height: 1.2;
  }
  
  .hero-content .lead {
    font-size: 1rem;
  }
  
  .btn {
    padding: 0.625rem 1.25rem;
    font-size: 0.8rem;
  }
  
  .card-content {
    padding: 1rem;
  }
}

/* Experience Page Styles */
.experience-hero {
  margin-bottom: 3rem;
}

.experience-hero-image {
  margin-bottom: 1.5rem;
}

.experience-hero-content h1 {
  font-family: "Noto Serif JP", serif;
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--ink);
}

.experience-deck {
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--muted);
  max-width: 42rem;
}

.experience-section {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line);
}

.experience-section:last-of-type {
  border-bottom: none;
}

.experience-section h2 {
  font-family: "Noto Serif JP", serif;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--ink);
}

.experience-flow,
.experience-notes {
  list-style: none;
  padding: 0;
}

.experience-flow li,
.experience-notes li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
}

.experience-flow li::before {
  content: counter(flow-counter);
  counter-increment: flow-counter;
  position: absolute;
  left: 0;
  top: 0.5rem;
  background: var(--accent);
  color: white;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
}

.experience-flow {
  counter-reset: flow-counter;
}

.experience-notes li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0.5rem;
  color: var(--accent);
  font-weight: bold;
}

.experience-pricing {
  display: grid;
  gap: 1rem;
  margin-bottom: 2rem;
}

.pricing-tier {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
}

.tier-size {
  font-weight: 600;
  color: var(--ink);
}

.tier-price {
  font-weight: 600;
  color: var(--accent);
  font-size: 1.125rem;
}

.tier-price small {
  font-weight: 400;
  font-size: 0.875rem;
  color: var(--muted);
}

.experience-details {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.detail-item {
  display: flex;
  gap: 0.5rem;
}

.detail-item strong {
  color: var(--ink);
  min-width: 6rem;
}

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

  .experience-gallery img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: var(--radius);
  }

/* Single row gallery layout */
.experience-gallery-single-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  overflow-x: auto;
}

.experience-gallery-single-row img {
  min-width: 0;
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius);
}

  .experience-cta {
  text-align: center;
  padding: 3rem 0;
  margin-top: 3rem;
  border-top: 1px solid var(--line);
}

.experience-cta h3 {
  font-family: "Noto Serif JP", serif;
  font-size: 1.75rem;
  margin-bottom: 1rem;
  color: var(--ink);
}

.experience-cta p {
  font-size: 1.125rem;
  color: var(--muted);
  margin-bottom: 2rem;
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
}

/* Placeholder styles */
.ph {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 0.875rem;
  text-align: center;
  border: 1px solid #ddd;
}

@media (max-width: 768px) {
  .experience-hero-content h1 {
    font-size: 2rem;
  }
  
  .experience-deck {
    font-size: 1rem;
  }
  
  .pricing-tier {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  
  .experience-gallery {
    grid-template-columns: 1fr;
  }
  
  /* Single row gallery responsive styles */
  .experience-gallery-single-row {
    grid-template-columns: repeat(3, minmax(200px, 1fr));
    gap: 0.75rem;
    padding-bottom: 0.5rem;
  }
  
  .experience-gallery-single-row img {
    min-width: 150px;
  }
}

@media (max-width: 480px) {
  .experience-gallery-single-row {
    grid-template-columns: repeat(3, minmax(120px, 1fr));
    gap: 0.5rem;
  }
  
  .experience-gallery-single-row img {
    min-width: 100px;
  }
  
  .experience-cta {
    padding: 2rem 0;
  }
  
  .experience-cta h3 {
    font-size: 1.5rem;
  }
}

/* Accommodation Page Styles */
.accommodation-hero {
  position: relative;
  margin-bottom: 4rem;
  overflow: hidden;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--bg) 0%, #f8f9fa 100%);
}

.accommodation-hero-image {
  width: 100%;
  height: 60vh;
  min-height: 400px;
  max-height: 600px;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  margin-bottom: 2rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.accommodation-hero-image:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.15);
}

.accommodation-hero-image .ph {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #e5e5e5 0%, #f0f0f0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  color: #999;
  border: none;
  position: relative;
  overflow: hidden;
}

.accommodation-hero-image .ph::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

.accommodation-hero-content {
  text-align: center;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  margin: 0 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transform: translateY(-20px);
  position: relative;
  z-index: 2;
}

.accommodation-hero h1 {
  font-family: "Noto Serif JP", serif;
  font-size: 3rem;
  line-height: 1.1;
  margin-bottom: 1rem;
  color: var(--ink);
  background: linear-gradient(135deg, var(--ink) 0%, #4a5568 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
}

.accommodation-deck {
  font-size: 1.25rem;
  line-height: 1.6;
  color: var(--muted);
  max-width: 48rem;
  margin: 0 auto;
  font-weight: 400;
}

.accommodation-section {
  margin-bottom: 4rem;
  padding: 2rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  overflow: hidden;
}

.accommodation-section::after {
  display: none;
}

.accommodation-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), #d4af37, var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.accommodation-section:hover::before {
  transform: scaleX(1);
}

.accommodation-section:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.accommodation-section:last-of-type {
  border-bottom: none;
}

.accommodation-section h2 {
  font-family: "Noto Serif JP", serif;
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  color: var(--ink);
  position: relative;
  display: inline-block;
}

.accommodation-section h2::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), #d4af37);
  transition: width 0.3s ease;
}

.accommodation-section:hover h2::after {
  width: 100%;
}

.room-details {
  display: grid;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.5);
  padding: 1.5rem;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.detail-item {
  display: flex;
  gap: 1rem;
  padding: 0.75rem;
  border-radius: 6px;
  transition: background 0.2s ease;
}

.detail-item:hover {
  background: rgba(255, 255, 255, 0.8);
}

.detail-item strong {
  color: var(--ink);
  min-width: 7rem;
  font-weight: 600;
}

.amenities-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.75rem;
}

.amenities-list li {
  padding: 0.75rem 1rem;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.6);
  border-radius: 6px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}

.amenities-list li::before {
  content: '✓';
  position: absolute;
  left: -30px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent);
  font-weight: bold;
  transition: left 0.2s ease;
}

.amenities-list li:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateX(8px);
  color: var(--ink);
}

.amenities-list li:hover::before {
  left: 8px;
}

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

.accommodation-gallery img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  position: relative;
}

.accommodation-gallery img:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.accommodation-gallery img::before {
  content: '🔍 Click to view';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  color: white;
  padding: 1rem;
  text-align: center;
  font-size: 0.875rem;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 1;
}

.accommodation-gallery img:hover::before {
  opacity: 1;
}

/* Gallery Modal */
.gallery-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-modal.active {
  display: flex;
  opacity: 1;
}

.gallery-modal img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  cursor: pointer;
  transition: transform 0.3s ease;
}

.gallery-modal img:hover {
  transform: scale(1.05);
}

.gallery-modal .close-btn {
  position: absolute;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.gallery-modal .close-btn:hover {
  background: rgba(0, 0, 0, 0.8);
}

.gallery-modal .nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  font-size: 2rem;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
  user-select: none;
}

.gallery-modal .nav-btn:hover {
  background: rgba(0, 0, 0, 0.8);
}

.gallery-modal .nav-btn.prev {
  left: 30px;
}

.gallery-modal .nav-btn.next {
  right: 30px;
}

.gallery-modal .image-counter {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  background: rgba(0, 0, 0, 0.5);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.875rem;
}

.accommodation-cta {
  text-align: center;
  padding: 4rem 2rem;
  margin-top: 4rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(248, 249, 250, 0.9) 100%);
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.accommodation-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), #d4af37, var(--accent));
}

.accommodation-cta h3 {
  font-family: "Noto Serif JP", serif;
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--ink);
  background: linear-gradient(135deg, var(--ink) 0%, #4a5568 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.accommodation-cta p {
  font-size: 1.25rem;
  color: var(--muted);
  margin-bottom: 2.5rem;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.accommodation-cta .btn {
  padding: 1rem 2.5rem;
  font-size: 1.125rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

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

.accommodation-cta .btn:hover::before {
  left: 100%;
}

/* Back link styling */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  margin-bottom: 2rem;
  color: var(--muted);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
  backdrop-filter: blur(10px);
}

.back-link:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.9);
  transform: translateX(-4px);
}

@media (max-width: 768px) {
  .cards-2 {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .card-content {
    padding: 2rem;
  }
  
  .card h3 {
    font-size: 1.25rem;
  }
  
  .accommodation-hero-image {
    height: 50vh;
    min-height: 300px;
  }
  
  .accommodation-hero h1 {
    font-size: 2.25rem;
  }
  
  .accommodation-hero-content {
    margin: 0 1rem;
    padding: 1.5rem;
  }
  
  .accommodation-deck {
    font-size: 1.125rem;
  }
  
  .accommodation-section {
    padding: 1.5rem;
    margin-bottom: 2.5rem;
  }
  
  .accommodation-section h2 {
    font-size: 1.5rem;
  }
  
  .room-details {
    padding: 1rem;
  }
  
  .detail-item {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .detail-item strong {
    min-width: auto;
  }
  
  .amenities-list {
    grid-template-columns: 1fr;
  }
  
  .amenities-list li:hover {
    transform: translateX(4px);
  }
  
  .accommodation-gallery {
    grid-template-columns: 1fr;
  }
  
  .accommodation-cta {
    padding: 2.5rem 1.5rem;
    margin-top: 2.5rem;
  }
  
  .gallery-modal .nav-btn {
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
  }
  
  .gallery-modal .close-btn {
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
    top: 15px;
    right: 20px;
  }
  
  .gallery-modal .nav-btn.prev {
    left: 20px;
  }
  
  .gallery-modal .nav-btn.next {
    right: 20px;
  }
}


  
  .accommodation-cta h3 {
    font-size: 1.75rem;
  }
  
  .accommodation-cta p {
    font-size: 1.125rem;
  }
}

/* Photography page specific styles */
.logo-section {
  text-align: center;
  margin-bottom: 3rem;
  padding: 2rem 0;
}

.meihodo-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.logo-circle {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.logo-symbol {
  width: 60px;
  height: 60px;
  background: var(--bg);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Ctext x='50' y='70' text-anchor='middle' font-size='60' font-family='serif' fill='white'%3E明%3C/text%3E%3C/svg%3E") center/contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Ctext x='50' y='70' text-anchor='middle' font-size='60' font-family='serif' fill='white'%3E明%3C/text%3E%3C/svg%3E") center/contain no-repeat;
}

.logo-text {
  font-size: 2rem;
  font-weight: 600;
  color: var(--accent);
  margin: 0;
}

/* Hero section for photography page */
.hero-section {
  text-align: center;
  margin-bottom: 4rem;
  padding: 3rem 0;
}

.hero-section h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--accent);
}

.hero-description {
  font-size: 1.25rem;
  color: var(--muted);
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Services section for photography page */
.services-section {
  margin-bottom: 4rem;
}

.services-section h2 {
  text-align: center;
  margin-bottom: 1rem;
  color: var(--accent);
}

.services-section > p {
  text-align: center;
  margin-bottom: 3rem;
  color: var(--muted);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.service-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.service-card h3 {
  margin-top: 0;
  margin-bottom: 1rem;
  color: var(--accent);
  font-size: 1.5rem;
}

.service-card p {
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

.pricing-tables {
  display: grid;
  gap: 2rem;
  margin-top: 2rem;
}

.pricing-table {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.pricing-table h3 {
  margin-top: 0;
  margin-bottom: 1rem;
  color: white;
  font-size: 1.25rem;
}

.pricing-table-content {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

.pricing-table-content th,
.pricing-table-content td {
  padding: 0.75rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.pricing-table-content th {
  background: var(--accent);
  color: white;
  font-weight: 600;
}

.pricing-table-content td {
  background: var(--bg);
}

.pricing-table-content small {
  color: var(--muted);
  font-size: 0.875rem;
}

.pricing-note {
  margin-top: 1rem;
  padding: 1rem;
  background: var(--accent-light);
  border-radius: var(--radius);
  font-size: 0.875rem;
  color: var(--accent-dark);
}

/* Responsive adjustments for photography page */
@media (max-width: 768px) {
  .hero-section h1 {
    font-size: 2.5rem;
  }
  
  .hero-description {
    font-size: 1.1rem;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .service-card {
    padding: 1.5rem;
  }
  
  .pricing-table-content {
    font-size: 0.875rem;
  }
  
  .pricing-table-content th,
  .pricing-table-content td {
    padding: 0.5rem;
  }
  
  .pricing-table {
    padding: 1rem;
  }
}

/* Restaurant Page Styles */
.restaurant-hero {
  color: white;
  text-align: center;
  padding: 8rem 0;
  position: relative;
  overflow: hidden;
  min-height: 80vh;
  display: flex;
  align-items: center;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.3) 0%,
    rgba(0, 0, 0, 0.4) 50%,
    rgba(0, 0, 0, 0.5) 100%
  );
}

.restaurant-hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
}

.restaurant-hero h1 {
  font-size: clamp(3rem, 6vw, 5rem);
  margin-bottom: 1.5rem;
  font-weight: 700;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.8), 0 2px 8px rgba(0, 0, 0, 0.6);
  letter-spacing: -0.02em;
  font-family: "Noto Serif JP", serif;
  color: white;
}

.restaurant-hero .lead {
  font-size: 1.375rem;
  margin-bottom: 3rem;
  color: white;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.7), 0 2px 8px rgba(0, 0, 0, 0.5);
}

.restaurant-info {
  display: flex;
  justify-content: center;
  gap: 4rem;
  margin-top: 3rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

.info-item {
  text-align: center;
  background: white;
  padding: 1.5rem 2rem;
  border-radius: var(--radius);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.8);
  transition: var(--transition);
}

.info-item:hover {
  background: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
}

.info-label {
  display: block;
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
}

.info-value {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ink);
}

/* Menu Styles */
.menu-section {
  margin-bottom: 4rem;
}

.menu-section h3 {
  font-size: 1.75rem;
  color: var(--accent);
  margin-bottom: 2rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--accent-light);
  display: inline-block;
}

.menu-item {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.menu-item:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.menu-item.premium {
  border-color: var(--accent);
  background: linear-gradient(135deg, var(--bg) 0%, rgba(194, 168, 120, 0.05) 100%);
}

.menu-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.menu-header h4 {
  font-size: 1.5rem;
  margin: 0;
  color: var(--ink);
  flex: 1;
  min-width: 200px;
}

.price {
  text-align: right;
  min-width: 150px;
}

.price-main {
  display: block;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--accent);
}

.price-tax {
  display: block;
  font-size: 0.875rem;
  color: var(--muted);
  margin-top: 0.25rem;
}

.course-details h5 {
  font-size: 1.125rem;
  color: var(--accent);
  margin-bottom: 1rem;
}

.course-details ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
}

.course-details li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--line);
  position: relative;
  padding-left: 1.5rem;
}

.course-details li::before {
  content: '•';
  color: var(--accent);
  font-weight: bold;
  position: absolute;
  left: 0;
}

.course-details li:last-child {
  border-bottom: none;
}

.course-note {
  background: rgba(194, 168, 120, 0.1);
  padding: 1rem;
  border-radius: var(--radius);
  border-left: 3px solid var(--accent);
}

.course-note p {
  margin: 0.25rem 0;
  font-size: 0.875rem;
  color: var(--muted);
}

/* Gallery Styles */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
  aspect-ratio: 4/3;
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.gallery-image-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

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

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: white;
  padding: 1.5rem 1rem 1rem;
  transform: translateY(100%);
  transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
  transform: translateY(0);
}

.gallery-overlay h4 {
  margin: 0 0 0.5rem 0;
  font-size: 1.125rem;
  font-weight: 600;
}

.gallery-expand {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--ink);
  cursor: pointer;
  transition: var(--transition);
  opacity: 0;
}

.gallery-item:hover .gallery-expand {
  opacity: 1;
}

.gallery-expand:hover {
  background: white;
  transform: scale(1.1);
}

/* Lightbox Styles */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
}

.lightbox img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: var(--radius);
}

.lightbox-close {
  position: absolute;
  top: -3rem;
  right: 0;
  background: none;
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  padding: 0.5rem;
  transition: var(--transition);
}

.lightbox-close:hover {
  color: var(--accent);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 1rem 0.75rem;
  border-radius: var(--radius);
  transition: var(--transition);
}

.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.2);
}

.lightbox-prev {
  left: -4rem;
}

.lightbox-next {
  right: -4rem;
}

.lightbox-caption {
  position: absolute;
  bottom: -3rem;
  left: 0;
  right: 0;
  text-align: center;
  color: white;
}

.lightbox-caption h3 {
  margin: 0 0 0.5rem 0;
  font-size: 1.25rem;
}

.lightbox-caption p {
  margin: 0;
  opacity: 0.8;
}

/* Reservation Section */
.reservation-section {
  text-align: center;
  background: linear-gradient(135deg, var(--bg) 0%, rgba(194, 168, 120, 0.05) 100%);
  padding: 3rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.reservation-section h2 {
  color: var(--accent);
  margin-bottom: 1rem;
}

.reservation-section p {
  font-size: 1.125rem;
  color: var(--muted);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.reservation-options {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.reservation-notes {
  text-align: left;
  max-width: 500px;
  margin: 0 auto;
}

.reservation-notes p {
  margin-bottom: 1rem;
}

.reservation-notes ul {
  list-style: none;
  padding: 0;
}

.reservation-notes li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--line);
  position: relative;
  padding-left: 1.5rem;
}

.reservation-notes li::before {
  content: '✓';
  color: var(--accent);
  font-weight: bold;
  position: absolute;
  left: 0;
}

.reservation-notes li:last-child {
  border-bottom: none;
}

/* Responsive Design */
@media (max-width: 768px) {
  .restaurant-hero {
    padding: 6rem 0;
    min-height: 70vh;
  }
  
  .restaurant-info {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .info-item {
    padding: 1.25rem 1.5rem;
  }
  
  .menu-header {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .price {
    text-align: left;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
  }
  
  .lightbox-nav {
    display: none;
  }
  
  .reservation-options {
    flex-direction: column;
    align-items: center;
  }
  
  .reservation-section {
    padding: 2rem 1rem;
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .menu-item {
    padding: 1.5rem;
  }
  
  .restaurant-hero {
    padding: 4rem 0;
    min-height: 60vh;
  }
  
  .restaurant-hero h1 {
    font-size: 2.5rem;
  }
  
  .restaurant-hero .lead {
    font-size: 1.125rem;
  }
  
  .info-item {
    padding: 1rem 1.25rem;
  }
}

/* Sansuiya Restaurant Specific Styles */
.important-notes {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.note-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: rgba(194, 168, 120, 0.05);
  border-radius: var(--radius);
  border-left: 4px solid var(--accent);
}

.note-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.note-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.menu-grid {
  display: grid;
  gap: 2rem;
  margin-top: 2rem;
}

.drink-menu {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
  margin-top: 2rem;
}

.drink-section {
  text-align: center;
  margin-bottom: 2rem;
}

.drink-section h3 {
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.drink-note {
  color: var(--muted);
  font-style: italic;
}

.drink-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.drink-category h4 {
  color: var(--accent);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--accent-light);
  display: inline-block;
}

.drink-category ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.drink-category li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--line);
  position: relative;
  padding-left: 1.5rem;
}

.drink-category li::before {
  content: '•';
  color: var(--accent);
  font-weight: bold;
  position: absolute;
  left: 0;
}

.drink-category li:last-child {
  border-bottom: none;
}

.drink-notes {
  background: rgba(194, 168, 120, 0.1);
  padding: 1.5rem;
  border-radius: var(--radius);
  border-left: 3px solid var(--accent);
}

.drink-notes p {
  margin: 0.5rem 0;
  font-size: 0.875rem;
  color: var(--muted);
}

/* Responsive adjustments for Sansuiya page */
@media (max-width: 768px) {
  .drink-categories {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .note-item {
    padding: 1.25rem;
  }
  
  .drink-menu {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .important-notes {
    gap: 1rem;
  }
  
  .note-item {
    padding: 1rem;
    flex-direction: column;
    text-align: center;
  }
  
  .drink-menu {
    padding: 1rem;
  }
}

/* Access Page Styles */
.access-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: white;
  text-align: center;
  padding: 4rem 0;
}

.access-hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.access-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 2rem;
}

.location-info h2,
.map-container h2 {
  margin-bottom: 1.5rem;
  color: var(--primary);
}

.address-card {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.address-icon {
  font-size: 2rem;
  color: var(--primary);
}

.address-details h3 {
  margin: 0 0 0.5rem 0;
  color: var(--primary);
}

.address-details p {
  margin: 0.25rem 0;
  color: var(--muted);
}

.postal-code {
  font-family: monospace;
  font-size: 1.1rem;
}

.contact-info-card {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.contact-info-card h3 {
  margin: 0 0 1.5rem 0;
  color: var(--primary);
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
}

.contact-item:last-child {
  border-bottom: none;
}

.contact-icon {
  font-size: 1.5rem;
  color: var(--primary);
}

.contact-label {
  font-weight: 600;
  color: var(--ink);
  min-width: 80px;
}

.contact-item a {
  color: var(--primary);
  text-decoration: none;
}

.contact-item a:hover {
  text-decoration: underline;
}

.map-container {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.google-map {
  margin-bottom: 1.5rem;
  border-radius: 8px;
  overflow: hidden;
}

.map-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.transportation-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.transport-card {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.transport-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.transport-card h3 {
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.transportation-section h3 {
  color: black;
  margin-bottom: 1.5rem;
}

.transport-details h4 {
  color: var(--secondary);
  margin: 1.5rem 0 1rem 0;
  font-size: 1.1rem;
}

.transport-details ul {
  text-align: left;
  list-style: none;
  padding: 0;
}

.transport-details li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  position: relative;
  padding-left: 1.5rem;
}

.transport-details li:before {
  content: "•";
  color: var(--primary);
  position: absolute;
  left: 0;
  font-weight: bold;
}

.transport-details li:last-child {
  border-bottom: none;
}

.facilities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.facility-card {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.facility-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.facility-card h3 {
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.facility-card ul {
  text-align: left;
  list-style: none;
  padding: 0;
}

.facility-card li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  position: relative;
  padding-left: 1.5rem;
}

.facility-card li:before {
  content: "✓";
  color: var(--success);
  position: absolute;
  left: 0;
  font-weight: bold;
}

.facility-card li:last-child {
  border-bottom: none;
}

.attractions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.attraction-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.attraction-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.attraction-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.attraction-content {
  padding: 1.5rem;
}

.attraction-content h3 {
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.attraction-content p {
  color: var(--muted);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.distance {
  display: inline-block;
  background: var(--primary);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
}

/* Responsive Design for Access Page */
@media (max-width: 768px) {
  .access-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .transportation-grid,
  .facilities-grid,
  .attractions-grid {
    grid-template-columns: 1fr;
  }
  
  .map-actions {
    flex-direction: column;
  }
  
  .map-actions .btn {
    width: 100%;
    text-align: center;
  }
  
  .address-card {
    flex-direction: column;
    text-align: center;
  }
  
  .contact-item {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }
  
  .contact-label {
    min-width: auto;
  }
}
