
/* ==========================================================================
   Homepage Hero, Curtain & Animations
   ========================================================================== */
.page-curtain {
  background-color: #f4eddc;
  height: 100%;
  left: 0;
  position: fixed;
  top: 0;
  transition: opacity 0.8s ease-out;
  width: 100%;
  z-index: 990;
}

.page-curtain.hidden {
  opacity: 0;
  pointer-events: none;
}
/* Modifier for the header to be transparent and overlay the hero section */
.header-transparent-overlay {
  position: absolute;
  top: 0;
  left: 0;
  margin: 0;
  padding-top: 16px;
  width: 100%;
}
.hero-image-container {
  align-items: center;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  height: 100vh;
  justify-content: center;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.hero-image-container .hero-bg-image {
  height: 100%;
  left: 0;
  object-fit: cover;
  position: absolute;
  top: 0;
  width: 100%;
}

.hero-logo-group {
  align-items: center;
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 991;
}

.hero-logo-group .hero-logo {
  animation: fadeInLogo 1.5s 0.5s ease-in forwards;
  margin: 0 1.5rem;
  max-height: 50vh;
  max-width: 70vw;
  opacity: 0;
}

.hero-logo-text {
  animation: fadeInLogo 1.5s 1.2s ease-in forwards;
  color: black;
  font-family: 'Montserrat', sans-serif;
  font-size: 5rem;
  font-weight: 400;
  opacity: 0;
  text-transform: uppercase;
}

/* ==========================================================================
   Homepage Menu Images
   ========================================================================== */
.menu-container {
  display: flex;
  justify-content: center;
  text-align: center;
}

.menu-images-container {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  margin-bottom: 1.5rem;
}

.menu-image-link {
  border-radius: 8px;
  display: block;
  overflow: hidden;
  text-decoration: none;
}

.menu-image-link img {
  aspect-ratio: 4 / 3;
  display: block;
  object-fit: cover;
  transition: transform 0.3s ease;
  width: 100%;
}

.menu-image-link:hover img {
  transform: scale(1.1);
}

.menu-image-link::before {
  content: none;
}

.menu-image-title {
  color: #333;
  font-size: 1.2rem;
  font-weight: bold;
  padding: 0.75rem 0;
  text-align: center;
  width: 100%;
}

/* Styles for page curtain on screens smaller than 1150px (63.89rem) */
@media (max-width: 63.89rem) {
  .hero-logo-group {
    flex-direction: column;
  }

  .hero-logo-group .hero-logo {
    margin: 1rem 0;
  }

  .hero-logo-text {
    font-size: 3rem;
  }
}

/* ==========================================================================
   Keyframe Animations
   ========================================================================== */
@keyframes fadeInLogo {
  to {
    opacity: 1;
  }
}
