html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
}

header {
  padding: 1rem 0;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.5);
}

nav {
  height: 40px;
  display: flex;
  justify-content: end;
  align-items: center;
  position: relative;
}

nav ul {
  display: flex;
  flex-direction: row;
  justify-content: end;
  gap: 2rem;
  list-style-type: none;
  margin: 0 3rem 0 0;
}

nav ul li a {
  font-size: 1.5rem;
  transition: background-color 0.3s ease-in-out;
  text-decoration: none;
  color: black;
  border-radius: 5px;
  padding: 0.5rem;
}

nav ul li a:hover {
  cursor: pointer;
  background-color: rgb(255, 246, 232);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  padding: 0.5rem 1rem;
  cursor: pointer;
}

section {
  padding: 4rem 2rem;
}

#hero {
  background-image: url(./images/hero.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 0;
  min-height: calc(100vh + 72px);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 30vh;
}

.hero-text {
  text-align: center;
  display: flex;
  align-items: center;
  flex-direction: column;
}

.hero-text h1 {
  font-size: 4rem;
  color: #f0e8db;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
}

.hero-text h2 {
  font-size: 2rem;
  color: #f0e8db;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
  margin-top: 0;
}

#drink-menu-1 {
  scroll-margin-top: 80px; /* height of your navbar */
}

.hero-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;

  min-width: 300px;
  margin: 2rem auto;
}

.buttons {
  display: inline-block;
  padding: 1rem 5rem;
  background: #f0e8db; /* example */
  color: black;
  text-decoration: none;
  border-radius: 8px;
}

#main {
}

#about {
  background-color: darkgrey;
}

.happy-hour-banner {
  width: 100%;
  max-width: 1100px;
  height: 200px;
  overflow: hidden;
  border-radius: 12px;
}
.happy-hour-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.happy-hour {
  color: white;
  background-color: darkgrey; /* or grey, your call */
  text-align: center;

  min-height: 220px; /* pick your height */
  display: flex;
  background-image: url("./images/happy-hour.png");
  background-size: cover;
  background-position: center;
  height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.happy-hour h2 {
  margin: 0 0 1rem;
}

#specials {
  text-align: center;
  color: white;
  background-color: #2f3e4e;
  background-image: radial-gradient(
    circle at top,
    rgba(255, 180, 120, 0.06),
    transparent 60%
  );
  padding: 1.5rem 1.5rem 2rem 1.5rem;
}

.specials-container {
  display: flex;
  justify-content: center;
  padding: 0 2rem;
  box-sizing: border-box;
  width: 100%;
  overflow-x: auto;
  scroll-behavior: smooth;
  gap: 1rem;
}

.special-box {
  flex: 0 0 220px; /* Controls width of each card */
  aspect-ratio: 1 / 1; /* Makes it a perfect square */
  min-width: 180px;
  min-height: 150px;
  border: 1px solid black;
  color: white;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
  font-weight: 700;
  font-size: 1.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 1rem;
  text-align: center;
}

.special-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1;
}

.special-box > * {
  position: relative;
  z-index: 2;
}

.special-box p {
  font-size: 1rem;
  font-weight: 400;
  margin: 0.5rem;
}

.special-box h3 {
  margin: 0;
}
.sunday {
  background-image: url("./images/wings_caesar.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.monday {
  background-image: url("./images/wings-and-wine.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.tuesday {
  background-image: url("./images/tankard.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.wednesday {
  background-image: url("./images/burger_and_pint.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.thursday {
  background-image: url("./images/bar-rail.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.friday {
  background-image: url("./images/pint-apps.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.saturday {
  background-image: url("./images/pickles.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.menu-container {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  align-items: start;
}

.menu-container img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease;
}

.menu-container img:hover {
  transform: scale(1.02);
}

#menu {
  background-color: #e9edf1;
  padding: 5rem 2rem;
}

#drinks {
  background-color: grey;
}

#reserve {
  background-color: darkgrey;
}

#contact {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  background-color: #2f3e4e;
  color: white;
}

.info {
  display: flex;
  flex-direction: column;
  max-width: 520px;
  width: 100%;
}

.map {
  width: 100%;
  max-width: 520px;
}

.map iframe {
  width: 100%;
  height: 350px;
  border: 0;
}

.hours {
  font-weight: 700;
}

footer {
  background-color: #222;
  color: white;
  padding: 3rem 2rem 1rem;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: 0 auto;
  gap: 2rem;
}

.footer-container h3 {
  margin-bottom: 0.5rem;
}

.footer-container a {
  color: #ddd;
  text-decoration: none;
}

.footer-container a:hover {
  text-decoration: underline;
}

.copyright {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.9rem;
  color: #aaa;
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.footer-links ul {
  list-style-type: none;
  padding: 0;
}

@media (max-width: 768px) {
  nav {
    justify-content: space-between;
    padding: 0 1rem;
  }

  /* show the hamburger button */
  .nav-toggle {
    display: block;
  }

  /* hide the links by default */
  /* hide the links by default */
  /* mobile menu: hidden by default but animatable */
  .nav-links {
    display: flex; /* keep it renderable so it can animate */
    flex-direction: column;
    gap: 1rem;

    position: absolute;
    top: 55px; /* same value you had */
    right: 0;
    width: 100%;

    background-color: #17181d;
    margin: 0;

    max-height: 0; /* collapsed */
    overflow: hidden; /* hides items while collapsing */
    padding: 0; /* no padding when closed */
    opacity: 0; /* optional: fade */
    transition:
      max-height 0.35s ease,
      opacity 0.25s ease,
      padding 0.25s ease;
  }

  /* open state */
  .nav-links.open {
    max-height: 300px; /* make this big enough for your 4 links */
    opacity: 1;
    padding: 1rem 0; /* your open padding */
  }

  .nav-links a {
    color: white;
  }

  .hero-text {
    display: flex;
    align-items: center;
    flex-direction: column;
  }

  .hero-text h1 {
    font-size: 3rem;
  }

  .hero-text h2 {
    font-size: 1.5rem;
  }

  .buttons {
    font-family: sans-serif;
    font-size: 1.5rem;
    padding: 0.5rem 2rem;
  }

  .happy-hour-banner {
    height: 140px;
  }
  .happy-hour {
    min-height: 260px;
  }

  .specials-container {
    justify-content: flex-start;
    padding: 0 1rem;
  }

  .special-box {
    flex: 0 0 160px;
  }

  .special-box p {
    font-size: 0.9rem;
  }

  .menu-container {
    grid-template-columns: 1fr;
  }

  #contact {
    flex-direction: column;
    align-items: center;
  }

  .info,
  .map {
    max-width: 100%;
  }

  .footer-container {
    flex-direction: column;
    text-align: center;
  }
}
