/* ==================================================  
   SparkleFix Ogród - CLASSIC ELEGANT FLEXBOX CSS  
   Author: Senior CSS Developer & UI Designer          
 =================================================== */

/* =======================
   RESET & NORMALIZE
======================= */
html { box-sizing: border-box; }
*, *::before, *::after { box-sizing: inherit; margin: 0; padding: 0; border: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Georgia', 'Times New Roman', serif;
  font-size: 16px;
  color: #263041;
  background: #fcfbfa;
  line-height: 1.6;
  min-height: 100vh;
  letter-spacing: 0.02em;
}
img { max-width: 100%; display: block; border: 0; }
a { color: inherit; text-decoration: none; transition: color 0.18s; }
ul, ol { list-style: none; }
b, strong { font-weight: bold; }
i, em { font-style: italic; }
input, textarea, button, select { font: inherit; }
@media (max-width: 480px) { html { font-size: 15px; } }

/* =======================
   COLOR VARIABLES (Fallbacks)
======================= */
:root {
  --primary: #236943;
  --primary-dark: #18482d;
  --primary-light: #f0f6f2;
  --secondary: #fff;
  --accent: #f4d65e;
  --text: #263041; /* almost black */
  --text-muted: #687072;
  --border: #e5e2db;
  --shadow: 0 2px 14px rgba(35, 105, 67, 0.10);
}

/* =======================
   TYPOGRAPHY 
======================= */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Georgia', 'Times New Roman', serif;
  color: var(--primary);
  font-weight: 400;
  letter-spacing: 0.03em;
  margin-bottom: 18px;
}
h1 { font-size: 2.25rem; line-height: 1.12; margin-bottom: 24px; }
h2 { font-size: 1.65rem; line-height: 1.15; margin-bottom: 22px; }
h3 { font-size: 1.18rem; line-height: 1.22; margin-bottom: 18px; }
h4 { font-size: 1.07rem; line-height: 1.18; margin-bottom: 14px; }

p, ul, ol, blockquote {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  margin-bottom: 18px;
  color: var(--text);
}
blockquote {
  border-left: 4px solid var(--primary);
  background: var(--primary-light);
  padding: 16px 24px;
  font-style: italic;
  color: var(--primary-dark);
  margin-bottom: 10px;
  border-radius: 8px;
}
cite {
  font-style: normal;
  font-size: 1rem;
  color: var(--text-muted);
  display: block;
  margin-top: 8px;
  letter-spacing: 0.02em;
}
ul li, ol li {
  margin-bottom: 10px;
  padding-left: 0.7em;
  position: relative;
}
ull li::before {
  content: "\2022 ";
  color: var(--accent);
  font-size: 1.16em;
  position: absolute;
  left: 0;
}

.main-nav a, .footer-nav a, .mobile-nav a {
  font-family: 'Georgia', 'Times New Roman', serif;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--primary-dark);
  padding: 8px 16px;
  border-radius: 6px;
  transition: background 0.15s, color 0.15s;
}
.main-nav a:hover, .footer-nav a:hover, .mobile-nav a:hover {
  background: var(--primary-light);
  color: var(--primary);
}

/* =======================
   LAYOUT CONTAINERS
======================= */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}

@media (min-width: 992px) {
  .content-wrapper {
    flex-direction: row;
    gap: 40px;
    align-items: center;
    justify-content: space-between;
  }
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow);
  position: relative;
}

/* Card containers (for sklep/oferta, testimonials, etc.) */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  position: relative;
  padding: 26px 22px 22px 22px;
  flex: 1 1 240px;
  min-width: 240px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 4px 24px rgba(35,105,67,0.15);
  transform: translateY(-4px);
}

.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;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  min-width: 0;
  max-width: 540px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

/* Responsive stacks */
@media (max-width: 992px) {
  .content-wrapper, .content-grid, .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}
@media (max-width: 768px) {
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }
  .section {
    padding: 28px 10px;
    margin-bottom: 36px;
  }
  .card, .testimonial-card {
    padding: 18px 10px 16px 10px;
  }
}

/* =======================
   HEADER, NAV, BRANDING
======================= */
header {
  background: #fff;
  box-shadow: 0 3px 24px rgba(60,80,50,0.07);
  margin-bottom: 0px;
  padding-top: 0;
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  min-height: 80px;
}
header img[alt*="Logo"] {
  height: 48px;
  width: auto;
  display: block;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 12px;
}
@media (max-width: 992px) {
  .main-nav {
    display: none;
  }
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  border-radius: 8px;
  padding: 12px 28px;
  font-family: 'Georgia', serif;
  font-weight: 500;
  font-size: 1.07rem;
  letter-spacing: 0.04em;
  border: none;
  box-shadow: 0 1px 8px rgba(60,80,50,0.07);
  transition: background 0.18s, box-shadow 0.18s, color 0.18s;
  cursor: pointer;
  margin-left: 18px;
  display: inline-block;
  outline: 0;
}
.btn-primary:hover, .btn-primary:active {
  background: var(--primary-dark);
  color: #fff !important;
  box-shadow: 0 3px 26px rgba(35,105,67,0.14);
}

.btn-secondary {
  background: var(--accent);
  color: var(--primary-dark);
  border-radius: 8px;
  padding: 12px 26px;
  font-family: 'Georgia', serif;
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.03em;
  border: none;
  box-shadow: 0 1px 6px rgba(35,105,67,0.04);
  transition: background 0.18s, box-shadow 0.18s, color 0.18s;
  cursor: pointer;
  margin-left: 12px;
  display: inline-block;
}
.btn-secondary:hover, .btn-secondary:active {
  background: #ffe170;
}

@media (max-width: 768px) {
  .btn-primary, .btn-secondary {
    font-size: 0.99rem;
    padding: 10px 16px;
    margin-left: 6px;
  }
}

/* Hamburger Mobile Menu */
.mobile-menu-toggle {
  display: none;
  font-size: 2.2rem;
  background: none;
  color: var(--primary);
  border: none;
  margin-left: 10px;
  cursor: pointer;
  z-index: 2000;
  border-radius: 8px;
  padding: 6px 12px 2px 12px;
  transition: background 0.12s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--primary-light);
}
@media (max-width: 992px) {
  .mobile-menu-toggle {
    display: inline-block;
  }
  .btn-primary {
    margin-left: 4px;
  }
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100%;
  max-width: 410px;
  background: #fff;
  box-shadow: 8px 0 66px rgba(35,105,67,0.17);
  transform: translateX(-120%);
  z-index: 3000;
  transition: transform 0.42s cubic-bezier(.62,1.45,.51,1) !important;
  padding: 0 0 24px 0;
}
.mobile-menu.show {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2.15rem;
  background: none;
  color: var(--primary-dark);
  border: none;
  margin: 12px 16px 0 auto;
  align-self: flex-end;
  cursor: pointer;
  border-radius: 7px;
  padding: 4px 12px;
  transition: background 0.12s;
}
.mobile-menu-close:hover {
  background: var(--primary-light);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  margin: 20px 32px;
  gap: 0px;
}
.mobile-nav a {
  font-size: 1.18rem;
  color: var(--primary);
  padding: 12px 0 12px 8px;
  border-bottom: 1px solid var(--border);
  transition: color .18s, background .18s;
  border-radius: 4px;
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--accent);
  background: var(--primary-light);
}
@media (min-width: 993px) {
  .mobile-menu { display: none !important; }
}

/* MOBILE MENU OVERLAY BLOCKS BACKGROUND */
.mobile-menu::after {
  content: "";
  position: fixed;
  top: 0; left: 0; height: 100%; width: 100vw;
  background: rgba(38, 48, 65, .18);
  z-index: -1;
  pointer-events: none;
  display: none;
}
.mobile-menu.show::after { display: block; }

/* =======================
   SECTION STYLES & FLEXBOX LAYOUTS
======================= */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
section:last-child { margin-bottom: 0; }

@media (max-width: 768px) {
  section {
    padding: 20px 0;
    margin-bottom: 40px;
  }
}

/* Features/Services list (ul inside content-wrapper) */
.content-wrapper > ul {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
  margin-bottom: 8px;
}
.content-wrapper > ul li {
  background: var(--primary-light);
  color: var(--text);
  border-radius: 10px;
  box-shadow: 0 1px 6px rgba(35,105,67,0.04);
  padding: 18px 20px 16px 56px;
  min-width: 270px;
  position: relative;
  flex: 1 1 260px;
  font-size: 1rem;
  transition: box-shadow 0.18s, transform 0.18s;
}
.content-wrapper > ul li img {
  position: absolute;
  left: 20px;
  top: 19px;
  width: 26px; height: 26px;
}
.content-wrapper > ul li span {
  color: var(--primary);
  font-family: 'Georgia', serif;
  font-weight: 400;
  display: inline-block;
  margin-top: 8px;
  font-size: 0.96em;
}
.content-wrapper > ul li:hover {
  box-shadow: 0 5px 18px rgba(35, 105, 67, 0.11);
  transform: translateY(-2px) scale(1.02);
}

@media (max-width: 768px) {
  .content-wrapper > ul {
    flex-direction: column;
    gap: 16px;
  }
  .content-wrapper > ul li {
    min-width: 0;
    padding: 14px 12px 12px 46px;
    font-size: 0.97rem;
  }
  .content-wrapper > ul li img {
    left: 10px;
    top: 14px;
    width: 22px; height: 22px;
  }
}

/* =======================
   FOOTER
======================= */
footer {
  background: #f7f6f4;
  border-top: 1.5px solid var(--border);
  padding: 38px 0 16px 0;
  margin-top: 70px;
  font-size: 1rem;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
}
.footer-brand img {
  width: 42px; height: auto; margin-bottom: 7px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}
.footer-socials {
  display: flex;
  gap: 16px;
  align-items: center;
}
.footer-socials a img {
  width: 28px; height: 28px;
  border-radius: 50%;
}
@media (max-width: 768px){
  .footer-nav, .footer-socials {
    gap: 9px;
    margin-top: 6px;
  }
}
@media (max-width: 520px) {
  footer .container { padding: 0 6px; }
  .footer-brand, .footer-nav, .footer-socials {
    gap: 6px !important;
    font-size: 0.96rem;
  }
}

/* =======================
   TESTIMONIAL & CTA CARD STYLES
======================= */
.testimonial-card {
  background: #fff;
  color: #263041;
  border-left: 5px solid var(--primary);
  box-shadow: var(--shadow);
  border-radius: 12px;
  margin-bottom: 20px;
  padding: 20px 22px 18px 30px;
  display: flex;
  flex-direction: column;
  min-width: 0;
  transition: box-shadow .16s;
}
.testimonial-card:hover {
  box-shadow: 0 4px 28px rgba(35,105,67,0.18);
}
.testimonial-card blockquote {
  border: none; background: none; padding: 0; font-size: 1.07em; color: var(--text);
}
.testimonial-card cite {
  color: var(--primary-dark);
}
@media (max-width: 768px) {
  .testimonial-card {
    padding: 14px 12px 10px 15px;
  }
}

/* =======================
   COOKIE CONSENT BANNER & MODAL
======================= */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0; right: 0;
  width: 100vw;
  z-index: 5000;
  background: #fff;
  border-top: 2px solid var(--primary);
  box-shadow: 0 -4px 34px rgba(35,105,67,0.11);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 16px 16px 18px 16px;
  font-size: 1rem;
  font-family: 'Georgia', serif;
  animation: cookies-slidein 0.7s cubic-bezier(.46,.76,.49,1.12);
}
@keyframes cookies-slidein {
  0% { opacity: 0; transform: translateY(100%); }
  100% { opacity: 1; transform: translateY(0); }
}
.cookie-banner p {
  flex: 1;
  color: var(--text);
}
.cookie-banner .cookie-btn {
  margin-left: 12px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 7px;
  padding: 9px 22px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: .03em;
  cursor: pointer;
  transition: background 0.15s, color 0.14s;
}
.cookie-banner .cookie-btn.settings {
  background: var(--accent);
  color: var(--primary-dark);
}
.cookie-banner .cookie-btn.reject {
  background: #f3efe3;
  color: var(--primary);
  border: 1.2px solid var(--primary);
}
.cookie-banner .cookie-btn:hover {
  background: var(--primary-dark);
  color: #fff;
}
.cookie-banner .cookie-btn.settings:hover {
  background: #ffe170;
  color: var(--primary-dark);
}
.cookie-banner .cookie-btn.reject:hover {
  background: #fff2c5; color: var(--primary);
}
@media(max-width: 680px){
  .cookie-banner{ flex-direction: column; gap: 8px; padding: 12px 2px; align-items: stretch; font-size: 0.96rem; }
  .cookie-banner .cookie-btn { margin-left: 0; margin-top: 6px; }
}

/* COOKIE PREFERENCES MODAL */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  z-index: 7000;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(38,48,65,0.25);
  align-items: center;
  justify-content: center;
}
.cookie-modal-overlay.active { display: flex; }
.cookie-modal {
  width: 95vw; max-width: 410px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 33px rgba(35,105,67,0.16);
  padding: 30px 28px 22px 28px;
  position: relative;
  animation: fade-in-cm .34s cubic-bezier(.38,1.25,.61,1.08);
}
@keyframes fade-in-cm {
  0% { transform: scale(.91); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.3em;
  margin-bottom: 18px;
  color: var(--primary);
  font-family: 'Georgia', serif;
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  top: 14px;
  right: 17px;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  color: var(--primary-dark);
  cursor: pointer;
  border-radius: 6px;
  transition: background 0.11s;
  padding: 3px 8px;
}
.cookie-modal .cookie-modal-close:hover {
  background: var(--primary-light);
}
.cookie-modal form {
  margin: 0 0 16px 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
}
.cookie-modal .cookie-category label {
  font-family: 'Georgia', serif;
  font-size: 1.01rem;
  color: var(--primary-dark);
}
.cookie-modal .cookie-category input[type=checkbox] {
  appearance: none;
  width: 19px; height: 19px;
  border-radius: 5px;
  border: 1.8px solid var(--primary);
  background: #fff;
  position: relative;
  vertical-align: middle;
  outline: none; margin-right: 3px;
  transition: border 0.13s, box-shadow 0.13s;
  cursor: pointer;
}
.cookie-modal .cookie-category input[type=checkbox]:checked {
  background: var(--accent);
  border-color: var(--primary-dark);
}
.cookie-modal .cookie-category input[type=checkbox]:checked:after {
  content: "";
  display: block;
  width: 9px; height: 9px;
  background: var(--primary-dark);
  border-radius: 2px;
  position: absolute;
  top: 4px; left: 4px;
}
.cookie-modal .cookie-category input[disabled] {
  background: #f0f0ed;
  border: 1.5px solid #c3c5c3;
  cursor: not-allowed;
}
.cookie-modal .cookie-description {
  color: var(--text-muted);
  font-size: 0.96em;
  margin-bottom: 6px;
  margin-left: 33px;
}
.cookie-modal .cookie-modal-actions {
  margin-top: 12px;
  display: flex;
  gap: 16px;
  justify-content: flex-end;
}
.cookie-modal .cookie-btn {
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 7px;
  padding: 9px 22px;
  font-size: 1rem;
  font-family: 'Georgia', serif;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s;
  outline: none;
}
.cookie-modal .cookie-btn:hover { background: var(--primary-dark); }

/* =======================
   FORM ELEMENTS
======================= */
input, textarea, select {
  font-family: 'Georgia', serif;
  font-size: 1rem;
  padding: 9px 12px;
  border: 1.2px solid var(--border);
  border-radius: 7px;
  margin-bottom: 18px;
  background: #fff;
  color: var(--primary-dark);
  transition: border-color 0.15s, box-shadow 0.15s;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 5px 1px var(--primary-light);
}

/* =======================
   UTILITY CLASSES
======================= */
.text-center, .text--center { text-align: center !important; }
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-24 { margin-top: 24px !important; }
.mb-24 { margin-bottom: 24px !important; }
.mt-40 { margin-top: 40px !important; }
.mb-40 { margin-bottom: 40px !important; }

/* =======================
   MICRO-INTERACTIONS/TRANSITIONS
======================= */
button, .btn-primary, .btn-secondary, .cookie-btn {
  transition: background 0.17s, box-shadow 0.17s, color 0.15s, transform 0.13s;
}
.card, .testimonial-card {
  transition: box-shadow 0.22s, transform 0.19s;
}
.card:hover, .testimonial-card:hover { transform: translateY(-2px) scale(1.01); }

/* =======================
   ACCESSIBILITY
======================= */
a:focus, button:focus, .btn-primary:focus, .btn-secondary:focus {
  outline: 2.5px solid var(--accent);
  outline-offset: 2px;
}

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