/* ----------- 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;
  font-size: 16px;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  line-height: 1.5;
  background: #21272A; /* slightly warmer black for industrial feel */
  color: #F0F0F0;
  font-family: 'Open Sans', Arial, sans-serif;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #FFB954;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover,
a:focus {
  color: #fff;
  text-decoration: underline;
}
ul, ol {
  list-style: none;
  padding: 0;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #fffd;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.25rem;
  margin-bottom: 24px;
  line-height: 1.1;
}
h2 {
  font-size: 1.5rem;
  margin-bottom: 18px;
  line-height: 1.2;
}
h3 {
  font-size: 1.125rem;
  margin-bottom: 10px;
  line-height: 1.25;
}
p, li, label {
  font-size: 1rem;
  color: #e0e3e6;
  margin-bottom: 10px;
}
strong {
  color: #FFB954;
}

/* ----------- BRAND COLORS & CUSTOM PROPERTIES ----------- */
:root {
  --dark-bg: #21272A;
  --primary: #264653;
  --primary-light: #33576B;
  --secondary: #778761;
  --secondary-dark: #57614e;
  --accent: #FFB954;
  --text-main: #F0F0F0;
  --text-light: #D5D8D9;
  --card-bg: #22292c;
  --card-shadow: 0 2px 16px 0 #1a1a1f88;
  --border-metal: 1px solid #3e484f;
  --shadow-metal: 0 4px 16px 0 #15181a80;
}

/* ----------- REUSABLE LAYOUTS & SPACING (FLEXBOX ONLY!) ----------- */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
  position: relative;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--card-bg);
  border-radius: 10px;
  box-shadow: var(--card-shadow);
  border: var(--border-metal);
  transition: box-shadow 0.16s, border-color 0.16s;
}
.card:hover {
  box-shadow: 0 8px 32px 0 #0a0a0c99;
  border-color: var(--accent);
}
.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;
  background: #f4f4f6;
  border-radius: 10px;
  box-shadow: 0 2px 10px #1c1d2033;
  color: #23272a;
  font-size: 1.1rem;
  margin-bottom: 20px;
  border-left: 6px solid var(--secondary);
  transition: box-shadow 0.2s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 24px #22242844;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 24px;
}

/* ----------- HERO ----------- */
.hero {
  background: linear-gradient(92deg, #232a2f 65%, #2c343a 100%);
  border-bottom: var(--border-metal);
  padding-top: 60px;
  padding-bottom: 60px;
  box-shadow: var(--shadow-metal);
}
.hero .cta-button {
  margin-top: 20px;
}

/* ----------- PRIMARY NAVIGATION ----------- */
header {
  background: #232a2e;
  box-shadow: 0 4px 12px 0 #0b0c0e2a;
  position: relative;
  z-index: 20;
}
header > .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 16px;
  position: relative;
}
.main-nav {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.05rem;
  color: var(--text-main);
  padding: 4px 0 4px;
  border-bottom: 2px solid transparent;
  position: relative;
  letter-spacing: 0.021em;
  transition: color 0.18s, border 0.18s;
}
.main-nav a:hover,
.main-nav a:focus {
  color: var(--accent);
  border-bottom: 2px solid var(--accent);
}

/* CTA BUTTON */
.cta-button {
  font-family: 'Montserrat', Arial, sans-serif;
  background: var(--accent);
  color: var(--primary);
  border: none;
  border-radius: 6px;
  padding: 12px 28px;
  font-size: 1.1rem;
  font-weight: 600;
  box-shadow: 0 2px 10px #2d222033;
  cursor: pointer;
  transition: box-shadow 0.18s, background 0.18s, color 0.18s;
}
.cta-button:hover,
.cta-button:focus {
  background: #ffd87a;
  color: #1e201f;
  box-shadow: 0 8px 32px #322a1744;
}

/* ----------- RESPONSIVE MOBILE NAVIGATION ----------- */
.mobile-menu-toggle {
  display: none;
  background: var(--card-bg);
  border: none;
  color: var(--accent);
  font-size: 2rem;
  padding: 8px 18px;
  border-radius: 7px;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
  z-index: 201;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: #2e363b;
  color: #ffcb59;
}
.mobile-menu {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: #23262cde;
  transform: translateX(-100vw);
  transition: transform 0.33s cubic-bezier(0.77,0,0.18,1);
  z-index: 200;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding-top: 60px;
  padding-left: 10vw;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 16px;
  right: 22px;
  background: none;
  border: none;
  color: var(--accent);
  font-size: 2.2rem;
  cursor: pointer;
  z-index: 202;
  transition: color 0.18s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: 100%;
  margin-top: 36px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.32rem;
  font-weight: 600;
  padding: 14px 0 8px 0;
  border-bottom: 2px solid transparent;
  border-radius: 2px;
  transition: color 0.17s, border 0.17s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: var(--accent);
  border-bottom: 2px solid var(--accent);
}

@media (max-width: 1100px) {
  .container {
    max-width: 100%;
  }
}
@media (max-width: 900px) {
  .main-nav {
    gap: 16px;
  }
}
@media (max-width: 768px) {
  .main-nav,
  .cta-button {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    position: absolute;
    right: 20px;
    top: 14px;
  }
  header > .container {
    min-height: 54px;
  }
  .hero {
    padding-top: 42px;
    padding-bottom: 36px;
  }
  .section {
    padding: 28px 8px;
  }
  .content-wrapper {
    gap: 18px;
  }
}

/* ----------- FLEXBOX CARDS, GRIDS AND ITEM SPACING ----------- */
.features-grid, .tips-grid, .recipe-teasers, .categories-list, .faq-list {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-bottom: 24px;
}
.features-grid > div, .tips-grid > div, .recipe-teasers > li {
  flex: 1 1 240px;
  min-width: 225px;
  background: var(--card-bg);
  border-radius: 10px;
  border: var(--border-metal);
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 26px 24px 16px 24px;
  gap: 12px;
  transition: box-shadow 0.19s, border-color 0.15s;
}
.features-grid > div img,
.tips-grid > div img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  filter: grayscale(0.2) brightness(0.97) drop-shadow(0 1px 1px #0002);
  margin-bottom: 8px;
}
.features-grid > div:hover,
.tips-grid > div:hover,
.recipe-teasers > li:hover {
  border-color: var(--accent);
  box-shadow: 0 8px 26px 0 #251a0c22;
}
@media (max-width: 900px) {
  .features-grid, .tips-grid, .recipe-teasers {
    gap: 16px;
  }
  .features-grid > div,
  .tips-grid > div,
  .recipe-teasers > li {
    padding: 18px 14px 14px 16px;
  }
}
@media (max-width: 700px) {
  .features-grid, .tips-grid, .recipe-teasers {
    flex-direction: column;
  }
}
@media (max-width: 600px) {
  .features-grid > div, .tips-grid > div, .recipe-teasers > li {
    min-width: 0;
    width: 100%;
  }
}

/* ----------- UTILITY & GENERIC SECTIONS ----------- */
ul {
  margin-bottom: 16px;
  padding-left: 0;
  color: #e7e5dc;
  font-size: 1rem;
  letter-spacing: 0.01em;
}
ul li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 11px;
}
ul li:before {
  content: '';
  display: inline-block;
  position: absolute;
  left: 0;
  top: 10px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--secondary);
  opacity: 0.8;
}

.categories-list li {
  background: var(--secondary-dark);
  color: #fff;
  border-radius: 5px;
  padding: 7px 16px;
  margin-bottom: 0;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  margin-right: 12px;
}
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 16px;
  font-size: 1rem;
  color: var(--accent);
}
.search-bar {
  margin-bottom: 24px;
  display: flex;
  flex-direction: row;
  gap: 10px;
  align-items: center;
}
.search-bar input[type='text'] {
  padding: 10px 16px;
  border: 1px solid var(--border-metal);
  border-radius: 5px;
  font-size: 1.08rem;
  background: #191e22;
  color: #fff;
  width: 220px;
  outline: none;
  transition: border-color 0.18s, box-shadow 0.18s;
}
.search-bar input[type='text']:focus {
  border-color: var(--accent);
  box-shadow: 0 0 7px 1px #FFB95433;
}

.faq-list {
  flex-direction: column;
  gap: 18px;
}
.faq-list dt {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  color: var(--accent);
  font-size: 1.07rem;
  margin-bottom: 4px;
}
.faq-list dd {
  font-size: 1rem;
  color: #D4D8D5;
  margin-bottom: 11px;
  margin-left: 0;
}

/* ---- Newsletter ---- */
.newsletter {
  background: #1a2023;
  border-radius: 13px;
  box-shadow: var(--shadow-metal);
  margin-bottom: 60px;
}
.newsletter-signup {
  display: flex;
  flex-direction: row;
  gap: 14px;
  align-items: center;
  margin: 16px 0;
}
.newsletter-signup input[type='email'] {
  padding: 12px 20px;
  border-radius: 8px;
  border: 1px solid var(--secondary);
  background: #192024;
  color: #fff;
  font-size: 1.05rem;
  transition: border-color 0.19s, box-shadow 0.17s;
  outline: none;
  min-width: 0;
}
.newsletter-signup input[type='email']:focus {
  border-color: var(--accent);
  box-shadow: 0 0 7px 2px #FFB95466;
}
.newsletter-signup button[type='submit'] {
  background: var(--secondary);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-family: 'Montserrat', Arial,sans-serif;
  font-weight: 500;
  padding: 12px 22px;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.17s, color 0.17s;
}
.newsletter-signup button[type='submit']:hover,
.newsletter-signup button[type='submit']:focus {
  background: var(--accent);
  color: #222;
}

.recipe-teaser-links {
  font-size: 1rem;
  margin-top: 10px;
  color: var(--accent);
}
.recipe-teaser-links a {
  text-decoration: underline;
  color: var(--accent);
}

/* ----------- TESTIMONIALS ----------- */
.testimonials {
  padding-top: 16px;
  padding-bottom: 0;
  background: #262b31;
  border-radius: 0 0 14px 14px;
  box-shadow: 0 6px 22px 0 #18181b1a;
}
.testimonials h2 {
  color: var(--accent);
}
.testimonial-card p {
  font-family: 'Open Sans', Arial, sans-serif;
  font-style: italic;
  color: #23272a;
  font-size: 1.1rem;
  margin-bottom: 0;
}
.testimonial-card cite {
  color: var(--secondary-dark);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  margin-top: 2px;
}

/* ----------- FOOTER ----------- */
footer {
  background: #21272A;
  border-top: 2px solid #2e353a;
  color: #e0e3e6;
  margin-top: 60px;
  padding: 0;
}
footer > .container {
  flex-direction: row;
  gap: 38px;
  align-items: flex-start;
  justify-content: space-between;
  padding: 38px 20px 24px 20px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 155px;
}
.footer-nav a {
  color: var(--accent);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding-left: 2px;
  border-left: 4px solid transparent;
  transition: border-color 0.19s, color 0.14s;
}
.footer-nav a:hover,
.footer-nav a:focus {
  color: var(--secondary);
  border-left: 4px solid var(--secondary);
}
.footer-contact p {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #e0e3e6;
  font-size: 0.97rem;
  margin-bottom: 7px;
}
.footer-contact img {
  width: 17px;
  height: 17px;
  filter: grayscale(0.3) brightness(1.1);
}
.footer-brand {
  max-width: 260px;
  margin-top: 0;
  text-align: left;
}
.footer-brand img {
  width: 45px;
  height: 45px;
  margin-bottom: 7px;
  filter: grayscale(30%);
}
.footer-brand p {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #b8bfbd;
  font-size: 0.98rem;
}
@media (max-width: 900px) {
  footer > .container {
    flex-direction: column;
    gap: 14px;
    padding: 32px 12px 14px 12px;
  }
  .footer-contact p {
    font-size: 0.93rem;
  }
}
@media (max-width: 550px) {
  footer > .container {
    padding: 20px 6px 9px 8px;
  }
}

/* ----------- COOKIE CONSENT BANNER ----------- */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #232a2fef;
  color: #fff;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1.03rem;
  padding: 18px 26px 16px 26px;
  box-shadow: 0 -6px 30px #19181ac6;
  z-index: 2999;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  transition: transform 0.33s cubic-bezier(0.6,0,0.2,1);
  transform: translateY(0);
}
.cookie-banner.hide {
  transform: translateY(120%);
}
.cookie-banner-buttons {
  display: flex;
  flex-direction: row;
  gap: 12px;
  margin-top: 8px;
}
.cookie-btn,
.cookie-settings-btn {
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.07rem;
  border-radius: 7px;
  padding: 10px 20px;
  font-weight: 600;
  cursor: pointer;
  margin-right: 6px;
  transition: background 0.18s, color 0.18s, box-shadow 0.19s;
  box-shadow: 0 2px 6px #0003;
}
.cookie-btn.accept {
  background: var(--accent);
  color: #25424e;
}
.cookie-btn.accept:hover {
  background: #ffd87a;
}
.cookie-btn.reject {
  background: #23313b;
  color: #fff;
  border: 1px solid #363e41;
}
.cookie-btn.reject:hover {
  background: #182024;
  border-color: var(--accent);
}
.cookie-settings-btn {
  background: var(--secondary);
  color: #fff;
}
.cookie-settings-btn:hover {
  background: var(--secondary-dark);
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  position: fixed;
  z-index: 3000;
  left: 0; top: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: #161c238f;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.24s, backdrop-filter 0.2s;
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal-overlay.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #22292c;
  color: #fff;
  padding: 36px 32px 22px 32px;
  border-radius: 13px;
  max-width: 90vw;
  min-width: 280px;
  max-width: 410px;
  box-shadow: 0 8px 40px #20181a94;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  position: relative;
}
.cookie-modal-close {
  position: absolute;
  right: 19px;
  top: 15px;
  background: none;
  border: none;
  color: var(--accent);
  font-size: 1.7rem;
  cursor: pointer;
}
.cookie-modal h3 {
  margin-bottom: 7px;
  color: var(--accent);
  font-size: 1.17rem;
  font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 9px;
}
.cookie-modal label {
  font-size: 1.02rem;
  font-weight: 500;
  cursor: pointer;
}
.cookie-modal input[type='checkbox'] {
  accent-color: var(--accent);
  width: 19px; height: 19px;
  margin-right: 2px;
  vertical-align: middle;
  border-radius: 4px;
  border: 1.5px solid #434c5d;
}
.cookie-modal .essential {
  color: #96d9d7;
  font-weight: 700;
}
.cookie-modal .description {
  font-size: 0.95rem;
  color: #b1b7b2;
  margin-bottom: 7px;
  margin-top: -3px;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 13px;
  margin-top: 12px;
  width: 100%;
}
.cookie-modal .cookie-btn {
  width: 100%;
  font-size: 1.07rem;
}

@media (max-width: 700px) {
  .cookie-modal {
    max-width: 94vw;
    padding: 22px 6vw 19px 6vw;
  }
}

/* ----------- RESPONSIVE ALIGNMENT (MOBILE FIRST) ----------- */
@media (max-width: 768px) {
  .content-grid,
  .text-image-section,
  .feature-item {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 20px;
  }
  .newsletter-signup {
    flex-direction: column;
    align-items: stretch;
    gap: 9px;
  }
}

/* ----------- ANIMATIONS & MICRO-INTERACTIONS ----------- */
.card,
.features-grid > div,
.tips-grid > div,
.recipe-teasers > li,
.testimonial-card {
  transition: box-shadow 0.18s, border-color 0.18s, transform 0.18s;
}
.card:hover,
.features-grid > div:hover,
.tips-grid > div:hover,
.recipe-teasers > li:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 12px 22px #1d170b33;
}
.testimonial-card:hover {
  transform: translateX(6px) scale(1.02);
}

.cta-button,
.newsletter-signup button[type='submit'],
.cookie-btn,
.cookie-settings-btn {
  transition: background 0.17s, color 0.18s, box-shadow 0.17s, transform 0.16s;
}
.cta-button:active,
.newsletter-signup button[type='submit']:active,
.cookie-btn:active {
  transform: scale(0.96);
}

/* ----------- SCROLLBAR ----------- */
::-webkit-scrollbar {
  width: 9px;
  background: #23262c;
}
::-webkit-scrollbar-thumb {
  background: #41484a;
  border-radius: 6px;
}

/* ----------- TYPOGRAPHY SCALE ----------- */
@media (max-width: 600px) {
  h1 { font-size: 1.45rem; }
  h2 { font-size: 1.2rem; }
  h3 { font-size: 1.06rem; }
  body { font-size: 15px; }
}

/* ----------- ACCESSIBILITY ----------- */
a:focus, .cta-button:focus, .mobile-menu-close:focus, .mobile-menu-toggle:focus {
  outline: 2px solid #FFB954;
  outline-offset: 2px;
}

/* ----------- RECIPE TEASER SPECIFIC ----------- */
.recipe-teasers {
  margin-bottom: 16px;
  gap: 22px;
}
.recipe-teasers > li {
  background: var(--card-bg);
  border: var(--border-metal);
  border-radius: 8px;
  box-shadow: 0 2px 12px #16161d23;
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.recipe-teasers h3 {
  color: var(--accent);
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 3px;
}

/* ----------- SPECIAL HANDLING FOR FORMS ----------- */
input[type='email'],
input[type='text'] {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1.03rem;
  border: 1px solid #333b45;
  border-radius: 6px;
  background: #191e22;
  color: #fff;
  padding: 9px 16px;
  transition: border-color 0.17s, box-shadow 0.18s;
}
input[type='email']:focus, input[type='text']:focus {
  border-color: var(--accent);
  box-shadow: 0 0 6px 1px #FFB95455;
}

/* ----------- RESPONSIVE PADDING/MARGIN ----------- */
@media (max-width: 480px) {
  .section { padding: 18px 2px; }
  .container { padding: 0 3px; }
}

/* ----------- Z-INDEX LAYERING SAFETY ----------- */
header { z-index: 20; }
.mobile-menu { z-index: 200; }
.mobile-menu-close { z-index: 202; }
.cookie-banner { z-index: 2999; }
.cookie-modal-overlay { z-index: 3000; }

/* ----------- PRINT OPTIMIZATION ----------- */
@media print {
  header, footer, .cookie-banner, .mobile-menu, .newsletter, .cta-button, .recipe-teaser-links, .main-nav, .mobile-menu-toggle {
    display: none !important;
  }
}

/* ----------- END OF CSS ----------- */
