/* =====================================================
   RESET & BASE TYPOGRAPHY (NATURE ORGANIC THEME, MOBILE FIRST)
   ===================================================== */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  color: #22332e;
  background-color: #f6f3ee;
  line-height: 1.65;
  font-size: 1rem;
  min-height: 100vh;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
ul, ol {
  list-style: none;
  padding: 0;
}
a {
  text-decoration: none;
  color: #195939;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #3f7d4d;
}
button, input, textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  background: none;
  outline: none;
}

/* ----------------------------------------------------
   COLOR PALETTE (NATURE ORGANIC w/ BRAND COLORS)
------------------------------------------------------
Earth base: #eae6db
Forest green: #195939
Accent gold: #d2b48c
Secondary berry: #D72660
Brand blue: #191970
Natural offwhite: #F4F4F6
*/
:root {
  --color-bg: #f6f3ee;
  --color-bg-alt: #eae6db;
  --color-primary: #195939;
  --color-accent: #d2b48c;
  --color-secondary: #D72660;
  --color-brandblue: #191970;
  --color-text: #22332e;
  --color-green-light: #def1e2;
  --color-gray: #a4a494;
  --color-white: #fff;
  --color-card-bg: #fffbe7;
  --color-shadow: rgba(32, 57, 36, 0.07);
}

/* ----------------------------------------------------
   TYPOGRAPHY
------------------------------------------------------ */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  color: #195939;
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}
h1 {
  font-size: 2.5rem; /* 40px mobile */
}
h2 {
  font-size: 2rem;  /* 32px mobile */
}
h3 {
  font-size: 1.5rem; /* 24px mobile */
}
h4 {
  font-size: 1.125rem;
  color: #22332e;
}
p, li, address {
  font-size: 1rem;
  margin-bottom: 12px;
  color: #22332e;
}
strong {
  color: #195939;
  font-weight: 700;
}
small {
  font-size: 0.93em;
  color: var(--color-gray);
}

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

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background-color: var(--color-bg-alt);
  border-radius: 32px 32px 38px 18px/28px 38px 32px 34px;
  box-shadow: 0 8px 32px var(--color-shadow);
  transition: box-shadow 0.25s;
}
.section:last-child {
  margin-bottom: 0;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}

.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--color-card-bg);
  border-radius: 24px 32px 22px 28px/24px 22px 30px 36px;
  box-shadow: 0 2px 12px var(--color-shadow);
  padding: 28px 24px;
  flex: 1 1 280px;
  min-width: 240px;
  transition: box-shadow 0.3s, transform 0.25s;
}
.card:hover {
  box-shadow: 0 8px 24px rgba(32, 57, 36, 0.14);
  transform: translateY(-3px) scale(1.02);
}

.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: center;
  gap: 20px;
  background: #fff;
  box-shadow: 0 2px 12px var(--color-shadow);
  border-radius: 24px 38px 22px 28px/28px 33px 22px 32px;
  padding: 20px;
  margin-bottom: 20px;
  min-width: 220px;
  max-width: 520px;
}
.testimonials .testimonial-card p {
  color: #22332e;
  font-size: 1.125em;
  font-style: italic;
}
.testimonial-card div {
  color: #195939;
  font-weight: 600;
  font-size: 1em;
  letter-spacing: 0.01em;
}

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

.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.features-grid > div {
  background: var(--color-card-bg);
  border-radius: 26px 24px 32px 20px/24px 27px 24px 28px;
  box-shadow: 0 2px 10px var(--color-shadow);
  padding: 24px 20px;
  flex: 1 1 280px;
  min-width: 240px;
  max-width: 100%;
  margin-bottom: 20px;
  transition: box-shadow 0.3s;
}
.features-grid > div:hover {
  box-shadow: 0 8px 24px rgba(32, 57, 36, 0.11);
}

.text-section {
  background: #f8f6f0;
  border-radius: 20px 30px 28px 24px/22px 28px 24px 28px;
  box-shadow: 0 4px 18px 0 var(--color-shadow);
  padding: 32px 20px;
  margin-bottom: 40px;
}
.confirmation {
  background: var(--color-card-bg);
  padding: 32px 20px;
  border-radius: 30px 24px 34px 18px/30px 28px 22px 28px;
  box-shadow: 0 2px 14px var(--color-shadow);
  text-align: center;
  gap: 16px;
}

.contact-success {
  background: var(--color-green-light);
  border-radius: 18px 28px 24px 30px/24px 22px 20px 26px;
  padding: 18px 14px;
  margin-top: 16px;
  font-size: 1.02em;
}

/* ----------------------------------------------------
   HEADER & NAVIGATION
------------------------------------------------------ */
header {
  width: 100%;
  background: var(--color-bg);
  box-shadow: 0 2px 16px rgba(25, 89, 57, 0.07);
  border-radius: 0 0 32px 32px/0 0 20px 28px;
  margin-bottom: 20px;
  position: relative;
  z-index: 100;
}
header .container {
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  min-height: 72px;
  padding-top: 12px;
  padding-bottom: 12px;
}
.logo-link img {
  max-height: 54px;
  width: auto;
}
.main-nav {
  display: flex;
  flex-direction: row;
  gap: 20px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  color: #195939;
  padding: 7px 14px;
  border-radius: 14px;
  transition: background 0.18s, color 0.18s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #def1e2;
  color: #191970;
}
.cta-btn {
  font-family: 'Montserrat', sans-serif;
  display: inline-block;
  background: #195939;
  color: #fff;
  padding: 10px 30px;
  border-radius: 30px 22px 38px 24px/28px 30px 22px 34px;
  box-shadow: 0 3px 14px var(--color-shadow);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.015em;
  transition: background 0.2s, transform 0.13s;
  margin-left: 12px;
}
.cta-btn:hover, .cta-btn:focus {
  background: #2d8831;
  color: var(--color-accent);
  transform: translateY(-2px) scale(1.03);
}

/* Hamburger Menu Button */
.mobile-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #195939;
  background: var(--color-bg-alt);
  border-radius: 40px 20px 28px 34px/30px 28px 40px 20px;
  border: 2px solid #def1e2;
  padding: 4px 16px;
  margin-left: 10px;
  cursor: pointer;
  transition: background 0.2s, color 0.14s;
  z-index: 120;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #d2b48c;
  color: #3f7d4d;
}

/* ----------- Mobile Menu Overlay ----------- */
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(230, 244, 222, 0.98);
  transform: translateX(-100%);
  transition: transform 0.33s cubic-bezier(0.83,0,0.17,1);
  z-index: 9999;
  padding: 0 38px 0 32px;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2.4rem;
  background: #195939;
  color: #fff;
  border-radius: 28px 38px 30px 24px/22px 32px 18px 33px;
  margin-top: 32px;
  margin-bottom: 22px;
  padding: 6px 14px;
  cursor: pointer;
  transition: background 0.24s, color 0.20s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #d2b48c;
  color: #195939;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}
.mobile-nav a {
  color: #195939;
  font-size: 1.28em;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  border-radius: 16px;
  background: #f4f4f6;
  padding: 14px 18px;
  margin-bottom: 7px;
  transition: background 0.15s, color 0.2s;
  width: 100%;
  box-sizing: border-box;
}
.mobile-nav a:active, .mobile-nav a:hover, .mobile-nav a:focus {
  background: #d2b48c;
  color: #191970;
}

/* Hide desktop nav on mobile, show mobile menu toggle */
@media (max-width: 992px) {
  .main-nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: inline-flex;
  }
}
@media (min-width: 993px) {
  .mobile-menu {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* ----------------------------------------------------
   HERO / CALL-TO-ACTION SECTION
------------------------------------------------------ */
.hero {
  background: #def1e2;
  border-radius: 50px 18px 34px 18px/28px 50px 22px 38px;
  box-shadow: 0 4px 18px var(--color-shadow);
  margin-bottom: 60px;
  padding: 40px 0 40px 0;
}
.hero .content-wrapper {
  align-items: flex-start;
  text-align: left;
  gap: 18px;
}
.hero h1 {
  color: #195939;
  font-size: 2.5rem;
  margin-bottom: 10px;
  font-family: 'Montserrat', sans-serif;
}
.hero p {
  color: #22332e;
  font-size: 1.18rem;
  margin-bottom: 24px;
}
.cta {
  background: #eae6db;
  border-radius: 38px 28px 42px 36px/32px 44px 24px 33px;
  margin-bottom: 60px;
  box-shadow: 0 2px 14px var(--color-shadow);
}
.cta .content-wrapper {
  align-items: center;
  text-align: center;
  gap: 14px;
}
.cta h2 {
  color: #195939;
}

/* ----------------------------------------------------
   LISTS & ICONS
------------------------------------------------------ */
ul li, .text-section li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 10px;
  font-size: 1.01em;
  color: #22332e;
}
ul li img {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  margin-right: 8px;
}
.text-section ul {
  margin-top: 16px;
}


/* ----------------------------------------------------
   FOOTER
------------------------------------------------------ */
footer {
  background: #eae6db;
  border-radius: 32px 32px 0 0/20px 35px 0 0;
  box-shadow: 0 -2px 14px var(--color-shadow);
  padding: 38px 0 24px 0;
  margin-top: 40px;
}
footer .container {
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 36px;
}
.logo-link-footer img {
  height: 50px;
  width: auto;
  margin-right: 12px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 13px;
  min-width: 140px;
}
.footer-nav a {
  color: #22332e;
  font-size: 1em;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  transition: color 0.14s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #195939;
}
.footer-contact {
  font-size: 1em;
  color: #22332e;
}
footer address {
  font-style: normal;
  color: #22332e;
  line-height: 1.56;
  margin-bottom: 10px;
}
footer img[alt^="Telefon"],
footer img[alt^="E-mail"],
footer img[alt^="Godziny"] {
  width: 20px;
  height: 20px;
  vertical-align: baseline;
  margin-right: 5px;
}
footer small {
  display: block;
  margin-top: 20px;
  color: #6c8679;
}

/* ----------------------------------------------------
   RESPONSIVE DESIGN – Mobile First!
------------------------------------------------------ */
@media (max-width: 1100px) {
  .container {
    max-width: 950px;
  }
  .features-grid > div, .card {
    min-width: 180px;
    padding: 16px 12px;
  }
}
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  .container {
    max-width: 98vw;
    padding-left: 8px;
    padding-right: 8px;
  }
  .section, .cta, .text-section {
    padding: 24px 4vw !important;
    margin-bottom: 38px;
    border-radius: 16px 22px 28px 20px/18px 30px 18px 24px;
  }
  .features-grid,
  .card-container,
  .content-grid {
    flex-direction: column !important;
    gap: 14px;
  }
  .card {
    min-width: 80vw;
    padding: 18px 10px;
    margin-bottom: 16px;
  }
  .features-grid > div {
    min-width: 80vw;
    padding: 15px 10px;
    margin-bottom: 16px;
  }
  .text-image-section {
    flex-direction: column !important;
    gap: 18px;
    align-items: flex-start;
  }
  .testimonial-card {
    max-width: 96vw;
    min-width: unset;
    padding: 15px 10px;
  }
  footer .container {
    flex-direction: column;
    gap: 19px;
    align-items: flex-start;
    padding: 10px 6px 15px 6px;
  }
  .footer-contact,
  .footer-nav {
    margin-left: 0;
  }
  .hero h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.25rem; }
}

@media (max-width: 480px) {
  html { font-size: 14px; }
  .logo-link img, .logo-link-footer img {
    max-height: 38px;
  }
}

/* ----------------------------------------------------
   BUTTONS & MICRO-INTERACTIONS
------------------------------------------------------ */
button, .cta-btn, [role="button"] {
  cursor: pointer;
  outline: none;
}
.cta-btn, .mobile-menu-toggle, .mobile-menu-close, .cookie-btn {
  transition: background 0.22s, color 0.18s, transform 0.13s;
}
.cta-btn:active, .mobile-menu-toggle:active, .mobile-menu-close:active, .cookie-btn:active {
  filter: brightness(0.92);
  transform: scale(0.98);
}

/* ----------------------------------------------------
   COOKIE CONSENT BANNER & MODAL
------------------------------------------------------ */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #eae6db;
  color: #22332e;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 26px;
  box-shadow: 0 -2px 18px var(--color-shadow);
  z-index: 12345;
  font-size: 1.01em;
  border-radius: 20px 20px 0 0/24px 18px 0 0;
  animation: cookieSlideUp 0.5s cubic-bezier(0.6,0.1,0.4,1);
}
.cookie-banner.hide {
  display: none;
}
.cookie-banner span {
  flex: 1 1 60%;
}
.cookie-btn {
  min-width: 120px;
  margin-left: 9px;
  padding: 10px 18px;
  border-radius: 18px 24px 22px 15px/15px 20px 18px 24px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  background: #d2b48c;
  color: #195939;
  box-shadow: 0 1px 7px var(--color-shadow);
  border: 2px solid #19593921;
  transition: background 0.22s, color 0.22s, border 0.15s;
}
.cookie-btn.accept {
  background: #195939;
  color: #fff;
}
.cookie-btn.reject {
  background: #D72660;
  color: #fff;
}
.cookie-btn.settings {
  background: #f4f4f6;
  color: #195939;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #195939;
  color: #fff;
}

/* Cookie Modal */
.cookie-modal {
  display: none;
  position: fixed;
  z-index: 12346;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(49, 84, 50, 0.52);
  justify-content: center;
  align-items: center;
  padding: 24px;
  animation: cookieModalFadeIn 0.22s cubic-bezier(0.55,0.1,0.45,1);
}
.cookie-modal.active {
  display: flex;
}
.cookie-modal-content {
  background: #fffbe7;
  color: #195939;
  border-radius: 24px 28px 24px 18px/18px 24px 28px 22px;
  box-shadow: 0 8px 40px var(--color-shadow);
  padding: 34px 26px 26px 26px;
  max-width: 430px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  animation: cookieContentPopIn 0.24s cubic-bezier(0.55,0.1,0.45,1);
}
.cookie-modal-content h2 {
  color: #191970;
  margin-bottom: 8px;
}
.cookie-modal-category {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
  padding: 8px 0;
  border-bottom: 1px dashed #e7e6cd;
}
.cookie-modal-category:last-child {
  border-bottom: none;
}
.cookie-modal-category input[type="checkbox"] {
  width: 22px;
  height: 22px;
  border-radius: 8px;
  accent-color: #195939;
}
.cookie-modal-btns {
  display: flex;
  gap: 16px;
  margin-top: 18px;
}
.cookie-modal-close {
  position: absolute;
  top: 9px;
  right: 11px;
  background: #195939;
  color: #fff;
  font-size: 2rem;
  border-radius: 33px 22px 28px 20px/21px 26px 32px 19px;
  padding: 2px 14px;
  border: none;
  cursor: pointer;
  transition: background 0.16s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #D72660;
}

@keyframes cookieSlideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}
@keyframes cookieModalFadeIn {
  from { background: rgba(49, 84, 50, 0.01); }
  to { background: rgba(49, 84, 50, 0.52); }
}
@keyframes cookieContentPopIn {
  from { opacity: 0; transform: scale(0.92); }
  to   { opacity: 1; transform: scale(1); }
}

@media (max-width: 520px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 10px 8px;
    gap: 10px;
    font-size: 0.96em;
  }
  .cookie-modal-content {
    padding: 18px 8px 14px 8px;
    min-width: 0;
    max-width: 97vw;
  }
}

/* ----------------------------------------------------
   DELICATE ORGANIC TEXTURES, MOTION, HOVER EFFECTS
------------------------------------------------------ */
.hero,
.section,
.card,
.features-grid > div,
.text-section,
.cta,
.testimonial-card,
.confirmation {
  /* Subtle organic undulating background (SVG or noise pattern as enhancement) */
  background-image: url('../assets/bg-noise.png'); /* fallback if present */
  background-repeat: repeat;
  background-size: auto;
  background-blend-mode: soft-light;
}
.card,
.features-grid > div,
.testimonial-card,
.section {
  transition: box-shadow 0.24s, background 0.18s;
}
.card:hover,
.features-grid > div:hover,
.testimonial-card:hover {
  background: #fcfbe8;
  box-shadow: 0 6px 28px rgba(34,51,46,0.11);
}

input:focus, textarea:focus {
  outline: 2px dotted #D72660;
  outline-offset: 2px;
}
button:focus, a:focus-visible {
  outline: 2px solid #195939;
  outline-offset: 2px;
}

/* Smooth transitions for anchor underline */
a {
  position: relative;
}
a:after {
  content: "";
  display: block;
  width: 100%;
  height: 2px;
  background: #d2b48c;
  position: absolute;
  left: 0;
  bottom: -3px;
  opacity: 0;
  transition: opacity 0.14s, transform 0.21s;
  transform: scaleX(0.4);
}
a:hover:after, a:focus:after {
  opacity: 0.75;
  transform: scaleX(1);
}

/* -----------------------------------------------
   HIDE NAME/DATE ICONS IF IMAGE NOT AVAILABLE
-------------------------------------------------*/
img[alt^="Telefon"],
img[alt^="E-mail"],
img[alt^="Godziny"],
img[alt^="Adres"] {
  width: 18px;
  height: 18px;
  margin-right: 5px;
  vertical-align: middle;
}

/* -------------------------------------------------------
   SCROLLBAR, SELECTION: INFUSE WITH NATURE FEELING
------------------------------------------------------- */
::selection {
  background: #def1e2;
  color: #195939;
}
::-webkit-scrollbar {
  width: 9px;
  background: #eae6db;
  border-radius: 12px;
}
::-webkit-scrollbar-thumb {
  background: #d2b48c;
  border-radius: 12px;
}

/* --------------------------------------------
   CUSTOM CLASSES FOR ORGANIC STYLE
-----------------------------------------------*/
.organic-bordered {
  border: 2px solid #d2b48c;
  border-radius: 22px 35px 30px 25px/20px 26px 28px 34px;
  background: #f6f3ee;
}

/* END CSS */
