*{
    margin: unset;
    padding: unset;
}
html{
    font-size: 32px;
}
html, body {
    height: 100%;
}

body {
  background-color: black;
  position: relative;
  text-align: center;
}

.nav-link {
    font-size: 0.75rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image: url("./assets/background.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    opacity: 0.5;
    z-index: -1;
    pointer-events: none;
}
nav{
    background: maroon;
    height: 3rem;
    width: fit-content;
    line-height: 3rem;
    color: white;
    padding-left: 3rem;
    padding-right: 3rem;
    margin-bottom: 1rem;
    text-align: center;
    align-items: center;
    display: flex;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    border-radius: 8px;
}
img {
    max-width: 80%;
    height: auto;
}
a,
a:visited,
a:hover,
a:active,
a:focus {
  color: white;
  text-decoration: none;
}

input,
textarea,
select {
    width: clamp(200px, 90%, 420px);
}
.container {
    color: white;
    padding-left: 1rem;
    padding-right: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}
#beerSelect{
    border: unset;
    background: maroon;
    color: white;
    padding: 0.5rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-size: .75rem;
    text-align: center;
}
#beerSubmit{
    border: unset;
    background: maroon;
    color: white;
    padding: 0.5rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-size: .75rem;
}
#meadSelect{
    border: unset;
    background: maroon;
    color: white;
    padding: 0.5rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-size: .75rem;
    text-align: center;
}
#meadSubmit{
    border: unset;
    background: maroon;
    color: white;
    padding: 0.5rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-size: .75rem;
}
#wineSelect{
    border: unset;
    background: maroon;
    color: white;
    padding: 0.5rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-size: .75rem;
    text-align: center;
}
#wineSubmit{
    border: unset;
    background: maroon;
    color: white;
    padding: 0.5rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-size: .75rem;
}
#teaSelect{
    border: unset;
    background: maroon;
    color: white;
    padding: 0.5rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-size: .75rem;
    text-align: center;
}
#teaSubmit{
    border: unset;
    background: maroon;
    color: white;
    padding: 0.5rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-size: .75rem;
}
#sodaSubmit{
    border: unset;
    background: maroon;
    color: white;
    padding: 0.5rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-size: .75rem;
}
#itemDescription {
  white-space: pre-line;
}
.section-divider {
  height: 1px;
  background-color: #800000;
  margin: 3rem auto;
  max-width: 800px;
  opacity: 0.6;
}
.events-section {
  width: 100%;
  max-width: 600px;
  margin: 3rem auto;     /* centers the section itself */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: white;
}
.events-list {
  list-style-position: inside;
  padding: 0;
  margin: 0;
  width: 100%;
}

.events ul {
  list-style: disc;
  padding-left: 1.5rem;
}

/* ---------------- Section spacing ---------------- */
.contact {
  margin: 0 auto;
  max-width: 600px;        /* Prevents over-wide stretching */
}

/* ---------------- Form layout ---------------- */
.contact form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

/* Full-width rows */
.contact label {
  display: flex;
  flex-direction: column;
  font-weight: 600;
}

/* Inputs */
.contact input,
.contact textarea {
  padding: 0.6rem;
  font-size: 1rem;
  width: 100%;
  box-sizing: border-box;
}

/* Make message span full width */
.contact label:nth-child(4) {
  grid-column: 1 / -1;
}

/* Button full width */
.contact button {
  grid-column: 1 / -1;
  background: #800000;
  color: #fff;
  border: none;
  padding: 0.75rem;
  font-size: 1rem;
  cursor: pointer;
}

/* ---------------- Mobile fallback ---------------- */
@media (max-width: 640px) {
  .contact form {
    grid-template-columns: 1fr;
  }
}

.responsive-video {
  width: 100%;
  max-width: 800px;      /* optional: prevents it getting huge on desktop */
  height: auto;
  display: block;
  margin: 1.5rem auto;   /* centers it horizontally */
  border-radius: 8px;    /* optional */
}