/* ==========================================================================
   Prime Suites Tokyo - Private Dining
   Design tokens inherited from main site (prime-suites-tokyo.com)
   ========================================================================== */

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

:root {
  /* Colors - matching main site exactly */
  --gold-primary: #C5A059;
  --gold-hover: #B08D45;
  --text-main: #1A1A1A;
  --text-body: #222222;
  --text-muted: #6B7280;
  --bg-white: #FFFFFF;
  --bg-light-gray: #F9F9F9;
  --border: #E0E0E0;
  --black: #000000;
  --overlay: rgba(0, 0, 0, 0.5);
  
  /* Typography */
  --font-serif: 'Noto Serif JP', 'Times New Roman', serif;
  --font-sans: 'Noto Sans JP', sans-serif;
  
  /* Layout */
  --max-width: 1100px;
  --max-width-text: 800px;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-weight: 400;
  color: var(--text-body);
  background-color: var(--bg-white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* Typography */
h1, h2, h3, h4, h5 {
  font-family: var(--font-serif);
  font-weight: 500;
  color: var(--text-main);
  line-height: 1.4;
  letter-spacing: 0.02em;
}

p {
  margin: 0;
}

/* Header / Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
  padding: 24px 0;
  background-color: transparent;
  transition: all 0.3s ease;
}

.header.scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 16px 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--bg-white);
  transition: color 0.3s ease;
}

.header.scrolled .logo {
  color: var(--text-main);
}

.nav {
  display: none;
  align-items: center;
  gap: 32px;
}

.nav a {
  font-size: 14px;
  color: var(--bg-white);
  transition: color 0.3s ease;
}

.header.scrolled .nav a {
  color: var(--text-main);
}

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

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  margin-left: 16px;
  padding-left: 16px;
  border-left: 1px solid rgba(255, 255, 255, 0.35);
}

.header.scrolled .lang-switcher {
  border-left-color: rgba(0, 0, 0, 0.2);
}

.lang-switcher a {
  color: rgba(255, 255, 255, 0.6);
}

.header.scrolled .lang-switcher a {
  color: rgba(0, 0, 0, 0.5);
}

.lang-switcher a.active {
  color: var(--bg-white);
  font-weight: 700;
}

.header.scrolled .lang-switcher a.active {
  color: var(--text-main);
}

.lang-switcher a:hover {
  color: var(--bg-white);
}

.header.scrolled .lang-switcher a:hover {
  color: var(--text-main);
}

/* Mobile menu toggle */
.menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--bg-white);
  transition: color 0.3s ease;
}

.header.scrolled .menu-toggle {
  color: var(--text-main);
}

.menu-toggle svg {
  width: 24px;
  height: 24px;
}

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100vh;
  background-color: var(--bg-white);
  z-index: 100;
  padding: 80px 24px 24px;
  flex-direction: column;
  gap: 24px;
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  font-size: 18px;
  color: var(--text-main);
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.mobile-menu-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
}

.mobile-lang {
  display: flex;
  gap: 16px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.mobile-lang a {
  border: none;
  padding: 0;
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--gold-primary);
  color: var(--bg-white);
  font-size: 13px;
  font-weight: 700;
  padding: 12px 24px;
  min-height: 44px;
  letter-spacing: 0.05em;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-primary:hover {
  background-color: var(--gold-hover);
  transform: translateY(-1px);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gold-primary);
  color: var(--gold-primary);
  font-size: 13px;
  font-weight: 500;
  padding: 11px 23px;
  min-height: 44px;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
}

.btn-outline:hover {
  background-color: var(--gold-primary);
  color: var(--bg-white);
}

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

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background-color: var(--overlay);
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 900px;
  padding: 0 20px;
  animation: fadeUp 1.2s ease-out;
}

.hero-eyebrow {
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-primary);
  margin-bottom: 24px;
  display: block;
  animation: fadeIn 1.5s ease-out;
}

.hero h1 {
  font-size: 32px;
  line-height: 1.3;
  color: var(--bg-white);
  margin-bottom: 24px;
  font-weight: 500;
}

.hero-subtitle {
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 40px;
  font-family: var(--font-sans);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

.hero-cta .btn-primary {
  min-width: 200px;
  height: 48px;
  font-size: 14px;
}

/* Section Base */
.section {
  padding: 60px 20px;
}

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-bg-light {
  background-color: var(--bg-light-gray);
}

.section-eyebrow {
  font-size: 12px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-primary);
  display: block;
  margin-bottom: 12px;
  font-weight: 500;
}

.section h2 {
  font-size: 24px;
  margin-bottom: 24px;
  line-height: 1.4;
}

.section-intro {
  max-width: var(--max-width-text);
  margin: 0 auto;
  text-align: center;
  font-family: var(--font-serif);
}

.section-intro h2 {
  text-align: center;
  margin-bottom: 32px;
}

.section-intro p {
  font-size: 16px;
  line-height: 1.9;
  color: var(--text-main);
  margin-bottom: 20px;
}

.section-intro p:last-child {
  margin-bottom: 0;
}

.section-intro-quote {
  font-size: 18px;
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}

/* Features Grid */
.features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.feature-item {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 32px 24px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.feature-icon {
  width: 48px;
  height: 48px;
  color: var(--gold-primary);
}

.feature-icon svg {
  width: 100%;
  height: 100%;
}

.feature-item h3 {
  font-size: 18px;
  font-weight: 500;
}

.feature-item p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-body);
}

/* Image Section (image + text side by side) */
.image-text-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}

.image-text-image {
  width: 100%;
  height: 280px;
  overflow: hidden;
}

.image-text-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-text-content h3 {
  font-size: 20px;
  margin-bottom: 16px;
  font-weight: 500;
}

.image-text-content p {
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 16px;
}

/* Authentic Section (Menu) */
.authentic {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}

.authentic-image {
  width: 100%;
  position: relative;
}

.authentic-image img {
  width: 100%;
  height: auto;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.authentic-content h2 {
  font-size: 24px;
  margin-bottom: 24px;
}

.authentic-content p {
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 16px;
}

.origin-list {
  margin-top: 24px;
  padding: 20px;
  background-color: var(--bg-white);
  border-left: 3px solid var(--gold-primary);
}

.origin-list-title {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-primary);
  margin-bottom: 12px;
  font-weight: 500;
}

.origin-list-content {
  font-size: 13px;
  line-height: 1.9;
  color: var(--text-body);
  font-family: var(--font-serif);
}

/* Gallery */
.gallery-title {
  text-align: center;
  margin-bottom: 40px;
}

.gallery-title h2 {
  text-align: center;
  margin-bottom: 8px;
}

.gallery-title p {
  font-size: 14px;
  color: var(--text-muted);
}

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

.gallery-item {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.gallery-item:hover {
  opacity: 0.95;
}

/* Pricing Section */
.pricing-card {
  max-width: 700px;
  margin: 0 auto;
  background-color: var(--bg-white);
  border: 1px solid var(--border);
  padding: 32px 24px;
  text-align: center;
}

.pricing-eyebrow {
  font-size: 12px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-primary);
  margin-bottom: 16px;
  font-weight: 500;
}

.pricing-amount {
  font-family: var(--font-serif);
  font-size: 40px;
  color: var(--text-main);
  margin-bottom: 8px;
  font-weight: 500;
}

.pricing-per-person {
  font-size: 14px;
  color: var(--text-body);
  margin-bottom: 32px;
}

.pricing-divider {
  width: 60px;
  height: 1px;
  background-color: var(--gold-primary);
  margin: 0 auto 32px;
}

.pricing-includes {
  text-align: left;
  margin-bottom: 32px;
}

.pricing-includes-title {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-primary);
  margin-bottom: 16px;
  font-weight: 500;
  text-align: center;
}

.pricing-includes ul {
  list-style: none;
  padding: 0;
}

.pricing-includes li {
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.pricing-includes li:last-child {
  border-bottom: none;
}

.pricing-includes li::before {
  content: "✦";
  color: var(--gold-primary);
  flex-shrink: 0;
}

.pricing-conditions {
  background-color: var(--bg-light-gray);
  padding: 20px;
  margin-top: 24px;
  font-size: 13px;
  line-height: 1.8;
  text-align: left;
}

.pricing-conditions strong {
  color: var(--gold-primary);
  font-weight: 500;
}

.pricing-comparison {
  margin-top: 32px;
  padding: 20px;
  background-color: var(--bg-light-gray);
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-muted);
}

.pricing-comparison-title {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-primary);
  margin-bottom: 12px;
  font-weight: 500;
}

/* Other Services */
.other-services {
  text-align: center;
  max-width: var(--max-width-text);
  margin: 0 auto;
}

.other-services h2 {
  text-align: center;
  margin-bottom: 24px;
}

.other-services p {
  font-size: 15px;
  line-height: 1.9;
  color: var(--text-body);
  margin-bottom: 16px;
}

.other-services-cta {
  margin-top: 32px;
}

/* Booking Section */
.booking {
  text-align: center;
  background-color: var(--bg-light-gray);
}

.booking-inner {
  max-width: 700px;
  margin: 0 auto;
}

.booking h2 {
  text-align: center;
  margin-bottom: 16px;
}

.booking p {
  font-size: 15px;
  margin-bottom: 32px;
  line-height: 1.8;
}

.booking-cta {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

/* Footer */
.footer {
  background-color: var(--text-main);
  color: var(--bg-white);
  padding: 48px 20px 32px;
  text-align: center;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-logo {
  font-family: var(--font-serif);
  font-size: 20px;
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}

.footer-tagline {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 32px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  margin-bottom: 32px;
}

.footer-links a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--gold-primary);
}

.footer-lang {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 32px;
  font-size: 12px;
}

.footer-lang a {
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.3s ease;
}

.footer-lang a.active {
  color: var(--bg-white);
  font-weight: 700;
}

.footer-lang a:hover {
  color: var(--bg-white);
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

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

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Tablet (768px+)
   ========================================================================== */
@media (min-width: 768px) {
  .section {
    padding: 100px 20px;
  }
  
  .nav {
    display: flex;
  }
  
  .menu-toggle {
    display: none;
  }
  
  .hero {
    min-height: 700px;
  }
  
  .hero h1 {
    font-size: 48px;
  }
  
  .hero-subtitle {
    font-size: 16px;
  }
  
  .section h2 {
    font-size: 32px;
  }
  
  .section-intro p {
    font-size: 18px;
  }
  
  .section-intro-quote {
    font-size: 22px;
  }
  
  .features {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  
  .image-text-grid {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }
  
  .image-text-image {
    height: 480px;
  }
  
  .image-text-content h3 {
    font-size: 24px;
  }
  
  .image-text-content p {
    font-size: 15px;
  }
  
  .authentic {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }
  
  .authentic-content h2 {
    font-size: 32px;
  }
  
  .authentic-content p {
    font-size: 15px;
  }
  
  .gallery {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
  
  .pricing-card {
    padding: 56px 48px;
  }
  
  .pricing-amount {
    font-size: 56px;
  }
  
  .other-services p {
    font-size: 17px;
  }
  
  .booking p {
    font-size: 17px;
  }
  
  .booking-cta {
    flex-direction: row;
    justify-content: center;
  }
  
  .footer-links {
    flex-direction: row;
    justify-content: center;
    gap: 32px;
  }
}

/* ==========================================================================
   Desktop (1100px+)
   ========================================================================== */
@media (min-width: 1100px) {
  .features {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .hero h1 {
    font-size: 56px;
  }
}

/* Print */
@media print {
  .header, .footer, .booking {
    display: none;
  }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ==========================================================================
   Modal (Inquiry Form)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 1000;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 20px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-overlay.open {
  display: flex;
  opacity: 1;
  animation: fadeIn 0.3s ease forwards;
}

.modal {
  background-color: var(--bg-white);
  width: 100%;
  max-width: 700px;
  margin: 40px auto;
  position: relative;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.24);
  transform: translateY(20px);
  opacity: 0;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.modal-overlay.open .modal {
  transform: translateY(0);
  opacity: 1;
}

.modal-header {
  padding: 32px 32px 24px;
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.modal-eyebrow {
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-primary);
  margin-bottom: 12px;
  font-weight: 500;
}

.modal h2 {
  font-family: var(--font-serif);
  font-size: 22px;
  color: var(--text-main);
  font-weight: 500;
  line-height: 1.4;
  margin: 0;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text-main);
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 10;
}

.modal-close:hover {
  background: var(--text-main);
  color: var(--bg-white);
  border-color: var(--text-main);
}

.modal-close svg {
  width: 18px;
  height: 18px;
}

.modal-body {
  padding: 16px;
  min-height: 500px;
}

.modal-iframe {
  width: 100%;
  border: none;
  min-height: 600px;
}

/* Lock body scroll when modal is open */
body.modal-open {
  overflow: hidden;
}

@media (min-width: 768px) {
  .modal {
    margin: 60px auto;
  }
  
  .modal-header {
    padding: 40px 40px 28px;
  }
  
  .modal h2 {
    font-size: 26px;
  }
  
  .modal-body {
    padding: 24px;
  }
}
