:root {
  font-family: system-ui, Avenir, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  font-weight: 400;
  margin: 0 auto;
  text-align: center;
  color-scheme: light dark;
  color: rgba(255, 255, 255, 0.87);
  background-color: #242424;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

body {
  margin: 0;
}

/* Background grain */
.grain {
  background-image: radial-gradient(
    rgba(255, 255, 255, 0.12) 1px,
    transparent 1px
  );
  background-size: 6px 6px;
}

/* Webfont */
@font-face {
  font-family: "Moon Get";
  src: url("/fonts/moon_get-heavy-webfont.woff2") format("woff2"),
    url("/fonts/moon_get-heavy-webfont.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

.font-moonget {
  font-family: "Moon Get", "Open Sans", ui-sans-serif, system-ui, -apple-system,
    Segoe UI, Roboto, Helvetica, Arial;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-weight: 700;
}

/* Container */
.container {
  background-color: #ff3131;
  color: white;
}

/* Hero Section */
.hero {
  min-height: 65vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 1rem;
}

@media (min-width: 768px) {
  .hero {
    min-height: 70vh;
  }
}

.logo {
  height: 9rem;
  margin-bottom: 1.25rem;
  user-select: none;
}

@media (min-width: 640px) {
  .logo {
    height: 11rem;
  }
}

.hero h1 {
  font-size: 2.6rem;
  line-height: 1.05;
  margin-bottom: 0;
}

@media (min-width: 640px) {
  .hero h1 {
    font-size: 3.5rem;
  }
}

.hero h2 {
  font-size: 2.2rem;
  line-height: 1.05;
  margin-top: 0;
}

@media (min-width: 640px) {
  .hero h2 {
    font-size: 3rem;
  }
}

.cta-button {
  display: inline-block;
  margin-top: 2.5rem;
  padding: 0.75rem 2rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.4);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  color: white;
  background: transparent;
  transition: all 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
  cursor: pointer;
}

.cta-button:hover {
  background-color: white;
  color: #ff3131;
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 8px 18px rgba(255, 255, 255, 0.25);
}

/* Info Section */
.info-section {
  padding: 5rem 1.5rem;
  text-align: center;
}

.info-content {
  max-width: 80rem;
  margin: 0 auto;
}

.info-section h2 {
  font-size: 1.875rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
  .info-section h2 {
    font-size: 2.25rem;
  }
}

.info-section p {
  font-size: 1.125rem;
  line-height: 1.75;
  margin-bottom: 2rem;
}

.info-section a {
  text-decoration: underline;
  font-weight: 600;
  color: white;
}

.info-section a:hover {
  opacity: 0.9;
}

/* Gallery */
.gallery {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 640px) {
  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .gallery {
    grid-template-columns: repeat(3, 1fr);
  }
}

.gallery img {
  width: 90%;
  height: 16rem;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* White Background Below Wave */
.gallery-wrap {
  padding: 2.5rem 0;
  width: 100vw;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

/* Gallery Layout */
.gallery {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  flex-wrap: wrap;
  max-width: 1000px;
  margin: 0 auto;
}

/* Pretzel gallery hover effect */
.gallery img {
  width: 300px;
  height: auto;
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
  cursor: pointer;
}

.gallery img:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.15);
  filter: brightness(1.1);
}


/* Hero Title Block */
.hero-title {
  display: inline-block;
  text-align: center;
}

/* Top line: MONICA'S */
.hero-title-top {
  margin: 0;
  line-height: 1.05;
  font-size: clamp(2rem, 5vw, 4rem);
  letter-spacing: 0.05em;
  display: block;
}

/* Bottom line: PRETZELS */
.hero-title-bottom {
  margin: 0.1em 0 0;
  padding-top: 0.3em;
  line-height: 1.5;
  font-size: clamp(1.7rem, 4.25vw, 3.4rem);
  letter-spacing: 0.1em; /* widen spacing slightly */
  transform: scaleX(1.2); /* stretch horizontally to match MONICA'S width */
  transform-origin: center;
  display: inline-block;
}
