/*
  Voltice Crest Kuchnia Polska — gradient_modern CSS style
  Author: Professional Web/UI Developer
  Brand: Warm, modern classic Polish, gradient, clean, elegant
  FLEXBOX ONLY! No grid/columns, no absolute content positioning
*/

/* 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, 
main, 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;
}
/* Remove default list style */
ul, ol {list-style: none; margin: 0; padding: 0;}
img {max-width: 100%; display: block; border: none;}
a {color: inherit; text-decoration: none;}
button {font: inherit; background: none; border: none; cursor: pointer;}
input, textarea, select, button {font: inherit;}

body {
  font-family: 'Lato', Arial, sans-serif;
  font-size: 16px;
  color: #2D2D2D;
  background: linear-gradient(135deg, #FFD700 0%, #fff8e7 100%);
  min-height: 100vh;
}

/* ============ TYPOGRAPHY ============= */
h1, h2, h3, h4 {
  font-family: 'Merriweather', Georgia, serif;
  font-weight: 700;
  color: #374151;
  letter-spacing: -1px;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
  line-height: 1.2;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  line-height: 1.28;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 16px;
  line-height: 1.25;
}
h4 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}
p, ul li, ol li {
  font-family: 'Lato', Arial, sans-serif;
  color: #333;
  font-size: 1rem;
  margin-bottom: 14px;
  line-height: 1.7;
}
blockquote {
  font-family: 'Merriweather', Georgia, serif;
  background: #fff8e7;
  color: #374151;
  border-left: 4px solid #FFD700;
  padding: 16px 20px;
  margin: 0 0 12px 0;
  font-size: 1.05rem;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(55,65,81, 0.04);
}
blockquote span {
  display: block;
  color: #a21c1c;
  font-size: 0.97em;
  font-family: 'Lato', Arial, sans-serif;
  font-weight: 600;
  margin-top: 8px;
}

/* =========== LAYOUT =============== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  padding: 0 16px;
}
.content-wrapper {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 6px 32px rgba(164,28,28, 0.06);
  padding: 40px 24px;
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.text-section {
  margin-bottom: 20px;
}
.text-section ul,
.text-section ol {
  padding-left: 22px;
  margin-bottom: 16px;
}
.text-section ul li::marker,
.text-section ol li::marker {
  color: #a21c1c;
  font-size: 1.2em;
}
.text-section ul li {
  position: relative;
  margin-bottom: 8px;
  font-size: 1rem;
}
.text-section ul li:before {
  content: '\2022';
  color: #FFD700;
  font-weight: bold;
  display: inline-block;
  width: 18px;
  margin-left: -22px;
}
.text-section ul {
  margin-top: 8px;
}

/* ============= HEADER/NAVIGATION ============= */
header {
  background: linear-gradient(90deg, #FFD700 20%, #fff8e7 90%);
  box-shadow: 0 2px 16px rgba(55,65,81,0.04);
  position: sticky;
  top: 0;
  z-index: 1010;
}
header nav {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
}
header nav a {
  font-family: 'Lato', Arial, sans-serif;
  color: #374151;
  font-size: 1.04rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 24px;
  transition: background 0.2s, color 0.2s;
}
header nav a:hover,
header nav a:focus {
  background: #ffd700;
  color: #a21c1c;
}
header nav a img {
  height: 38px;
  width: auto;
  vertical-align: middle;
  margin-right: 12px;
  border-radius: 14px;
  box-shadow: 0 4px 16px 0 rgba(55,65,81,0.10);
  background: #fff;
  padding: 2px;
}

/* ============= MOBILE NAVIGATION ============= */
.mobile-menu-toggle {
  display: none;
  background: #a21c1c;
  color: #fff;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  font-size: 2rem;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
  margin-left: auto;
  z-index: 1021;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #FFD700;
  color: #a21c1c;
  outline: none;
}
.mobile-menu {
  position: fixed;
  left: 0; right: 0;
  top: 0; bottom: 0;
  background: #fff8e7;
  z-index: 1020;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(.77,0,.18,1);
  display: flex;
  flex-direction: column;
  padding: 24px;
  box-shadow: 2px 0 24px rgba(164,28,28, 0.09);
}
.mobile-menu.open {
  transform: translateX(0%);
}
.mobile-menu-close {
  background: #a21c1c;
  color: #fff;
  border-radius: 50%;
  width: 38px; height: 38px;
  font-size: 1.4rem;
  margin-left: auto;
  margin-bottom: 18px;
  transition: background 0.2s, color 0.2s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: #FFD700;
  color: #a21c1c;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.mobile-nav a {
  font-family: 'Lato', Arial, sans-serif;
  color: #374151;
  font-size: 1.18rem;
  font-weight: 600;
  padding: 12px 12px;
  border-radius: 16px;
  background: #fff;
  margin-bottom: 2px;
  transition: background 0.2s, color 0.2s;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: #FFD700;
  color: #a21c1c;
}

/* =========== HERO & SECTION ============= */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* Feature grid (cards) strictly with flexbox! */
.feature-grid, .card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
  justify-content: flex-start;
  margin-bottom: 18px;
}
.card-container {
  margin-bottom: 32px;
}
.card {
  background: #fff;
  border-radius: 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 24px 0 rgba(55,65,81, 0.10);
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px 20px;
  min-width: 220px;
  min-height: 180px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 8px 32px 0 rgba(55,65,81, 0.14);
  transform: translateY(-2px) scale(1.012);
}
.card h3 {margin-top: 0;}

.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 Cards ============== */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #fff;
  box-shadow: 0 4px 16px 0 rgba(55,65,81, 0.10);
  border-radius: 20px;
  padding: 20px;
  margin-bottom: 24px;
  margin-top: 18px;
  max-width: 750px;
}
.testimonial-card blockquote {
  background: #fffde4;
  border-left: 4px solid #FFD700;
  color: #374151;
}

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

/* ============== Buttons / CTAs =============== */
.cta, .cta.primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Lato', Arial, sans-serif;
  border: none;
  border-radius: 28px;
  font-size: 1.15rem;
  font-weight: 700;
  padding: 14px 40px;
  background: linear-gradient(90deg, #FFD700 0%, #ffe082 100%);
  color: #a21c1c;
  box-shadow: 0 2px 16px 0 rgba(55,65,81,0.09);
  margin-top: 8px;
  margin-bottom: 12px;
  min-width: 160px;
  min-height: 48px;
  transition: box-shadow 0.22s, background 0.22s, color 0.15s;
  cursor: pointer;
  letter-spacing: .015em;
}
.cta.primary {
  background: linear-gradient(90deg, #A21C1C 0%, #FFD700 100%);
  color: #fff;
}
.cta:focus, .cta:hover, .cta.primary:focus, .cta.primary:hover {
  background: #FFD700;
  color: #a21c1c;
  box-shadow: 0 8px 36px 0 rgba(55,65,81, 0.20);
  outline: none;
  text-decoration: none;
}

/* ============= Lists/Decor Elements ============== */
ul, ol {
  margin-bottom: 20px;
}
ul li, ol li {
  margin-bottom: 8px;
}
ol li {
  padding-left: 7px;
}

/* ============== Footer ============================ */
footer {
  background: linear-gradient(90deg, #FFD700 20%, #fff8e7 90%);
  border-top: 1px solid #ead770;
  margin-top: 42px;
  padding: 40px 0 22px 0;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  justify-content: center;
  margin-bottom: 14px;
}
footer nav a {
  font-family: 'Lato', Arial, sans-serif;
  color: #a21c1c;
  padding: 8px 12px;
  border-radius: 16px;
  font-weight: 600;
  font-size: 1rem;
  transition: background 0.2s, color 0.2s;
}
footer nav a:focus,footer nav a:hover {
  background: #FFD700;
  color: #374151;
}
footer .text-section {
  text-align: center;
  color: #374151;
  font-size: 0.95rem;
  margin-bottom: 8px;
}

/* ============== COOKIE BANNER + MODAL =============== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  z-index: 1100;
  background: #fffde4;
  border-top: 2px solid #FFD700;
  box-shadow: 0 -1px 14px 0 rgba(55,65,81, 0.10);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 24px 16px 16px 16px;
  font-size: 1rem;
  animation: cookie-slide-in 0.5s cubic-bezier(.5,1.5,.5,1) 1;
}
@keyframes cookie-slide-in {
  from {transform: translateY(102%); opacity:0.7;}
  to {transform: translateY(0); opacity:1;}
}
.cookie-banner .cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 8px;
}
.cookie-banner button {
  font-family: 'Lato', Arial, sans-serif;
  padding: 10px 22px;
  border-radius: 18px;
  font-weight: 700;
  border: none;
  margin: 0;
  transition: background 0.2s, color 0.2s;
}
.cookie-banner .accept {
  background: #FFD700;
  color: #a21c1c;
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: #a21c1c;
  color: #FFD700;
}
.cookie-banner .reject {
  background: #ececec;
  color: #374151;
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: #FFD700;
  color: #a21c1c;
}
.cookie-banner .settings {
  background: #fff;
  border: 1.2px solid #FFD700;
  color: #a21c1c;
}
.cookie-banner .settings:focus, .cookie-banner .settings:hover {
  background: #a21c1c;
  color: #fff;
}

/* COOKIE MODAL (PREFERENCES) */
.cookie-modal-backdrop {
  position: fixed;
  z-index: 1150;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(55,65,81,0.14);
  display: flex;
  justify-content: center;
  align-items: center;
}
.cookie-modal {
  background: #fffde4;
  border-radius: 26px;
  box-shadow: 0 8px 52px 0 rgba(55,65,81,0.15);
  padding: 40px 26px 30px 26px;
  min-width: 90vw;
  max-width: 440px;
  margin: 18px auto;
  animation: cookie-modal-fade-in 0.25s cubic-bezier(.7,0,1,1.4);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 16px;
  z-index: 1201;
}
@keyframes cookie-modal-fade-in {
  0% {opacity:0; transform: scale(.92) translateY(24px);}
  100% {opacity:1; transform: none;}
}
.cookie-modal h2 {
  color: #374151;
  margin-bottom: 8px;
  text-align: left;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 12px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 8px;
  font-size: 1rem;
  border-radius: 10px;
  background: #fff;
}
.cookie-category.essential {
  background: #FFD7001A;
  color: #374151;
  font-weight: 600;
}
.cookie-category-toggle {
  display: flex;
  gap: 8px;
  align-items: center;
}
.cookie-category-toggle input[type="checkbox"] {
  appearance: none;
  width: 32px;
  height: 18px;
  background: #ececec;
  border-radius: 16px;
  position: relative;
  outline: none;
  transition: background 0.2s;
  border: 1px solid #FFD70055;
  cursor: pointer;
}
.cookie-category-toggle input[type="checkbox"]:checked {
  background: #FFD700;
}
.cookie-category-toggle input[type="checkbox"]:before {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  left: 1px;
  top: 1px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 2px rgba(55,65,81,0.09);
  transition: left 0.2s;
}
.cookie-category-toggle input[type="checkbox"]:checked:before {
  left: 15px;
}
.cookie-modal .modal-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
  margin-top: 10px;
  justify-content: flex-end;
}
.cookie-modal .close {
  background: #ececec;
  color: #374151;
  border-radius: 12px;
  padding: 10px 20px;
  font-weight: 700;
  border: 1px solid #FFD70085;
  transition: background 0.15s, color 0.15s;
}
.cookie-modal .close:hover, .cookie-modal .close:focus {
  background: #FFD700;
  color: #a21c1c;
}

/* ======= Misc Utility Classes ====== */
.nowrap {white-space: nowrap;}
.center {text-align: center;}

/* =========== ICONS INSIDE LISTS ========== */
.text-section ul li img {
  width: 20px;
  height: 20px;
  margin-right: 8px;
  vertical-align: middle;
  display: inline-block;
  margin-top: -3px;
}

/* ======== RESPONSIVE BREAKPOINTS ======= */
@media (max-width: 1300px) {
  .container {max-width: 98vw;}
}
@media (max-width: 980px) {
  .container {max-width: 100vw; padding: 0 6px;}
  .content-wrapper {padding: 28px 10px;}
  .feature-grid, .card-container {gap: 16px;}
}
@media (max-width: 768px) {
/* MOBILE MENU SHOWS */
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
    position: absolute;
    right: 18px;
    top: 10px;
  }
  .mobile-menu {
    min-width: 58vw;
    width: 82vw;
    padding: 32px 10px 22px 22px;
  }
  .content-wrapper {
    padding: 20px 6px;
    gap: 12px;
  }
  .feature-grid, .card-container, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 16px;
    margin-top: 10px;
  }
  .section, section {
    padding: 24px 6px;
    margin-bottom: 38px;
  }
  h1 {font-size: 2rem; margin-bottom: 14px;}
  h2 {font-size: 1.3rem; margin-bottom: 12px;}
  h3 {font-size: 1.06rem; margin-bottom: 8px;}
  .cookie-modal {min-width: 93vw;}
}

@media (max-width: 500px) {
  .content-wrapper, .container {padding: 0; max-width: 100vw;}
  .feature-grid, .card-container, .content-grid {
    gap: 10px;
  }
  .cta, .cta.primary {
    font-size: 1rem;
    padding: 13px 18px;
  }
  .testimonial-card {padding: 11px; border-radius: 12px;}
}

/* ===== ANIMATIONS & TRANSITIONS for Micro-interactions ===== */
a, button, .cta, .cta.primary {
  transition: all 0.18s cubic-bezier(.5,1.5,.5,1);
}
.card, .testimonial-card {
  transition: box-shadow 0.22s, transform 0.18s;
}
.card:hover, .testimonial-card:hover {
  box-shadow: 0 12px 44px 0 rgba(55,65,81, 0.16);
  transform: translateY(-2px) scale(1.011);
}

/* Hide the uninitialized mobile menu on desktop */
@media (min-width: 769px) {
  .mobile-menu {display: none !important;}
  .mobile-menu-toggle {display: none !important;}
}

/* ========= FORM ELEMENTS (applies in contact / cookie modal) ========= */
input, select, textarea {
  min-width: 190px;
  padding: 10px 17px;
  border: 1.5px solid #FFD70085;
  border-radius: 12px;
  background: #fffef8;
  font-size: 1.1rem;
  margin-bottom: 12px;
  transition: border 0.18s, box-shadow 0.14s;
  outline: none;
}
input:focus, textarea:focus, select:focus {
  border: 1.5px solid #a21c1c;
  box-shadow: 0 4px 16px 0 rgba(164,28,28,0.03);
}

/* Accessibility: High contrast for testimonial text blocks on any bg! */
.testimonial-card, .testimonial-card blockquote {
  color: #232323;
  background: #fff;
}

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