/* Base typography and global text rendering */
body {
  font-family: Outfit, sans-serif;
  font-optical-sizing: auto;
  font-weight: bold;
  font-style: normal;

  color: #1f1813;
}

/* Sticky top navigation */
#stickynav {
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: transform 0.3s ease;
}

#stickynav.hidden {
  transform: translateY(-100%);
}

footer {
  background-color: #fff;
}

/* Hero section background and centered content shell */
#hero {
  background-image: url("images/hero_catering_image.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: scroll;
  width: 100%;
  min-height: 500px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px 0;
  box-sizing: border-box;
}

#herobackground {
  background-color: rgb(255 255 255 / 78%);
  width: 70%;
  height: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 22px;
  box-shadow: 0 24px 48px rgb(50 27 8 / 25%);
}

#hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 1.25rem;
  color: #17110d;
  text-shadow: 1px 1px 2px rgb(255 255 255 / 70%);
}

/* Order form section shell */
#order-form-section {
  background-image: url("images/catering_home_image.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: scroll;
  background-size: 2200px;
  background-position: top left;
  padding: 0 0 clamp(2rem, 5vw, 4rem);
}

#order-form-intro-band {
  width: 100%;
  background-color: #fff;
  padding: clamp(1.2rem, 3vw, 2rem) 0;
  margin-bottom: clamp(1.1rem, 3vw, 2rem);
}

#order-form-separator {
  max-width: 1200px;
}

#order-form-intro-separator {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 0 0.5rem;
}

#order-form-layout {
  padding: clamp(0.5rem, 1.8vw, 1.2rem);
}

.order-info-card {
  background: transparent;
  color: #162033;
  padding: 0;
  box-shadow: none;
  border: none;
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

.order-kicker {
  margin: 0 0 0.3rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.86rem;
  color: #4f5a69;
}

.order-info-card h2 {
  margin-bottom: 0.55rem;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
}

.order-info-card p {
  margin-bottom: 0.55rem;
  font-size: clamp(1rem, 2.1vw, 1.22rem);
  font-weight: 600;
  line-height: 1.35;
}

.order-info-list {
  margin: 0.3rem auto 0;
  padding-left: 0;
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  max-width: 940px;
}

.order-info-list li {
  margin-bottom: 0;
  line-height: 1.3;
  color: #304153;
  font-size: clamp(0.94rem, 1.7vw, 1.06rem);
}

.order-info-list li:not(:last-child)::after {
  content: " /";
}

/* Form card and field system */
.catering-order-form {
  background-color: rgb(255 255 255 / 92%);
  border: 1px solid rgb(111 78 55 / 22%);
  border-radius: 20px;
  padding: clamp(1rem, 2.5vw, 2rem);
  box-shadow: 0 16px 36px rgb(48 34 19 / 18%);
  backdrop-filter: blur(2px);
}

.catering-order-form fieldset {
  border: 1px solid rgb(111 78 55 / 18%);
  border-radius: 16px;
  padding: 1rem;
  margin-bottom: 1rem;
  background: linear-gradient(180deg, rgb(252 249 246), rgb(245 239 232));
}

.catering-order-form legend {
  float: none;
  width: auto;
  margin-bottom: 0.25rem;
  padding: 0 0.35rem;
  color: #2f241a;
  font-size: 1rem;
  font-weight: 800;
}

.form-grid {
  display: grid;
  gap: 0.9rem;
}

.form-grid.two-col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-field.full-width {
  grid-column: 1 / -1;
}

.form-field label {
  color: #34261b;
  font-size: 0.95rem;
  font-weight: 700;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid rgb(111 78 55 / 40%);
  background-color: rgb(255 255 255 / 92%);
  color: #1f1813;
  border-radius: 10px;
  padding: 0.62rem 0.75rem;
  font-size: 0.98rem;
  font-weight: 600;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.form-field textarea {
  resize: vertical;
  min-height: 110px;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: #0d4b4a;
  box-shadow:
    0 0 0 3px rgb(255 255 255 / 95%),
    0 0 0 6px rgb(13 75 74 / 36%);
  outline: none;
}

.form-submit-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
  margin-top: 0.6rem;
}

.order-submit-btn {
  border: 0;
  border-radius: 999px;
  background-color: #6f4e37;
  color: #fff;
  padding: 0.74rem 1.4rem;
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    filter 0.2s ease;
}

.order-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 22px rgb(22 36 34 / 30%);
  filter: saturate(1.05);
}

.order-submit-btn:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 4px rgb(255 255 255 / 95%),
    0 0 0 8px rgb(13 75 74 / 68%);
}

.form-note {
  margin: 0;
  color: #5f5044;
  font-size: 0.9rem;
  font-weight: 700;
}

@media (width >= 900px) {
  #hero {
    background-attachment: fixed;
  }
}

@media (width <= 992px) {
  #herobackground {
    width: 94%;
    min-height: 300px;
  }
}

@media (width <= 768px) {
  #order-form-section {
    background-attachment: fixed;
  }

  .form-grid.two-col {
    grid-template-columns: 1fr;
  }

  .order-info-card h2 {
    font-size: clamp(1.5rem, 8vw, 2rem);
  }

  .order-info-list {
    flex-direction: column;
    gap: 0.35rem;
  }

  .order-info-list li:not(:last-child)::after {
    content: "";
  }

  .form-field.full-width {
    grid-column: auto;
  }

  .order-submit-btn {
    width: 100%;
  }
}

@media (width >= 769px) {
  #order-form-section {
    background-attachment: scroll;
  }
}
