/* Kuchenny Spokój – style.css – Playful Dynamic, Mobile-First, Flexbox Only */

/* 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: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #F6F1EB;
  color: #1A2D23;
  font-family: 'Roboto', Arial, sans-serif;
  min-height: 100vh;
  font-size: 16px;
  overflow-x: hidden;
}
*, *:before, *:after {
  box-sizing: inherit;
}
a { color: inherit; text-decoration: none; transition: color 0.2s ease; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  background: none;
  border: none;
  outline: none;
}

/* BRAND COLORS */
:root {
  --primary: #376B54;
  --secondary: #F6F1EB;
  --accent: #E68412;
  --danger: #E24C3D;
  --info: #4EBEE3;
  --bright-green: #39CC6C;
  --highlight: #E8884B;
  --gray-light: #F9F9F9;
  --text-dark: #1A2D23;
  --text-light: #fff;
}

/* TYPOGRAPHY */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,900&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,700&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  letter-spacing: -1px;
  margin-bottom: 14px;
  color: var(--primary);
}
h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.3rem; }
h4, h5, h6 { font-size: 1.1rem; }
p, li, span, a, button, input, textarea {
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 400;
  color: var(--text-dark);
  font-size: 1rem;
}
strong {
  font-weight: 700;
  color: var(--accent);
}

/* CONTAINER */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
}

/* HEADER & NAV */
header {
  background: #fff;
  box-shadow: 0 4px 20px rgba(55,107,84,0.09);
  z-index: 100;
  width: 100%;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  gap: 22px;
}
.logo img {
  height: 48px;
  width: auto;
  display: block;
  transition: transform 0.23s cubic-bezier(.42,1.34,.4,.99);
}
.logo img:hover {
  transform: rotate(-8deg) scale(1.08);
}
nav {
  display: flex;
  gap: 16px;
}
nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.3px;
  color: var(--primary);
  padding: 4px 14px;
  border-radius: 16px;
  transition: background 0.18s, color 0.18s;
}
nav a:hover, nav a:focus {
  background: var(--accent);
  color: var(--text-light);
}

.cta-btn {
  background: var(--accent);
  color: var(--text-light);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  padding: 10px 28px;
  border: none;
  border-radius: 40px;
  box-shadow: 0 2px 10px rgba(232,136,75,0.09);
  cursor: pointer;
  margin-left: 14px;
  transition: background 0.22s, transform 0.18s, box-shadow 0.22s;
  outline: 0;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--primary);
  color: var(--accent);
  transform: scale(1.065) rotate(-2deg);
  box-shadow: 0 4px 20px rgba(55,107,84,0.16);
}

/* MOBILE MENU BUTTON */
.mobile-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  font-size: 2.2rem;
  width: 46px;
  height: 46px;
  position: fixed;
  top: 13px;
  right: 13px;
  z-index: 400;
  border: none;
  transition: background 0.22s, transform 0.18s;
  box-shadow: 0 2px 10px rgba(55,107,84,0.09);
  /* hidden on desktop */
}
.mobile-menu-toggle:active {
  background: var(--primary);
  transform: scale(1.09) rotate(5deg);
}

/* MOBILE MENU OVERLAY */
.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1000;
  background: var(--secondary);
  transform: translateX(100vw);
  opacity: 0;
  transition: transform 0.38s cubic-bezier(.44,1.2,.48,.95), opacity 0.26s;
  box-shadow: 0 4px 40px 0 rgba(55,107,84,0.08);
  padding: 30px 26px 26px 26px;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
}
.mobile-menu-close {
  background: none;
  color: var(--primary);
  font-size: 2rem;
  font-weight: bold;
  border: none;
  align-self: flex-end;
  margin-bottom: 24px;
  width: 44px;
  height: 44px;
  border-radius: 100%;
  transition: background 0.18s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: var(--accent);
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 8px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: bold;
  color: var(--primary);
  background: #fff;
  padding: 14px 18px;
  border-radius: 24px;
  margin-right: 0;
  box-shadow: 0 1px 8px 0 rgba(55,107,84,0.09);
  transition: background 0.14s, color 0.14s, transform 0.18s;
  outline: 0;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--accent);
  color: #fff;
  transform: scale(1.04) rotate(-1.5deg);
}

/* Hide desktop nav on mobile and mobile menu button on desktop */
@media (max-width: 1000px) {
  header nav {
    display: none;
  }
  .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 1001px) {
  .mobile-menu-toggle {
    display: none !important;
  }
  .mobile-menu {
    display: none !important;
  }
}

/* MAIN STRUCTURE & LAYOUTS (FLEXBOX EVERYWHERE) */
main {
  display: flex;
  flex-direction: column;
  gap: 38px;
  margin-bottom: 40px;
}
.section,
.hero,
.features,
.products-overview,
.services-short,
.about-short,
.about,
.values,
.contact-short,
.products,
.product-categories,
.usp,
.featured-products,
.inspiration-posts,
.tips,
.tips-list,
.faq,
.contact,
.cta,
.success,
.legal,
.testimonials {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: 32px;
  background: #fff;
  box-shadow: 0 2px 16px 0 rgba(55,107,84,0.05);
  position: relative;
}

.hero {
  background: linear-gradient(100deg, var(--accent) 8%, var(--secondary) 90%);
  background-size: 160% 160%;
  color: var(--primary);
  border-radius: 0 0 40px 40px;
  padding-top: 50px;
  margin-bottom: 34px;
  box-shadow: 0 8px 40px 0 rgba(232,136,75,0.07);
  animation: heroGradientMove 5s linear infinite alternate;
}
@keyframes heroGradientMove {
  0%   { background-position: left top; }
  100% { background-position: right bottom; }
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: flex-start;
  justify-content: center;
  width: 100%;
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 1.1rem;
}

/* FLEX CONTAINERS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
  margin-bottom: 40px;
}
.card {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 2px 10px rgba(55,107,84,0.07);
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 240px;
  max-width: 340px;
  padding: 28px;
  transition: box-shadow 0.23s, transform 0.21s;
}
.card:hover {
  box-shadow: 0 6px 24px rgba(232,136,75,0.12);
  transform: translateY(-10px) rotate(-1.5deg) scale(1.025);
}
.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: var(--gray-light);
  border-radius: 22px;
  box-shadow: 0 2px 13px 0 rgba(55,107,84,0.06);
  min-width: 220px;
  margin-bottom: 20px;
  transition: box-shadow 0.18s, transform 0.16s;
  font-size: 1.08rem;
}
.testimonial-card p {
  color: var(--text-dark);
  font-size: 1.08rem;
  line-height: 1.55;
}
.testimonial-card span {
  color: var(--primary);
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-top: 8px;
}
.testimonial-card:hover {
  box-shadow: 0 6px 24px rgba(55,107,84,0.10);
  transform: scale(1.035) rotate(-1deg);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* BADGES & PRICES */
.badge {
  background: var(--info);
  color: #fff;
  font-size: 0.89em;
  border-radius: 18px;
  padding: 4px 16px;
  margin-left: 10px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
  display: inline-block;
}
.service-price {
  background: var(--highlight);
  color: #fff;
  border-radius: 18px;
  padding: 2px 10px;
  font-size: 0.95em;
  margin-left: 8px;
  font-weight: 700;
  font-family: 'Montserrat', Arial, sans-serif;
}

/* UTILITY CLASSES */
.mt-16 { margin-top: 16px; }
.mb-24 { margin-bottom: 24px; }
.text-center { text-align: center; }

/* FLEX DIRECTION FOR MOBILE FIRST */
@media (max-width: 768px) {
  .content-wrapper,
  .content-grid,
  .card-container,
  .text-image-section {
    flex-direction: column !important;
  }
  header .container {
    flex-direction: row;
    gap: 10px;
  }
  .testimonial-card {
    min-width: 0;
  }
  .section, .hero, .products-overview,
  .about-short, .services-short, .about, .values,
  .product-categories, .usp, .featured-products, .tips, .tips-list, .faq, .contact,
  .cta, .success, .legal, .testimonials {
    padding: 24px 8px;
    margin-bottom: 44px;
  }
}

/* LIST STYLE ICONS */
ul li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  line-height: 1.45;
  font-size: 1.06rem;
}
ul li img {
  position: absolute;
  left: 0; top: 3px;
  width: 19px;
  height: 19px;
  margin-right: 4px;
}
ul li::before {
  content: "\2726";
  position: absolute;
  left: 2px;
  color: var(--accent);
  font-size: 1.2rem;
  font-family: 'Montserrat', Arial, sans-serif;
  opacity: 0.48;
  /* If img tag is present, hide pseudo */
  display: none;
}
ul li img + span,
ul li img + strong {
  padding-left: 4px;
}

/* SECTIONS - HERO, CTA, CARDS, ETC. */
.hero h1 {
  color: var(--primary);
  text-shadow: 1px 3px 0 rgba(230,136,75,0.10);
  font-size: 2.5rem;
  margin-bottom: 18px;
}
.hero p {
  font-size: 1.24rem;
  color: #444;
  margin-bottom: 16px;
}
.hero .cta-btn {
  font-size: 1.15rem;
  border-radius: 42px;
  letter-spacing: 0.5px;
  margin-top: 8px;
  background: var(--primary);
  color: #fff;
  box-shadow: 0 3px 24px 0 rgba(55, 107, 84, 0.13);
  transition: background 0.23s, color 0.13s;
}
.hero .cta-btn:hover {
  background: var(--accent);
  color: var(--text-dark);
}

/* SECTIONS CARDS */
.card, .testimonial-card {
  border: 2.5px dashed var(--accent);
  transition: box-shadow 0.19s, transform 0.2s, border-color 0.2s;
}
.card:hover, .testimonial-card:hover {
  border-color: var(--primary);
}

/* SECTION ANIMATION */
.section, .hero, .features, .about, .testimonials, .products-overview {
  animation: popIn 0.7s cubic-bezier(.44,1.04,.48,.96) both;
}
@keyframes popIn {
  from { transform: scale(0.97) translateY(16px); opacity: 0.22; }
  to {   transform: scale(1) translateY(0); opacity: 1; }
}

/* FOOTER STYLES */
footer {
  background: var(--primary);
  border-radius: 28px 28px 0 0;
  box-shadow: 0 -2px 18px 0 rgba(55,107,84,0.04);
  padding: 36px 0 10px 0;
  margin-top: 50px;
  color: #fff;
}
footer .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
footer nav {
  display: flex;
  gap: 16px;
}
footer nav a {
  color: #fff;
  opacity: 0.89;
  font-size: 1rem;
  padding: 8px 16px;
  border-radius: 20px;
  transition: background 0.15s, color 0.13s;
}
footer nav a:hover, footer nav a:focus {
  background: var(--accent);
  color: var(--primary);
}
.footer-info span {
  color: #fff;
  font-weight: 600;
  font-size: 1.05rem;
  opacity: 0.88;
}

@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 21px;
  }
}

/* RESPONSIVE FONT SCALING */
@media (max-width: 500px) {
  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.32rem; }
  .hero h1 { font-size: 1.3rem; }
  .hero p { font-size: 1rem; }
  .cta-btn { font-size: 1rem; }
}

/* SPACING BETWEEN ALL CARDS AND SECTIONS */
.section, .hero, .testimonials, .about,
.products-overview, .services-short, .about-short,
.products, .product-categories, .usp, .featured-products,
.inspiration-posts, .tips, .tips-list, .faq, .contact-short, .contact, .cta, .success, .legal {
  margin-bottom: 60px;
  padding: 40px 20px;
  gap: 22px;
}
.card-container, .content-grid, .text-image-section {
  gap: 20px;
  margin-bottom: 28px;
}

/* BUTTONS, INPUTS, OTHER INTERACTIONS */
button {
  cursor: pointer;
  border: none;
  transition: background 0.16s, color 0.14s, transform 0.15s;
}
input, textarea, select {
  border: 2px solid var(--primary);
  border-radius: 14px;
  padding: 10px 14px;
  margin-bottom: 10px;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.05rem;
  transition: border 0.16s, box-shadow 0.13s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 6px 0 var(--highlight);
}

/* HOVER/EFFECTS */
a, button, .cta-btn, .mobile-nav a, nav a, .card, .testimonial-card {
  transition: background 0.19s, color 0.12s, transform 0.17s, box-shadow 0.19s;
}
a:focus-visible, button:focus-visible {
  outline: 2.5px solid var(--accent);
  outline-offset: 4px;
}

/* COOKIE BANNER (MANDATORY) */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  z-index: 1600;
  width: 100vw;
  background: #fffbe7;
  color: var(--text-dark);
  box-shadow: 0 -2px 24px 0 rgba(232,136,75,0.09);
  padding: 26px 20px 20px 20px;
  border-top: 4px solid var(--accent);
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: flex-start;
  animation: slideUpCookie 0.5s cubic-bezier(.45,1.42,.42,.97);
  font-size: 1rem;
}
@keyframes slideUpCookie {
  from { transform: translateY(80px); opacity: 0; }
  to   { transform: translateY(0);   opacity: 1; }
}
.cookie-banner .cookie-btns {
  display: flex;
  flex-direction: row;
  gap: 14px;
  margin-top: 10px;
}
.cookie-banner button {
  padding: 8px 22px;
  border-radius: 20px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: bold;
  background: var(--accent);
  color: #fff;
  border: none;
  margin-right: 0px;
  box-shadow: 0 2px 8px rgba(232,136,75,0.13);
}
.cookie-banner .reject {
  background: var(--danger);
  color: #fff;
}
.cookie-banner .settings {
  background: var(--info);
  color: #fff;
}
.cookie-banner button:focus, .cookie-banner button:hover {
  opacity: 0.89;
  box-shadow: 0 4px 16px rgba(55,107,84,0.09);
  text-decoration: underline;
}

/* COOKIE MODAL */
.cookie-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 98%;
  max-width: 420px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 8px 48px rgba(55,107,84,0.16);
  transform: translate(-50%,-60%) scale(1.08);
  z-index: 1700;
  display: none;
  flex-direction: column;
  padding: 34px 24px 20px 24px;
  gap: 20px;
  animation: cookiePopupIn 0.18s cubic-bezier(.47,1.38,.45,.99);
}
.cookie-modal.open {
  display: flex;
}
@keyframes cookiePopupIn {
  from { opacity: 0; transform: scale(0.91) translate(-50%,-65%); }
  to   { opacity: 1; transform: scale(1) translate(-50%,-60%); }
}
.cookie-modal .modal-header {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 12px;
}
.cookie-modal .modal-title {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.08rem;
  color: var(--primary);
  font-weight: 800;
}
.cookie-modal .modal-close {
  background: var(--danger);
  color: #fff;
  font-size: 1.29rem;
  font-family: inherit;
  border-radius: 100%;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cookie-modal .cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  margin-bottom: 13px;
}
.cookie-modal .cookie-toggle {
  appearance: none;
  width: 36px;
  height: 20px;
  background: var(--accent);
  border-radius: 11px;
  position: relative;
  outline: none;
  cursor: pointer;
  box-shadow: 0 1.5px 6px 0 rgba(230,136,75,0.08);
}
.cookie-modal .cookie-toggle::before {
  content: '';
  display: block;
  position: absolute;
  left: 2px;
  top: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  transition: left 0.18s;
}
.cookie-modal .cookie-toggle:checked {
  background: var(--primary);
}
.cookie-modal .cookie-toggle:checked::before {
  left: 18px;
}
.cookie-modal .cookie-desc {
  font-size: 0.97rem;
  color: #333;
  margin-left: 16px;
  flex: 1;
  opacity: 0.85;
}
.cookie-modal .cookie-category .always-on {
  color: var(--bright-green);
  margin-left: 6px;
  font-size: 0.92em;
  font-weight: 600;
}
.cookie-modal .actions {
  display: flex;
  gap: 14px;
  margin-top: 6px;
}
.cookie-modal .actions button {
  background: var(--accent);
  color: #fff;
  border-radius: 18px;
  padding: 7px 18px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: bold;
}
.cookie-modal .actions button:focus, .cookie-modal .actions button:hover {
  opacity: 0.81;
}

/* Playful accents/decoration */
.section::after, .hero::after {
  content: '';
  display: block;
  position: absolute;
  z-index: 1;
  pointer-events: none;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(232,136,75,0.12);
  top: -35px;
  right: 18px;
  animation: floatyBall 3.8s infinite alternate ease-in-out;
}
@keyframes floatyBall {
  from { transform: translateY(0) scale(0.96); }
  to   { transform: translateY(14px) scale(1.07); }
}
.hero::before {
  content: '';
  display: block;
  position: absolute;
  left: -38px; bottom: -26px;
  width: 100px; height: 100px;
  background: rgba(55,107,84,0.11);
  border-radius: 60% 70% 80% 65%/80% 60% 70% 100%;
  z-index: 0;
  pointer-events: none;
  animation: floatyBall2 8s infinite alternate-reverse;
}
@keyframes floatyBall2 {
  from { transform: rotate(0deg) scale(1); }
  to { transform: rotate(13deg) scale(1.18); }
}

/* Fun fonts for playful look */
h1, h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-style: italic;
  letter-spacing: 0.5px;
}

/* Colorful cursor on interactive elements */
a, .cta-btn, button {
  cursor: pointer;
  position: relative;
  z-index: 2;
}

/* Responsive overrides for very small screens and spacing */
@media (max-width: 600px) {
  .container {
    max-width: 98vw;
    padding: 0 4px;
  }
  main {
    gap: 16px;
  }
  .section,
  .hero,
  .features,
  .products-overview,
  .about-short,
  .services-short,
  .testimonials,
  .about,
  .products,
  .cta,
  .values,
  .success,
  .legal {
    padding: 15px 2px;
    margin-bottom: 22px;
  }
}

/* Non-absolute overlays for modals (cookie) */
@media (max-width: 600px) {
  .cookie-modal {
    padding: 20px 6px 14px 6px;
    max-width: 97vw;
  }
}

/* Accessibility: high contrast for testimonial section */
.testimonials {
  background: #F6F1EB !important;
}
.testimonials h2 {
  color: var(--primary) !important;
}
.testimonial-card {
  background: #fff !important;
  color: #1A2D23 !important;
  border-width: 1.5px;
}

/* Table and ordered list resets */
table {
  border-collapse: collapse;
  width: 100%;
  margin: 18px 0;
}
th, td {
  padding: 13px 8px;
  border-bottom: 1.5px solid #ececec;
}
ol {
  margin-left: 28px;
  margin-bottom: 18px;
  list-style: decimal inside;
}

/* Headings in legal pages */
.legal h1 { font-size: 2.2rem; color: var(--accent); }
.legal p, .legal ul, .legal ol { font-size: 1.05rem; }

/* Special for thank you */
.success .cta-btn {
  background: var(--accent);
  color: #fff;
  margin-top: 20px;
}
.success h1 {
  color: var(--primary);
}

/* END OF STYLE.CS */
