/* =========================
   Vibrona Ogrodowa – style.css
   Minimalist, Modern, Responsive, Flexbox-only
   ========================= */

/* 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 {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  background: #fff;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  color: #222;
  background: #fff;
  font-size: 16px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
ul, ol {
  list-style: none;
}
button, input, select, textarea {
  font: inherit;
  background: none;
  border: none;
  outline: none;
}
a {
  color: inherit;
  text-decoration: none;
}

/* =========================
   VARIABLES (CSS custom properties/fallback)
   ========================= */
:root {
  --color-primary: #295B35;
  --color-secondary: #6C9772;
  --color-accent: #E7E3D7;
  --color-bg: #fff;
  --color-border: #ededed;
  --color-muted: #b3b3b3;
  --color-heading: #1b271f;
  --color-text: #222;
  --color-link: #295B35;
  --shadow-sm: 0 2px 10px rgba(41,91,53,0.05);
  --shadow-md: 0 4px 24px rgba(41,91,53,0.08);
  --radius: 10px;

  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;
}

/* =========================
   BASIC LAYOUT
   ========================= */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  width: 100%;
}

main {
  flex: 1 0 auto;
}

section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
}

/* Extra optional white space between main sections */
@media (min-width: 1024px) {
  section {
    margin-bottom: 70px;
    padding: 56px 0;
  }
}

/* Typography
   ========================= */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--color-heading);
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1.15;
}
h1 {
  font-size: 2.4rem;
  margin-bottom: 30px;
}
h2 {
  font-size: 1.8rem;
  margin-bottom: 24px;
}
h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}
@media (min-width:768px) {
  h1 {
    font-size: 3rem;
    margin-bottom: 36px;
  }
  h2 {
    font-size: 2.3rem;
    margin-bottom: 28px;
  }
  h3 {
    font-size: 1.4rem;
    margin-bottom: 14px;
  }
}

p, ul, ol, li, blockquote {
  color: var(--color-text);
  font-size: 1rem;
  line-height: 1.65;
  margin-bottom: 1em;
}
.text-section p,
.text-section ul,
.text-section li {
  font-size: 1.06rem;
}

blockquote {
  margin-left: 0;
  border-left: 3px solid var(--color-primary);
  padding-left: 18px;
  color: var(--color-heading);
  font-size: 1.13rem;
  font-style: italic;
  background: #fcfcfa;
  border-radius: var(--radius);
}
blockquote footer {
  font-style: normal;
  color: var(--color-secondary);
  font-size: 0.98rem;
  margin-top: 10px;
}

strong {
  font-weight: 700;
  color: var(--color-primary);
}

.subheadline {
  color: var(--color-secondary);
  font-size: 1.18rem;
  font-family: var(--font-body);
  margin-bottom: 1.5em;
  letter-spacing: 0.1px;
}

/* =========================
   FLEXBOX PATTERNS & SECTIONS
   ========================= */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 280px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: box-shadow 0.23s, border-color 0.23s;
}
.card:hover, .card:focus-within {
  box-shadow: var(--shadow-md);
  border-color: var(--color-secondary);
}

.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;
  margin-bottom: 20px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  max-width: 650px;
  transition: box-shadow 0.18s;
}
.testimonial-card:hover {
  box-shadow: var(--shadow-md);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Generic Feature Grids (for .feature-grid)
   ========================= */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature-grid > div {
  flex: 1 1 240px;
  min-width: 220px;
  background: #fff;
  border-radius: var(--radius);
  padding: 24px 18px;
  box-shadow: var(--shadow-sm);
  text-align: center;
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: box-shadow 0.22s;
}
.feature-grid > div:hover {
  box-shadow: var(--shadow-md);
}
.feature-grid img {
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
}

@media (max-width: 1023px) {
  .feature-grid > div {
    flex: 1 1 calc(50% - 24px);
  }
}
@media (max-width: 768px) {
  .feature-grid {
    flex-direction: column;
    gap: 12px;
  }
  .feature-grid > div {
    min-width: 0;
    width: 100%;
    padding: 18px 14px;
  }
}

/* .section pattern (MANDATORY) */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* All major content cards/sections: ensure margin between them */
section, .card, .testimonial-card, .feature-grid > div {
  margin-bottom: 20px;
}

/* =========================
   HEADER & NAVIGATION
   ========================= */
header {
  background: #fff;
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  box-shadow: 0 1px 8px rgba(41,91,53,0.03);
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
  gap: 18px;
}
.logo img {
  height: 38px;
  width: auto;
  display: block;
}

nav {
  display: flex;
  gap: 22px;
}
nav a {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--color-text);
  padding: 4px 8px;
  border-radius: 5px;
  transition: background 0.14s;
}
nav a:hover, nav a:focus {
  background: var(--color-accent);
  color: var(--color-primary);
}

/* Main CTA button in header */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75em 2.1em;
  background: var(--color-primary);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  border-radius: var(--radius);
  font-size: 1.08rem;
  box-shadow: var(--shadow-sm);
  letter-spacing: 0.04em;
  transition: background 0.16s, box-shadow 0.22s, transform 0.1s;
  border: none;
  cursor: pointer;
  margin-left: 12px;
  margin-right: 6px;
  outline: none;
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--color-secondary);
  color: #fff;
  box-shadow: var(--shadow-md);
  transform: translateY(-2px) scale(1.04);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7em 2em;
  background: transparent;
  color: var(--color-primary);
  border: 1.5px solid var(--color-primary);
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.06rem;
  transition: background 0.16s, color 0.13s, border-color 0.15s;
  cursor: pointer;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: var(--color-accent);
  color: var(--color-secondary);
  border-color: var(--color-secondary);
}

/* =========================
   MOBILE NAVIGATION
   ========================= */
.mobile-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  font-size: 2rem;
  color: var(--color-primary);
  border-radius: 8px;
  padding: 4px 10px;
  margin-left: 10px;
  transition: background 0.14s;
  z-index: 150;
  cursor: pointer;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: var(--color-accent);
  color: var(--color-secondary);
}
.mobile-menu {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  box-shadow: 0 6px 22px rgba(41,91,53,0.08);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateX(100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s cubic-bezier(0.55,0,0.1,1), opacity 0.2s;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  font-size: 2.2rem;
  color: var(--color-primary);
  margin: 26px 24px 0 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  align-self: flex-end;
  padding: 0 6px;
  border-radius: 6px;
  transition: background 0.13s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: var(--color-accent);
}
.mobile-nav {
  width: 100%;
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.mobile-nav a {
  font-size: 1.25rem;
  font-family: var(--font-display);
  color: var(--color-primary);
  padding: 12px 0 6px 0;
  border-bottom: 1px solid #f0f0f0;
  transition: color 0.13s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: var(--color-secondary);
  background: var(--color-accent);
}

@media (max-width: 960px) {
  nav {
    display: none;
  }
  .btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 961px) {
  .mobile-menu-toggle {
    display: none !important;
  }
  .mobile-menu {
    display: none !important;
  }
}

/* =========================
   HERO SECTIONS & ABOVE-FOLD
   ========================= */
.hero,
.hero-about,
.hero-products,
.hero-services,
.hero-gallery,
.hero-advice,
.hero-contact,
.hero-thankyou {
  background: var(--color-accent);
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: 0 1px 24px rgba(41,91,53,0.03);
  padding-top: 72px;
  padding-bottom: 56px;
  margin-bottom: 60px;
  display: flex;
  align-items: center;
}
.hero .container, .hero-about .container, .hero-products .container, .hero-services .container, .hero-gallery .container, .hero-advice .container, .hero-contact .container, .hero-thankyou .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

@media (max-width: 768px) {
  .hero, .hero-about, .hero-products, .hero-services, .hero-gallery,.hero-advice, .hero-contact, .hero-thankyou {
    padding-top: 30px;
    padding-bottom: 24px;
    margin-bottom: 36px;
  }
}

/* =========================
   ABOUT, SERVICES, CONTACT, FEATURE & CARD BLOCKS
   ========================= */
.about, .services, .features, .features-categories, .features-projects, .services-offer, .features-services, .features-location, .features-usps, .features-articles, .features {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.text-section {
  margin-top: 12px;
  margin-bottom: 0;
}
.text-section ul {
  margin-bottom: 0.5em;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.text-section li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.08rem;
}
.text-section img {
  width: 22px;
  height: 22px;
  filter: grayscale(70%) contrast(1.3);
  opacity: 0.80;
}

/* Contact Details Section */
.contact-details ul {
  margin-bottom: 0;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 1.06rem;
}
.contact-details img {
  width: 22px;
  margin-right: 10px;
  filter: grayscale(70%) contrast(1.3);
}

/* CTA blocks */
.cta-gallery, .cta-products, .cta-services, .cta-advice {
  background: var(--color-accent);
  border-radius: var(--radius);
  padding: 38px 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: var(--shadow-sm);
}
.cta-gallery .btn-primary, .cta-products .btn-primary, .cta-services .btn-primary, .cta-advice .btn-primary {
  margin-bottom: 18px;
}

/* Service Price styling */
.service-price {
  display: inline-block;
  margin-top: 12px;
  background: var(--color-accent);
  color: var(--color-primary);
  border-radius: 6px;
  padding: 4px 14px;
  font-size: 1rem;
  font-family: var(--font-display);
  font-weight: 600;
}

/* Legal and info sections */
.legal-privacy, .legal-rodo, .legal-cookies, .legal-terms {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

/* =========================
   TESTIMONIALS
   ========================= */
.testimonials {
  background: #fff;
}
.testimonial-card {
  box-shadow: var(--shadow-sm);
  background: #fff;
  border: 1px solid var(--color-border);
  color: var(--color-text);
  border-radius: var(--radius);
  margin-bottom: 20px;
  max-width: 650px;
  transition: box-shadow 0.16s, border-color 0.14s;
}
.testimonial-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--color-secondary);
}

/* =========================
   FOOTER
   ========================= */
footer {
  background: var(--color-accent);
  border-top: 1px solid var(--color-border);
  padding: 34px 0 12px 0;
  margin-top: 56px;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.footer-links {
  font-size: 0.98rem;
  color: var(--color-primary);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}
.footer-links a {
  color: var(--color-primary);
  transition: color 0.15s;
}
.footer-links a:hover {
  color: var(--color-secondary);
}
.footer-social {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
}
.footer-social img {
  height: 30px;
  width: auto;
}
.footer-social span {
  color: var(--color-muted);
  font-size: 0.98rem;
}

/* =========================
   RESPONSIVE DESIGN
   ========================= */
@media (max-width: 900px) {
  .container {
    max-width: 97vw;
    padding: 0 10px;
  }
  .content-grid, .card-container {
    gap: 16px;
  }
}
@media (max-width: 600px) {
  .container {
    max-width: 99vw;
    padding: 0 4px;
  }
  section {
    padding: 22px 3vw;
    margin-bottom: 30px;
  }
  .content-wrapper, .text-section {
    padding: 0;
  }
  .about, .services, .features, .features-categories, .features-projects, .services-offer, .features-services, .features-location, .features-usps, .features-articles, .features {
    box-shadow: none;
    border-radius: 0;
  }
}

/* Force column on mobile for text-image-section etc. */
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
}

/* =========================
   BUTTONS & INTERACTIONS
   ========================= */
.btn-primary, .btn-secondary {
  cursor: pointer;
  outline: none;
  text-align: center;
  border: none;
  text-decoration: none;
  margin-top: 10px;
  margin-bottom: 12px;
  transition: all 0.18s cubic-bezier(.55,0,.1,1);
}
.btn-primary:active {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 0 0 2px var(--color-secondary);
}
.btn-secondary:active {
  background: var(--color-accent);
  color: var(--color-secondary);
  border-color: var(--color-secondary);
}

/* Make all interactive elements focus-friendly */
:focus-visible {
  outline: 2px solid var(--color-secondary);
  outline-offset: 1px;
}

/* =========================
   MICRO-ANIMATIONS
   ========================= */
a, .btn-primary, .btn-secondary, nav a, .mobile-nav a {
  transition: background 0.18s, color 0.16s, border 0.19s, box-shadow 0.18s;
}

/* =========================
   COOKIE CONSENT BANNER
   ========================= */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #fff;
  box-shadow: 0 -2px 16px rgba(41,91,53,0.06);
  border-top: 1.5px solid var(--color-border);
  z-index: 3000;
  padding: 18px 24px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-size: 1rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
  transition: opacity 0.27s, transform 0.36s cubic-bezier(0.54,0,0.17,1);
}
.cookie-banner.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.cookie-banner-buttons {
  display: flex;
  flex-direction: row;
  gap: 18px;
}
.cookie-btn {
  padding: 0.4em 1.3em;
  border-radius: 6px;
  border: 1px solid var(--color-primary);
  background: #fff;
  color: var(--color-primary);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  cursor: pointer;
  transition: background 0.17s, color 0.13s, border-color 0.17s, box-shadow 0.22s;
  box-shadow: none;
  margin-right: 0;
}
.cookie-btn.accept {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}
.cookie-btn.accept:hover {
  background: var(--color-secondary);
}
.cookie-btn.reject {
  background: #fff;
  color: var(--color-secondary);
  border-color: var(--color-secondary);
}
.cookie-btn.reject:hover {
  background: var(--color-accent);
  color: var(--color-primary);
  border-color: var(--color-primary);
}
.cookie-btn.settings {
  background: var(--color-accent);
  color: var(--color-primary);
  border-color: var(--color-primary);
}
.cookie-btn.settings:hover {
  background: #fff7e6;
}

@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 13px 10px;
    font-size: 0.99rem;
  }
  .cookie-banner-buttons {
    flex-direction: row;
    gap: 10px;
    width: 100%;
  }
}

/* Cookie Modal */
.cookie-modal-backdrop {
  position: fixed;
  left:0; right:0; top:0; bottom:0;
  background: rgba(41,91,53, 0.23);
  z-index: 3200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s;
}
.cookie-modal-backdrop.show {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: #fff;
  border-radius: var(--radius);
  max-width: 95vw;
  min-width: 290px;
  min-height: 120px;
  box-shadow: 0 2px 32px rgba(41,91,53,0.13);
  padding: 32px 26px 24px 26px;
  color: var(--color-primary);
  position: relative;
  z-index: 3400;
  display: flex;
  flex-direction: column;
  gap: 16px;
  opacity: 0;
  transform: translateY(40px) scale(1.01);
  transition: opacity 0.27s, transform 0.29s cubic-bezier(.44,.01,.29,1);
}
.cookie-modal.show {
  opacity: 1;
  transform: none;
}
.cookie-modal h2 {
  margin-bottom: 16px;
  font-size: 1.28rem;
  color: var(--color-primary);
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 1.06rem;
}
.cookie-toggle {
  width: 40px;
  height: 22px;
  border-radius: 11px;
  background: var(--color-border);
  position: relative;
  margin-left: 10px;
  cursor: pointer;
  transition: background 0.21s;
  display: inline-flex;
  vertical-align: middle;
}
.cookie-toggle.on {
  background: var(--color-secondary);
}
.cookie-toggle .switch {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  transition: left 0.21s;
}
.cookie-toggle.on .switch {
  left: 20px;
}
.cookie-toggle[aria-disabled="true"], .cookie-toggle[disabled], .cookie-toggle.disabled {
  cursor: not-allowed;
  background: #dae5db !important;
  opacity: 0.9;
}
.cookie-modal-actions {
  display: flex;
  gap: 16px;
  margin-top: 16px;
  justify-content: flex-end;
}
.cookie-modal .close-modal {
  position: absolute;
  right: 16px;
  top: 12px;
  font-size: 1.6rem;
  background: none;
  border: none;
  color: var(--color-muted);
  cursor: pointer;
  transition: color 0.13s;
}
.cookie-modal .close-modal:hover{
  color: var(--color-primary);
}

@media (max-width: 520px) {
  .cookie-modal {
    padding: 17px 6vw 14px 6vw;
  }
  .cookie-modal h2 {
    font-size: 1rem;
  }
}

/* =========================
   MISCELLANEOUS
   ========================= */
::-webkit-input-placeholder { color: #AAB7B1; }
::-moz-placeholder { color: #AAB7B1; }
:-ms-input-placeholder { color: #AAB7B1; }
::placeholder { color: #AAB7B1; }

/* Buttons accessibility for high contrast mode */
@media (forced-colors: active) {
  .btn-primary, .btn-secondary, .cookie-btn, .mobile-menu-toggle, .mobile-menu-close {
    border-width: 2px !important;
  }
}

/* Hide outline for mouse, show for keyboard navigation */
:not(:focus-visible) {
  outline: none !important;
}

/* Prevent element overlap */
section:not(:last-child) {
  margin-bottom: 60px;
}

/* Ensure no absolute positioning is used for cards or text blocks. Only for decorative/close buttons as above. */

/* =========================
   END OF FILE
   ========================= */
