/* CSS RESET & BASE STYLES (Normalize + Mobile-First) */
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, main, 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 {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  background: #fff;
  color: #214a34;
  font-family: 'Lato', Arial, sans-serif;
  line-height: 1.6;
  min-height: 100vh;
  font-size: 1rem;
  overflow-x: hidden;
  transition: background 0.3s;
}
main {
  flex: 1;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #214a34;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #f2b441;
  outline: none;
}
ul, ol {
  padding-left: 1.3em;
}
strong {
  font-weight: bold;
}

/* PLAYFUL DYNAMIC THEME: COLORS, SHADOWS, ANIMATION */
:root {
  --color-primary: #214a34;
  --color-secondary: #f2b441;
  --color-accent: #ffffff;
  --color-fun-rose: #ff6681;
  --color-fun-blue: #61cbf2;
  --color-fun-green: #2ded7c;
  --color-fun-violet: #935BFF;
  --shadow-card: 0 6px 24px rgba(61,32,101,0.07);
  --radius: 20px;
  --shadow-button: 0 2px 8px 0 rgba(242,180,65, .19), 0 1.5px 8px rgba(33,74,52,.07);
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Lato', Arial, sans-serif;
  --transition: all 0.22s cubic-bezier(.6,.18,.46,1.19);
}

/* ========== LAYOUT & SECTION SPACING ========== */
.container {
  width: 100%;
  max-width: 1200px;
  padding: 0 16px;
  margin: 0 auto;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  position: relative;
}
@media (max-width: 768px) {
  .section {
    padding: 25px 6px;
    margin-bottom: 32px;
  }
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  width: 100%;
}

/* Flex patterns */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  border-radius: var(--radius);
  background: #fff8ee;
  box-shadow: var(--shadow-card);
  transition: transform 0.18s, box-shadow 0.18s;
  position: relative;
  overflow: hidden;
}
.card:hover {
  transform: translateY(-5px) scale(1.03) rotate(-2deg);
  box-shadow: 0 10px 26px rgba(33,74,52,0.14);
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }
}

.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #fff8ee;
  padding: 20px;
  border-radius: var(--radius);
  box-shadow: 0 2px 11px rgba(33,74,52,.13);
  margin-bottom: 24px;
  position: relative;
}
.testimonial-card blockquote {
  font-family: var(--font-display);
  font-size: 1.18rem;
  color: var(--color-primary);
  margin: 0;
  line-height: 1.45;
  font-style: italic;
  letter-spacing: .01em;
}
.testimonial-card footer {
  font-size: 0.98rem;
  color: #535970;
  font-family: var(--font-body);
  font-style: normal;
  margin-left: 16px;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Visual fun: playful colored "stickies" for features */
.feature-item,
.testimonial-card,
.category-grid > div,
.featured-recipes > div {
  border-left: 7px solid var(--color-fun-blue);
}
.feature-item:nth-child(2n),
.category-grid > div:nth-child(2n) {
  border-left-color: var(--color-fun-rose);
}
.feature-item:nth-child(3n),
.category-grid > div:nth-child(3n) {
  border-left-color: var(--color-fun-violet);
}
.feature-item:nth-child(4n),
.category-grid > div:nth-child(4n) {
  border-left-color: var(--color-fun-green);
}

/* ======= TYPOGRAPHY ======= */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--color-primary);
  margin-bottom: 8px;
  line-height: 1.15;
  font-weight: 700;
}
h1 {
  font-size: 2.3rem;
  margin-bottom: 12px;
}
h2 {
  font-size: 1.8rem;
  margin-bottom: 10px;
}
h3 {
  font-size: 1.35rem;
}
h4 {
  font-size: 1.08rem;
}
@media (min-width: 650px) {
  h1 { font-size: 2.8rem; }
  h2 { font-size: 2.15rem; }
  h3 { font-size: 1.45rem; }
}
p, li, blockquote, label {
  font-family: var(--font-body);
}
li {
  margin-bottom: 8px;
  line-height: 1.6;
}
p {
  font-size: 1rem;
  margin-bottom: 10px;
}
blockquote {
  font-size: 1.2rem;
  font-style: italic;
  color: var(--color-primary);
}

/* Fun/Playful accent font and details for headers */
h2, h3, h4 {
  letter-spacing: 0.02em;
  position: relative;
}
h2:after {
  content: '';
  display: block;
  width: 58px;
  height: 6px;
  background: var(--color-secondary);
  border-radius: 3px;
  margin-top: 9px;
  margin-bottom: 2px;
  animation: playful-hl 1.3s cubic-bezier(.54,1.8,.48,.91) 1;
}
@keyframes playful-hl {
  0% { width: 0; }
  100% { width: 58px; }
}

/* Headings with multiple colors? Using spans: sample for playful-dynamic */
h1 span, h2 span, h3 span { color: var(--color-fun-rose); }

/* ========== BUTTONS ========== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  background: var(--color-secondary);
  color: var(--color-primary);
  border: none;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 1.08rem;
  padding: 11px 28px;
  font-weight: bold;
  box-shadow: var(--shadow-button);
  cursor: pointer;
  margin-top: 16px;
  letter-spacing: 0.03em;
  transition: var(--transition);
  outline: 0;
  position: relative;
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--color-fun-blue);
  color: #fff;
  transform: scale(1.06) rotate(-2deg);
  box-shadow: 0 3px 17px 0 rgba(76,222,176,.16);
}
.btn-primary:active {
  background: var(--color-fun-rose);
  color: #fff;
}

/* Fancy micro-wiggle animation */
.btn-primary {
  animation: btn-pop 1.7s cubic-bezier(.56,1.6,.68,1.06) alternate infinite;
  animation-delay: .7s;
}
@keyframes btn-pop {
  0%,100% { transform: scale(1) rotate(0); }
  60% { transform: scale(1.05) rotate(-2deg); }
  84% { transform: scale(.96) rotate(1.1deg); }
}

/* ========== NAVIGATION ========== */
header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 18px 16px 16px 16px;
  background: #fff;
  min-height: 70px;
  position: relative;
  box-shadow: 0 1px 16px rgba(180,164,110, .045);
  z-index: 70;
}
header img {
  height: 48px;
  margin-right: 21px;
}
nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  font-family: var(--font-display);
  font-size: 1.03rem;
  margin-right: 18px;
}
nav a {
  color: var(--color-primary);
  padding: 8px 13px;
  border-radius: 8px;
  transition: background-color .16s, color .15s;
  font-weight: 500;
}
nav a:hover, nav a:focus {
  background: var(--color-fun-blue);
  color: #fff;
}
header .btn-primary {
  margin-top: 0;
  margin-left: 12px;
}

@media (max-width: 900px) {
  nav {
    gap: 7px;
    font-size: .98rem;
    margin-right: 0;
  }
}
@media (max-width: 768px) {
  header nav,
  header .btn-primary {
    display: none;
  }
  header {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* ========== MOBILE MENU ========== */
.mobile-menu-toggle {
  position: fixed;
  top: 18px;
  right: 16px;
  z-index: 300;
  background: var(--color-secondary);
  color: var(--color-primary);
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 2rem;
  justify-content: center;
  align-items: center;
  display: flex;
  box-shadow: 0 1.5px 8px rgba(33,74,52,.11);
  cursor: pointer;
  transition: background 0.17s;
  outline: none;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: var(--color-fun-blue);
  color: #fff;
}
@media (min-width: 769px) {
  .mobile-menu-toggle {
    display: none;
  }
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(255,255,255,0.97);
  z-index: 5000;
  transform: translateX(100vw);
  transition: transform 0.35s cubic-bezier(.78,0,.16,1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 36px 30px 30px 30px;
  box-shadow: -4px 0 16px rgba(33,74,52,.13), 0 20px 60px rgba(242,180,65,.04);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu .mobile-menu-close {
  background: none;
  color: var(--color-primary);
  border: none;
  font-size: 2.2rem;
  position: absolute;
  top: 24px;
  right: 32px;
  cursor: pointer;
  z-index: 5010;
  padding: 0 9px;
}
.mobile-menu .mobile-menu-close:hover {
  color: var(--color-fun-rose);
  background: #f2b441;
  border-radius: 50%;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  margin-top: 48px;
}
.mobile-nav a {
  color: var(--color-primary);
  font-size: 1.25rem;
  padding: 13px 0 5px 11px;
  border-radius: 8px;
  font-family: var(--font-display);
  font-weight: bold;
  transition: background-color 0.15s, color .14s;
  min-width: 150px;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: var(--color-fun-blue);
  color: #fff;
}
@media (min-width: 769px) {
  .mobile-menu {
    display: none !important;
  }
}

/* ========== CARDS & GRIDS ========== */
.category-grid,
.featured-recipes {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 18px 0 18px 0;
}
.category-grid > div, .featured-recipes > div {
  background: #f9fcff;
  flex: 1 1 180px;
  min-width: 180px;
  max-width: 320px;
  padding: 17px 12px 17px 25px;
  border-radius: var(--radius);
  margin-bottom: 0;
  transition: box-shadow .18s, transform .18s;
  box-shadow: 0 1px 9px rgba(94,193,242,.08);
  position: relative;
}
.category-grid > div:hover {
  box-shadow: 0 6px 18px rgba(97,203,242,0.17);
  transform: scale(1.04) rotate(-1.8deg);
}
.featured-recipes > div {
  border-left-width: 4px;
  border-left-style: solid;
}
.featured-recipes > div + div {
  margin-left: 0;
}
.tag-filters {
  display: flex;
  gap: 14px;
  margin-bottom: 13px;
  flex-wrap: wrap;
  margin-top: 10px;
}
.tag-filters span {
  background: var(--color-fun-rose);
  color: #fff;
  border-radius: 22px;
  font-size: .93rem;
  padding: 4px 14px;
  letter-spacing: 0.02em;
  font-family: var(--font-display);
  font-weight: bold;
  transition: background-color .15s;
}
.tag-filters span:hover {
  background: var(--color-fun-blue);
}

/* Inputs (Search field) */
input[type="search"] {
  width: 100%;
  max-width: 330px;
  border: 2px solid var(--color-fun-blue);
  border-radius: 22px;
  font-size: 1rem;
  padding: 9px 15px;
  margin-top: 16px;
  transition: border-color .16s;
  font-family: var(--font-body);
  outline: none;
}
input[type="search"]:focus {
  border-color: var(--color-secondary);
  background: #fefbe8;
}

/* ========== MISCELLANEOUS / COMPONENTS ========== */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 10px;
  align-items: flex-start;
}
.map {
  margin: 18px 0 12px 0;
  padding: 15px;
  border-radius: 14px;
  background: #f2b44115;
  color: var(--color-primary);
  text-align: center;
  font-size: 1.09rem;
}
.business-hours {
  margin: 10px 0 0 0;
  font-size: .97rem;
  color: #6a6c88;
}
.world-map-navigation ul {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: 9px;
}
.quick-links {
  margin-top: 12px;
  font-weight: 500;
  font-family: var(--font-display);
}
.quick-links a {
  color: var(--color-fun-violet);
  text-decoration: underline;
  margin: 0 7px 0 0;
}

/* Feature icons row */
.feature-icons {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 13px;
}
.feature-icons img, .feature-icons span img {
  width: 36px;
  height: 36px;
  filter: drop-shadow(1px 1px 0 #fff) drop-shadow(0 2px 2px rgba(33,74,52,0.07));
  transition: transform .13s;
}
.feature-icons img:hover {
  transform: scale(1.19) rotate(3deg);
}

/* ========== FOOTER ========== */
footer {
  background: #214a34;
  color: #fff;
  margin-top: 50px;
  padding: 36px 0 10px 0;
  font-size: 1rem;
  position: relative;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}
.footer-main {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 0 20px;
}
.footer-main img {
  height: 43px;
}
.footer-nav {
  display: flex;
  gap: 19px;
}
.footer-nav a {
  color: #fff;
  font-size: .99rem;
  opacity: 0.96;
  padding: 2px 8px;
  border-radius: 7px;
  transition: background .12s;
}
.footer-nav a:hover {
  background: var(--color-secondary);
  color: var(--color-primary);
}
.social-links {
  display: flex;
  align-items: center;
  gap: 12px;
}
.social-links a img {
  width: 30px;
  height: 30px;
  transition: filter .15s, transform .12s;
  filter: grayscale(0.2) brightness(1.15) contrast(1.09);
  border-radius: 12px;
}
.social-links a img:hover {
  filter: none;
  background: #fffaffe3;
  box-shadow: 0 2px 7px rgba(242,180,65,.12);
  transform: scale(1.1) rotate(-7deg);
}

footer p {
  font-size: .88rem;
  text-align: center;
  margin: 20px 0 0 0;
  color: #ffeacc;
  opacity: 0.97;
}

/* ========== COOKIE CONSENT BANNER ========== */
.cookie-banner {
  position: fixed;
  left: 0; bottom: 0; right: 0;
  width: 100vw;
  z-index: 35000;
  background: #fff8ee;
  color: #214a34;
  box-shadow: 0 -1px 16px rgba(33,74,52,0.08);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 19px 16px 19px 23px;
  border-radius: 18px 18px 0 0;
  font-size: 1rem;
  animation: cookieFade .7s cubic-bezier(.62,1.5,.21,.93) 1;
}
@keyframes cookieFade {
  0% { opacity:0; transform: translateY(50px) scale(.93); }
  100% { opacity:1; transform: translateY(0) scale(1); }
}
.cookie-banner p {
  margin-right: 14px;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 13px;
  align-items: center;
}
.cookie-banner button {
  border-radius: 999px;
  padding: 8px 24px;
  font-family: var(--font-display);
  font-weight: bold;
  font-size: 1.01rem;
  border: none;
  cursor: pointer;
  transition: background .18s, color .18s, transform 0.12s;
}
.cookie-banner .accept {
  background: var(--color-fun-green);
  color: var(--color-primary);
  box-shadow: 0 2px 9px rgba(45,237,124,.12);
}
.cookie-banner .accept:hover {
  background: var(--color-secondary);
  color: var(--color-primary);
}
.cookie-banner .reject {
  background: var(--color-fun-rose);
  color: #fff;
}
.cookie-banner .reject:hover {
  background: var(--color-fun-blue);
  color: #fff;
}
.cookie-banner .settings {
  background: var(--color-fun-blue);
  color: #fff;
}
.cookie-banner .settings:hover {
  background: var(--color-fun-violet);
}

@media (max-width: 540px) {
  .cookie-banner { flex-direction: column; align-items: flex-start; gap: 9px; padding: 17px 7px 17px 10px; font-size: .95rem;}
}

/* COOKIE-PREFERENCES MODAL POPUP */
.cookie-modal-overlay {
  position: fixed;
  z-index: 36000;
  left:0;top:0;width:100vw;height:100vh;
  background: rgba(61,32,101, .04);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s;
  animation: fadeModal .19s cubic-bezier(.35,1.4,.73,.85) 1;
}
@keyframes fadeModal {
  0% { opacity:0; }
  100% { opacity:1; }
}
.cookie-modal {
  width: 92vw;
  max-width: 390px;
  background: #fff8ee;
  color: #214a34;
  border-radius: 24px;
  box-shadow: var(--shadow-card), 0 8px 40px rgba(33,74,52,.13);
  padding: 32px 22px 22px 22px;
  position: relative;
  z-index: 36200;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-modal h2 {
  margin-bottom: 13px;
  font-size: 1.45rem;
  color: var(--color-primary);
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 11px;
}
.cookie-category strong {
  font-size: 1.12rem;
  min-width: 126px;
  display: inline-block;
}
.cookie-category .cookie-toggle {
  display: inline-block;
  width: 32px; height: 18px;
  background: #dedede;
  border-radius: 12px;
  position: relative;
  margin-left: 8px;
  vertical-align: middle;
}
.cookie-toggle input[type='checkbox'] {
  opacity: 0; width: 0; height: 0;
}
.cookie-toggle .slider {
  position: absolute; left: 0; top: 0; bottom: 0; right: 0;
  border-radius: 12px;
  background: #dedede;
  transition: background .13s;
}
.cookie-toggle input:checked + .slider {
  background: var(--color-fun-blue);
}
.cookie-toggle .slider::before {
  content: '';
  display: block;
  position: absolute;
  left: 2px; top:2px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(33,74,52, .12);
  transition: transform .15s;
}
.cookie-toggle input:checked + .slider::before {
  transform: translateX(14px);
}
.cookie-modal .modal-actions {
  margin-top: 12px;
  display: flex;
  gap: 13px;
  justify-content: flex-end;
}
.cookie-modal .modal-actions button {
  padding: 8px 22px;
  border-radius: 999px;
  border: none;
  font-family: var(--font-display);
  font-weight: 600;
  background: var(--color-secondary);
  color: var(--color-primary);
  cursor: pointer;
}
.cookie-modal .modal-actions .cancel {
  background: #dedede;
  color: #535970;
}
.cookie-modal .modal-actions .accept {
  background: var(--color-fun-green);
  color: #214a34;
}
.cookie-modal .modal-actions .accept:hover {
  background: var(--color-secondary);
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 900px) {
  .container { max-width: 98vw; }
  .footer-main { flex-direction: column; gap: 9px; }
}
@media (max-width: 600px) {
  h1 { font-size: 1.55rem; }
  h2 { font-size: 1.2rem; }
  .container {
    padding: 0 6px;
  }
  .section { padding: 20px 3px; }
  .category-grid, .featured-recipes, .content-grid { gap: 12px; }
}
@media (max-width: 480px) {
  .footer-main img { height: 32px; }
}

/* ========== ACCESSIBILITY ========== */
:focus-visible {
  outline: 2px solid var(--color-fun-blue);
  outline-offset: 2px;
}

/* Hide from normal view helper classes if needed */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ========== OL/UL RESET ========== */
ul, ol {
  margin-bottom: 17px;
}
ul li, ol li {
  margin-bottom: 6px;
  padding-left: 0;
  position: relative;
  font-size: 1rem;
}
ul li:before {
  content: '\2022';
  color: var(--color-fun-rose);
  display: inline-block;
  font-weight: bold;
  width: 1.1em;
  margin-left: -1.1em;
}
ol li {
  list-style-type: decimal;
  margin-left: 18px;
}
ol li:before {
  display: none;
}

/* Lists in .text-section served with accent bullets */
.text-section ul li:before {
  color: var(--color-fun-blue);
}
.text-section ul li:nth-child(3n):before {
  color: var(--color-fun-rose);
}

/* ========== PLAYFUL MICRO-ANIMATIONS ========== */
h2, .testimonial-card, .btn-primary, .feature-icons img, .social-links a img {
  transition: transform .14s cubic-bezier(.46,1.46,.6,1.02), box-shadow .18s, color .19s, background .18s;
}
.testimonial-card:hover {
  transform: scale(1.03) rotate(0.8deg);
}

/* Decorative elements - add some floating dots or confetti for a playful feel */
.section::after {
  content: '';
  position: absolute;
  top: 8px;
  right: 32px;
  width: 22px;
  height: 22px;
  background: radial-gradient(circle, var(--color-fun-blue) 45%, transparent 75%);
  opacity: .41;
  border-radius: 50%;
  pointer-events: none;
  animation: floatDot 4s infinite alternate cubic-bezier(.86,-0.19,.34,1.2);
}
@keyframes floatDot {
  0% { transform: translateY(0) scale(1) rotate(0);}
  100% { transform: translateY(-21px) scale(1.18) rotate(18deg);}
}
.section:nth-child(2n)::after {
  background: radial-gradient(circle, var(--color-fun-rose) 45%, transparent 80%);
  left: 23px;
  right: auto;
  top: 33px;
  width: 27px;
  opacity: .38;
  animation-delay: -1.2s;
}
.section:nth-child(3n)::after {
  background: radial-gradient(circle, var(--color-fun-green) 40%, transparent 72%);
  left: auto;
  right: 38px;
  top: 22px;
  width: 16px;
  opacity: .43;
  animation-delay: -.8s;
}

/* End of CSS file */
