/*
Theme Name: Foodie Market
Theme URI: https://foodie-market.com/
Author: Foodie Market
Description: A self-contained, responsive theme for the Foodie Market company website.
Version: 1.3.1
Text Domain: foodie-market
*/

@font-face {
  font-family: "Foodie Quicksand";
  src: url("assets/fonts/quicksand.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 300 700;
}

@font-face {
  font-family: "Foodie Muli";
  src: url("assets/fonts/muli.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 300 800;
}

:root {
  --fm-ink: #2c2c2c;
  --fm-muted: #676767;
  --fm-paper: #fff;
  --fm-soft: #f5f3f0;
  --fm-accent: #a06f4e;
  --fm-line: #ddd9d3;
  --fm-width: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--fm-ink);
  background: var(--fm-paper);
  font-family: "Foodie Muli", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.7;
}
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.screen-reader-text:focus {
  top: 8px; left: 8px; z-index: 9999; width: auto; height: auto;
  clip: auto; padding: 10px 14px; background: #fff; color: #111;
}
.fm-wrap { width: min(calc(100% - 48px), var(--fm-width)); margin-inline: auto; }

.site-header { background: var(--fm-ink); color: #d5d5d5; position: relative; z-index: 10; }
.header-inner { min-height: 74px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 28px; }
.site-branding { text-decoration: none; font-family: "Foodie Quicksand", sans-serif; font-size: 21px; letter-spacing: .13em; text-transform: uppercase; }
.site-nav ul { display: flex; gap: 42px; list-style: none; margin: 0; padding: 0; }
.site-nav a { text-decoration: none; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; }
.site-nav a:hover, .site-nav a:focus-visible { color: #fff; }
.site-actions { justify-self: end; display: flex; align-items: center; gap: 18px; }
.icon-link { display: inline-grid; place-items: center; color: #d5d5d5; text-decoration: none; }
.icon-link:hover, .icon-link:focus-visible { color: #fff; }
.icon-link svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.menu-toggle { display: none; border: 0; padding: 8px; color: inherit; background: transparent; cursor: pointer; }
.menu-toggle span { display: block; width: 24px; height: 2px; margin: 5px 0; background: currentColor; }

.hero-visual { height: 540px; background: #d3d3d0 url("assets/images/hero-cans.jpg") center/cover no-repeat; }
.hero-copy { height: 269px; display: grid; place-items: center; text-align: center; }
.hero-content { width: min(734px, calc(100% - 40px)); }
.hero-copy h1 { margin: 0 0 4px; font-family: "Foodie Muli", sans-serif; font-size: clamp(34px, 4vw, 44px); font-weight: 400; line-height: 1.2; }
.hero-copy p { margin: 0 auto 16px; color: #545052; font-family: "Foodie Quicksand", sans-serif; font-size: 16px; line-height: 1.5; }
.fm-button { display: inline-block; border: 1px solid #fff; padding: 12px 28px; color: #fff; background: transparent; text-decoration: none; text-transform: uppercase; letter-spacing: .13em; font-size: 13px; transition: .2s ease; }
.fm-button:hover, .fm-button:focus-visible { background: #fff; color: var(--fm-ink); }
.hero-copy .fm-button { width: 182px; min-height: 56px; padding: 16px 24px; border: 0; border-radius: 999px; background: #000; color: #fff; font-weight: 700; letter-spacing: .14em; line-height: 24px; }
.hero-copy .fm-button:hover, .hero-copy .fm-button:focus-visible { background: #2b2b2b; color: #fff; }

.fm-section { padding: 55px 0; }
.fm-section--soft { background: var(--fm-soft); }
.section-title { margin: 0 0 40px; font-family: "Foodie Quicksand", sans-serif; font-size: 22px; font-weight: 400; line-height: 1.4; letter-spacing: .01em; text-transform: uppercase; }
.service-grid { display: grid; gap: 48px; }
.service-card { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; background: #fff; }
.service-card:nth-child(even) img { grid-column: 2; }
.service-card:nth-child(even) .service-copy { grid-column: 1; grid-row: 1; }
.service-card img { width: 100%; max-height: 305px; object-fit: cover; }
.service-copy { padding: 20px 0; text-align: center; }
.service-copy h3 { margin: 0 0 24px; font-family: "Foodie Quicksand", sans-serif; font-size: 16px; font-weight: 500; }
.service-copy p { margin: 0; color: #5e5e5e; font-family: "Foodie Quicksand", sans-serif; font-size: 16px; line-height: 1.5; text-align: left; }

.featured-products { min-height: 231px; }
.products-placeholder { margin: 0; color: #5e5e5e; font-family: "Foodie Quicksand", sans-serif; }
.products-placeholder p { margin: 0; }

.contact-section { padding-bottom: 72px; }
.contact-layout { display: block; }
.contact-intro h2 { margin: 0 0 40px; font-family: "Foodie Quicksand", sans-serif; font-size: 22px; font-weight: 400; text-transform: uppercase; }
.contact-intro p { display: none; }
.contact-form-wrap { width: min(725px, 100%); margin: 0 auto; }
.contact-form-wrap::before { content: "Drop us a line!"; display: block; margin-bottom: 20px; font-family: "Foodie Quicksand", sans-serif; font-size: 16px; }
.fm-contact-form { display: grid; gap: 24px; }
.fm-field { position: relative; }
.fm-field label { position: absolute; z-index: 1; top: 4px; left: 16px; margin: 0; color: #474747; font-size: 12px; font-weight: 400; }
.fm-field input, .fm-field textarea { width: 100%; border: 1px solid rgba(119,119,119,.5); border-radius: 0; padding: 23px 16px 7px; background: #fff; color: #474747; font: 16px "Foodie Quicksand", sans-serif; }
.fm-field input { height: 50px; }
.fm-field textarea { min-height: 181px; padding-top: 23px; resize: vertical; }
.fm-field input:focus, .fm-field textarea:focus { outline: 2px solid var(--fm-accent); outline-offset: 1px; }
.fm-submit { justify-self: center; width: 130px; height: 56px; border: 0; border-radius: 999px; padding: 8px 30px; background: #000; color: #fff; cursor: pointer; font: 700 13px "Foodie Quicksand", sans-serif; letter-spacing: .14em; text-transform: uppercase; }
.fm-submit:hover, .fm-submit:focus-visible { background: #4b4b4b; }
.fm-submit:disabled { cursor: wait; opacity: .65; }
.fm-form-notice { margin: 0 0 20px; padding: 12px 16px; border-left: 4px solid #2d7a3f; background: #eef8f0; }
.fm-form-notice--error { border-color: #a33232; background: #fff0f0; }
.fm-privacy { margin: 0; color: var(--fm-muted); font: 12px "Foodie Quicksand", sans-serif; }
.fm-honeypot { position: absolute; left: -10000px; }

.page-main { min-height: 60vh; padding: 90px 0; }
.page-card { max-width: 760px; margin: auto; padding: 56px; border: 1px solid var(--fm-line); text-align: center; }
.page-card h1 { margin-top: 0; font-family: "Foodie Quicksand", sans-serif; font-size: clamp(36px, 6vw, 56px); font-weight: 400; }
.page-card p { color: var(--fm-muted); }

.site-footer { padding: 34px 0; background: #333; color: #a9a9a9; text-align: center; }
.site-footer p { margin: 0; font: 12px "Foodie Quicksand", sans-serif; letter-spacing: .04em; text-transform: uppercase; }
.site-footer a { color: inherit; text-decoration: none; }
.site-footer a:hover, .site-footer a:focus-visible { color: #fff; text-decoration: underline; }
.site-footer hr { width: min(1200px, calc(100% - 80px)); margin: 28px auto; border: 0; border-top: 1px solid #505050; }

@media (max-width: 820px) {
  .fm-wrap { width: min(calc(100% - 32px), var(--fm-width)); }
  .header-inner { min-height: 68px; grid-template-columns: 1fr auto; }
  .site-nav { display: none; position: absolute; top: 100%; left: 0; width: 100%; padding: 24px; background: var(--fm-ink); }
  .site-nav.is-open { display: block; }
  .site-nav ul { display: grid; gap: 16px; }
  .menu-toggle { display: block; }
  .site-actions .icon-account { display: none; }
  .hero-visual { height: 380px; }
  .hero-copy { height: auto; min-height: 270px; padding: 42px 0; }
  .service-card { grid-template-columns: 1fr; gap: 0; }
  .service-card:nth-child(even) img, .service-card:nth-child(even) .service-copy { grid-column: 1; grid-row: auto; }
  .service-copy { padding: 28px 0 8px; }
  .contact-layout { display: block; }
  .fm-section { padding: 64px 0; }
  .page-card { padding: 36px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
