:root {
  --color-black: #1e1e1e;
  --color-white: #ffffff;
  --color-accent: #333333;
}

/* Header styles */
header {
  text-align: center;
  margin: 40px 0;
}

header h1 {
  font-size: 4rem;
  font-weight: 800;
  color: var(--color-black);
  text-transform: uppercase;
}

header p {
  font-size: 1.4rem;
  color: var(--color-accent);
  text-decoration: underline;
  margin-bottom: 20px;
}

/* Buttons section */
.buttons {
  display: flex;
  justify-content: flex-start;
  gap: 1.5rem;
  margin: 20px 0 10px;
}

.buttons button {
  padding: 10px 20px;
  background-color: var(--color-black);
  color: var(--color-white);
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  transition: background-color 0.3s;
}

.buttons button:hover {
  background-color: var(--color-accent);
}

/* Gallery section with buttons and images */
.gallery {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
  gap: 0;
}

.gallery-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 20%;
  box-sizing: border-box;
}

.gallery-item button {
  margin-bottom: 10px;
  padding: 10px 20px;
  background-color: var(--color-black);
  color: var(--color-white);
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  transition: background-color 0.3s;
  position: relative;
  z-index: 1;
}

.gallery-item button:hover {
  background-color: var(--color-accent);
}

.gallery img {
  width: 100%;
  aspect-ratio: 1 / 1;
  transition: filter 0.3s ease, transform 0.3s ease;
  cursor: pointer;
  filter: grayscale(100%);
  border: 2px solid #000;
}

.gallery img.selected {
  filter: none;
  transform: scale(1.05);
}

/* Details section */
.details {
  padding: 20px;
  background-color: var(--color-black);
  color: var(--color-white);
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.details.show {
  opacity: 1;
  transform: translateX(0);
  animation: none;
}

.details h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 10px;
  animation: slideInLeft 1s ease forwards;
}

.details p {
  font-size: 1.2rem;
  margin-bottom: 20px;
  animation: fadeIn 1s ease forwards;
}

/* Slide-in text animation */
@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Fade-in effect animation */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

#mapid {
  height: 400px;
  width: 400px;
  margin: 20px auto;
  border-radius: 50%;
  opacity: 0;
  animation: fadeInMap 1s ease forwards 0.5s;
}

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

