/* 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 {
  scroll-behavior: smooth;
}
body {
  line-height: 1.5;
  min-height: 100vh;
  background: #232927;
  color: #F1F4EF;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  text-decoration: none;
  color: #90CAF9;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #FFFDE7;
}
ul, ol {
  margin-left: 24px;
  margin-bottom: 24px;
}
li {
  margin-bottom: 10px;
}

/* FONTS */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #FFFDE7;
  letter-spacing: 0.01em;
  margin-bottom: 16px;
  line-height: 1.15;
}
h1 {
  font-size: 2.5rem; /*40px*/
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem; /*32px*/
  margin-bottom: 18px;
}
h3 {
  font-size: 1.5rem; /*24px*/
  color: #90CAF9;
  margin-bottom: 14px;
}
h4 {
  font-size: 1.125rem; /*18px*/
  margin-bottom: 12px;
}
p, ul, ol {
  color: #E0E0E0;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem; /*16px*/
  margin-bottom: 12px;
  line-height: 1.7;
}
strong, b {
  color: #90CAF9;
}

/* LAYOUT */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 40px;
}
.section {
  margin-bottom: 60px; 
  padding: 40px 20px; 
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 24px;
}

/* FLEXBOX CONTAINERS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #212426;
  border-radius: 10px;
  box-shadow: 0 3px 12px 0 rgba(30,38,44,0.3);
  padding: 24px 20px;
  border: 1px solid #424242;
}
.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;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #f7f7f7;
  color: #232927;
  border-radius: 10px;
  box-shadow: 0 3px 12px 0 rgba(50,72,85,0.15);
  border-left: 5px solid #33691E;
  margin-bottom: 20px;
  font-size: 1.08rem;
}
.testimonial-card p,
.testimonial-card span {
  color: #232927 !important;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* RECIPE & BLOG CARDS */
.recipe-card, .blog-card {
  margin-bottom: 20px;
  padding: 24px 20px;
  background: #181B1C;
  border-radius: 12px;
  box-shadow: 0 2px 10px 0 rgba(45,54,65,0.21);
  border: 1px solid #424242;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.recipe-card ul, .blog-card ul {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.recipe-card li, .blog-card li {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(144,202,249,0.09);
  border-radius: 4px;
  padding: 4px 10px;
  font-size: 1em;
}

/* CTA BUTTONS */
.cta, .recipe-card button, .cookie-banner .btn, .cookie-modal .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(90deg, #33691E 90%, #90CAF9 100%);
  color: #FFFDE7;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.025em;
  font-size: 1.1rem;
  padding: 14px 30px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  margin-top: 10px;
  box-shadow: 0 2px 7px 0 rgba(90,110,96,0.12);
  text-shadow: 0 1px 2px rgba(40,40,40,0.08);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.12s;
  outline: none;
}
.cta:hover, .cta:focus, .recipe-card button:hover, .cookie-banner .btn:hover, .cookie-modal .btn:hover {
  background: linear-gradient(90deg, #90CAF9 20%, #33691E 100%);
  color: #232927;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 24px 0 rgba(144,202,249,0.23);
}

.recipe-card button {
  background: #33691E;
  color: #FFFDE7;
  border: 1px solid #90CAF9;
  font-size: 1rem;
  border-radius: 5px;
}
.recipe-card button:active {
  background: #90CAF9;
  color: #232927;
}

/* NAVBAR STYLES */
header {
  background: #171A1B;
  box-shadow: 0 2px 10px 0 rgba(34,40,38,0.16);
  position: sticky;
  top: 0;
  z-index: 100;
}
header nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  padding: 16px 0 10px 0;
}
header nav a:not(.cta) {
  color: #90CAF9;
  font-weight: 500;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 7px 10px;
  border-radius: 3px;
  transition: background 0.15s, color 0.17s;
  font-size: 1.04rem;
  letter-spacing: 0.01em;
}
header nav a:not(.cta):hover, header nav a:not(.cta):focus {
  background: #232927;
  color: #FFFDE7;
}
header nav a.cta {
  margin-left: auto;
}
header nav img {
  height: 38px;
  width: auto;
  margin-right: 24px;
  vertical-align: middle;
}

/* FOOTER */
footer {
  background: #191D1E;
  color: #E0E0E0;
  padding: 32px 0 10px 0;
  font-size: 0.97rem;
  border-top: 1px solid #2E3437;
}
footer .content-wrapper {
  flex-direction: row;
  gap: 30px;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
}
footer nav {
  margin-bottom: 18px;
  gap: 12px;
  font-size: 1.03em;
}
footer nav a {
  color: #90CAF9;
  transition: color 0.14s;
}
footer nav a:hover, footer nav a:focus {
  color: #FFFDE7;
}
footer img {
  height: 34px;
  margin-bottom: 8px;
}
footer > .container > .content-wrapper > div {
  margin-bottom: 16px;
}
footer a img {
  margin-right: 7px;
}

/* TABLES */
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
  background: #232927;
  border-radius: 8px;
  overflow: hidden;
  font-size: 1rem;
}
th, td {
  text-align: left;
  padding: 14px 10px;
  border-bottom: 1px solid #383C3F;
}
th {
  background: #333e41;
  color: #FFFDE7;
  font-family: 'Montserrat', Arial, sans-serif;
}
td {
  color: #E0E0E0;
}
tr:last-child td {
  border-bottom: none;
}

/* FAQ ACCORDION */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.faq-accordion > div {
  background: #232927;
  border-left: 4px solid #33691E;
  padding: 16px 20px;
  border-radius: 6px;
  box-shadow: 0 2px 6px 0 rgba(60,80,80,0.07);
  color: #FFFDE7;
}

/* ICONS in LISTS */
ul li img,
ol li img {
  height: 24px;
  width: 24px;
  margin-right: 12px;
  vertical-align: middle;
}

/* NEWSLETTER/INPUTS (simple since no forms, but for future extensibility) */
input[type="text"], input[type="email"], textarea {
  background: #181B1C;
  border: 1px solid #333e41;
  padding: 12px 16px;
  font-size: 1rem;
  color: #90CAF9;
  border-radius: 6px;
  width: 100%;
  margin-bottom: 18px;
  outline: none;
}
input[type="text"]:focus, input[type="email"]:focus, textarea:focus {
  border-color: #33691E;
  background: #232927;
}

/* SPACING & ALIGNMENT (MANDATORY RULES) */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.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;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
/* Ensure minimum 20px margin/gap between content cards/sections */
.card, .card-container > *, .content-grid > *, .section > *, .testimonial-card {
  margin-bottom: 20px;
}

/* HAMBURGER MOBILE MENU */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #90CAF9;
  font-size: 2.25rem;
  padding: 12px 14px;
  cursor: pointer;
  z-index: 120;
  position: absolute;
  top: 18px;
  right: 24px;
  border-radius: 5px;
  transition: background 0.15s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #232927;
  color: #FFFDE7;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #222728ee;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 32px 24px 24px 24px;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(.68,-0.55,.27,1.55);
  z-index: 2000;
  box-shadow: -6px 0 30px 0 rgba(34,40,38,0.39);
  width: 100vw;
  max-width: 100vw;
  min-height: 100vh;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 18px;
  right: 24px;
  font-size: 2.5rem;
  background: none;
  color: #FFFDE7;
  border: none;
  cursor: pointer;
  padding: 10px 14px;
  z-index: 2050;
  border-radius: 5px;
  transition: background 0.15s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: #90CAF9;
  color: #232927;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-top: 80px;
  width: 100%;
}
.mobile-nav a {
  color: #FFFDE7;
  font-size: 1.45rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  padding: 18px 0 6px 0;
  border-bottom: 1px solid #334;
  transition: color 0.19s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #90CAF9;
}

@media (max-width: 1024px) {
  .container {
    max-width: 980px;
    padding: 0 14px;
  }
  .content-wrapper, .card-container {
    gap: 18px;
  }
}
@media (max-width: 768px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .container {
    padding: 0 8px;
  }
  .content-wrapper, .card-container {
    gap: 14px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .section {
    margin-bottom: 35px;
    padding: 28px 7px;
  }
  .footer .content-wrapper {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}
@media (max-width: 490px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.49rem; }
  .cta, .recipe-card button, .cookie-banner .btn, .cookie-modal .btn {
    font-size: 1rem; padding: 12px 16px;
  }
}

/* COOKIE CONSENT BANNER & MODAL */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #1B2322;
  color: #FFFDE7;
  z-index: 3500;
  box-shadow: 0 -2px 18px 0 rgba(60,60,70,0.18);
  width: 100%;
  padding: 22px 14px;
  display: flex;
  flex-direction: row;
  gap: 22px;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: transform 0.35s cubic-bezier(.17,.67,.83,.67);
}
.cookie-banner.hidden {
  transform: translateY(100%);
}
.cookie-banner .btn {
  margin-left: 18px;
  font-size: 1em;
  padding: 8px 18px;
  border-radius: 4px;
}
.cookie-banner .btn.settings {
  background: #353B3B;
  color: #90CAF9;
  border: 1px solid #90CAF9;
}
.cookie-banner .btn.reject {
  background: #434B4B;
  color: #FFFDE7;
  border: 1px solid #424242;
}
@media (max-width: 650px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 4px;
    font-size: 0.98rem;
  }
  .cookie-banner .btn {
    margin-left: 0;
  }
}

/* Cookie Modal Overlay */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(30,30,40,0.81);
  z-index: 4000;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.25s;
  opacity: 1;
}
.cookie-modal-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #212426;
  color: #FFFDE7;
  border-radius: 18px;
  box-shadow: 0 10px 44px 0 rgba(44,60,60,0.26);
  max-width: 410px;
  width: 98%;
  padding: 36px 26px 30px 26px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 20px;
  position: relative;
}
.cookie-modal h2 {
  color: #90CAF9;
  font-size: 1.35rem;
  margin-bottom: 12px;
  font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  padding: 7px 0;
  border-bottom: 1px solid #2A2E2D;
}
.cookie-modal .cookie-category:last-child {
  border-bottom: none;
}
.cookie-modal .cookie-toggle {
  display: flex;
  align-items: center;
  gap: 12px;
}
/* Custom switches */
.cookie-switch {
  position: relative;
  display: inline-block;
  width: 38px;
  height: 22px;
}
.cookie-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-slider {
  position: absolute;
  cursor: pointer;
  background: #353B3B;
  border-radius: 22px;
  top: 0; left: 0; right: 0; bottom: 0;
  transition: background 0.2s;
}
.cookie-switch input:checked + .cookie-slider {
  background: #90CAF9;
}
.cookie-slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 3px;
  bottom: 3px;
  background-color: #FFFDE7;
  border-radius: 50%;
  transition: transform 0.2s;
}
.cookie-switch input:checked + .cookie-slider:before {
  transform: translateX(16px);
  background: #33691E;
}
.cookie-modal .btn-row {
  display: flex;
  flex-direction: row;
  gap: 14px;
  justify-content: flex-end;
  margin-top: 12px;
}
.cookie-modal .btn {
  padding: 10px 24px;
  font-size: 1em;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 13px;
  right: 15px;
  background: none;
  color: #FFFDE7;
  border: none;
  font-size: 1.98rem;
  cursor: pointer;
  padding: 3px 8px;
  border-radius: 5px;
}
.cookie-modal .close-modal:hover, .cookie-modal .close-modal:focus {
  background: #90CAF9;
  color: #232927;
}
@media (max-width: 600px) {
  .cookie-modal {
    padding: 22px 9px 18px 9px;
    max-width: 94vw;
  }
}

/* TRANSITIONS & MICRO-INTERACTIONS */
.card, .recipe-card, .blog-card, .testimonial-card {
  transition: box-shadow 0.18s, transform 0.17s;
}
.card:hover, .recipe-card:hover, .blog-card:hover, .testimonial-card:hover {
  box-shadow: 0 5px 22px 0 rgba(90,120,110,0.19);
  transform: translateY(-4px) scale(1.012);
}
.cta:active {
  transform: scale(0.98);
}

/* SELECTION AND FOCUS */
::selection {
  background: #90CAF9;
  color: #232927;
}
a:focus {
  outline: 2px solid #33691E;
  outline-offset: 1px;
}
.cta:focus, .cookie-banner .btn:focus, .cookie-modal .btn:focus, .mobile-menu-close:focus, .mobile-menu-toggle:focus {
  box-shadow: 0 0 0 2px #90CAF9;
}

/* SCROLLBAR (Modern Chrome, Edge, Safari) */
body::-webkit-scrollbar {
  width: 12px;
  background: #222728;
}
body::-webkit-scrollbar-thumb {
  background: #353B3B;
  border-radius: 7px;
}
body::-webkit-scrollbar-thumb:hover {
  background: #90CAF9;
}

/* UTILS & DECORATIVE */
.metallic {
  background: linear-gradient(90deg, #adb7be 5%, #606466 50%, #adb7be 95%);
  color: #2B2D2D;
  border-radius: 4px;
  padding: 2px 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

/* INDUSTRIAL SHADOWS/EFFECTS */
.industrial-effect {
  box-shadow: 0 2px 9px 0 #232927,0 0px 2px 1px #90CAF9 inset;
}

/* Hide visually but keep accessible */
.sr-only {
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}
