/* 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, 
figcaption, figure, 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 { scroll-behavior: smooth; }
body { line-height: 1.5; background: #202430; color: #f7f9fc; min-height: 100vh; }
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section { display: block; }
ol, ul { list-style: none; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font-family: inherit; }

/* BRAND VARIABLES & FALLBACKS */
:root {
  --color-primary: #264653;
  --color-secondary: #A7C957;
  --color-accent: #FFECC7;
  --color-dark: #202430;
  --color-bg: #232836;
  --color-card: #29313f;
  --color-neon: #72FFD3;
  --color-error: #E4572E;
  --font-display: 'Merriweather', serif;
  --font-body: 'Roboto', Arial, Helvetica, sans-serif;
  --shadow-elevate: 0 4px 24px 0 rgba(39,232,192, 0.075), 0 1.5px 8px 0 rgba(167,201,87,0.09);
  --transition: all 0.33s cubic-bezier(0.45, 0.65, 0.19, 1.3);
  --radius: 18px;
  --radius-sm: 10px;
  --gap: 20px;
  --gap-lg: 32px;
  --gradient-bg: linear-gradient(135deg,#232836 62%, #29313f 100%);
  --gradient-accent: linear-gradient(90deg, #A7C957 0%, #72FFD3 100%);
}

/* TYPOGRAPHY */
html { font-size: 16px; }
body {
  font-family: var(--font-body);
  font-size: 1rem;
  background: var(--gradient-bg);
  color: #f7f9fc;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: 0.02em;
  line-height: 1.1;
}
h1 { font-size: 2.8rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 18px; }
h3 { font-size: 1.35rem; margin-bottom: 12px; color: var(--color-neon); }
h4 { font-size: 1.1rem; }

p, li {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 10px;
  color: #f7f9fc;
}
strong, b { color: var(--color-secondary); font-weight: bold; }

.text-section h2, .text-section h3, .text-section h1 { color: var(--color-accent); }
.text-section ul { margin-left: 0; }

@media (max-width: 768px) {
  h1 { font-size: 2.05rem; }
  h2 { font-size: 1.36rem; }
  h3 { font-size: 1.07rem; }
}

/* CONTAINER & SECTIONS */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: var(--radius);
  background: rgba(35, 40, 54, 0.89);
  box-shadow: var(--shadow-elevate);
  position: relative;
}
.content-wrapper,
.text-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: var(--gap);
}

@media (max-width: 768px) {
  .section {
    margin-bottom: 38px;
    padding:24px 8px;
  }
}

/* HEADER */
header {
  width: 100%;
  padding: 0;
  background: #222631;
  border-bottom: 3px solid var(--color-secondary);
  position: sticky;
  z-index: 103;
  top: 0;
}
header .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 22px;
  justify-content: space-between;
  padding-top: 15px;
  padding-bottom: 15px;
}
header nav {
  display: flex;
  flex-direction: row;
  gap: 18px;
  align-items: center;
}

header nav a {
  color: #e4f9ec;
  padding: 8px 14px;
  font-family: var(--font-body);
  font-size: 1.02rem;
  border-radius: var(--radius-sm);
  transition: background 0.22s;
  position: relative;
}
header nav a:hover, header nav a:focus {
  background: rgba(114,255,211,0.08);
  color: var(--color-neon);
}

header img {
  height: 44px;
  width: auto;
  margin-right: 14px;
}

.btn-primary {
  background: var(--color-secondary);
  color: #19342f;
  font-family: var(--font-body);
  font-weight: 700;
  border: none;
  border-radius: var(--radius);
  padding: 11px 28px;
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: 0 2px 14px 0 rgba(167,201,87,0.13);
  transition: var(--transition);
  outline: none;
  position: relative;
  margin-left:18px;
  letter-spacing: 0.03em;
}
.btn-primary:hover, .btn-primary:focus {
  background: #72FFD3;
  color: #16212e;
  box-shadow: 0 4px 22px 0 rgba(114,255,211,0.18);
  text-shadow:0 0 6px #e4fff1;
}

/* HEADER MOBILE */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--color-neon);
  cursor: pointer;
  margin-left: 15px;
  transition: color 0.2s;
  z-index: 120;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  color: var(--color-secondary);
  outline: none;
}

@media (max-width: 900px) {
  header nav {
    display: none;
  }
  .btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/******* MOBILE BURGER MENU ******/
.mobile-menu {
  position: fixed;
  top: 0; left:0;
  width: 100vw;
  height: 100vh;
  background: rgba(20,22,31,0.99);
  z-index: 1200;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding-top: 44px;
  padding-left: 0;
  transform: translateX(-100vw);
  transition: transform 0.3s cubic-bezier(0.5,0,0.3,1);
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2.2rem;
  color: var(--color-neon);
  background: none;
  border: none;
  align-self: flex-end;
  margin-right: 24px;
  margin-bottom: 16px;
  cursor: pointer;
  transition: color 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--color-error);
  outline: none;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100vw;
  padding: 0 33px;
}
.mobile-nav a {
  color: var(--color-accent);
  font-size: 1.2rem;
  letter-spacing: 0.02em;
  padding: 14px 4px;
  border-bottom: 1.5px solid rgba(255,255,255,0.045);
  border-radius: 0;
  transition: background 0.2s, color 0.2s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--color-secondary);
  background: rgba(39,232,192,0.06);
}

@media (min-width: 900px) {
  .mobile-menu, .mobile-menu-toggle { display: none!important; }
}

/* MAIN LAYOUT */
main {
  background: transparent;
  flex: 1 0 auto;
}

/* FLEXBOX SECTION PATTERNS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  border-radius: var(--radius);
  background: var(--color-card);
  box-shadow: var(--shadow-elevate);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}
.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: flex-start;
    gap: 18px;
  }
}

.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fffbe8;
  color: #232836;
  border-radius: var(--radius);
  box-shadow: 0 2px 16px 0 rgba(167,201,87,0.09);
  font-style: italic;
  margin-bottom: 22px;
  border-left: 4px solid var(--color-secondary);
}
.testimonial-card p { color: #21231e; font-weight: 400; }
.testimonial-card strong { color: var(--color-primary); font-weight: 700; }

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

/****** HERO, ARTICLES, SPECIALS, LISTS *****/
.article-list, .recipe-cards, .remedy-cards, .blog-teasers {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-top: 10px;
}
.article-list > div, .recipe-cards > div, .remedy-cards > div, .blog-teasers > div {
  background: var(--color-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-elevate);
  padding: 23px 16px;
  min-width: 260px;
  flex: 1 1 260px;
  margin-bottom: 20px;
  transition: box-shadow 0.24s, transform 0.27s;
  border: 1px solid rgba(114,255,211,0.06);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.article-list > div:hover, .recipe-cards > div:hover, .remedy-cards > div:hover, .blog-teasers > div:hover {
  box-shadow: 0 4px 28px 0 rgba(167,201,87,0.15), 0 0 15px 0 #78ffc4;
  transform: translateY(-6px) scale(1.022);
  border-color: var(--color-secondary);
}

.lead-recipe-highlight, .featured-article {
  background: #19342f;
  color: #c2fad3;
  border-left: 5px solid var(--color-neon);
  padding: 19px 22px;
  border-radius: var(--radius);
  box-shadow: 0 3px 14px 0 rgba(114,255,211,0.08);
  margin-bottom: 24px;
}
.lead-recipe-highlight h3,.featured-article h3 {
  color: var(--color-neon);
}

@media (max-width: 900px) {
  .article-list,.recipe-cards,.remedy-cards,.blog-teasers {
    gap: 13px;
    flex-wrap: wrap;
  }
}

@media (max-width: 660px) {
  .article-list > div,
  .recipe-cards > div,
  .remedy-cards > div,
  .blog-teasers > div {
    min-width: 0;
    flex: 1 1 100%;
    padding: 16px 10px;
  }
  .article-list, .recipe-cards, .remedy-cards, .blog-teasers {
    flex-direction: column;
    gap: 12px;
  }
}

/******* FILTER & SEARCH BAR ******/
input[type="text"] {
  border-radius: var(--radius-sm);
  border: none;
  background: #232836;
  color: var(--color-neon);
  padding: 10px 13px;
  font-size: 1rem;
  margin-bottom: 12px;
  margin-top: 12px;
  box-shadow: 0 2px 8px 0 rgba(167,201,87,0.07);
}
input[type="text"]:focus {
  outline: 2px solid var(--color-neon);
  background: #222;
}

ul>li>button {
  background: var(--color-neon);
  color: #1b2c1f;
  border: none;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-family: var(--font-body);
  font-size:1.01rem;
  font-weight:600;
  margin: 0 7px 10px 0;
  box-shadow: 0 2px 8px 0 rgba(167,201,87,0.07);
  transition: background 0.22s, color 0.22s, box-shadow 0.21s;
}
ul>li>button:hover, ul>li>button:focus {
  background: var(--color-secondary);
  color: #264653;
}

/******* ICONS ******/
ul li img {
  height: 27px; width: 27px; margin-right: 12px; vertical-align: middle; filter: drop-shadow(0 0 7px #72FFD3);
  }

/******* SPECIAL TEXT SECTIONS ******/
.text-section {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-bottom: 14px;
}
.text-section > *:not(:last-child) {
  margin-bottom: 6px;
}

/******* FOOTER ******/
footer {
  background: #1e2026;
  padding: 30px 0 22px 0;
  color: #bfcbd9;
  font-size: 0.99rem;
  box-shadow: 0 -2px 28px 0 rgba(39,232,192,0.07);
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
footer nav {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 6px;
}
footer nav a {
  color: var(--color-accent);
  padding: 1px 8px;
  border-radius: var(--radius-sm);
  font-size: 1em;
  transition: color 0.14s;
}
footer nav a:hover,footer nav a:focus{
  color: var(--color-secondary);
  background: rgba(167,201,87,0.09);
}
footer .text-section {
  color: #d7ead8;
  font-size: 0.99rem;
}

/******* RESPONSIVE LAYOUT *******/
@media (max-width: 650px) {
  header .container,
  .container,
  footer .container {
    padding: 0 8px;
  }
  .section,
  .content-wrapper,
  .text-section {
    padding: 0;
  }
}

/******* MICRO-INTERACTIONS & EFFECTS *******/
a, button, .btn-primary, .card, .article-list>div, .recipe-cards>div, .remedy-cards>div, .blog-teasers>div, .mobile-menu-toggle {
  transition: var(--transition);
}

/* Hover neon glow for buttons */
.btn-primary:hover, .btn-primary:focus {
  box-shadow: 0 0 22px 0 #72FFD3, 0 3px 14px 0 #A7C957;
}
.article-list>div:hover, .recipe-cards>div:hover, .remedy-cards>div:hover, .blog-teasers>div:hover {
  box-shadow: 0 4px 28px 0 #72FFD3, 0 0 15px 0 #A7C957;
  border-color: var(--color-neon);
}

/* Neon focus outline */
:focus {
  outline: 2px solid var(--color-neon);
  outline-offset: 2px;
}

/******* COOKIE BANNER *******/
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 4000;
  background: var(--color-card);
  color: var(--color-accent);
  box-shadow: 0 -4px 24px 0 #72FFD3, 0 -1.5px 8px 0 #A7C957;
  padding: 22px 12px 18px 12px;
  display: flex;
  flex-direction: row;
  gap: 18px;
  align-items: center;
  justify-content: center;
  min-height: 80px;
  transition: transform 0.38s cubic-bezier(0.4,0,0.2,1);
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
}
.cookie-banner.hide {
  transform: translateY(110%);
}

.cookie-banner .cookie-text {
  flex: 1 1 auto;
  font-size: 1rem; color: var(--color-accent);
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
}
.cookie-banner button {
  font-family: var(--font-body);
  border: none;
  border-radius: 8px;
  padding: 9px 18px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  background: var(--color-secondary);
  color: #20301b;
  box-shadow: 0 2px 8px 0 rgba(114,255,211,0.09);
  margin: 0 2px;
  transition: background 0.21s, color 0.18s;
}
.cookie-banner button.cookie-reject {
  background: #F6AE2D;
  color: #442b19;
}
.cookie-banner button.cookie-settings {
  background: var(--color-neon);
  color: #132010;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #72FFD3;
  color: #1b2c1f;
}
.cookie-banner a {
  color: var(--color-neon); text-decoration: underline; font-size: 0.98rem;
}
@media (max-width: 600px) {
  .cookie-banner { flex-direction: column; align-items: flex-start; gap: 9px; }
  .cookie-banner .cookie-actions {flex-direction: column;gap: 10px;width:100%;}
}

/******* COOKIE MODAL ******/
.cookie-modal-overlay {
  position: fixed;
  z-index: 9000;
  background: rgba(30,32,38, 0.98);
  left: 0; top: 0; width: 100vw; height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: opacity 0.3s;
}
.cookie-modal {
  background: var(--color-card);
  padding: 36px 25px 26px 25px;
  border-radius: var(--radius);
  min-width: 320px;
  max-width: 95vw;
  box-shadow: 0 2px 32px 0 #72FFD3,0 0.5px 6px 0 #A7C957;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  color: var(--color-accent);
}
.cookie-modal h2, .cookie-modal h3 {
  color: var(--color-neon);
  margin-bottom: 4px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 0;
}
.cookie-category input[type=checkbox] {
  width: 26px; height: 26px; accent-color: var(--color-secondary);
}
.cookie-modal .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 10px;
  margin-top: 15px;
}
.cookie-modal .close {
  position: absolute;
  top: 10px; right:12px;
  background: none;
  border: none;
  color: var(--color-neon);
  font-size: 2.1em;
  cursor: pointer;
}
.cookie-modal .close:hover, .cookie-modal .close:focus {
  color: var(--color-error);
  outline: none;
}
@media (max-width: 568px){
.cookie-modal { min-width:0; }
}

/******* GENERAL UTILITIES *******/
.neon-glow {
  box-shadow: 0 0 12px 2px #72FFD3;
  text-shadow: 0 0 7px #72FFD3, 0 0 6px #A7C957;
}
.bg-blur {
  backdrop-filter: blur(18px);
}
.rounded {
  border-radius: var(--radius);
}
.shadow {
  box-shadow: var(--shadow-elevate);
}

/*** Animations for mobile menu/cookie ****/
@keyframes slideInMenu {
  from { transform: translateX(-100vw); }
  to { transform: translateX(0); }
}
@keyframes slideOutMenu {
  from { transform: translateX(0); }
  to { transform: translateX(-100vw); }
}
.mobile-menu.active {
  animation: slideInMenu 0.3s forwards;
}
.mobile-menu:not(.active) {
  animation: slideOutMenu 0.22s forwards;
}

/**** Hide visually (for accessibility JS states) ****/
.sr-only{position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden;}

/* End Brand CSS */