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

/* Fix for mobile viewport height issues */
:root {
  --vh: 1vh;
}

body {
  background: #f5f5f5;
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
}

.container {
  /* Remove max-width and margin to allow full viewport width */
  width: 100vw;
  background: white;
  display: flex;
  flex-direction: column;
  min-height: calc(var(--vh, 1vh) * 100);
  position: relative;
}

/* Make the picture element take full space */
picture {
  flex: 1;
  display: flex;
}

.hero-image {
  width: 100%;
  height: calc((var(--vh, 1vh) * 100) - 120px); /* Use custom vh property */
  object-fit: cover; /* This will crop the image to fill while maintaining aspect ratio */
  object-position: center; /* Center the image */
  display: block;
}

.footer {
  padding: 1.5rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.footer h1 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #222;
}

.footer .contact {
  font-style: italic;
  font-size: 0.9rem;
  text-decoration: none;
  color: #222;
}

@media (min-width: 768px) {
  .footer {
    padding: 2rem;
  }

  .footer h1 {
    font-size: 2rem;
  }
}