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

html,
body {
  height: 100%;
  width: 100%;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #fff;
  -webkit-tap-highlight-color: transparent;
}

body {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

#photo-panel {
  position: fixed;
  inset: 0;
  z-index: 0;
  background-color: #111;
  background-image: url('../images/door.jpg');
  background-size: cover;
  background-position: left bottom;
  background-repeat: no-repeat;
}

#photo-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, var(--overlay-opacity, 0.4));
  pointer-events: none;
}

#content-panel {
  position: fixed;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 20px 20px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

#status-box {
  left: 0px;
  right: 0px;
  padding: 16px 20px;
  background: rgba(58, 77, 61, 0.88);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
  display: none;
}

#status-box.visible {
  display: block;
}

#status-box .status-hours {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 6px;
}

#status-box .status-message {
  font-size: 15px;
  line-height: 1.45;
  font-weight: 500;
  max-width: 520px;
}

@media (min-width: 900px) {
  body {
    flex-direction: row;
  }

  #photo-panel {
    position: relative;
    inset: auto;
    width: 50%;
    height: 100vh;
    flex-shrink: 0;
  }

  #content-panel {
    position: relative;
    top: 0;
    height: 100dvh;
    overflow: hidden;
    left: auto;
    right: auto;
    bottom: auto;
    width: 50%;
    height: 100vh;
    justify-content: center;
    align-items: center;
    background: #111;
    padding: 40px;
    gap: 28px;
  }

  #status-box {
    right: 50%;
  }
}

.content-spacer {
  flex: 1 1 auto;
  min-height: 150px;
}

.btn-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 248px;
  height: 70px;
  background: rgba(255, 255, 255, 0.92);
  color: #111;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 12px;
  text-align: center;
  line-height: 1.25;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
  transition: transform 0.15s ease, background 0.15s ease;
}

.btn-contact:active {
  transform: scale(0.97);
  background: #fff;
}

.link-row {
  display: flex;
  gap: 28px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.link-row a {
  opacity: 0.92;
  padding: 6px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
}

.link-row a:active {
  opacity: 1;
}

.menu-toggle {
  background: none;
  border: none;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 4px;
  cursor: pointer;
}

.menu-panel {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

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

.menu-panel a {
  padding: 8px 16px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  opacity: 0.92;
}

/* ===== Menu page ===== */
body.image-page {
  background: #f5f5f5;
  color: #111;
  height: auto;
  min-height: 100%;
}

body.image-page::before {
  content: none;
}

.menu-header {
  position: sticky;
  top: 0;
  z-index: 10;
  padding: 14px 16px;
  background: rgba(245, 245, 245, 0.94);
  border-bottom: 1px solid #e5e5e5;
}

.menu-header .back {
  font-size: 15px;
  font-weight: 500;
  color: #333;
}

.menu-scroll {
  padding: 12px 12px 40px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 640px;
  margin: 0 auto;
  color: #000;
}

.menu-scroll img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  background: #e8e8e8;
  min-height: 200px;
  object-fit: contain;
}

@media (min-width: 700px) {
  .grid-scroll {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    max-width: 900px;
  }

  .grid-scroll img {
    aspect-ratio: 3 / 4;
    object-fit: cover;
  }
}

@media (min-width: 1100px) {
  .grid-scroll {
    grid-template-columns: repeat(3, 1fr);
    max-width: 1200px;
  }

  .menu-toggle {
    display: none;
  }

  .menu-panel {
    display: flex;
    flex-direction: row;
    gap: 24px;
  }

  .menu-panel a {
    padding: 6px 4px;
  }
}