/* Set the default font and background color */
body {
  font-family: Arial, sans-serif;
  background-color: #2F2F2F;
}

/* Style the header and add a background image */
header {
  background-image: url('/darkheader-bg.png');
  background-size: cover;
  padding: 40px;
  color: white;
  color: #18B2C3;
}

/* Add some spacing to the h1 */
header h1 {
  margin-top: 0;
}

/* Style the hero section */
.hero {
  padding: 40px;
  background-color: #1693B0;
  color: white;
}

/* Style the gallery section */
.gallery {
  padding: 40px;
  background-color: #2F2F2F;
}

/* Style the gallery heading */
.gallery h2 {
  margin-top: 0;
  color: #18B2C3;
}

/* Style the image grid and add hover effects */
.image-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.image-item {
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.image-item img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.5s ease;
}

.image-item:hover img {
  transform: scale(1.1);
}

.image-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.image-item:hover::before {
  opacity: 1;
}

.image-item::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 24px;
  font-weight: bold;
  color: white;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.image-item:hover::after {
  opacity: 1;
}

/* Style the footer */
footer {
  padding: 20px;
  background-color: #333;
  color: white;
  text-align: center;
}
