/* Variable Definitions */
:root {
  --primary-color: #8b4513; /* SaddleBrown */
  --secondary-color: #d2691e; /* Chocolate */
  --accent-color: #cd853f; /* Peru */
  --text-color: #333333;
  --bg-color: #fdf5e6; /* OldLace */
  --light-bg: #ffffff;
  --dark-bg: #2c2c2c;
  --font-heading: "Cormorant Garamond", serif;
  --font-body: "Montserrat", sans-serif;
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: --font-body;
  font-family: "Montserrat", sans-serif;
  color: var(--text-color);
  background-color: var(--bg-color);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
}

.section-title {
  font-size: 3rem;
  margin-bottom: 2rem;
  color: var(--primary-color);
  position: relative;
  display: inline-block;
}

.section-title.center {
  display: block;
  text-align: center;
}

.section-desc {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  font-weight: 500;
}

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

.section {
  padding: 100px 0;
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 1px;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary {
  background-color: var(--primary-color);
  color: #fff;
  border: 2px solid var(--primary-color);
}

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

.btn-secondary {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
  background-color: var(--primary-color);
  color: #fff;
}

/* Loader */
.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--bg-color);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition:
    opacity 0.5s ease,
    visibility 0.5s ease;
}

.loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  letter-spacing: 5px;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% {
    opacity: 0.5;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0.5;
  }
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition);
}

.header.scrolled {
  background-color: rgba(253, 245, 230, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 15px 0;
}

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

.logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 2px;
}

.nav-list {
  display: flex;
  gap: 30px;
}

.nav-link {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--primary-color);
  transition: var(--transition);
}

.nav-link:hover::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.menu-toggle span {
  width: 100%;
  height: 3px;
  background-color: var(--text-color);
  transition: var(--transition);
}

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

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: -1;
}

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

.hero-title {
  font-size: 5rem;
  margin-bottom: 20px;
  letter-spacing: 2px;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 40px;
  font-weight: 300;
  letter-spacing: 1px;
}

/* Concept Section */
.concept-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.concept-image {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.concept-image img {
  transition: transform 0.6s ease;
}

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

/* Menu Section */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.menu-item {
  background: var(--light-bg);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.menu-item:hover {
  transform: translateY(-10px);
}

.menu-image {
  height: 250px;
  overflow: hidden;
}

.menu-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.menu-item:hover .menu-image img {
  transform: scale(1.1);
}

.menu-details {
  padding: 25px;
  text-align: center;
}

.menu-name {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.menu-desc {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 15px;
}

.menu-price {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-color);
}

/* Parallax Section */
.parallax-section {
  position: relative;
  padding: 150px 0;
  text-align: center;
  color: #fff;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  overflow: hidden;
}

.parallax-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-attachment: fixed; /* Simple parallax */
  z-index: -2;
}

.parallax-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: -1;
}

.parallax-content h2 {
  font-size: 4rem;
  margin-bottom: 20px;
}

.parallax-content p {
  font-size: 1.5rem;
  font-weight: 300;
}

/* Gallery Section */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  border-radius: 4px;
}

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

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

/* Access Section */
.access-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.access-list {
  margin-bottom: 30px;
}

.access-item {
  display: flex;
  margin-bottom: 15px;
  border-bottom: 1px solid #ddd;
  padding-bottom: 15px;
}

.access-item dt {
  width: 100px;
  font-weight: 600;
  color: var(--primary-color);
}

.social-links {
  display: flex;
  gap: 20px;
}

.social-link {
  font-size: 0.9rem;
  font-weight: 600;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
}

.social-link:hover {
  border-bottom-color: var(--text-color);
}

.access-map {
  height: 400px;
  background: #eee;
  border-radius: 8px;
  overflow: hidden;
}

/* Footer */
.footer {
  background-color: var(--dark-bg);
  color: #fff;
  padding: 30px 0;
  text-align: center;
}

.copyright {
  font-size: 0.8rem;
  opacity: 0.7;
}

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

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

.fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

.fade-in-right.active {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

.fade-in-left.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-image {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1s ease-in-out;
}

.reveal-image.active {
  clip-path: inset(0 0 0 0);
}

.delay-100 {
  transition-delay: 0.1s;
}
.delay-200 {
  transition-delay: 0.2s;
}
.delay-300 {
  transition-delay: 0.3s;
}

/* Responsive Styles */
@media (max-width: 900px) {
  .hero-title {
    font-size: 3.5rem;
  }
  .concept-container,
  .access-container {
    grid-template-columns: 1fr;
  }
  .concept-image {
    order: -1;
  } /* Image on top */
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }
  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background-color: #fff;
    padding: 80px 40px;
    transition: right 0.4s ease;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    z-index: 1000;
  }
  .nav.active {
    right: 0;
  }
  .nav-list {
    flex-direction: column;
    gap: 20px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .parallax-content h2 {
    font-size: 3rem;
  }

  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
  }
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: 2.2rem;
  }
  .hero-title {
    font-size: 2.5rem;
  }
  .menu-grid {
    grid-template-columns: 1fr;
  }
}

/* ===================================
   CV Optimization Styles
   =================================== */

/* Demo Label */
.demo-label {
  position: absolute;
  top: 80px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  padding: 8px 20px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.demo-label span {
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.9);
  font-family: "Noto Sans JP", sans-serif;
}

/* Hero Japanese Catch */
.hero-catch {
  font-size: 1.1rem;
  font-weight: 300;
  margin-bottom: 40px;
  opacity: 0.9;
  font-family: "Noto Sans JP", sans-serif;
  letter-spacing: 2px;
}

/* Hero CTA Group */
.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
  align-items: center;
}

.btn-cta-primary {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: #fff;
  border: none;
  padding: 16px 32px;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 50px;
  box-shadow: 0 4px 20px rgba(139, 69, 19, 0.4);
  transition: all 0.3s ease;
  min-height: 52px;
  font-family: "Noto Sans JP", sans-serif;
}

.btn-cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(139, 69, 19, 0.5);
}

.btn-cta-secondary {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 14px 28px;
  font-size: 0.9rem;
  font-weight: 400;
  border-radius: 50px;
  transition: all 0.3s ease;
  min-height: 48px;
  font-family: "Noto Sans JP", sans-serif;
}

.btn-cta-secondary:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.6);
}

/* Small Start Section */
.small-start-section {
  background: linear-gradient(180deg, var(--bg-color) 0%, #f5ebe0 100%);
  padding: 80px 0;
}

.small-start-subtitle {
  text-align: center;
  font-size: 0.9rem;
  color: var(--secondary-color);
  letter-spacing: 2px;
  margin-bottom: 40px;
  font-weight: 500;
}

.small-start-list {
  max-width: 600px;
  margin: 0 auto 40px;
  list-style: none;
  padding: 0;
}

.small-start-list li {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px 25px;
  background: var(--light-bg);
  border-radius: 12px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1rem;
  transition: transform 0.3s ease;
}

.small-start-list li:hover {
  transform: translateX(5px);
}

.small-start-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.small-start-footer {
  text-align: center;
}

.small-start-link {
  display: inline-block;
  font-size: 0.95rem;
  color: var(--primary-color);
  font-weight: 500;
  padding: 10px 0;
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
  font-family: "Noto Sans JP", sans-serif;
}

.small-start-link:hover {
  border-bottom-color: var(--primary-color);
}

/* Reserve Callout */
.reserve-callout {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: #fff;
  padding: 20px 25px;
  border-radius: 12px;
  margin-bottom: 30px;
  text-align: center;
}

.reserve-callout p {
  font-size: 0.9rem;
  margin-bottom: 10px;
  font-family: "Noto Sans JP", sans-serif;
}

.reserve-tel {
  display: inline-block;
  font-size: 1.3rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: 1px;
}

.reserve-tel:hover {
  opacity: 0.9;
}

/* Map Link */
.map-link {
  display: inline-block;
  font-size: 0.8rem;
  color: var(--primary-color);
  margin-left: 10px;
  padding: 4px 10px;
  background: rgba(139, 69, 19, 0.1);
  border-radius: 20px;
  transition: all 0.3s ease;
}

.map-link:hover {
  background: rgba(139, 69, 19, 0.2);
}

/* Sticky Bar */
.sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--dark-bg);
  display: none;
  justify-content: space-around;
  align-items: center;
  padding: 8px 0;
  z-index: 999;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.15);
}

.sticky-bar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  color: #fff;
  padding: 8px 12px;
  min-width: 60px;
  min-height: 50px;
  justify-content: center;
  transition: all 0.3s ease;
}

.sticky-bar-item:hover {
  opacity: 0.8;
}

.sticky-bar-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
  mix-blend-mode: multiply;
  margin-bottom: 2px;
}

.sticky-bar-text {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  font-family: "Noto Sans JP", sans-serif;
}

.sticky-bar-cta {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  border-radius: 8px;
  margin: 0 4px;
}

/* Body padding for sticky bar on mobile */
@media (max-width: 768px) {
  .sticky-bar {
    display: flex;
  }

  body {
    padding-bottom: 70px;
  }

  .hero-cta-group {
    flex-direction: column;
  }

  .btn-cta-primary,
  .btn-cta-secondary {
    width: 100%;
    max-width: 320px;
    text-align: center;
  }

  .demo-label {
    top: 70px;
    padding: 6px 15px;
  }

  .demo-label span {
    font-size: 0.65rem;
  }

  .hero-catch {
    font-size: 0.95rem;
  }

  .map-link {
    display: block;
    margin-left: 0;
    margin-top: 8px;
  }
}

@media (max-width: 480px) {
  .small-start-list li {
    padding: 15px 20px;
    font-size: 0.9rem;
  }

  .small-start-icon {
    width: 28px;
    height: 28px;
  }

  .reserve-tel {
    font-size: 1.1rem;
  }
}
