/* ===== CSS RESET & NORMALIZE (Meyer reset and sensible box sizing) ===== */
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;
  background: #F4F7FA;
  color: #24324B;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  letter-spacing: 0.01em;
}
img {
  border-style: none;
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: #24324B;
  text-decoration: none;
  transition: color 0.24s cubic-bezier(.4,0,.2,1);
}
a:hover, a:focus {
  color: #F6C259;
  outline: none;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #24324B;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 24px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 16px;
}
h4 {
  font-size: 1.1rem;
  margin-bottom: 12px;
}
p {
  font-size: 1rem;
  color: #354968;
  margin-bottom: 16px;
}
ul, ol {
  margin-bottom: 16px;
  padding-left: 24px;
}
ul li, ol li {
  margin-bottom: 10px;
  font-size: 1rem;
}
strong {
  font-weight: 700;
  color: #24324B;
}
.brand-tagline {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.1rem;
  color: #F6C259;
  margin-top: 8px;
  letter-spacing: 0.02em;
}

/* ===== CONTAINER AND LAYOUTS (FLEXBOX ONLY) ===== */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(36,50,75,0.09);
  padding: 32px 24px;
  transition: box-shadow 0.2s cubic-bezier(.4,0,.2,1);
}
.card:hover {
  box-shadow: 0 6px 24px rgba(36,50,75,0.13);
}
.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: 12px;
  background: #fff;
  color: #24324B;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(36,50,75,0.11);
  padding: 24px 28px;
  margin-bottom: 20px;
  transition: box-shadow 0.18s cubic-bezier(.4,0,.2,1);
}
.testimonial-card:hover {
  box-shadow: 0 4px 18px rgba(36,50,75,0.14);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

/* ===== HEADER & NAVIGATION ===== */
header {
  background: #24324B;
  color: #fff;
  padding: 0;
  position: relative;
  z-index: 1000;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
}
header img {
  height: 44px;
  min-width: 100px;
}
.main-nav {
  display: flex;
  gap: 32px;
  align-items: center;
  margin-left: 32px;
}
.main-nav a {
  color: #fff;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  padding: 8px 4px 6px 4px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
  color: #F6C259;
  border-color: #F6C259;
}
.btn-primary {
  background: #F6C259;
  color: #24324B;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  border: none;
  border-radius: 28px;
  padding: 12px 36px;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(36,50,75,0.11);
  margin-left: 28px;
  transition: background 0.19s, color 0.19s, box-shadow 0.22s;
  outline: none;
}
.btn-primary:hover, .btn-primary:focus {
  background: #24324B;
  color: #F6C259;
  box-shadow: 0 4px 12px rgba(246,194,89,0.27);
}
.btn-secondary {
  background: #24324B;
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  border: 2px solid #F6C259;
  border-radius: 28px;
  padding: 12px 34px;
  font-size: 1rem;
  cursor: pointer;
  margin-top: 12px;
  transition: background 0.19s, color 0.17s;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #F6C259;
  color: #24324B;
  border-color: #24324B;
}

/* ===== MOBILE MENU ===== */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  z-index: 1201;
  margin-left: 16px;
  transition: color 0.17s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  color: #F6C259;
  outline: none;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #24324B;
  transform: translateX(-100vw);
  z-index: 1200;
  transition: transform 0.38s cubic-bezier(.7,0,.5,1);
  box-shadow: 2px 0 28px rgba(36,50,75,0.17);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  margin: 18px 0 10px 22px;
  align-self: flex-start;
  cursor: pointer;
  transition: color 0.18s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #F6C259;
  outline: none;
}
.mobile-nav {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  padding: 10px 32px;
  align-items: flex-start;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.17rem;
  padding: 12px 0;
  border-bottom: 1px solid rgba(246,194,89, .13);
  transition: color 0.18s, background 0.15s;
  width: 100%;
  border-radius: 0;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #F6C259;
  background: rgba(246,194,89, 0.07);
}

@media (max-width: 1024px) {
  .container {
    max-width: 100vw;
  }
}
@media (max-width: 900px) {
  .main-nav {
    gap: 20px;
    margin-left: 10px;
  }
  .btn-primary {
    margin-left: 10px;
  }
}
@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    flex-wrap: wrap;
    padding: 12px 12px;
  }
  .footer-menu, .contact-info, .social-links {
    flex: 1 1 100%;
    margin-bottom: 18px;
  }
  .main-nav {
    display: none;
  }
  .btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    position: absolute;
    top: 14px;
    right: 16px;
  }
}

/* ===== HERO & CONTENT SECTIONS ===== */
.hero {
  background: #24324B;
  color: #fff;
  padding: 60px 0 46px 0;
}
.hero .container {
  align-items: center;
  justify-content: center;
}
.hero .content-wrapper {
  align-items: flex-start;
}
.hero h1,
.hero p,
.hero .brand-tagline {
  color: #fff;
}
.features {
  background: #fff;
  border-bottom: 1px solid #e3e6eb;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  list-style: none;
  margin-top: 16px;
}
.feature-grid li {
  background: #F4F7FA;
  border-radius: 14px;
  box-shadow: 0 1px 6px rgba(36,50,75,0.05);
  padding: 30px 24px;
  flex: 1 1 210px;
  min-width: 210px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  transition: box-shadow 0.18s cubic-bezier(.4,0,.2,1);
}
.feature-grid li:hover {
  box-shadow: 0 6px 24px rgba(36,50,75,0.13);
}
.feature-grid img {
  height: 36px;
  width: 36px;
  margin-bottom: 8px;
}

@media (max-width: 840px) {
  .feature-grid {
    gap: 16px;
  }
  .feature-grid li {
    min-width: 160px;
    padding: 22px 11px;
  }
}

.about-preview, .about, .team, .spotlight-tips, .newsletter, .lifehacks-list, .recipes-listing, .tips-grid, .faq, .legal, .confirmation, .cta-spotlight, .cta-community, .inspiration-wall, .testimonial, .tips-snippet {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1px 4px rgba(36,50,75,0.07);
  margin-bottom: 32px;
}

.text-section {
  padding: 0;
  margin-bottom: 20px;
}

.filters {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin: 18px 0 20px 0;
  font-size: 0.97rem;
}
.filters span {
  color: #24324B;
  font-weight: 600;
}
.filters a {
  display: inline-flex;
  padding: 4px 14px;
  border-radius: 16px;
  background: #F4F7FA;
  color: #24324B;
  font-weight: 500;
  border: 1px solid transparent;
  transition: background 0.14s, box-shadow 0.18s;
}
.filters a:hover, .filters a:focus {
  background: #F6C259;
  color: #24324B;
}

@media (max-width: 768px) {
  .hero {
    padding: 36px 0 20px 0;
  }
  .hero .container {
    padding: 0 10px;
  }
  .content-wrapper {
    gap: 16px;
  }
  .feature-grid {
    flex-direction: column;
    gap: 18px;
  }
}

.tips-grid, .tips-list, .inspiration-list, .faq-list, .recipe-grid, .lifehacks-list ul, .spotlight-tips ul, .newsletter ul {
  display: flex;
  flex-direction: column;
  gap: 16px;
  list-style: none;
  padding: 0;
}

.trending-tips {
  background: #F4F7FA;
  border-radius: 10px;
  padding: 15px 20px;
  margin: 20px 0 0 0;
}
.trending-tips h3 {
  margin-bottom: 7px;
  color: #24324B;
}

.highlighted-tip,
.recipe-highlight {
  background: #F4F7FA;
  border-left: 5px solid #F6C259;
  border-radius: 10px;
  padding: 18px 24px;
  margin-bottom: 12px;
}

/* ===== INSPIRACJE - Tag & Quote ===== */
.inspiration-list .tag {
  display: inline-block;
  font-size: 0.93rem;
  background: #e9eaf7;
  color: #24324B;
  border-radius: 12px;
  padding: 4px 14px;
  margin-right: 8px;
  font-weight: 500;
}
.inspiration-quote {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.12rem;
  color: #7d8da6;
  margin: 36px 0 0 0;
  padding: 10px 20px;
  border-left: 3px solid #F6C259;
  font-style: italic;
  background: #F4F7FA;
  border-radius: 10px;
}

/* ===== RECIPE GRID ===== */
.recipe-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  list-style: none;
  margin-bottom: 23px;
}
.recipe-grid li {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 6px rgba(36,50,75,0.08);
  padding: 26px 18px;
  flex: 1 1 260px;
  min-width: 240px;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 0;
  transition: box-shadow 0.19s;
}
.recipe-grid li:hover {
  box-shadow: 0 4px 16px rgba(36,50,75,0.13);
}
@media (max-width: 760px) {
  .recipe-grid {
    gap: 12px;
    flex-direction: column;
  }
  .recipe-grid li {
    min-width: 0;
    max-width: 100%;
    padding: 20px 10px;
  }
}

/* ===== TESTIMONIALS ===== */
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.testimonial-card p {
  color: #24324B;
  font-size: 1.1rem;
  margin-bottom: 8px;
}
.testimonial-card span {
  color: #7d8da6;
  font-size: 0.97rem;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-weight: 500;
}

@media (max-width: 800px) {
  .testimonial-slider {
    gap: 14px;
    flex-direction: column;
  }
}

/* ===== FOOTER ===== */
footer {
  background: #24324B;
  color: #fff;
  padding: 26px 0 0 0;
  margin-top: 60px;
  font-size: 1rem;
}
footer p {
  color: white !important;
}
footer .container {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 36px;
  align-items: flex-start;
  justify-content: space-between;
  padding: 0 20px 0 20px;
}
.footer-menu {
  display: flex;
  flex-direction: row;
  gap: 22px;
  margin-bottom: 10px;
  flex: 1 1 auto;
  align-items: center;
}
.footer-menu a {
  color: #fff;
  font-weight: 500;
  transition: color 0.19s;
  font-size: 1rem;
}
.footer-menu a:hover, .footer-menu a:focus {
  color: #F6C259;
}
.contact-info {
  flex: 1 1 260px;
}
.contact-info .text-section {
  margin-bottom: 5px;
  color: #c9d3e0;
}
.contact-info a {
  color: #F6C259;
  word-break: break-all;
  transition: color 0.14s;
}
.contact-info a:hover, .contact-info a:focus {
  color: #fff;
}
.social-links {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 15px;
}
.social-links a img {
  height: 30px;
  width: 30px;
  filter: grayscale(60%);
  transition: filter 0.15s, transform 0.15s;
}
.social-links a:hover img, .social-links a:focus img {
  filter: grayscale(0%) brightness(1.35);
  transform: scale(1.08);
}
@media (max-width: 950px) {
  footer .container {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }
  .footer-menu {
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 12px;
  }
}

/* ===== COOKIE CONSENT BANNER (fixed bottom, z-indexed) ===== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  width: 100%;
  background: #24324B;
  color: #fff;
  box-shadow: 0 -2px 18px rgba(36,50,75,0.09);
  padding: 22px 20px 17px 20px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 30px;
  z-index: 2000;
  flex-wrap: wrap;
  opacity: 1;
  transition: opacity 0.3s;
  font-size: 1rem;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-banner__text {
  flex: 1 1 200px;
  margin: 0 15px 0 0;
}
.cookie-banner__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}
.cookie-banner__btn {
  border-radius: 22px;
  border: none;
  outline: none;
  padding: 7px 24px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  background: #F6C259;
  color: #24324B;
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(246,194,89,0.11);
  transition: background 0.16s, color 0.18s;
}
.cookie-banner__btn:hover, .cookie-banner__btn:focus {
  background: #fff;
  color: #24324B;
}
.cookie-banner__btn--secondary {
  background: #fff;
  color: #24324B;
  border: 1px solid #e5e7ea;
}
.cookie-banner__btn--secondary:hover, .cookie-banner__btn--secondary:focus {
  background: #F6C259;
  color: #24324B;
}
.cookie-banner__btn--settings {
  background: transparent;
  color: #F6C259;
  border: 1px solid #F6C259;
  transition: background 0.14s;
}
.cookie-banner__btn--settings:hover, .cookie-banner__btn--settings:focus {
  background: #24324B;
  color: #F6C259;
}

@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
    padding: 20px 10px 15px 10px;
    font-size: 0.98rem;
  }
  .cookie-banner__actions {
    justify-content: flex-start;
    gap: 10px;
  }
}

/* ===== COOKIE PREFERENCES MODAL ===== */
.cookie-modal-overlay {
  display: none;
  z-index: 2100;
  position: fixed;
  inset: 0;
  background: rgba(36,50,75,.66);
  align-items: center;
  justify-content: center;
  transition: opacity 0.28s;
}
.cookie-modal-overlay.open {
  display: flex;
}
.cookie-modal {
  background: #fff;
  color: #24324B;
  border-radius: 18px;
  max-width: 388px;
  width: 95vw;
  box-shadow: 0 3px 36px rgba(36,50,75,.16);
  padding: 36px 26px 24px 26px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  animation: popIn 0.3s cubic-bezier(.4,0,.3,1.2);
  position: relative;
}
.cookie-modal h2 {
  font-size: 1.37rem;
  color: #24324B;
  margin-bottom: 14px;
}
.cookie-preference {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 13px 0;
}
.cookie-preference label {
  font-size: 1rem;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  color: #24324B;
  font-weight: 400;
}
.cookie-preference input[type=checkbox] {
  accent-color: #F6C259;
  width: 20px; height: 20px;
  margin-right: 6px;
}
.cookie-preference .cookie-preference__desc {
  color: #7d8da6;
  font-size: 0.93rem;
  margin-top: 2px;
  margin-left: 35px;
}
.cookie-preference--essentials label {
  color: #7d8da6;
  font-weight: 600;
  cursor: default;
}
.cookie-modal-actions {
  display: flex;
  gap: 16px;
  margin-top: 15px;
}
.cookie-modal-close {
  position: absolute;
  top: 12px; right: 16px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #24324B;
  cursor: pointer;
  transition: color 0.18s;
}
.cookie-modal-close:hover {
  color: #F6C259;
}
@keyframes popIn {
  0% { transform: scale(0.85) translateY(40px); opacity: 0; }
  80% { transform: scale(1.03) translateY(-6px); opacity: 1; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}

/* ===== RESPONSIVE FLEX DIRECTIONS ===== */
.text-image-section,
.content-grid {
  flex-direction: row;
}
@media (max-width: 900px) {
  .content-grid {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 20px;
  }
}

/* ===== MISC: FAQ, MODALS, FORM, CTA ===== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  list-style: none;
}
.faq-list li {
  background: #F4F7FA;
  border-radius: 10px;
  padding: 18px 22px;
  box-shadow: 0 1px 4px rgba(36,50,75,0.06);
  margin-bottom: 0;
}
.faq-list strong {
  color: #24324B;
  font-size: 1.08rem;
}

.confirmation {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 1px 6px rgba(36,50,75,0.07);
  text-align: center;
  padding: 80px 0 56px 0;
}
.confirmation .btn-primary {
  margin: 24px auto 0 auto;
}

/* ===== CONTACT PAGE CARD ===== */
.contact ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}
.contact ul li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #24324B;
  font-size: 1rem;
}
.contact ul img {
  height: 20px;
  width: 20px;
}

/* ===== UTILITIES ===== */
.mt-0 { margin-top: 0; }
.mt-16 { margin-top: 16px; }
.mb-0 { margin-bottom: 0; }
.mb-12 { margin-bottom: 12px; }
.mb-20 { margin-bottom: 20px; }
.mb-24 { margin-bottom: 24px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.text-center { text-align: center; }
.max-w-700 { max-width: 700px; }
.overflow-x-auto { overflow-x: auto; }

/* ===== ACCESSIBILITY FOCUSED OUTLINES ===== */
a:focus-visible, button:focus-visible { outline: 2px solid #F6C259; outline-offset: 2px; }

/* ===== END ===== */
