/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Noto Serif JP", "Noto Serif HK", serif;
  overflow: hidden;
  height: 100vh;
  width: 100vw;
}

/* Slideshow Container */
.slideshow-container {
  position: relative;
  height: 100vh;
  width: 100vw;
  overflow: hidden;
}

/* Slideshow Background */
.slideshow-background {
  position: absolute;
  inset: 0;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1000ms ease-in-out;
}

.slide.active {
  opacity: 1;
}

.slide.active img {
  animation: kenBurns 20s ease-out forwards;
}

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

.slide-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.4);
}

/* Ken Burns Animation */
@keyframes kenBurns {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.1);
  }
}

/* Navigation Buttons */
.nav-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  height: 48px;
  width: 48px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  border: none;
  color: white;
  cursor: pointer;
  transition: all 300ms ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.nav-button svg {
  width: 24px;
  height: 24px;
}

.nav-prev {
  left: 24px;
  display: none;
}

.nav-next {
  right: 24px;
}

/* Slide Indicators */
.slide-indicators {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  gap: 8px;
}

.indicator {
  height: 8px;
  width: 8px;
  border-radius: 9999px;
  background-color: rgba(255, 255, 255, 0.5);
  border: none;
  cursor: pointer;
  transition: all 300ms ease;
}

.indicator:hover {
  background-color: rgba(255, 255, 255, 0.75);
}

.indicator.active {
  width: 32px;
  background-color: #cbb27d;
}

/* Information Panel */
.info-panel-wrapper {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 10;
  height: 100%;
  width: 100%;
  border-right: 8px solid #c6a664;
}

.info-panel {
  position: relative;
  height: 100%;
  width: 100%;
  max-width: 350px;
  background-color: #000;
  backdrop-filter: blur(16px);
  clip-path: polygon(0 0, 100% 0, 85% 50%, 100% 100%, 0 100%);
  box-shadow: 4px 0 32px rgba(0, 0, 0, 0.15);
  animation: fadeInSlide 1000ms ease-out;
}

@keyframes fadeInSlide {
  from {
    opacity: 0;
    transform: translateX(-32px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes fadeInSlide2 {
  from {
    opacity: 0;
    transform: translateY(-32px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.info-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  padding: 64px 48px 64px 16px;
}

/* Restaurant Header */
.restaurant-header {
  margin-bottom: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(120, 113, 108, 0.2);
}

.header-flex {
  display: flex;
  align-items: center;
  gap: 20px;
}
.logo {
  margin-left: 50px;
}

.logo-circle {
  flex-shrink: 0;
  height: 80px;
  width: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: #292524;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.logo-kanji {
  font-size: 36px;
  font-weight: 500;
  color: #fafaf9;
}

.name-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.restaurant-name {
  font-size: 36px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: #292524;
}

.restaurant-subtitle {
  font-family: "Noto Serif JP", sans-serif;
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.3em;
  color: #78716c;
}

/* Information Sections */
.info-sections {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.icon-wrapper {
  margin-top: -8px;
  flex-shrink: 0;
  height: 40px;
  width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-wrapper svg {
  height: 24px;
  width: 24px;
  color: #57534e;
}

.info-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.info-label {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #a8a29e;
}

.info-text {
  font-size: 16px;
  line-height: 1.8;
  color: #cbb27d;
}

.info-phone {
  text-decoration: none;
  transition: color 300ms ease;
  transition: all 0.4s ease-in-out;
}

.info-phone:hover {
  color: #c6a664;
  opacity: 0.7;
}

.info-link {
  display: inline-block;
  font-size: 14px;
  letter-spacing: 0.05em;
  color: #57534e;
  text-decoration: none;
  transition: color 300ms ease;
  transition: all 0.4s ease-in-out;
}

.info-link:hover {
  color: #c6a664;
  opacity: 0.7;
}

.hours-text {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 16px;
  line-height: 1.8;
  color: #44403c;
}

.closed-note {
  padding-top: 8px;
  font-size: 14px;
  font-style: italic;
  color: #78716c;
}

/* Curved Edge SVG */
.curved-edge {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 96px;
  color: rgba(255, 255, 255, 0.75);
  filter: drop-shadow(-2px 0 8px rgba(0, 0, 0, 0.1));
  pointer-events: none;
}

/* Responsive Design */
@media (max-width: 768px) {
  body {
    background-color: #000;
  }
  .logo {
    margin-left: 30px;
  }
  .logo img {
    width: 65px;
  }

  .info-panel {
    max-width: 100%;
    height: 55vh;
    clip-path: none;
    animation: fadeInSlide2 1000ms ease-out;
  }
  .info-sections {
    flex-wrap: wrap;
    flex-direction: row;
    gap: 24px;
  }
  .info-text {
    line-height: 1.4;
  }
  .info-item {
    gap: 7px;
  }
  .icon-wrapper {
    transform: scale(0.75);
    width: 30px;
  }
  .info-details {
    gap: 4px;
  }
  .restaurant-header {
    margin-bottom: 0;
    padding-bottom: 24px;
    border-bottom-width: 0;
  }
  .info-details br {
    display: none;
  }
  .slideshow-background {
    height: 45vh;
    top: 55vh;
  }

  .curved-edge {
    top: 40vh;
    transform: rotate(90deg);
    display: none;
  }

  .info-content {
    padding: 20px 16px;
  }

  .nav-button {
    top: 70%;
  }
  .nav-prev {
    left: 16px;
    display: block;
    transform: scale(0.7);
  }

  .nav-next {
    right: 16px;
    transform: scale(0.7);
  }
}
