/* =====================
   CSS RESET & BASE SETUP
   ===================== */
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%;
  vertical-align: baseline;
  background: transparent;
  box-sizing: border-box;
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  font-family: 'Roboto', Arial, sans-serif;
  color: #f3edd7;
  background: #222C27;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
ul, ol {
  list-style: none;
}
hoframe {
  border: 0;
}
a {
  color: #A9D18E;
  text-decoration: none;
  transition: color 0.2s, text-shadow 0.2s;
}
a:hover, a:focus {
  color: #fff;
  text-shadow: 0 0 8px #A9D18E;
}

/* ===================
     BRAND FONT SETUP
   =================== */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,800&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  color: #F3EDD7;
  letter-spacing: 1px;
  line-height: 1.2;
}
h1 { font-size: 2.8rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.3rem; margin-bottom: 12px; }
h4 { font-size: 1.1rem; }
p, li, span, a, button, select {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
}
p { margin-bottom: 16px; }

/* =========================
    TECH FUTURISTIC BACKGROUND
   ========================= */
body {
  background: linear-gradient(120deg, #355C2D 0%, #222C27 80%);
}

/* =========================
   GLOBAL LAYOUT CONTAINERS
   ========================= */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.section:last-child {
  margin-bottom: 0;
}
.feature-grid, .seasonal-tips-grid, .seasonal-ideas-teasers, .team-list, .product-cards, .articles-list, .expert-tips-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #283A2E;
  color: #F3EDD7;
  border-radius: 18px;
  box-shadow: 0 3px 18px 0 rgba(51,255,196,0.06);
  margin-bottom: 20px;
  position: relative;
  padding: 32px 24px;
  transition: box-shadow 0.18s, transform 0.16s;
}
.card:hover {
  box-shadow: 0 8px 32px 0 #a9d18e99, 0 2px 1px 0 #1affb7;
  transform: translateY(-3px) scale(1.03);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
}
.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;
}

/* =========================
   HEADER & NAVIGATION
   ========================= */
header {
  background: rgba(40,58,46,0.96);
  border-bottom: 2px solid #A9D18E33;
  padding: 0 0 0 12px;
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: 70px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  box-shadow: 0 1px 16px 0 rgba(51,255,196,0.07);
}
header > a img {
  height: 48px;
  margin-right: 12px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
header nav a {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: #A9D18E;
  position: relative;
  padding: 8px 8px;
  border-radius: 8px;
  transition: color 0.18s, background 0.16s;
}
header nav a:hover, header nav a:focus {
  color: #fff;
  background: #355C2D99;
  box-shadow: 0 0 10px #A9D18E80;
}
.cta-primary {
  margin-left: 28px;
  background: #A9D18E;
  color: #222C27;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 11px 30px;
  border: none;
  border-radius: 24px;
  text-shadow: none;
  box-shadow: 0 1px 10px 0 #84ffb340;
  cursor: pointer;
  transition: background 0.17s, color 0.17s, box-shadow 0.15s, transform 0.12s;
  outline: none;
  display: inline-block;
  text-align: center;
}
.cta-primary:hover, .cta-primary:focus {
  background: #C5EDB8;
  color: #355C2D;
  box-shadow: 0 2px 16px #b9ffcaee, 0 1px 2px #222C2799;
  transform: scale(1.05);
}
.mini-cta {
  background: transparent;
  color: #A9D18E;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 600;
  padding: 5px 16px 6px 0;
  border-radius: 10px;
  border: none;
  font-size: 1rem;
  text-align: left;
  display: inline-block;
  position: relative;
  transition: color 0.14s, text-shadow 0.2s;
}
.mini-cta:hover, .mini-cta:focus {
  color: #F3EDD7;
  text-shadow: 0 0 8px #A9D18E, 0 0 16px #8CFFC2;
}
.mobile-menu-toggle {
  display: none;
  margin-left: 18px;
  cursor: pointer;
  background: #283A2E;
  color: #A9D18E;
  font-size: 2rem;
  border: none;
  border-radius: 13px;
  padding: 0 15px;
  height: 48px;
  min-width: 48px;
  align-items: center;
  justify-content: center;
  transition: background 0.17s, color 0.19s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #A9D18E;
  color: #283A2E;
}

/* ===============================
   MOBILE MENU – OFFCANVAS NAV
   =============================== */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: 100%;
  height: 100%;
  background: #283A2E;
  box-shadow: 0 0 32px #191C15cc;
  z-index: 9000;
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(.75,.03,.48,1.07);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 32px 22px 22px 22px;
  will-change: transform;
}
.mobile-menu.open {
  transform: none;
}
.mobile-menu-close {
  background: #222C27;
  color: #A9D18E;
  font-size: 2.1rem;
  border: none;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  cursor: pointer;
  box-shadow: 0 1px 12px #1affb740;
  z-index: 9991;
  transition: background 0.18s, color 0.17s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #A9D18E;
  color: #222C27;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 17px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: #F3EDD7;
  background: transparent;
  font-size: 1.26rem;
  padding: 14px 6px;
  border-radius: 6px;
  font-weight: 700;
  text-align: left;
  transition: background .16s, color 0.16s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #A9D18E;
  background: #355C2Dbb;
}

/* =====================
   FOOTER STYLES
   ===================== */
footer {
  padding: 36px 0 24px 0;
  background: #1C241D;
  border-top: 2px solid #A9D18E33;
  margin-top: 40px;
}
footer .content-wrapper {
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 36px;
  flex-wrap: wrap;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.footer-nav a {
  color: #A9D18E;
  padding: 4px 0;
  font-size: 1.1rem;
}
.footer-nav a:hover, .footer-nav a:focus {
  text-decoration: underline;
  color: #C5EDB8;
}
.footer-contact p {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  color: #F3EDD7;
  font-size: 0.97rem;
}
.footer-tagline span {
  color: #A9D18E;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.13rem;
  font-weight: 600;
  letter-spacing: 1.2px;
}
footer img {
  max-width: 72px;
}

/* =====================
   CARDS, FEATURE, GRID
   ===================== */
.team-list>div, .seasonal-tips-grid>div, .seasonal-ideas-teasers>div, .articles-list article,.product-cards>div, .feature-grid>div, .expert-tips-grid>div {
  background: #283A2E;
  border-radius: 14px;
  box-shadow: 0 2px 20px #202b1f33;
  padding: 22px 18px 18px 18px;
  min-width: 230px;
  min-height: 110px;
  flex: 1 1 260px;
  transition: box-shadow 0.18s, transform 0.15s;
}
.feature-grid>div:hover, .seasonal-tips-grid>div:hover,.product-cards>div:hover, .seasonal-ideas-teasers>div:hover, .team-list>div:hover {
  box-shadow: 0 4px 32px #a9d18e55, 0 1px 2px #1affb7;
  transform: translateY(-2px) scale(1.02);
}

/* Testimonial Cards */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px 24px;
  background: #fffbe3;
  border-radius: 19px;
  border-left: 4px solid #355C2D;
  color: #222C27;
  font-size: 1.04rem;
  margin-bottom: 22px;
  box-shadow: 0 2px 20px #f9fbc866, 0 1px 2px #1affb755;
  min-width: 240px;
  max-width: 470px;
  transition: box-shadow 0.17s, transform 0.13s;
}
.testimonial-card:hover {
  box-shadow: 0 3px 32px #A9D18E77, 0 1px 2px #222C2799;
  transform: translateY(-2px) scale(1.03);
}
.testimonial-footer {
  font-style: italic;
  color: #355C2D;
  font-size: 0.98rem;
}

/* PRODUCT CARDS INSIDE products.html */
.product-cards, .product-cards>div {
  gap: 24px;
}
.product-cards>div {
  min-width: 240px;
  background: #1C241D;
  color: #A9D18E;
  border: 1.5px solid #355C2D;
  border-radius: 13px;
  box-shadow: 0 1px 8px #00270D3a;
  transition: box-shadow 0.13s, border-color 0.17s, color 0.17s;
}
.product-cards>div:hover {
  border-color: #A9D18E;
  color: #fff;
  box-shadow: 0 3px 22px #b1ffb12e;
}

/* ===========================
    ICONS & SUPPORT SECTIONS
   =========================== */
.support-icons, .benefit-icons, .practice-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}
.support-icons span, .benefit-icons span {
  display: flex;
  align-items: center;
  gap: 9px;
  background: #253223;
  color: #A9D18E;
  border-radius: 8px;
  padding: 10px 18px;
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 600;
}
.practice-icons img {
  filter: drop-shadow(0 2px 8px #355C2D99);
  height: 39px;
  border-radius: 7px;
  padding: 2px;
  background: #ece7bb;
}

/* ========================
   FORMS & SELECT ELEMENTS
   ======================== */
select {
  width: auto;
  background: #355C2D;
  color: #A9D18E;
  border: 1.3px solid #A9D18E;
  border-radius: 9px;
  font-size: 1rem;
  padding: 6px 20px 6px 10px;
  outline: none;
  appearance: none;
  box-shadow: 0 1px 6px #191C1590 inset;
  margin-left: 9px;
  font-family: 'Roboto', Arial, sans-serif;
  transition: border 0.2s, box-shadow 0.21s;
}
select:focus {
  border-color: #fff;
  box-shadow: 0 1px 12px #A9D18E55;
}

/* ===============
   COOKIE BANNER
   =============== */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  background: #181D17fa;
  color: #F3EDD7;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  padding: 22px 10px 18px 10px;
  z-index: 9900;
  box-shadow: 0 -2px 18px #A9D18E33;
  font-size: 1.06rem;
  animation: slideCookieIn 0.6s cubic-bezier(.45,0,.67,1.13);
}
@keyframes slideCookieIn {
  from { transform: translateY(140%); }
  to { transform: translateY(0); }
}
.cookie-banner p {
  flex: 1 1 240px;
  margin: 0 14px 8px 0;
}
.cookie-banner-buttons {
  display: flex;
  gap: 15px;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  border: none;
  border-radius: 11px;
  padding: 9px 22px;
  font-size: 1.01rem;
  margin-right: 4px;
  margin-top: 0;
  margin-bottom: 0;
  transition: background 0.18s, color 0.13s, box-shadow 0.16s;
  cursor: pointer;
  box-shadow: 0 1px 7px 0 #A9D18E44;
}
.cookie-btn.accept {
  background: #A9D18E;
  color: #222C27;
  font-weight: 700;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #C5EDB8;
  color: #355C2D;
}
.cookie-btn.reject {
  background: #355C2D;
  color: #A9D18E;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #2A4734;
  color: #fff;
}
.cookie-btn.settings {
  background: #fffbe3;
  color: #355C2D;
  border: 1px solid #A9D18E90;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #A9D18E;
  color: #222C27;
}

/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed;
  z-index: 9999;
  inset: 0;
  background: #181D17de;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.33s;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.cookie-modal {
  background: #fffbe3;
  color: #355C2D;
  border-radius: 19px;
  max-width: 420px;
  width: 92%;
  padding: 36px 26px 30px 26px;
  box-shadow: 0 4px 24px #A9D18E88;
  display: flex;
  flex-direction: column;
  gap: 19px;
  position: relative;
  animation: modalPop 0.35s cubic-bezier(.48,1.43,.53,1.11);
}
@keyframes modalPop {
  from { transform: translateY(64px) scale(.93); }
  to { transform: none; }
}
.cookie-modal h3 {
  margin-bottom: 8px;
  font-size: 1.3rem;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #F3EDD7;
  color: #355C2D;
  border-radius: 7px;
  padding: 13px 17px;
  margin-bottom: 12px;
  font-size: 1.05rem;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 700;
}
.cookie-category input[type=checkbox] {
  accent-color: #355C2D;
  width: 21px; height: 21px;
}
.cookie-category.essential label:after {
  content: " (stałe)";
  color: #999;
}
.cookie-modal-buttons {
  display: flex;
  gap: 15px;
}
.cookie-modal-close {
  position: absolute;
  top: 10px; right: 14px;
  background: #a9d18e22;
  border: none;
  font-size: 1.45rem;
  color: #355C2D;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  cursor: pointer;
  transition: background 0.17s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #A9D18E;
  color: #fff;
}

/* =======================
   CONTACT & INFO BLOCKS
   ======================= */
.contact-details p {
  display: flex;
  align-items: center;
  gap: 11px;
  color: #A9D18E;
  background: #1C241D;
  border-radius: 8px;
  padding: 10px 16px;
  margin-bottom: 9px;
}
.map-embed {
  background: #A9D18E11;
  border-radius: 8px;
  padding: 12px 20px;
  color: #A9D18E;
  margin-top: 8px;
}

/* =========================
   MISC UI ELEMENTS & LISTS
   ========================= */
ul {
  margin-left: 18px;
}
ul li {
  list-style: disc;
  margin-bottom: 10px;
  color: #F3EDD7;
  font-size: 1.03rem;
}
.feature-grid ul li,
.seasonal-tips-grid ul li,
.garden-design-trends ul li,
.quick-hints ul li,
.faq-teasers ul li {
  margin-left: 18px;
}
.garden-design-trends ul li,
.quick-hints ul li {
  color: #A9D18E;
}

/* =============================
   RESPONSIVE – MOBILE FIRST
   ============================= */
@media (max-width: 1250px) {
  .container {
    max-width: 95vw;
    padding: 0 8px;
  }
}
@media (max-width: 970px) {
  .content-wrapper, 
  footer .content-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 27px;
  }
  .footer-nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 17px;
  }
}
@media (max-width: 768px) {
  .section {
    margin-bottom: 32px;
    padding: 28px 9px;
  }
  h1 {
    font-size: 2.05rem;
  }
  h2 {
    font-size: 1.27rem;
  }
  header {
    flex-wrap: wrap;
    justify-content: space-between;
    padding-right: 7px;
    min-height: 52px;
  }
  header nav {
    display: none;
  }
  .cta-primary {
    margin-left: 0;
    font-size: 1rem;
    padding: 9px 16px;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .feature-grid, .seasonal-tips-grid, .seasonal-ideas-teasers, .team-list, .product-cards, .articles-list, .expert-tips-grid {
    flex-direction: column;
    gap: 18px;
  }
  .testimonial-card {
    max-width: 99vw;
    min-width: 0;
  }
  footer .content-wrapper {
    flex-direction: column;
    gap: 23px;
  }
  .support-icons, .benefit-icons, .practice-icons {
    flex-direction: column;
    gap: 13px;
    align-items: flex-start;
  }
  .content-grid {
    flex-direction: column;
    gap: 20px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 19px;
  }
}
@media (max-width: 480px) {
  h1 { font-size: 1.2rem; margin-bottom: 16px; }
  h2 { font-size: 1rem; }
  .section { padding: 10px 0; }
  .cta-primary, .cookie-btn {
    font-size: 0.94rem;
    padding: 8px 10px;
  }
  .testimonial-card, .card, .product-cards>div {
    padding: 14px 9px;
  }
  .cookie-modal { padding: 18px 5px 10px 9px; }
}

/* ===================
   ANIMATIONS
   =================== */
@media (prefers-reduced-motion: no-preference) {
  a, .cta-primary, .card, .testimonial-card, .product-cards>div, .cookie-btn {
    transition: box-shadow 0.14s, color 0.16s, background 0.16s, text-shadow 0.15s, transform 0.12s;
  }
  .cookie-modal, .mobile-menu {
    will-change: transform, opacity;
  }
}

/* ====================
   Z-INDEX LAYERING
   ==================== */
header { z-index: 100; }
.mobile-menu { z-index: 9000; }
.cookie-banner { z-index: 9900; }
.cookie-modal-overlay { z-index: 9999; }

/* Highlighted Section for Call To Action */
.section:last-child, .section.cta-section {
  background: #355C2D;
  border-radius: 15px;
  box-shadow: 0 2px 24px #355c2d38;
}

/* Hide scroll for open mobile menu */
body.menu-open {
  overflow: hidden;
}

/* ===============
   MISC CLASSES
   =============== */
.confirmation, .follow-up-info, .personalized-advice-teaser {
  background: #A9D18E15;
  color: #A9D18E;
  padding: 14px 19px;
  border-radius: 10px;
  margin-bottom: 12px;
  font-size: 1.07rem;
}

/* ENFORCED SPACING for all content wrappers, cards, sections, features */
.section, .card, .testimonial-card, .product-cards>div, .feature-grid>div, .support-icons span, .benefit-icons span {
  margin-bottom: 20px;
}

/* ========
   HIDE UTILITIES
   ========= */
[hidden], .hidden { display: none !important; }
