/* Jasné Pikniky – style.css – NATURE ORGANIC THEME */
/* ================================================================ */
/* === CSS RESET & FONT FACE === */
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%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
  font-size: 16px;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  min-height: 100vh;
  background: #fcfaf7 url('../assets/organic-bg-texture.png') repeat; /* fallback only, can be omitted */
  font-family: 'Roboto', Arial, sans-serif;
  color: #34513a;
  line-height: 1.65;
  font-size: 1rem;
  background-color: #fcfaf7;
}
img {
  display: block;
  max-width: 100%;
}
ul, ol {
  padding-left: 1.2em;
  margin-bottom: 1.4em;
}
a {
  color: #257830;
  text-decoration: none;
  transition: color .18s;
}
a:hover, a:focus {
  color: #184f22;
}

/* === BRAND FONTS === */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;900&family=Roboto:wght@400;500;700&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #20491f;
  font-weight: 900;
  letter-spacing: -1px;
  margin-bottom: 0.6em;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 0.7em;
}
h2 {
  font-size: 2rem;
  margin-bottom: 0.7em;
}
h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.5em;
}
.subheadline {
  font-size: 1.12rem;
  font-family: 'Roboto', Arial, sans-serif;
  color: #5a6845;
  margin-bottom: 18px;
}

strong {
  font-weight: 700;
}

/* === FLEX LAYOUT STRUCTURE === */
.container {
  width: 100%;
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 16px;
}
.content-wrapper,
.content-grid,
.feature-grid,
.service-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
}
.content-wrapper {
  flex-direction: column;
  gap: 20px;
}

/* Main grid for product/services/testimonials sections */
.feature-grid {
  flex-direction: row;
  gap: 28px;
  justify-content: flex-start;
}
.service-cards {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 12px;
}
.service-card {
  flex: 1 1 225px;
  min-width: 220px;
  background: #f2ede4;
  border-radius: 22px;
  padding: 24px 20px;
  box-shadow: 0 1.5px 8px 0 rgba(47, 64, 40, 0.09);
  position: relative;
  transition: box-shadow 0.2s, transform 0.18s;
  margin-bottom: 16px;
  border: 1px solid #e0dacb;
}
.service-card:hover {
  box-shadow: 0 8px 32px -8px rgba(47, 64, 40, 0.13);
  transform: translateY(-4px) scale(1.015);
}

/* === SPACING PATTERNS === */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
}

.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: flex-start;
  gap: 20px;
  background: #fff;
  border-radius: 20px 30px 22px 18px;
  border: 1px solid #e0dacb;
  box-shadow: 0 1.5px 10px 0 rgba(59,94,59,0.10);
  padding: 20px 28px;
  margin-bottom: 22px;
  position: relative;
  max-width: 480px;
  transition: box-shadow .17s, transform .16s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 36px -8px rgba(47, 64, 40, 0.17);
  transform: translateY(-2px) scale(1.02);
}
.testimonial-meta {
  font-size: 0.99rem;
  color: #257830;
  margin-top: 4px;
  font-weight: 700;
}

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

.text-section {
  flex: 1 1 220px;
  margin-right: 20px;
}

/* === HEADER & NAVIGATION === */
header {
  background: #ffffffd9;
  box-shadow: 0 1.5px 10px 0 rgba(59,94,59,0.09);
  position: relative;
  z-index: 30;
  padding: 0 0 0 0;
}
header .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
  padding: 16px 16px 14px 16px;
  justify-content: space-between;
}
header img {
  max-height: 54px;
  margin-right: 20px;
}
.main-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
  font-family: 'Montserrat', Arial, sans-serif;
}
.main-nav a {
  font-size: 1.02rem;
  padding: 8px 0;
  font-weight: 700;
  color: #34513a;
  border-bottom: 2.5px solid transparent;
  border-radius: 4px;
  transition: border .17s, color .15s, background .15s;
}
.main-nav a:hover, .main-nav a:focus {
  color: #257830;
  background: #eef6ef;
  border-bottom: 2.5px solid #FFD700;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  font-size: 1.08rem;
  font-weight: 700;
  border: none;
  border-radius: 32px 26px 21px 32px;
  background: #257830;
  color: #fff;
  box-shadow: 0 0.5px 5px 0 rgba(47, 64, 40, 0.06);
  cursor: pointer;
  transition: background .19s, box-shadow .19s, transform .11s;
  text-transform: none;
}
.btn-primary:hover, .btn-primary:focus {
  background: #184f22;
  color: #FFD700;
  box-shadow: 0 6px 18px -3px rgba(37, 120, 48, 0.07);
  transform: translateY(-1px) scale(1.025);
}

/* === MOBILE NAVIGATION === */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 22px;
  right: 18px;
  z-index: 51;
  width: 48px;
  height: 48px;
  border: none;
  background: #257830;
  color: #fff;
  font-size: 2.1rem;
  border-radius: 50%;
  box-shadow: 0 1.5px 8px 0 rgba(47, 64, 40, 0.11);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: background .17s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #184f22;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #f2ede4dc;
  box-shadow: 0 0 32px rgba(28,48,20,0.08);
  z-index: 60;
  transform: translateX(-105vw);
  transition: transform .32s cubic-bezier(.55,.18,.44,1), opacity .17s;
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.active {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  margin: 24px 18px 0 auto;
  background: none;
  border: none;
  color: #257830;
  font-size: 2.2rem;
  line-height: 1;
  padding: 0 11px;
  border-radius: 50%;
  cursor: pointer;
  transition: background .16s;
  z-index: 100;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #e0dacb;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: flex-start;
  justify-content: flex-start;
  margin: 40px 22px;
}
.mobile-nav a {
  font-size: 1.2rem;
  color: #20491f;
  padding: 12px 8px 12px 2px;
  border-radius: 8px;
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: background .15s, color .13s;
  line-height: 1.2;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #e0dacb;
  color: #184f22;
}

/* === FOOTER === */
footer {
  background: #11361a;
  color: #e0dacb;
  padding: 40px 0 16px 0;
  font-size: 1rem;
  border-top: 2.5px solid #FFD70033;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 12px;
}
.footer-logo img {
  height: 44px;
  margin-bottom: 12px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-nav a {
  color: #FFD700;
  font-weight: 700;
  text-decoration: underline;
  margin-bottom: 4px;
  transition: color .16s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #fff;
}
.footer-contact {
  color: #e0dacb;
  font-size: 0.98rem;
  line-height: 1.55;
}
.footer-contact a {
  color: #FFD700;
  font-weight: 700;
  text-decoration: underline;
  transition: color .13s;
}
.footer-contact a:hover, .footer-contact a:focus {
  color: #fff;
}

/* === ORGANIC SHAPES & TEXTURES (decorative) === */
section, .service-card, .testimonial-card {
  background-image: url('../assets/organic-shape.svg');
  background-repeat: no-repeat;
  background-position: 95% 5%;
  background-size: 120px 90px;
}
@media (max-width:900px) {
  section, .service-card, .testimonial-card {
    background-size: 70px 52px;
    background-position: 97% 2%;
  }
}
/* Remove background-shape for the very smallest cards */
.service-card, .testimonial-card {
  background-image: none;
}

/* === BUTTONS (Primary, Secondary, Link) === */
.btn-primary {
  background: #257830;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
}
.btn-primary:focus {
  outline: 2px solid #FFD700;
  outline-offset: 2px;
}

/* === UL/OL STYLES === */
ul, ol {
  margin-bottom: 16px;
  color: #34513a;
  font-size: 1rem;
}
ul li, ol li {
  margin-bottom: 7px;
  line-height: 1.6;
}
ul li strong, ol li strong {
  color: #257830;
}

/* === FORMS (basic accessibility) === */
input, textarea, select, button {
  font-family: inherit;
  font-size: 1rem;
  border-radius: 8px;
}

/* === ORGANIC ELEVATION & EFFECTS === */
section, .service-card, .card, .testimonial-card {
  box-shadow: 0 2px 16px 0 rgba(59,94,59,0.06);
}

/* === ANIMATIONS & MICRO-INTERACTIONS === */
section, .service-card, .testimonial-card, .btn-primary, .main-nav a, .mobile-nav a, .mobile-menu {
  transition: box-shadow .18s, background .20s, color .16s, border .16s, transform .15s, opacity .18s;
}
h1, h2, h3, .subheadline {
  transition: color .14s;
}

/* === TESTIMONIAL readable contrast === */
.testimonial-card {
  background: #fff;
  color: #253917;
  border: 1.5px solid #e0dacb;
}
.testimonial-card p {
  font-size: 1.1rem;
  color: #18310c;
}
.testimonial-card strong {
  color: #257830;
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 1100px) {
  .container {
    max-width: 96vw;
    padding: 0 8px;
  }
}
@media (max-width: 900px) {
  .container {
    max-width: 98vw;
    padding: 0 6px;
  }
  .feature-grid, .service-cards, .content-wrapper {
    flex-direction: column;
    gap: 20px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 20px;
  }
  header .container {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }
  .service-card {
    min-width: 90vw;
    width: 98vw;
    max-width: 440px;
  }
}
@media (max-width: 768px) {
  h1 {font-size: 2rem;}
  h2 {font-size: 1.5rem;}
  .btn-primary {font-size: 1rem;}
  .main-nav,
  .btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .footer-contact, .footer-nav {
    font-size: 0.97rem;
  }
  .container {
    min-width: 100vw;
    padding: 0 2vw;
  }
  .feature-grid,
  .service-cards,
  .content-wrapper,
  .content-grid,
  .text-image-section {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
  .testimonial-card,
  .service-card {
    width: 100%;
    max-width: 99vw;
  }
  .footer-logo img {
    height: 34px;
  }
}
@media (max-width: 430px) {
  h1 {font-size: 1.25rem;}
  h2 {font-size: 1rem;}
  .btn-primary {font-size: 0.96rem;}
  .footer-logo img {
    height: 24px;
  }
  section { padding: 26px 4px 26px 4px; }
}

/* === COOKIE CONSENT BANNER === */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 110;
  background: #f2ede4f7;
  color: #34513a;
  padding: 20px 16px 14px 16px;
  box-shadow: 0 -2px 16px 0 rgba(47, 64, 40, 0.10);
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
  transition: transform .36s cubic-bezier(.55,.18,.44,1), opacity .14s;
  opacity: 1;
  transform: translateY(0);
}
.cookie-banner.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(110%);
}
.cookie-banner-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.cookie-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 20px;
  margin-right: 5px;
  font-size: 1rem;
  border: none;
  border-radius: 24px 16px 16px 24px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.16s, color 0.14s, box-shadow 0.17s;
  box-shadow: 0 1px 6px 0 rgba(60,84,60,0.10);
}
.cookie-btn.accept {
  background: #257830;
  color: #fff;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #184f22;
  color: #FFD700;
}
.cookie-btn.reject {
  background: #fff;
  color: #184f22;
  border: 1.2px solid #184f22;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #FCECD0;
  color: #184f22;
}
.cookie-btn.settings {
  background: #FFD700;
  color: #20491f;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #fff5bc;
  color: #184f22;
}

/* Cookie modal */
.cookie-modal-overlay {
  position: fixed;
  z-index: 120;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(46,56,34,0.36);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity .3s cubic-bezier(.64,.03,.24,1);
}
.cookie-modal-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #fff;
  color: #253917;
  padding: 30px 24px 24px 24px;
  border-radius: 28px 18px 21px 28px;
  box-shadow: 0 6px 60px -8px rgba(47, 64, 40, 0.15);
  max-width: 430px;
  width: 92vw;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: popupIn .33s cubic-bezier(.44,1.22,.54,.99);
}
@keyframes popupIn {
  from { opacity: 0; transform: scale(0.93) translateY(40px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.cookie-modal h2 {
  margin-bottom: 0.18em;
}
.cookie-modal label {
  font-size: 1.05rem;
  font-family: 'Roboto', Arial, sans-serif;
  color: #34513a;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.cookie-switch {
  appearance: none;
  background: #e0dacb;
  width: 40px;
  height: 24px;
  border-radius: 18px;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background .11s;
}
.cookie-switch:checked {
  background: #257830;
}
.cookie-switch:before {
  content: '';
  position: absolute;
  left: 3px;
  top: 3px;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 4px 0 rgba(40,40,40,0.08);
  transition: left .17s cubic-bezier(.44,1.13,.57,1);
}
.cookie-switch:checked:before {
  left: 19px;
}
.cookie-modal .cookie-btn {
  margin-top: 2px;
  font-size: 1.01rem;
}
.cookie-modal .cookie-btn.settings {
  background: #FFD700;
  color: #20491f;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 16px;
  right: 15px;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: #34513a;
  cursor: pointer;
  padding: 1px 7px;
  border-radius: 50%;
  transition: background .14s, color .14s;
}
.cookie-modal .close-modal:hover, .cookie-modal .close-modal:focus {
  background: #e0dacb;
  color: #184f22;
}

/* === MISC UI === */
p {
  margin-bottom: 1.15em;
}
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2em;
}
th, td {
  padding: 10px 7px;
  border-bottom: 1px solid #e0dacb;
}

::-webkit-input-placeholder { color:#a9b49e; }
::-moz-placeholder { color:#a9b49e; }
:-ms-input-placeholder { color:#a9b49e; }
::placeholder { color:#a9b49e; }

/* --- Hide scrollbars on mobile menu overlay --- */
.mobile-menu {
  -webkit-overflow-scrolling: touch;
}

/* === SPECIAL ORGANIC/BIO EXTRAS === */
section {
  border-radius: 44px 32px 28px 50px;
  background-color: #f8f5ef;
}
@media (max-width:600px) {
  section {
    border-radius: 18px 12px 11px 19px;
  }
}

/* === FINE GRAINED ORGANIC DESIGN DETAILS === */
.service-card {
  border-radius: 24px 17px 20px 33px;
}
.testimonial-card {
  border-radius: 18px 22px 16px 30px;
}
.btn-primary, .cookie-btn {
  border-radius: 32px 26px 21px 32px;
}

/* Touch-friendly nav links */
@media (hover:none) {
  .main-nav a, .mobile-nav a, .btn-primary, .cookie-btn {
    touch-action: manipulation;
  }
}

/* === Z-INDEXes === */
header, .mobile-menu, .cookie-banner, .cookie-modal-overlay {
  z-index: 100;
}

/* === PREVENT OVERLAPPING: Ensure all cards/sections have margins === */
.card, .service-card, .testimonial-card, section {
  margin-bottom: 20px;
}

/* --- END --- */
