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

html, body {
  height: 100%;
  font-family: "Space Grotesk", sans-serif;
}

body {
  background: #000;
  display: flex;
  flex-direction: column;
}

.logo {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.logo img {
  height: 70px;
  width: auto;
  display: block;
  transition: transform 0.4s ease;
}

.logo img:hover {
  transform: scale(1.08);
}

.panels {
  display: flex;
  flex-direction: column;
  flex: 1;
  width: 100%;
}

.panel {
  position: relative;
  flex: 1;
  overflow: hidden;
  cursor: pointer;
}

.panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
  z-index: 0;
}

.panel-jingan::before {
  background-image: url('../images/jingan.jpg');
}

.panel-pudong::before {
  background-image: url('../images/pudong.jpg');
}

.panel:hover::before {
  transform: scale(1.08);
}

.panel-link {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 1;
}

.panel:hover .overlay {
  opacity: 0;
}

.label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: capitalize;
  pointer-events: none;
  transition: opacity 0.4s ease;
  z-index: 3;
}

.panel:hover .label {
  opacity: 0.85;
}

.site-footer {
  background: #000;
  color: #888;
  text-align: center;
  padding: 16px 12px;
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 1.6;
  z-index: 10;
}

.site-footer p {
  margin: 0;
}

@media (min-width: 768px) and (max-width: 1023px) {
  .label {
    font-size: 2rem;
  }

  .logo img {
    height: 80px;
  }
}

@media (min-width: 1024px) {
  .panels {
    flex-direction: row;
  }

  .label {
    font-size: 2.5rem;
  }

  .logo img {
    height: 110px;
  }

  .site-footer {
    font-size: 0.85rem;
  }
}
