/* CSS RESET & BASE TYPOGRAPHY */
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 {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  background: #F8F7F1;
  color: #222;
  min-height: 100vh;
  line-height: 1.5;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
  border: 0;
}
a {
  color: #4B3D26;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus {
  outline: 2px solid #DDA63A;
  outline-offset: 3px;
}
strong, b {
  font-weight: 700;
}
ul, ol {
  padding-left: 1.2em;
}

/* BRAND FONTS */
@import url('https://fonts.googleapis.com/css?family=Merriweather:700,900&display=swap');
h1, h2, h3, h4, h5, h6 {
  font-family: 'Merriweather', serif;
  font-weight: 900;
  color: #4B3D26;
  letter-spacing: -0.5px;
}
h1 {
  font-size: 2.75rem;
  margin-bottom: 16px;
  line-height: 1.1;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}
h4, h5, h6 {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
}
p, ul, ol, li, span {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
}

/* CONTAINERS AND BASE LAYOUT */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
main {
  width: 100%;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 16px rgba(77, 59, 25, 0.05);
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* CARDS & FLEX LAYOUTS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}
.card {
  background: #F8F7F1;
  border-radius: 18px;
  box-shadow: 0 2px 10px rgba(221,166,58,0.10);
  transition: box-shadow 0.18s;
  margin-bottom: 20px;
  position: relative;
  padding: 28px 20px;
  flex: 1 1 300px;
  min-width: 250px;
  max-width: 410px;
}
.card:hover {
  box-shadow: 0 8px 20px rgba(221,166,58,0.22);
}
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 20px 0;
  flex: 1 1 200px;
  min-width: 180px;
}
.features-grid {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: flex-start;
}

/* TESTIMONIALS */
.testimonials-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.testimonial-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 20px rgba(221,166,58,0.09);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 26px;
  flex: 1 1 300px;
  min-width: 240px;
  max-width: 390px;
  margin-bottom: 20px;
  border-left: 8px solid #DDA63A;
  position: relative;
}
.testimonial-card p {
  font-size: 1.1rem;
  color: #222;
  font-weight: 500;
}
.testimonial-card span {
  color: #4B3D26;
  font-size: 1rem;
}

/* BUTTONS */
.cta-btn,
button,
.mobile-menu-toggle,
.mobile-menu-close,
.cookie-btn {
  font-family: 'Merriweather', serif;
  font-weight: 900;
  font-size: 1.15rem;
  letter-spacing: 0.5px;
  background: #DDA63A;
  color: #fff;
  border: none;
  border-radius: 100px;
  padding: 14px 36px;
  margin-top: 12px;
  box-shadow: 0 2px 6px rgba(221,166,58,0.10);
  transition: background 0.22s, color 0.18s, box-shadow 0.19s, transform 0.18s;
  cursor: pointer;
  outline: none;
  display: inline-block;
}
.cta-btn:hover, 
button:hover, 
.mobile-menu-toggle:hover, 
.mobile-menu-close:hover,
.cookie-btn:hover {
  background: #4B3D26;
  color: #fffbe3;
  box-shadow: 0 4px 16px rgba(77,61,38,0.22);
  transform: translateY(-2px) scale(1.04);
}
.cta-btn:focus {
  outline: 3px solid #DDA63A;
}

/* HEADER & NAVIGATION */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 16px 0 rgba(77,61,38,0.05);
  padding: 0 0 0 0;
  position: relative;
  z-index: 30;
}
header .container {
  padding: 0 24px;
}
header .content-wrapper {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 0;
}
header nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 28px;
}
header nav a {
  font-family: 'Roboto', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #4B3D26;
  letter-spacing: 0.5px;
  padding: 6px 10px;
  border-radius: 6px;
  position: relative;
  transition: color 0.16s, background 0.2s;
}
header nav a:hover, header nav a:focus {
  background: #DDA63A;
  color: #fff;
}
.cta-btn {
  margin-left: 20px;
}

/* FOOTER */
footer {
  background: #4B3D26;
  color: #fff;
  padding: 38px 0 0 0;
}
footer .container {
  padding-left: 0;
  padding-right: 0;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  padding: 0 24px 24px 24px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
footer nav a {
  color: #fffbe3;
  font-size: 0.97rem;
  padding: 0 8px;
  font-family: 'Roboto', sans-serif;
}
footer nav a:hover {
  color: #DDA63A;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: #fff;
  font-size: 0.98rem;
}
.footer-contact img {
  width: 20px;
  margin-right: 8px;
  vertical-align: middle;
}

/* FORMS (future proof) */
input, textarea, select {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  border-radius: 10px;
  border: 1.5px solid #DDA63A;
  padding: 12px 14px;
  margin-bottom: 16px;
  width: 100%;
  transition: border 0.17s;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: #4B3D26;
  background: #fffbe3;
}

/* HAMBURGER MENU (MOBILE) */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 24px;
  right: 28px;
  z-index: 200;
  background: #DDA63A;
  color: #fff;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  font-size: 2rem;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(77,61,38,0.13);
  border: none;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #4B3D26;
  transform: translateX(-100%);
  transition: transform 0.33s cubic-bezier(0.85,0,0.16,1);
  z-index: 9999;
  padding-top: 54px;
}
.mobile-menu.open {
  transform: translateX(0);
  box-shadow: 2px 0 24px rgba(77,61,38,0.40);
}
.mobile-menu-close {
  position: absolute;
  top: 18px;
  right: 32px;
  border-radius: 50%;
  background: #DDA63A;
  color: #fff;
  width: 48px;
  height: 48px;
  font-size: 2rem;
  border: none;
  z-index: 10002;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.19s, transform 0.13s;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: center;
  justify-content: flex-start;
  height: 100%;
  margin-top: 40px;
}
.mobile-nav a {
  color: #fffbe3;
  font-family: 'Merriweather', serif;
  font-size: 1.7rem;
  font-weight: 900;
  padding: 16px 0;
  width: 100%;
  text-align: center;
  border-radius: 10px;
  transition: color 0.15s, background 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #DDA63A;
  color: #4B3D26;
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 2999;
  background: #fffbe3;
  color: #4B3D26;
  box-shadow: 0 -2px 12px rgba(77,61,38,0.13);
  padding: 20px 32px 18px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 26px;
  font-size: 1.07rem;
  opacity: 1;
  transition: opacity 0.35s;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-banner .cookie-banner-message {
  flex: 2 1 60%;
  font-family: 'Roboto', sans-serif;
  color: #4B3D26;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
}
.cookie-btn {
  font-size: 1rem;
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  border-radius: 7px;
  padding: 10px 18px;
  background: #DDA63A;
  color: #fff;
  border: none;
  margin: 0;
  transition: background 0.17s;
}
.cookie-btn.secondary {
  background: #fff;
  color: #4B3D26;
  border: 1.5px solid #DDA63A;
}
.cookie-btn.secondary:hover {
  background: #DDA63A;
  color: #fff;
}
.cookie-btn:focus {
  outline: 2px solid #4B3D26;
}

/* COOKIE PREFERENCES MODAL */
.cookie-modal-backdrop {
  position: fixed;
  z-index: 3001;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(77,61,38,0.50);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.22s;
}
.cookie-modal {
  background: #fffbe3;
  border-radius: 22px;
  box-shadow: 0 8px 44px rgba(77,61,38,0.18);
  padding: 40px 32px 28px 32px;
  max-width: 440px;
  width: 94vw;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.cookie-modal h2 {
  font-size: 1.4rem;
  margin-bottom: 0px;
  color: #4B3D26;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 17px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 9px;
}
.cookie-category input[type=checkbox] {
  accent-color: #DDA63A;
  width: 22px;
  height: 22px;
}
.cookie-category label {
  font-family: 'Roboto', sans-serif;
  font-size: 1rem;
  color: #4B3D26;
  font-weight: 700;
}
.cookie-category .cookie-essential {
  color: #aaa;
  font-size: 0.96rem;
  font-weight: 600;
  margin-left: 4px;
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 10px;
}

/* LISTS */
ul, ol {
  margin-top: 0px;
  margin-bottom: 12px;
  color: #4B3D26;
  line-height: 1.6;
}
li {
  margin-bottom: 8px;
  font-size: 1rem;
}

/* ICONS */
section img[alt^='Unikalność'],
section img[alt^='Naturalność'],
section img[alt^='Pasja'],
.footer-contact img, ul li img {
  width: 30px;
  margin-right: 8px;
  vertical-align: middle;
}
ul li img {
  margin-right: 10px;
}

/* VISUAL EFFECTS */
section, .card, .testimonial-card, .cookie-modal {
  box-shadow: 0 4px 18px rgba(221,166,58, 0.08);
  transition: box-shadow 0.14s;
}
section:hover, .card:hover, .testimonial-card:hover {
  box-shadow: 0 8px 34px rgba(221,166,58,0.17);
}

/* VISUAL GEOMETRIC ELEMENTS (DECOR) */
section {
  position: relative;
  overflow: visible;
}
section::before {
  content: '';
  display: block;
  position: absolute;
  z-index: 1;
  left: 18px;
  top: -18px;
  width: 52px;
  height: 52px;
  border-radius: 22px 3px 32px 10px;
  background: #DDA63A;
  opacity: 0.06;
  pointer-events: none;
}
@media (max-width: 768px) {
  section::before { display: none; }
}

/* RESPONSIVE DESIGN */
@media (max-width: 1300px) {
  .container {
    max-width: 1000px;
    padding-left: 9px;
    padding-right: 9px;
  }
}
@media (max-width: 992px) {
  .content-wrapper, .footer .content-wrapper {
    gap: 14px;
  }
  .features-grid {
    gap: 20px;
  }
  .testimonial-card {
    min-width: 180px;
  }
}
@media (max-width: 860px) {
  .container {
    padding-left: 6px;
    padding-right: 6px;
  }
  .footer .content-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
  }
  .card, .testimonial-card {
    min-width: 90vw;
    max-width: 100vw;
  }
}
@media (max-width: 768px) {
  html { font-size: 15px; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.32rem; }
  /* Navigation */
  header nav, .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  section, .section {
    padding: 28px 6px;
    margin-bottom: 34px;
  }
  .features-grid, .testimonials-list, .content-grid {
    flex-direction: column;
    gap: 14px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
  }
  .footer .content-wrapper, footer .content-wrapper {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
    padding: 0 10px 18px 10px;
  }
  .footer-contact {
    gap: 6px;
  }
  .testimonial-card {
    padding: 14px 7vw;
    min-width: unset;
    max-width: 96vw;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    font-size: 1rem;
    padding: 13px 7px 12px 7px;
  }
  .cookie-modal {
    padding: 17px 8px 18px 8px;
    gap: 11px;
  }
}
@media (max-width: 600px) {
  html { font-size: 14px; }
  h1 { font-size: 1.25rem; }
}

/* VISUAL HIERARCHY AND HIGHLIGHTS */
section h2, section h1 {
  border-left: 5px solid #DDA63A;
  padding-left: 13px;
}
section h2:not(:first-child) {
  margin-top: 22px;
}

/* ADDITIONAL STYLES */
::-webkit-scrollbar {
  width: 11px;
}
::-webkit-scrollbar-thumb {
  background: #DDA63A44;
  border-radius: 13px;
}
::-webkit-scrollbar-track {
  background: #fff;
}

/* Z-INDEXS */
header { z-index: 200; }
footer { z-index: 90; }
.mobile-menu, .mobile-menu-toggle, .mobile-menu-close { z-index: 2000; }
.cookie-banner, .cookie-modal-backdrop { z-index: 2999; }

/* MICRO-INTERACTIONS */
.cta-btn, .cookie-btn, .mobile-menu-toggle, .mobile-menu-close {
  transition: box-shadow 0.17s, background 0.17s, color 0.13s, transform 0.15s;
}
.cta-btn:active, .cookie-btn:active, .mobile-menu-toggle:active, .mobile-menu-close:active {
  transform: scale(0.97);
}

/* COLOR CONTRAST (testimonials, reviews) */
.testimonial-card, .testimonial-card p, .testimonial-card span {
  color: #222 !important;
  background: #fff !important;
}
.testimonial-card strong {
  color: #4B3D26;
}

/* NO GRID ENFORCEMENT (for safety, in case devs copy/paste additional CSS later) */
[class*='grid'], [class*='column'], [class*='col-'], [class*='cols-'] {
  display: flex !important;
  flex-wrap: wrap !important;
}

/* SPACING AND WHITE SPACE ENFORCEMENT */
.card, .testimonial-card {
  margin-bottom: 20px !important;
}
section, .section {
  margin-bottom: 60px !important;
  padding: 40px 20px !important;
}
.card-container, .testimonials-list, .features-grid, .content-grid {
  gap: 20px !important;
}

/* Utility classes for margin/gap */
.mt-2 { margin-top: 16px; }
.mb-2 { margin-bottom: 16px; }
.mt-4 { margin-top: 32px; }
.mb-4 { margin-bottom: 32px; }

/* REMOVE list style, then re-use bullets geometrically on certain lists (optional) */
ul {
  list-style: disc inside;
}
ul.features-list {
  list-style-type: none;
}

/* HIDE content overflow on containers (for mobile menu and modals safety) */
body.menu-open {
  overflow: hidden;
}
