/* === CSS RESET & NORMALIZE === */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  line-height: 1.5;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  background: #fff;
  color: #222;
  min-height: 100vh;
  font-size: 16px;
  letter-spacing: 0.03em;
  --primary: #205C2E;
  --secondary: #EEC87D;
  --accent: #FFFFFF;
  --electric-green: #28e074;
  --electric-pink: #ff23a6;
  --electric-orange: #ffa800;
  --high-energy-blue: #00cfff;
  --bold-shadow: rgba(32,92,46,0.15);
  --radius: 16px;
  --transition: 0.22s cubic-bezier(.6,-0.28,.74,.05);
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Open Sans', Arial, Helvetica, sans-serif;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover, a:focus {
  color: var(--electric-pink);
}
ul, ol {
  padding-left: 1.35em;
}
table {
  border-collapse: collapse;
  width: 100%;
}
th, td {
  text-align: left;
  padding: 12px 12px;
}
th {
  font-family: var(--font-display);
  font-weight: 700;
  background: var(--high-energy-blue);
  color: #fff;
  font-size: 1.1em;
}
tr:nth-child(even) td {
  background: #f8fdff;
}

/* ========== CONTAINERS ========== */
.container {
  width: 100%;
  max-width: 1120px;
  padding: 0 20px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  margin-bottom: 32px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* ========== HEADER & NAVIGATION ========== */
header {
  background: var(--primary);
  color: #fff;
  padding: 0;
  box-shadow: 0 2px 12px var(--bold-shadow);
  position: relative;
  z-index: 100;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 0;
}

header img {
  height: 54px;
  width: auto;
  margin: 12px 0;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1em;
}
.main-nav a {
  color: #fff;
  padding: 8px 14px;
  border-radius: 20px;
  transition: background var(--transition), color var(--transition);
}
.main-nav a:hover, 
.main-nav a:focus {
  background: var(--electric-green);
  color: var(--primary);
}

.mobile-menu-toggle {
  background: none;
  border: none;
  color: #fff;
  font-size: 2em;
  display: none;
  cursor: pointer;
  z-index: 201;
  margin-left: 12px;
  transition: color var(--transition);
}
.mobile-menu-toggle:focus {
  outline: 2px solid var(--electric-pink);
}

@media (max-width: 1024px) {
  .main-nav {
    gap: 8px;
    font-size: 1em;
  }
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* === Mobile Menu Overlay === */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  box-shadow: 2px 0 32px rgba(30,30,30,0.12);
  z-index: 200;
  transform: translateX(-100vw);
  transition: transform 0.36s cubic-bezier(.7,-0.6,.7,2);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 32px 32px 32px;
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.2em;
  color: var(--primary);
  cursor: pointer;
  align-self: flex-end;
  margin: 32px 0 16px 0;
  transition: color var(--transition);
}
.mobile-menu-close:focus {
  outline: 2px solid var(--electric-pink);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 8px;
  width: 100%;
}
.mobile-nav a {
  color: var(--primary);
  font-family: var(--font-display);
  font-size: 1.35em;
  font-weight: 700;
  padding: 18px 0 8px 0;
  border-bottom: 2px solid var(--electric-green);
  transition: color var(--transition), border-bottom var(--transition);
  width: 100%;
  display: block;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  color: var(--electric-pink);
  border-bottom: 2px solid var(--electric-pink);
}
@media (min-width: 769px) {
  .mobile-menu {
    display: none !important;
  }
}

/* ========== HERO & HEADINGS ========== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.17;
  margin-bottom: 14px;
  color: var(--primary);
  letter-spacing: 0.010em;
}
h1 {
  font-size: 2.6em;
  font-weight: 900;
  color: var(--electric-green);
  margin-top: 24px;
  margin-bottom: 20px;
}
h2 {
  font-size: 2em;
  margin: 0 0 24px 0;
  color: var(--electric-pink);
}
h3 {
  font-size: 1.3em;
  color: var(--high-energy-blue);
  margin-bottom: 8px;
}
h4, h5, h6 {
  font-size: 1.05em;
  color: var(--primary);
}
@media (max-width: 480px) {
  h1 { font-size: 2em; }
  h2 { font-size: 1.5em; }
  h3 { font-size: 1.1em; }
}

/* ========== BUTTONS & CTA ========== */
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 32px;
  font-family: var(--font-display);
  font-size: 1.17em;
  font-weight: 800;
  letter-spacing: 0.02em;
  border-radius: 32px;
  border: none;
  margin-top: 14px;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition), transform var(--transition);
  cursor: pointer;
  box-shadow: 0 4px 18px var(--bold-shadow);
  outline: none;
  text-align: center;
}
.cta.primary {
  background: var(--electric-green);
  color: var(--primary);
  border: 2px solid var(--primary);
}
.cta.primary:hover, .cta.primary:focus {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 6px 24px rgba(255,35,166,0.09);
}
.cta.secondary {
  background: var(--electric-pink);
  color: #fff;
  border: 2px solid var(--primary);
}
.cta.secondary:hover, .cta.secondary:focus {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 6px 24px rgba(40,224,116,0.16);
}

button {
  font-family: inherit;
  font-size: 1em;
  cursor: pointer;
  border-radius: var(--radius);
  border: none;
}
button:disabled, input:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ========== FLEX UTILITY LAYOUTS ========== */
.card-container,
.features-grid,
.category-grid,
.recipe-preview-list,
.recipe-list,
.about-team,
.content-grid,
.info-grid,
.tips-howto {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonials {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  color: #212a32;
  border-radius: var(--radius);
  box-shadow: 0 1px 8px rgba(32,92,46,0.16);
  min-width: 260px;
  max-width: 370px;
  font-size: 1em;
  font-family: var(--font-body);
}
@media (max-width: 768px) {
  .card-container,
  .features-grid,
  .category-grid,
  .recipe-preview-list,
  .recipe-list,
  .about-team,
  .content-grid,
  .info-grid,
  .tips-howto,
  .testimonials {
    flex-direction: column;
    gap: 20px;
  }
  .testimonial-card {
    max-width: 100%;
  }
}

/* ========== CARDS, LISTS, FEATURES ========== */
.card {
  margin-bottom: 20px;
  position: relative;
  border-radius: var(--radius);
  box-shadow: 0 2px 12px rgba(255,35,166,.06);
  background: #fff;
  overflow: hidden;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  padding: 26px 24px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 18px 14px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 2px 12px rgba(0,207,255,0.06);
}

.recipe-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 2px 12px rgba(255,35,166,.05);
  padding: 26px 22px 22px 22px;
  margin-bottom: 20px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.recipe-card h3 {
  margin-bottom: 6px;
}
.recipe-card:hover, .recipe-card:focus-within {
  box-shadow: 0 8px 27px rgba(40,224,116,0.14);
  transform: translateY(-4px) scale(1.03);
}

.tip-card {
  background: var(--secondary);
  color: var(--primary);
  border-radius: var(--radius);
  box-shadow: 0 2px 14px rgba(0,207,255,0.05);
  padding: 22px;
  min-width: 230px;
  flex: 1 1 230px;
}
@media (max-width: 480px) {
  .card-content,
  .feature-item,
  .recipe-card,
  .tip-card {
    padding: 12px 10px;
  }
}

/* === Newsletter Section === */
.newsletter-section {
  background: var(--high-energy-blue);
  color: #fff;
  border-radius: var(--radius);
  padding: 28px 20px;
  box-shadow: 0 2px 13px rgba(0,207,255,.08);
  font-size: 1.15em;
}
.newsletter-section strong {
  color: var(--secondary);
  font-weight: 800;
}

/* === Category Filters/List === */
.category-filters ul, .tip-list ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.category-grid > div, .about-team > div, .info-grid > div {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 2px 12px var(--bold-shadow);
  padding: 22px 22px 17px 22px;
  min-width: 215px;
  flex: 1 1 215px;
}

/* === Search Bar === */
.search-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 12px 0 8px 0;
}
.search-bar input[type="search"] {
  flex: 1;
  padding: 11px 14px;
  font-size: 1em;
  border: 2px solid var(--primary);
  border-radius: 32px;
  background: #fff;
  outline: none;
  margin-right: 8px;
  transition: border var(--transition);
}
.search-bar input[type="search"]:focus {
  border: 2px solid var(--electric-green);
}
.search-bar button {
  background: var(--electric-pink);
  color: #fff;
  border: none;
  border-radius: 32px;
  padding: 11px 24px;
  font-size: 1.23em;
  transition: background var(--transition), color var(--transition), transform var(--transition);
}
.search-bar button:focus, .search-bar button:hover {
  background: var(--electric-green);
  color: var(--primary);
  transform: scale(1.03);
}

/* === Step-by-Step, How-to, FAQ === */
.step-by-step ol {
  margin-top: 10px;
  margin-bottom: 0;
  padding-left: 20px;
  font-size: 1.06em;
}
details {
  background: #f6faf7;
  border-radius: 8px;
  margin-bottom: 16px;
  padding: 10px 18px 10px 16px;
  box-shadow: 0 1px 4px rgba(40,224,116,0.07);
  color: var(--primary);
}
details summary {
  font-weight: bold;
  cursor: pointer;
  outline: none;
  font-family: var(--font-display);
  color: var(--electric-pink);
  margin-bottom: 6px;
}
details[open] summary {
  color: var(--high-energy-blue);
}
details p {
  font-size: 1em;
}

/* === Table Section Appearance === */
.seasonality-table, .seasonal-calendar table {
  background: #fff;
  font-size: 0.99em;
  margin-bottom: 24px;
  border-radius: var(--radius);
  box-shadow: 0 1px 8px rgba(32,92,46,.07);
}

/* === Highlighted Produce Section === */
.highlighted-produce {
  background: var(--electric-orange);
  color: var(--primary);
  border-radius: var(--radius);
  box-shadow: 0 2px 12px rgba(255,168,0,0.13);
  padding: 18px 16px;
  margin-top: 13px;
}

/* ========== PAGINATION, SORTING ========== */
.sorting-options {
  font-size: 0.98em;
  margin-bottom: 18px;
  display: flex;
  gap: 12px;
  align-items: center;
}
.pagination {
  margin: 28px 0 12px 0;
  font-size: 1.1em;
  color: var(--primary);
  font-weight: 700;
}

/* ========== FOOTER ========== */
footer {
  background: var(--primary);
  color: #fff;
  padding: 36px 0 16px 0;
  font-size: 0.99em;
  letter-spacing: 0.02em;
  box-shadow: 0 -2px 20px var(--bold-shadow);
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 36px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-family: var(--font-display);
}
.footer-nav a {
  color: #fff;
  padding: 2px 9px;
  border-radius: 10px;
  font-weight: 700;
  transition: background var(--transition), color var(--transition);
  font-size: 1.0em;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: var(--electric-green);
  color: var(--primary);
}
.footer-contact {
  font-size: 0.96em;
}
.footer-contact a {
  color: var(--secondary);
}
.footer-contact a:hover, .footer-contact a:focus {
  color: #fff;
  text-decoration: underline;
}
@media (max-width: 768px) {
  footer .container {
    flex-direction: column;
    gap: 22px;
  }
  .footer-nav {
    gap: 12px;
  }
}

/* ========== CONTACT & MAP SECTIONS ========== */
.contact-info ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.contact-info li {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 1em;
  margin-bottom: 5px;
}
.address-map {
  background: var(--electric-green);
  color: var(--primary);
  border-radius: var(--radius);
  padding: 14px 13px;
  font-size: .97em;
  margin-top: 10px;
}

.customer-service-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
}
.customer-service-links a {
  color: var(--high-energy-blue);
  font-weight: 700;
  text-decoration: underline;
}
.customer-service-links a:hover {
  color: var(--electric-pink);
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 1024px) {
  .container {
    max-width: 100%;
    padding: 0 13px;
  }
  .card-container,
  .features-grid,
  .category-grid,
  .recipe-preview-list,
  .recipe-list,
  .about-team,
  .content-grid,
  .info-grid {
    gap: 16px;
  }
}
@media (max-width: 768px) {
  .container {
    max-width: 100%;
    padding: 0 7px;
  }
  .section {
    margin-bottom: 34px;
    padding: 24px 8px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 16px;
  }
}

@media (max-width: 520px) {
  html, body {
    font-size: 15px;
  }
  .container {
    padding: 0 3px;
  }
}

/* ========== MICROINTERACTIONS ========== */
.card, .feature-item, .recipe-card, .tip-card, .highlighted-produce, .newsletter-section {
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover,
.feature-item:hover,
.tip-card:hover {
  box-shadow: 0 4px 22px rgba(255,35,166,0.14);
  transform: translateY(-3px) scale(1.015);
}

input[type="search"]:focus, input:focus, textarea:focus {
  outline: 2px solid var(--high-energy-blue);
}

/* ========== COOKIE CONSENT BANNER ========== */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  background: var(--high-energy-blue);
  color: #222;
  z-index: 2600;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 30px 36px 24px 24px;
  box-shadow: 0 -4px 20px var(--bold-shadow);
  font-size: 1em;
  animation: cookieDrop 0.6s cubic-bezier(0.43, 0.18, 0.57, 1.38);
}
@keyframes cookieDrop {
  0% { transform: translateY(130%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner-content {
  flex: 1 1 340px;
  font-family: var(--font-body);
  line-height: 1.5;
}
.cookie-banner-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
  align-items: center;
  margin-top: 10px;
}
.cookie-banner button {
  border: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1em;
  padding: 10px 22px;
  border-radius: 26px;
  background: var(--electric-green);
  color: var(--primary);
  margin-right: 6px;
  margin-bottom: 4px;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition), transform var(--transition);
  box-shadow: 0 2px 13px rgba(40,224,116,0.10);
}
.cookie-banner button.accept {
  background: var(--electric-green);
  color: var(--primary);
}
.cookie-banner button.reject {
  background: var(--electric-pink);
  color: #fff;
}
.cookie-banner button.settings {
  background: #fff;
  color: var(--high-energy-blue);
  border: 2px solid var(--electric-green);
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: var(--primary);
  color: #fff;
  transform: scale(1.05);
}
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    padding: 16px 6px 8px 6px;
    gap: 10px;
    font-size: 0.97em;
  }
  .cookie-banner-actions {
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
  }
}

/* == COOKIE MODAL == */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(40,224,116,0.16);
  z-index: 2700;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cookieModalAppear 0.3s ease;
}
@keyframes cookieModalAppear {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  padding: 34px 26px 24px 26px;
  border-radius: 26px;
  max-width: 440px;
  width: 90vw;
  box-shadow: 0 4px 48px rgba(32,92,46,0.19);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 19px;
  font-family: var(--font-body);
  font-size: 1.09em;
}
.cookie-modal h3 {
  color: var(--electric-pink);
  font-size: 1.3em;
  margin-bottom: 8px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 15px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1em;
}
.cookie-category input[type='checkbox'] {
  accent-color: var(--electric-green);
  width: 22px; height: 22px;
  margin-right: 6px;
}
.cookie-category input[disabled] {
  accent-color: #aaa;
}
.cookie-modal-actions {
  margin-top: 10px;
  display: flex;
  gap: 14px;
  justify-content: flex-end;
}
.cookie-modal button {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1em;
  padding: 10px 20px;
  border-radius: 22px;
}
.cookie-modal .close {
  position: absolute;
  top: 12px;
  right: 18px;
  background: none;
  border: none;
  font-size: 1.7em;
  color: var(--electric-pink);
  cursor: pointer;
  transition: color var(--transition);
}
.cookie-modal .close:hover, .cookie-modal .close:focus {
  color: var(--primary);
}
@media (max-width: 500px) {
  .cookie-modal {
    padding: 17px 8px 11px 8px;
    font-size: 0.98em;
  }
}

/* ========== SCROLLBAR THEME (energetic) ========== */
::-webkit-scrollbar {
  width: 8px;
  background: #f0f9f0;
}
::-webkit-scrollbar-thumb {
  background: var(--electric-green);
  border-radius: 8px;
}

/* == MISC/UTILITY == */
hr {
  margin: 24px 0;
  border: none;
  border-top: 1px solid #efefef;
}
strong {
  font-weight: 700;
}
.highlight {
  background: var(--secondary);
  color: var(--primary);
  border-radius: 8px;
  padding: 2px 6px;
  font-weight: bold;
}

/* ========== PRINT STYLES ========== */
@media print {
  header, footer, nav, .mobile-menu, .cookie-banner, .cookie-modal-overlay {
    display: none !important;
  }
  body {
    padding: 0;
    margin: 0;
  }
  .section, .container, .card, .content-wrapper, .recipe-card {
    box-shadow: none !important;
    background: #fff !important;
    color: #222 !important;
    padding: 0 !important;
    margin: 0 !important;
  }
}
