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 {
  background: linear-gradient(to bottom, #1b1b1b, #111);
  padding: 5rem 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.chalkboard {
  width: 100%;
  max-width: 900px;
  background:
    radial-gradient(
      circle at top left,
      rgba(255, 255, 255, 0.04),
      transparent 35%
    ),
    radial-gradient(
      circle at bottom right,
      rgba(255, 255, 255, 0.03),
      transparent 30%
    ),
    repeating-linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.015),
      rgba(255, 255, 255, 0.015) 2px,
      transparent 2px,
      transparent 4px
    ),
    #2a2a2a;
  color: #f5f1e8;
  border: 10px solid #6a4a2f;
  border-radius: 10px;
  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.45),
    inset 0 0 25px rgba(255, 255, 255, 0.04);
  padding: 3rem 2rem;
}

.chalkboard h2 {
  text-align: center;
  font-size: clamp(2.5rem, 6vw, 4.8rem);
  margin: 0 0 2rem;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  letter-spacing: 1px;
}

.chalkboard h2::before,
.chalkboard h2::after {
  content: "";
  display: block;
  width: 80%;
  height: 2px;
  margin: 1rem auto;
  background: rgba(245, 241, 232, 0.7);
}

.chalkboard h2::before {
  margin-top: 0;
  margin-bottom: 1rem;
}

.chalkboard h2::after {
  margin-top: 1rem;
  margin-bottom: 0;
}
.happy-item {
  border-top: 2px solid rgba(245, 241, 232, 0.75);
  padding: 1.4rem 0 1.6rem;
}

.happy-item:last-of-type {
  border-bottom: 2px solid rgba(245, 241, 232, 0.75);
  margin-bottom: 2rem;
}

.happy-title-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.happy-title-row h3 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
}

.happy-title-row span {
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  font-weight: 700;
  white-space: nowrap;
}

.happy-item p {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.6;
  max-width: 90%;
  color: rgba(245, 241, 232, 0.95);
}

.happy-time {
  text-align: center;
  margin: 0;
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
}
#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;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* old Edge/IE */
  gap: 1rem;
}

.specials-container::-webkit-scrollbar {
  display: none; /* Chrome, Safari */
}

.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: flex-start;
  position: relative;
  overflow: hidden;
  padding: 4rem 1rem 1rem 1rem;
  text-align: center;
  text-shadow: 1px 1px 0.5px #000000;
}

.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.25rem 0;
}

.special-box h3 {
  margin-bottom: 0.5rem;
  min-height: 28px;
}
p.small-text {
  font-size: 0.75rem;
}

.monday {
  background-image: url("./images/special-monday.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.tuesday {
  background-image: url("./images/special-tuesday.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.wednesday {
  background-image: url("./images/special-wednesday.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.thursday {
  background-image: url("./images/special-thursday.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.friday {
  background-image: url("./images/special-friday.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.saturday {
  background-image: url("./images/special-saturday.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.sunday {
  background-image: url("./images/special-sunday-wings.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: 4rem 2rem;
}

#menu h1 {
  color: #252525;
  font-family: sans-serif;
  font-size: 3rem;
  text-align: center;
  margin-bottom: 4rem;
}

#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;
  }

  .chalkboard {
    padding: 2rem 1.25rem;
  }

  .happy-title-row {
    flex-direction: row;
    align-items: flex-start;
  }

  .happy-item p {
    max-width: 100%;
    font-size: 1rem;
  }

  .happy-time {
    margin-top: 1rem;
  }
  .specials-container {
    justify-content: flex-start;
    padding: 0 1rem;
  }

  .special-box {
    flex: 0 0 160px;
  }

  .special-box p {
    font-size: 0.9rem;
  }

  #menu {
    padding-top: 32px;
  }

  .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;
  }
}
