* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  background: linear-gradient(135deg, #fef3dc, #ffe4b3);
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  font-family: 'Margarine', cursive;
}

/* Nav styles */
nav {
  position: fixed;
  width: 100%;
  top: 0;
  background: #ffffff;
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  z-index: 10000;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1em 2em;
  height: 80px;
}

.logo {
  flex: 1;
}

.menu {
  display: flex;
  gap: 2rem;
}

.menu a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
  font-size: 1.2em;
  padding: 0.5em;
  transition: color 0.2s, border-bottom 0.2s;
  border-bottom: 2px solid transparent;
}

.menu a.active,
.menu a:hover {
  color: #004f7c;
  text-decoration: 2px underline;
}

/* Hamburger toggle button (initially hidden) */
.toggle_btn {
  font-size: 2.5rem;
  cursor: pointer;
  user-select: none;
  color: #004f7c;
  display: none;
  z-index: 1600;
}

#menu-toggle {
  display: none;
}

/* Slider & Layout */
.container {
  position: relative;
  width: 60vw;
  margin: 5rem auto;
}

.wrapper {
  width: 100%;
  height: 75vh;
  overflow: hidden;
}

.wrapper-holder {
  display: grid;
  grid-template-columns: repeat(6, 100%);
  height: 100%;
  width: 100%;
  animation: slider 36s ease-in-out infinite alternate;
}

.button-holder {
  position: absolute;
  left: 50%;
  bottom: 0%;
  transform: translateX(-50%);
}

.button-holder .button {
  background-color: white;
  width: 15px;
  height: 15px;
  border-radius: 15px;
  display: inline-block;
  margin: 0.3rem;
}

.button:hover {
  box-shadow: 0px 0px 7px 4px rgba(0, 255, 255, 0.6);
}

.slide {
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  height: 100%;
  width: 100%;
}

/* Slider animation */
@keyframes slider {
  0% { transform: translateX(0%); }
  16.66% { transform: translateX(-100%); }
  33.33% { transform: translateX(-200%); }
  50% { transform: translateX(-300%); }
  66.66% { transform: translateX(-400%); }
  83.33% { transform: translateX(-500%); }
  100% { transform: translateX(-500%); }
}

/* Fade-up animation */
@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero sections */
.hero, .hero2, .hero3, .hero4 {
  height: 70vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #111;
  padding: 0 1em;
  position: relative;
  z-index: 1;
  margin-bottom: 3rem;
}

.hero {
  background: linear-gradient(135deg, #fef3dc88, #ffe4b388),
              url('photos/FB_Backstube_300dpi_041.jpg') center/cover no-repeat;
}
.hero2 {
  background: linear-gradient(135deg, #fef3dc88, #ffe4b388),
              url('photos/_C0B6469.jpg') center/cover no-repeat;
}
.hero3 {
  background: linear-gradient(135deg, #fef3dc88, #ffe4b388),
              url('photos/FB_Backstube_300dpi_044.jpg') center/cover no-repeat;
}
.hero4 {
  background: linear-gradient(135deg, #fef3dc88, #ffe4b388),
              url('photos/FB_Backstube_300dpi_097.jpg') center/cover no-repeat;
}

.hero * {
  position: relative;
  z-index: 1;
}

.hero h1,
.hero p,
.hero button,
.hero2 h1, .hero2 p,
.hero3 h1, .hero3 p,
.hero4 h1, .hero4 p {
  animation: fadeUp 1s ease-out forwards;
  opacity: 0;
}

.hero h1, .hero2 h1, .hero3 h1, .hero4 h1 {
  font-size: 3.5em;
  margin: 0;
  animation-delay: 0.2s;
}

.hero2 p{
  font-size: 2em;
  margin: 1em 0;
  max-width: 700px;
  animation-delay: 0.4s;

}
.hero p, .hero3 p, .hero4 p {
  font-size: 1.5em;
  margin: 1em 0;
  max-width: 700px;
  animation-delay: 0.4s;
}

.hero button {
  background: #004f7c;
  border: none;
  padding: 1em 2.5em;
  font-size: 1.2em;
  cursor: pointer;
  color: #fff;
  border-radius: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: background 0.3s, transform 0.3s;
  animation-delay: 0.6s;
}

.hero button:hover {
  background: #111;
  transform: scale(1.05);
}

/* Page Title */
.page-title {
  margin-top: 120px;
  text-align: center;
  font-family: 'Margarine', cursive;
  font-size: 3em;
  color: #111;
  margin-bottom: 2rem;
}

/* Locations Layout */
.locations {
  padding: 2em;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.locations-layout {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto 4rem auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.locations-layout h2 {
  font-size: 2.2em;
  margin: 0;
  text-align: left;
}

.location-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2em;
}

.location-row {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 2rem;
  align-items: flex-start;
}

.location-info,
.location-hour,
.location-link {
  font-family: 'Margarine', cursive;
  color: #111;
}

.location-link a {
  color: #004f7c;
  text-decoration: none;
  font-weight: bold;
}

.location-link a:hover {
  text-decoration: underline;
}

.order-instructions {
  max-width: 900px;
  margin: 0 auto 2em auto;
  padding: 1em;
  text-align: center;
  font-size: 1.05rem;
  line-height: 1.6;
  color: #111;
  font-family: 'Margarine', cursive;
}

.order-warning {
  text-align: center;
  font-family: 'Margarine', cursive;
  color: #111;
}

.order-list {
  margin: 0 auto;
  padding-left: 1.5em;
  max-width: 600px;
  font-family: 'Margarine', cursive;
  color: #111;
  list-style-position: inside; 
  text-align: left;
}


/* Footer */
footer {
  text-align: center;
  padding: 2em;
  background: #004f7c;
  color: #fff;
  margin-top: 6em;
}

.logo a {
  border-bottom: none !important;
  display: flex;
  align-content: center;
}

.form-wrapper {
  margin-bottom: 0;
  padding-bottom: 0;
}

/* ===================== */
/* RESPONSIVE STYLES */
/* ===================== */

@media screen and (max-width: 1200px) {
  .menu {
    position: fixed;
    top: 80px;
    right: -250px;
    height: calc(100vh - 80px);
    width: 250px;
    background: #fff;
    flex-direction: column;
    padding-top: 1em;
    box-shadow: -2px 0 8px rgba(0, 0, 0, 0.15);
    gap: 1.5rem;
    transition: right 0.3s ease;
    z-index: 1500;
  }

  #menu-toggle:checked ~ .menu {
    right: 0;
  }

  .toggle_btn {
    display: block;
  }

  .container {
    width: 90vw;
    margin: 3rem auto;
  }

  .wrapper {
    height: 40vh;
  }

  .button-holder {
    bottom: 10px;
  }

  .button-holder .button {
    width: 12px;
    height: 12px;
    margin: 0.2rem;
  }

  .hero h1 {
    font-size: 2.2em;
  }

  .hero p {
    font-size: 1.2em;
  }

  .hero button {
    font-size: 1em;
    padding: 0.8em 2em;
  }
}

@media screen and (min-width: 1201px) {
  .menu {
    display: flex !important;
    position: static;
    height: auto;
    width: auto;
    flex-direction: row;
    background: none;
    box-shadow: none;
    padding: 0;
    gap: 2em;
  }

  .toggle_btn {
    display: none;
  }

  #menu-toggle {
    display: none;
  }
}
