/* ==========================================================================
   Picnic – Jackson Hole, Wyoming
   Static rebuild of the original WordPress (Enfold) site.
   ========================================================================== */

:root {
  --charcoal: #494c4b;
  --peach: #f4b890;
  --teal: #739da0;
  --teal-dark: #638c8f;
  --ink: #55595b;
  --footer: #333333;
  --brandon: "brandon-grotesque", "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --lato: "Lato", "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--brandon);
  font-size: 13px;
  line-height: 1.65;
  color: #444;
  background: #fff;
}

img { max-width: 100%; height: auto; border: 0; }
a { color: inherit; text-decoration: none; }
p { margin: 0.85em 0; line-height: 17px; }
strong { font-weight: 700; }

.container {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 50px;
}

/* ---------- Order bar (fixed, top right) ---------- */
.order-bar {
  position: fixed;
  top: 0;
  right: 15px;
  z-index: 1000;
  display: block;
  width: 250px;
  height: 40px;
  padding-top: 13px;
  border-radius: 0 0 5px 5px;
  background: var(--teal-dark);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
  color: #fff;
  font-family: Arial, sans-serif;
  font-size: 14px;
  font-weight: bold;
  line-height: 1;
  letter-spacing: 1px;
  text-align: center;
}

/* ---------- Hero ---------- */
.hero {
  height: 400px;
  background: #fff url("../images/Home800.jpg") repeat-x 50% 0;
  background-attachment: fixed;
}
.logo { margin: 0; line-height: 0; }
.logo a { display: inline-block; }
.logo img { display: block; width: auto; height: 88px; }

/* ---------- Section titles (image wordmarks on desktop, text on phones) ---------- */
.section-title { margin: 0; line-height: 0; font-weight: 300; }
.section-title img { display: block; }
.section-title span { display: none; }

/* ---------- Badges ---------- */
.badge { display: block; }

@keyframes wiggle {
  0%   { transform: rotate(4deg); }
  50%  { transform: rotate(-4deg); }
  100% { transform: rotate(4deg); }
}
.wiggle { animation: wiggle 4s infinite; }

@keyframes shake {
  10%, 90%      { transform: translate3d(-6px, 0, 0); }
  20%, 80%      { transform: translate3d(7px, 0, 0); }
  30%, 50%, 70% { transform: translate3d(-9px, 0, 0); }
  40%, 60%      { transform: translate3d(9px, 0, 0); }
}
.face {
  animation: shake 22s cubic-bezier(.36, .07, .19, .97) both infinite;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
}

/* ---------- Columns ---------- */
.cols { display: flex; flex-wrap: wrap; justify-content: space-between; }
.cols-3 > .col { width: 29.333%; }
.cols-2 > .col { width: 47%; }

/* ---------- Menu ---------- */
.menu {
  background: var(--charcoal);
  color: #fff;
  padding-bottom: 30px;
}
.menu .container { padding-top: 129px; }

.badge-goodstuff {
  position: absolute;
  top: -52px;
  left: 85px;
  width: 136px;
}
.title-menu {
  position: absolute;
  top: -50px;
  right: 50px;
}
.badge-app {
  position: absolute;
  top: 53px;
  right: -12px;
  z-index: 3;
  width: 129px;
}
.badge-app img { display: block; }

.menu-row + .menu-row { margin-top: 50px; }

.menu h3 {
  margin: 0 0 30px;
  padding: 0 0 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  font-family: var(--lato);
  font-size: 20px;
  font-weight: 300;
  line-height: 1.1;
  color: #fff;
}
.menu p + h3 { margin-top: 30px; }
.menu .served {
  margin: 0 0 4px;
  font-family: var(--lato);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.2;
}
.menu .served strong { font-weight: 700; }
.menu hr {
  height: 0;
  margin: 10px 0 30px;
  border: 0;
  border-top: 1px solid #ddd;
}
.menu em { font-style: italic; }
.call-btn-wrap { display: none; }

/* ---------- Photo bands ---------- */
.band {
  background-color: #fff;
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-size: cover;
  background-attachment: fixed;
}
.band-about {
  min-height: 50vh;
  background-image: url("../images/About1.jpg");
}
.band-postcards {
  display: flex;
  align-items: center;
  min-height: 75vh;
  background-image: url("../images/Postcards.jpg");
}
.band-postcards .container { width: 100%; }
.badge-goodstuff2 {
  width: 150px;
  margin: -50px 0 0 auto;
}

/* ---------- About ---------- */
/* Markup order is title, photo band, text. On desktop the photo band is shown
   first and the title overlaps its bottom edge. */
.about {
  display: flex;
  flex-direction: column;
  background: var(--peach);
  color: var(--ink);
}
.about .band-about { order: 1; }
.about-title { order: 2; padding-top: 50px; }
.about-body { order: 3; width: 100%; padding-bottom: 91px; }
.title-about { margin-top: -100px; margin-bottom: 68px; }
.about p { color: var(--ink); }

/* ---------- Contact ---------- */
.contact {
  background: var(--teal);
  color: #fff;
  padding: 0 0 40px;
}
.contact .container { display: flow-root; }
.title-contact { margin-top: -50px; }
.title-contact img { margin-left: auto; }

.contact-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-top: 70px;
}
.map { display: block; width: 57.6%; line-height: 0; }
.map img { display: block; width: 100%; }
.contact-info { width: 36.4%; margin-top: -20px; }
.contact-info a:hover { text-decoration: none; }

.btn-grid {
  display: grid;
  grid-template-columns: 150px 150px;
  justify-content: space-between;
  row-gap: 12px;
  margin-top: 24px;
}
.btn {
  display: block;
  width: 150px;
  padding: 9px 10px 7px;
  border: 2px solid #fff;
  color: #fff;
  font-size: 13px;
  line-height: 1.2;
  text-align: center;
  transition: opacity 0.2s ease;
}
.btn:hover { opacity: 0.7; }

/* ---------- Footer ---------- */
.footer {
  background: var(--footer);
  color: #eee;
  font-size: 11px;
  padding: 16px 0 14px;
}
.footer .container { min-height: 42px; }
.copyright { margin: 0; line-height: 21.45px; text-align: center; }
.social {
  position: absolute;
  right: 50px;
  top: 16px;
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
}
.social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: #999;
  transition: color 0.2s ease, background 0.2s ease;
}
.social a:hover { color: #fff; background: #555; }
.social svg { width: 12px; height: 12px; fill: currentColor; }

/* ---------- Scroll to top ---------- */
.scroll-top {
  position: fixed;
  right: 50px;
  bottom: 50px;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 2px;
  background: #333;
  color: #eee;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.scroll-top.is-visible { opacity: 0.7; visibility: visible; }
.scroll-top:hover { opacity: 1; }
.scroll-top svg { width: 16px; height: 16px; }

/* Visible keyboard focus */
a:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.about a:focus-visible { outline-color: var(--ink); }

/* ==========================================================================
   Tablet
   ========================================================================== */
@media (max-width: 1150px) {
  .badge-app { top: 68px; right: 30px; }
}

@media (max-width: 989px) {
  .container { padding: 0 40px; }
  .btn-grid { grid-template-columns: 1fr 1fr; column-gap: 12px; }
  .btn-grid .btn { width: 100%; }
  .title-menu { right: 40px; }
  .badge-goodstuff { left: 60px; }
}

/* ==========================================================================
   Phone (matches the original /mobile/ page)
   ========================================================================== */
@media (max-width: 767px) {
  body { padding-top: 40px; }
  .container { padding: 0 7.5%; }

  .order-bar {
    left: 0;
    right: 0;
    width: 100%;
    border-radius: 0;
    font-size: 12px;
    padding-top: 14px;
  }

  /* Fixed backgrounds are unreliable on phones */
  .hero, .band { background-attachment: scroll; }

  .hero {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 600px;
    background: #fff url("../images/PicnicHome.jpg") no-repeat 50% 0 / cover;
  }
  .hero .container { padding: 0; }
  .logo img { height: auto; width: 290px; }

  /* Text headings instead of the image wordmarks */
  .section-title { position: static; margin: 0; text-align: center; }
  .section-title img { display: none; }
  .section-title span {
    display: block;
    font-family: var(--brandon);
    font-size: 74px;
    font-weight: 300;
    line-height: 1;
    color: rgba(255, 255, 255, 0.4);
  }

  .menu .container { padding-top: 110px; }
  .badge-goodstuff {
    top: -50px;
    left: 50%;
    width: 131px;
    margin-left: -65px;
  }
  .title-menu { margin-bottom: 50px; }
  .badge-app { top: 16px; right: 4%; width: 84px; }

  .cols { display: block; }
  .cols-3 > .col, .cols-2 > .col { width: 100%; }
  .cols-3 > .col + .col { margin-top: 50px; }
  .menu-row + .menu-row { margin-top: 50px; }

  .call-btn-wrap { display: block; margin: 40px 0 0; text-align: center; }
  .btn-call { display: inline-block; line-height: 15px; }

  .menu { padding-bottom: 0; }
  .menu::after { content: ""; display: block; height: 50px; }

  .band-about {
    min-height: 0;
    height: 0;
    padding-bottom: 31.67%;
    background-image: url("../images/About.jpg");
  }
  .about-title { order: 0; padding: 0 0 20px; background: var(--charcoal); }
  .title-about { margin: 0; }
  .about-body { padding-top: 30px; padding-bottom: 40px; }

  .band-postcards {
    min-height: 600px;
    background-image: url("../images/Newsletter.jpg");
  }
  .badge-goodstuff2 { margin: 0 auto; }

  .contact { padding: 40px 0 50px; text-align: center; }
  .title-contact { margin: 0 0 40px; }
  .contact-grid { display: block; padding-top: 0; }
  .map { width: 100%; margin-top: 30px; }
  .contact-info { width: 100%; margin: 0; }
  .contact-grid { display: flex; flex-direction: column; }
  .contact-info { order: 1; }
  .map { order: 2; }
  .btn-grid .btn { width: 150px; }
  .btn-grid {
    grid-template-columns: 150px;
    column-gap: 0;
    justify-content: center;
    row-gap: 16px;
    margin-top: 24px;
  }

  .footer { padding: 15px 0 10px; }
  .copyright { line-height: 1.9; }
  .social { position: static; justify-content: flex-end; margin-top: 4px; }

  .scroll-top { display: none; }
}

@media (max-width: 400px) {
  .section-title span { font-size: 64px; }
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .wiggle, .face { animation: none; }
}
