/* === Virentis Budík Nature Organic CSS === */
/* 1. CSS Reset & Box Sizing */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  color: #374151;
  background: #f9fafb;
  min-height: 100vh;
  line-height: 1.6;
  font-size: 16px;
}
img, svg {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: #234537;
  text-decoration: underline;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #1b3527;
  text-decoration: none;
}

/* 2. Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: #223427;
  margin-bottom: 16px;
  font-weight: 700;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.5rem; line-height: 1.15; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.25rem; margin-bottom: 16px; }
h4 { font-size: 1rem; }
p, ul, ol {
  margin-bottom: 16px;
}
ul, ol {
  padding-left: 24px;
}
ul li, ol li {
  margin-bottom: 8px;
}
.subheadline {
  color: #618c56;
  font-size: 1.2rem;
  font-family: 'Montserrat', 'Roboto', Arial;
  margin-bottom: 24px;
  font-weight: 500;
}
strong {
  color: #234537;
  font-weight: 700;
}

/* 3. Layout Containers with Flexbox Only */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Spacing for Sections as per Styleguide */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fffbe9;
  border-radius: 32px 32px 32px 80px / 48px 32px 72px 32px; /* organic shape */
  box-shadow: 0 6px 32px 0 rgba(80, 90, 60, 0.07);
}
@media (max-width: 600px) {
  section {
    padding: 24px 8px;
    border-radius: 18px;
  }
}

/* Card & Cards Container */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #f8f6ef;
  border-radius: 24px 48px 24px 24px/44px 24px 44px 28px;
  box-shadow: 0 2px 16px 0 rgba(85,120,80,0.08);
  margin-bottom: 20px;
  padding: 32px 24px;
  position: relative;
  transition: box-shadow 0.3s, transform 0.2s;
  min-width: 240px;
  flex: 1 1 280px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
.card:hover, .card:focus-within {
  box-shadow: 0 6px 36px 0 rgba(60,80,60,0.14);
  transform: translateY(-3px) scale(1.012);
}

.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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 24px;
  background: #fff;
  border-radius: 24px 48px 24px 24px/36px 28px 40px 18px;
  box-shadow: 0 5px 30px 0 rgba(66, 65, 11, 0.06);
  margin-bottom: 20px;
  border-left: 6px solid #34d399;
  max-width: 600px;
}
.testimonial-card p {
  color: #223427;
  font-size: 1.04rem;
}
.testimonial-card strong {
  color: #618c56;
  font-size: 1rem;
}

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

.map-section {
  margin-top: 24px;
}
.map-placeholder {
  width: 100%;
  height: 180px;
  background: repeating-linear-gradient(-45deg, #ede8da, #ede8da 6px, #f5f3e2 8px, #f5f3e2 12px);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #a3a3a0;
  font-size: 1.2rem;
}

/* 4. Header, Navigation & Logo */
header {
  background: #f4f8f3;
  border-bottom: 1.5px solid #e2e8f0;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  gap: 20px;
}
.logo img {
  height: 38px;
  width: auto;
  border-radius: 40% 60% 65% 35% / 60% 40% 35% 65%; /* organic logo shape */
  background-color: #eaf5ea;
  padding: 4px 8px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}
.main-nav a {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 500;
  color: #284729;
  font-size: 1rem;
  padding: 8px 12px;
  border-radius: 16px;
  transition: background 0.16s, color 0.17s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #e2efd9;
  color: #156843;
}
.main-nav .cta-btn {
  background: #34D399;
  color: #1e352b;
  border: none;
  border-radius: 22px 30px 18px 32px / 32px 18px 30px 22px;
  font-weight: 700;
  font-size: 1.08rem;
  padding: 8px 22px;
  box-shadow: 0 3px 12px 0 rgba(52,211,153,0.09);
  margin-left: 12px;
  transition: background 0.18s, box-shadow 0.24s, color 0.15s;
}
.main-nav .cta-btn:hover, .main-nav .cta-btn:focus {
  background: #23a86b;
  color: #fffbe9;
  box-shadow: 0 7px 24px rgba(60,160,80,0.08);
}

/* Mobile nav hamburger */
.mobile-menu-toggle {
  background: #fffbe9;
  border: none;
  font-size: 2rem;
  color: #223427;
  border-radius: 16px;
  padding: 4px 14px;
  box-shadow: 0 1px 5px rgba(70,110,78,0.05);
  display: none;
  cursor: pointer;
  margin-left: 14px;
  transition: background 0.16s, color 0.14s;
  z-index: 111;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: #e2efd9;
}

@media (max-width: 900px) {
  .main-nav { display: none; }
  .mobile-menu-toggle { display: inline-block; }
}

/* mobile menu overlay */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(42,61,38,0.92);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.87,.11,.24,.92);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 28px 30px 18px 0;
  color: #f8dcc5;
  background: transparent;
  font-size: 2.2rem;
  border: none;
  cursor: pointer;
  z-index: 2200;
  transition: color 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #34D399;
  background: #30453344;
  border-radius: 50%;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 16px 38px;
  margin-top: 12px;
  width: 100%;
}
.mobile-nav a {
  padding: 18px 8px;
  font-size: 1.18rem;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: #faf8ee;
  letter-spacing: 0.01em;
  border-radius: 18px;
  transition: background 0.18s, color 0.22s;
  display: block;
  font-weight: 600;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #1c3424;
  color: #34D399;
}

/* 5. Footer */
footer {
  background: #ede8da;
  padding: 40px 0 12px 0;
  margin-top: 60px;
}
footer .container {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  align-items: center;
}
.footer-nav a {
  font-size: 0.98rem;
  color: #377354;
  padding: 4px 8px;
  border-radius: 10px;
  transition: color 0.19s, background 0.18s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #d6eed0;
  color: #156843;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 14px;
}
.footer-brand img {
  height: 34px;
  width: auto;
}
.footer-brand p {
  color: #78817a;
  font-family: 'Montserrat','Roboto',sans-serif;
  font-size: 1rem;
}

@media (max-width: 600px) {
  footer .container {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .footer-brand { margin-top: 10px; }
}

/* 6. Buttons & CTA */
.cta-btn {
  background: #34d399;
  color: #172a1c;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  border: none;
  border-radius: 999px 32px 28px 32px / 40px 18px 40px 22px;
  padding: 12px 30px;
  margin-top: 8px;
  margin-bottom: 6px;
  cursor: pointer;
  transition: background 0.17s, color 0.16s, box-shadow 0.26s, transform 0.14s;
  box-shadow: 0 4px 12px 0 rgba(52,211,153,0.11);
  display: inline-block;
}
.cta-btn:hover, .cta-btn:focus {
  background: #23a86b;
  color: #fffbe9;
  box-shadow: 0 10px 30px 0 rgba(62,150,80,0.16);
  transform: scale(1.03) translateY(-2px);
}

button, .cta-btn, input[type="submit"] {
  outline: none;
  border: none;
}

/* 7. Lists with Icons (features) */
ul li > img, ol li > img {
  width: 22px;
  height: 22px;
  margin-right: 10px;
  vertical-align: middle;
  display: inline-block;
  border-radius: 50%;
  background: #e4eedf;
  padding: 3.5px;
}
li {
  display: flex;
  align-items: center;
  gap: 8px;
}
@media (max-width: 700px) {
  ul li, ol li {
    font-size: 0.98rem;
  }
}

/* 8. Misc - Text sections, Map, Info */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
@media (min-width: 800px) {
  .text-section {
    flex-direction: row;
    gap: 42px;
    align-items: stretch;
  }
  .text-section > div {
    min-width: 212px;
    max-width: 340px;
  }
}

/* 9. Responsive - Layout corrections */
@media (max-width: 1000px) {
  .container {
    max-width: 95vw;
    padding-left: 6vw;
    padding-right: 6vw;
  }
  section { padding: 30px 4vw; }
}
@media (max-width: 700px) {
  h1 { font-size: 1.65rem; }
  h2 { font-size: 1.35rem; }
  .container { padding-left: 2vw; padding-right: 2vw; }
}
@media (max-width: 480px) {
  .card, .testimonial-card { padding: 14px 6px; }
  section { margin-bottom: 32px; padding: 18px 2.5vw; }
}

/* 10. Cookie Consent Banner & Modal */
#cookie-consent-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #ede8da;
  color: #2d3c29;
  border-top: 2.4px solid #cce3c4;
  box-shadow: 0 -2px 24px 0 rgba(66,80,55,0.08);
  z-index: 3000;
  padding: 22px 18px 20px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  animation: cc-slide-in 0.8s cubic-bezier(.82,.01,.19,.96);
}
@keyframes cc-slide-in { 0% { transform: translateY(50px); opacity: 0;} 100% {transform: none; opacity: 1;} }
#cookie-consent-banner p {
  font-size: 1rem;
}
.cookie-actions {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 3px;
}
.cookie-btn {
  background: #eaf5ea;
  color: #2f684a;
  border: none;
  border-radius: 22px 30px 18px 24px / 32px 18px 30px 18px;
  font-weight: 600;
  font-family: 'Montserrat','Roboto',sans-serif;
  font-size: 1rem;
  padding: 9px 20px;
  box-shadow: 0 2px 8px rgba(52,211,153,0.08);
  cursor: pointer;
  transition: background 0.16s, color 0.14s;
}
.cookie-btn.accept {
  background: #34d399;
  color: #fffbe9;
}
.cookie-btn.accept:hover,
.cookie-btn.accept:focus {
  background: #23a86b;
  color: #fff;
}
.cookie-btn.reject {
  background: #dde3d5;
  color: #634430;
}
.cookie-btn.reject:hover,
.cookie-btn.reject:focus {
  background: #e6bca4;
  color: #3d241b;
}
.cookie-btn.settings {
  background: #fbe6b1;
  color: #7b6128;
}
.cookie-btn.settings:hover,
.cookie-btn.settings:focus {
  background: #ece3bb;
}

#cookie-modal {
  position: fixed;
  left: 50%; top: 48%;
  transform: translate(-50%,-50%) scale(1);
  background: #fffbe9;
  color: #283f2b;
  border-radius: 30px;
  box-shadow: 0 12px 48px 0 rgba(36,41,17, 0.21);
  padding: 38px 30px 30px 30px;
  z-index: 4000;
  min-width: 300px;
  max-width: 94vw;
  display: none;
  flex-direction: column;
  gap: 22px;
  animation: modal-appear .3s cubic-bezier(.5,.04,.38,1.01);
}
#cookie-modal.open {
  display: flex;
}
@keyframes modal-appear {
  0% { opacity: 0; transform: translate(-50%,30%) scale(.97); }
  100% { opacity: 1; transform: translate(-50%,-50%) scale(1); }
}
#cookie-modal h2 {
  font-size: 1.23rem;
  margin-bottom: 4px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 16px;
}
.cookie-category label {
  font-size: 1rem;
}
.cookie-category input[type="checkbox"] {
  accent-color: #34d399;
  width: 20px;
  height: 20px;
}
.cookie-modal-actions {
  margin-top: 8px;
  display: flex;
  gap: 18px;
  justify-content: flex-end;
}
#cookie-modal .close-modal-btn {
  position: absolute;
  top: 22px;
  right: 32px;
  background: transparent;
  border: none;
  font-size: 1.65rem;
  cursor: pointer;
  color: #a1af9f;
  transition: color 0.12s;
}
#cookie-modal .close-modal-btn:hover,
#cookie-modal .close-modal-btn:focus {
  color: #34d399;
}

@media (max-width: 500px) {
  #cookie-modal {
    padding: 20px 5vw 20px 5vw;
    min-width: unset;
  }
}

/* 11. Accessibility, Focus & Animations */
:focus-visible {
  outline: 2.5px dashed #34d399 !important;
  outline-offset: 2px;
}
button:active, .cta-btn:active {
  transform: scale(0.99);
}

/* 12. Micro-interactions */
.card, .testimonial-card, .cta-btn, .main-nav a, .mobile-nav a {
  transition: box-shadow 0.22s, background 0.17s, color 0.13s, transform 0.11s;
}

/* 13. Utility Spacing (if supporting e.g. .mb-... classes) */
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }

/* -- END -- */
