/* RESET & BASELINE --------------------------- */
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;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
}
body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  color: #2B3C36;
  background: #F7F6F2;
  min-height: 100vh;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #27586B;
  text-decoration: underline;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #3a815a;
}
ul, ol {
  margin-left: 1.5em;
  margin-bottom: 1em;
}
li {
  margin-bottom: 0.5em;
}
strong, b {
  font-weight: 700;
}

/* FONT FACE ----------------------------------- */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,700&display=swap');

/* COLOR PALETTE & STYLE VARS ------------------ */
:root {
  --primary: #27586B;
  --secondary: #F4A259;
  --accent: #FAFAFA;
  --green: #3a815a;
  --earth: #D3BFA1;
  --nature-bg: #FDFCF7;
  --brown: #81613C;

  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 8px;
  --shadow-card: 0 4px 16px 0 rgba(60,60,50,0.12);
  --shadow-float: 0 8px 32px 0 rgba(60,60,50,0.14);
}

/* TYPOGRAPHY ---------------------------------- */
h1, .hero h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2.25rem;
  color: #27586B;
  font-weight: 700;
  line-height: 1.13;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}
h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.5rem;
  color: #3a815a;
  font-weight: 700;
  margin-bottom: 20px;
  margin-top: 0.5em;
  letter-spacing: 0.01em;
}
h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.125rem;
  color: #81613C;
  font-weight: 700;
  margin-bottom: 10px;
}
h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #27586B;
  margin-bottom: 10px;
  font-weight: 600;
}
p, .section p, li {
  font-size: 1rem;
  line-height: 1.73;
  color: #2B3C36;
  margin-bottom: 1em;
}

/* CONTAINER & LAYOUT -------------------------- */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section {
  background: var(--nature-bg);
  border-radius: var(--radius-lg);
  margin-bottom: 60px;
  padding: 40px 20px;
  box-shadow: var(--shadow-card);
}

main > section:not(:last-child){ margin-bottom: 60px; }
main > section:last-child { margin-bottom: 32px; }

/********  HERO SECTION  ************/
.hero {
  background-color: #E3EFEB;
  background-image: url('../assets/organic-leaf.svg'), url('../assets/organic-shape.svg'); /* fallback: decorative */
  background-repeat: no-repeat, no-repeat;
  background-position: bottom right, top left;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  min-height: 240px;
  display: flex;
  align-items: center;
  padding: 44px 0 32px;
}
.hero .content-wrapper {
  max-width: 730px;
  align-items: flex-start;
  gap: 12px;
}
.hero p {
  font-size: 1.25rem;
  line-height: 1.6;
  color: #27586B;
}

/********  NAVIGATION  ************/
header {
  width: 100%;
  background: #ffffff;
  box-shadow: 0 2px 10px 0 rgba(60,80,50,0.04);
  z-index: 100;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
}
header nav {
  display: flex;
  gap: 24px;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #3a815a;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border 0.2s;
}
header nav a:hover,
header nav a:focus {
  color: #27586B;
  border-bottom: 2px solid #F4A259;
}
header img {
  height: 48px;
  width: auto;
}

.cta-button {
  background: linear-gradient(90deg,#3a815a,#F4A259 65%,#E3EFEB 100%);
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.125rem;
  padding: 12px 28px;
  border-radius: var(--radius-md);
  box-shadow: 0 2px 12px 0 rgba(39,88,107,0.10);
  border: none;
  cursor: pointer;
  text-decoration: none;
  margin-left: 24px;
  margin-right: 8px;
  transition: background 0.3s, box-shadow 0.3s, transform 0.18s;
  display: inline-block;
}
.cta-button:hover, .cta-button:focus {
  background: linear-gradient(90deg,#27586B,#3a815a 90%,#F4A259 100%);
  color: #fff;
  box-shadow: 0 4px 20px 0 rgba(60,100,60,0.18);
  transform: scale(1.04);
}

.mobile-menu-toggle {
  background: none;
  color: #3a815a;
  font-size: 2rem;
  border: none;
  display: none;
  margin-left: 12px;
  padding: 6px 10px;
  cursor: pointer;
  line-height: 1;
  border-radius: var(--radius-sm);
  transition: background 0.2s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background-color: #D3BFA1;
  color: #27586B;
}

/********  MOBILE NAVIGATION OVERLAY  ************/
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(235,233,220,0.97);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.36s cubic-bezier(.43,.08,.26,.97);
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
}
.mobile-menu-close {
  font-size: 2rem;
  color: #3a815a;
  background: none;
  border: none;
  align-self: flex-end;
  margin: 18px 32px 0 0;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: background 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #D3BFA1;
  color: #27586B;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 30px;
  margin: 52px 0 0 32px;
}
.mobile-nav a {
  font-size: 1.4rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #27586B;
  text-decoration: none;
  font-weight: 700;
  padding: 10px 0;
  transition: color 0.2s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #3a815a;
}

/********  CARDS AND GRIDS  ************/
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  margin-bottom: 20px;
  position: relative;
  padding: 28px 22px 24px 22px;
  min-width: 250px;
  flex: 1 1 310px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow 0.22s, transform 0.14s;
}
.card:hover, .card:focus-within {
  box-shadow: var(--shadow-float);
  transform: translateY(-3px) scale(1.01);
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature-grid > div {
  background: #fff;
  box-shadow: var(--shadow-card);
  border-radius: var(--radius-lg);
  padding: 20px 18px;
  flex: 1 1 220px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 190px;
  gap: 15px;
  transition: box-shadow 0.22s, transform 0.14s;
}
.feature-grid > div:hover, .feature-grid > div:focus-within {
  box-shadow: var(--shadow-float);
  transform: scale(1.025);
}
.feature-grid img {
  width: 48px;
  height: 48px;
  margin-bottom: 6px;
}

/***** Text-image section, testimonials, features ******/
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: flex-start;
}
.text-section {
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/***** Testimonial Cards ******/
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  box-shadow: var(--shadow-card);
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  max-width: 850px;
  transition: box-shadow 0.18s, transform 0.13s;
}
.testimonial-card p {
  color: #2B3C36;
  font-size: 1.1rem;
  font-style: italic;
  flex: 1;
  margin-bottom: 0;
}
.testimonial-card span {
  font-size: 1rem;
  color: #3a815a;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  margin-left: 20px;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: var(--shadow-float);
  transform: scale(1.01);
}

/***** Footer ******/
footer {
  background: #E2DED6;
  color: #2B3C36;
  font-size: 1rem;
  padding: 32px 0 16px;
  margin-top: 64px;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 1rem;
  text-align: center;
}
footer nav a {
  color: #27586B;
  text-decoration: underline;
  font-family: 'Roboto', Arial, sans-serif;
}
footer nav a:hover, footer nav a:focus {
  color: #3a815a;
  text-decoration: none;
}
footer p {
  font-size: 0.98rem;
  color: #81613C;
  margin-bottom: 0;
}

/***** Cookie Consent Banner ******/
.cookie-banner {
  position: fixed;
  left: 0; bottom: 0;
  width: 100vw;
  background: #fff7e0;
  border-top: 2px solid #F4A259;
  color: #27586B;
  z-index: 9999;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 26px 22px 20px 22px;
  box-shadow: 0 -4px 20px 0 rgba(60,60,60,0.12);
  animation: cookiebannerIn 0.8s cubic-bezier(.55,0,.24,1);
}
@keyframes cookiebannerIn {
  from { opacity: 0; transform: translateY(70px); }
  to   { opacity: 1; transform: translateY(0); }
}
.cookie-banner p {
  color: #2B3C36;
  margin: 0;
  font-size: 1rem;
}

.cookie-banner .cookie-buttons {
  display: flex;
  align-items: center;
  gap: 14px;
}

.cookie-btn {
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-family: 'Montserrat',Arial,sans-serif;
  font-weight: 600;
  font-size: 1.02rem;
  border: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px 0 rgba(100,100,70,0.08);
}
.cookie-btn.accept {
  background: #3a815a;
  color: #fff;
}
.cookie-btn.accept:hover,
.cookie-btn.accept:focus {
  background: #27586B;
}
.cookie-btn.reject {
  background: #fff4e0;
  color: #27586B;
  border: 1.5px solid #F4A259;
}
.cookie-btn.reject:hover,
.cookie-btn.reject:focus {
  background: #f4dea9;
  color: #3a815a;
}
.cookie-btn.settings {
  background: #E3EFEB;
  color: #3a815a;
  border: 1.5px solid #3a815a;
}
.cookie-btn.settings:hover,
.cookie-btn.settings:focus {
  background: #3a815a;
  color: #fff;
}

/***** Cookie Modal (popup) ******/
.cookie-modal-backdrop {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(40,60,45,.32);
  z-index: 99999;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.34s;
}
.cookie-modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  width: 95vw;
  max-width: 430px;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px 24px 24px 24px;
  margin-bottom: 48px;
  box-shadow: 0 16px 54px rgba(60,80,50,0.14);
  color: #2B3C36;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transform: translateY(56px);
  opacity: 0;
  transition: opacity 0.34s .08s, transform 0.34s .08s;
}
.cookie-modal-backdrop.open .cookie-modal {
  opacity: 1;
  transform: translateY(0);
}
.cookie-modal-close {
  position: absolute;
  right: 18px; top: 18px;
  background: none;
  border: none;
  font-size: 1.65rem;
  color: #3a815a;
  cursor: pointer;
}
.cookie-modal h2 {
  font-size: 1.25rem;
  color: #27586B;
  font-family: 'Montserrat',Arial,sans-serif;
  margin-bottom: 10px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1.08rem;
  padding: 8px 2px;
}
.cookie-category input[type="checkbox"] {
  width: 22px;
  height: 22px;
  accent-color: #3a815a;
}
.cookie-category .label {
  color: #2B3C36;
}
.cookie-category.essential {
  opacity: 0.75;
}
.cookie-modal-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

/****** Responsive & Organic Shape **************/
@media (max-width: 1100px) {
  .container { max-width: 98vw; }
}
@media (max-width: 910px) {
  .container { max-width: 99vw; }
  .hero .content-wrapper { max-width: 100%; }
}
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  header nav {
    display: none !important;
  }
  .cta-button {
    margin: 14px 0 0 0;
    font-size: 1.01rem;
    padding: 12px 22px;
    width: 100%;
    text-align: center;
    box-sizing: border-box;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .feature-grid, .content-grid {
    flex-direction: column;
    gap: 20px;
  }
  .feature-grid > div,
  .card {
    min-width: 160px;
    width: 100%;
    max-width: 100vw;
    align-items: flex-start;
  }
  .section {
    padding: 26px 6vw;
  }
  .hero {
    min-height: 180px;
    padding: 32px 0 18px;
  }
  .hero .content-wrapper {
    text-align: left;
    align-items: flex-start;
    gap: 10px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .card-container {
    flex-direction: column;
    gap: 20px;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 10px;
    max-width: 100vw;
  }
  .cookie-banner {
    flex-direction: column;
    gap: 14px;
    padding: 24px 5vw 14px 5vw;
    font-size: 0.97rem;
  }
}
@media (max-width: 530px) {
  html {
    font-size: 14px;
  }
  .hero { min-height: 100px; }
  .container { padding: 0 8px; }
  .section { padding: 18px 2vw; }
  .cookie-modal { padding: 20px 8px 18px 8px; max-width: 99vw; }
}

/******** ORGANIC/NATURE VISUALS ********/
.section, .feature-grid > div, .testimonial-card, .card {
  background-image: url('../assets/organic-bg.svg'); /* Decorative SVG for organic shape texture */
  background-repeat: no-repeat;
  background-position: bottom right;
  background-size: 260px 64px;
}
.section {
  border: 1px solid #E2DED6;
  background-color: #FDFCF7;
}
.feature-grid > div, .testimonial-card, .card {
  border: 1px solid #E2DED6;
  background-color: #fff;
}

/******** SCROLLBAR (optional) ********/
::-webkit-scrollbar {
  height: 11px;
  width: 11px;
  background: #E2DED6;
  border-radius: 12px;
}
::-webkit-scrollbar-thumb {
  background: #D3BFA1;
  border-radius: 11px;
}

/***** FORMS & INPUTS (kontakt.html, etc.) *****/
input, textarea, select {
  padding: 11px 13px;
  border-radius: var(--radius-sm);
  border: 1.3px solid #D3BFA1;
  background: #fafaf8;
  color: #2B3C36;
  font-size: 1.05rem;
  margin-bottom: 16px;
  font-family: 'Roboto', Arial, sans-serif;
  width: 100%;
  transition: border-color 0.2s;
}
input:focus, textarea:focus, select:focus {
  border-color: #3a815a;
  outline: none;
}
button, .button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.02rem;
  border-radius: var(--radius-md);
  border: none;
  box-shadow: 0 2px 8px 0 rgba(39,80,90,0.08);
  background: #3a815a;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  padding: 12px 24px;
  transition: background 0.2s, box-shadow 0.2s, color 0.2s, transform 0.19s;
}
button:hover, .button:hover, button:focus, .button:focus {
  background: #27586B;
  color: #fff;
  transform: scale(1.035);
  box-shadow: 0 4px 20px rgba(60,100,60,0.19);
}

/***** VISUAL SEPARATORS AND SHAPES ******/
div, section {
  position: relative;
}
hr {
  border: none;
  border-bottom: 1.5px dashed #d3bfa1;
  margin: 30px 0;
}

/* Accessibility: Focus Indicator */
a, button, [tabindex]:not([tabindex="-1"]) {
  outline: none;
}
a:focus-visible,
button:focus-visible, .cta-button:focus-visible, .cookie-btn:focus-visible {
  outline: 2.5px dashed #F4A259;
  outline-offset: 2px;
}

/* Utility: visually-hidden */
.visually-hidden { position: absolute !important; clip: rect(1px,1px,1px,1px); padding:0; border:0; height: 1px; width: 1px; overflow: hidden; }

/* General micro-interactions */
.card, .feature-grid > div, .testimonial-card, .cta-button, .cookie-btn {
  transition: box-shadow 0.22s, background 0.19s, color 0.16s, transform 0.14s;
}

/* Z-INDEX FOR UI LAYERS */
header, .mobile-menu, .cookie-banner, .cookie-modal-backdrop { z-index: 2010; }

/* END OF STYLE.CS */
