/* ==================================================  */
/*           KRÁSA NA DOSAH - STYLE.CSS                 */
/*   Nature Organic Theme - Earth Tones, Green accents  */
/*   Modern, Accessible, Flexbox Only Layouts           */
/* ==================================================  */

/***************************
  1. 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 { box-sizing: border-box; font-size: 100%; scroll-behavior: smooth; }
*, *:before, *:after { box-sizing: inherit; }
body {
  min-height: 100vh;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  background: #F7F6F3;
  color: #423a29;
}
img { max-width: 100%; display: block; height: auto; border: none; }
a { color: inherit; text-decoration: none; transition: color 0.25s; }

/*****************************************
 2. Theme Colors & Typography (Brand)
******************************************/
:root {
  --brand-primary: #4A3260;
  --brand-secondary: #CAA5E2;
  --brand-accent: #F3F0ED;
  --organic-green: #80AD97;
  --earth-brown: #423a29;
  --light-earth: #F7F6F3;
  --button-dark: #423a29;
  --button-green: #80AD97;
  --danger: #D86754;
  --shadow: 0 2px 12px rgba(131,112,93,0.13);
}

body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  background: var(--light-earth);
  color: var(--earth-brown);
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: var(--brand-primary);
  margin-bottom: 16px;
}
h1 { font-size: 2.4rem; font-weight: 700; }
h2 { font-size: 1.8rem; font-weight: 600; }
h3 { font-size: 1.4rem; font-weight: 600; }
h4, h5, h6 { font-size: 1.1rem; font-weight: 500; }
p, li, blockquote, cite { font-size: 1rem; line-height: 1.7; }
strong { color: var(--brand-primary); font-weight: 600; }

/*******************************
 3. Containers & Layout Patterns
********************************/
.container {
  width: 100%;
  max-width: 1140px;
  padding-left: 20px;
  padding-right: 20px;
  margin-left: auto;
  margin-right: auto;
}
.content-wrapper {
  width: 100%;
}

/*****************
   FLEXBOX LAYOUTS
******************/
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--accent, #F3F0ED);
  border-radius: 24px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.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;
  background: #fff;
  border-radius: 16px 48px 24px 24px;
  box-shadow: var(--shadow);
  margin-bottom: 24px;
  border-left: 8px solid var(--organic-green);
  min-width: 0;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/***************************
 4. Header & Navigation
****************************/
header {
  background: #fff;
  box-shadow: 0 8px 24px rgba(128,173,151,0.06);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 1100;
}
header .container {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}
header img {
  height: 42px;
  width: auto;
  margin-right: 12px;
}
nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
}
nav a {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: var(--brand-primary);
  padding: 8px 12px;
  border-radius: 8px;
  transition: background .17s, color .17s;
}
nav a:hover, nav a:focus {
  background: var(--organic-green);
  color: #fff;
}
.cta-primary {
  background: var(--organic-green);
  color: #fff;
  font-weight: 700;
  border: none;
  border-radius: 16px;
  padding: 10px 28px;
  margin-left: 18px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  box-shadow: 0 2px 10px rgba(128,173,151,0.13);
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  outline: none;
}
.cta-primary:hover, .cta-primary:focus {
  background: #5eae86;
  color: #fff;
  transform: translateY(-2px) scale(1.04);
}
.cta-secondary {
  background: var(--accent);
  color: var(--organic-green);
  border: 2px solid var(--organic-green);
  border-radius: 16px;
  padding: 10px 26px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(128,173,151,0.07);
  transition: background 0.2s, color 0.2s, border 0.2s, transform 0.12s;
}
.cta-secondary:hover, .cta-secondary:focus {
  background: var(--organic-green);
  color: #fff;
  border-color: var(--organic-green);
  transform: scale(1.03);
}

/**********************************
 5. Mobile Hamburger Navigation
***********************************/
.mobile-menu-toggle {
  display: none;
  background: var(--organic-green);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 2rem;
  padding: 6px 16px;
  cursor: pointer;
  z-index: 2001;
  transition: background 0.25s, color 0.25s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #5eae86;
}
.mobile-menu {
  display: flex;
  align-items: stretch;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(248,247,243,0.98);
  box-shadow: 0 0 64px 0 rgba(34,45,20,0.10);
  z-index: 3000;
  transform: translateX(100vw);
  transition: transform 0.38s cubic-bezier(.32,1.56,.56,1);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.active {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 16px 22px 0 0;
  font-size: 2.2rem;
  background: none;
  border: none;
  color: var(--organic-green);
  cursor: pointer;
  padding: 3px 10px;
  border-radius: 8px;
  transition: background 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #e6faef;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  margin-top: 32px;
  padding: 0 36px;
}
.mobile-nav a {
  font-size: 1.2rem;
  padding: 14px 0;
  color: var(--brand-primary);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  transition: color 0.16s;
  width: 100%;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  color: var(--organic-green);
}

/***********************************
 6. Main Content, Lists, Sections
************************************/
main {
  margin-top: 0;
  margin-bottom: 0;
}
ul, ol {
  margin-left: 22px;
  margin-top: 10px;
  margin-bottom: 16px;
  padding-left: 0;
}
ul li, ol li {
  margin-bottom: 10px;
  padding-left: 0;
  position: relative;
  font-size: 1rem;
  color: var(--earth-brown);
  display: flex;
  align-items: center;
  gap: 14px;
}
ul li img {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  margin-right: 4px;
}
blockquote {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-style: italic;
  color: #223224;
  border-left: 4px solid var(--organic-green);
  padding-left: 16px;
  margin-bottom: 8px;
}
cite {
  font-size: 1rem;
  color: var(--brand-primary);
  font-weight: 600;
}
.text-section {
  margin-bottom: 18px;
  font-size: 1rem;
}
.section h1, .section h2 {
  margin-bottom: 12px;
}
.section p, .section ul, .section ol {
  margin-bottom: 12px;
}

/* Table styling (Ceník) */
table {
  width: 100%;
  border-spacing: 0;
  border-collapse: collapse;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 24px;
}
table th, table td {
  padding: 14px 18px;
  font-size: 1rem;
  border-bottom: 1px solid #eae5e1;
  text-align: left;
}
table tr:last-child td {
  border-bottom: none;
}
table th {
  background: var(--organic-green);
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
}
table td {
  background: #fff;
  color: var(--earth-brown);
}

/**************************************
 7. Cards & Testimonials
***************************************/
.card {
  background: #fff;
  border-radius: 20px 48px 24px 24px;
  box-shadow: var(--shadow);
  padding: 32px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

.testimonial-card {
  background: #fff;
  border-radius: 16px 48px 24px 24px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 28px;
  padding: 20px 32px;
  border-left: 8px solid var(--organic-green);
  max-width: 700px;
}
.testimonial-card blockquote {
  color: #223224;
  font-size: 1.1rem;
  margin-bottom: 6px;
}
.testimonial-card cite {
  color: var(--brand-primary);
  font-size: 1rem;
}

/************************************
 8. Footer
*************************************/
footer {
  background: #F3F0ED;
  padding: 38px 0 24px 0;
  margin-top: 60px;
  border-top: 2px solid #eae5e1;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 12px;
}
.footer-nav a {
  color: var(--brand-primary);
  font-size: 1rem;
  padding: 3px 8px;
  border-radius: 6px;
  transition: background 0.15s, color 0.15s;
}
.footer-nav a:hover {
  background: var(--organic-green);
  color: #fff;
}
.footer-contact {
  font-size: 0.97rem;
  color: #665e4b;
  line-height: 1.65;
}

/*************************************
 9. Buttons, Links, Forms, Icons
**************************************/
button, input[type="submit"], input[type="button"] {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
button:focus, .cta-primary:focus, .cta-secondary:focus {
  outline: 2px solid var(--organic-green);
  outline-offset: 2px;
}
a[role="button"], button, .cta-primary, .cta-secondary {
  transition: background 0.16s, color 0.16s, transform 0.14s;
}

/***************************************
 10. Microinteractions, Animations
****************************************/
.cta-primary, .cta-secondary, .mobile-menu-toggle, .mobile-menu-close, .footer-nav a {
  transition: background 0.18s, color 0.16s, transform 0.13s;
}
section, .card, .testimonial-card, header, footer, .mobile-menu, .cookie-consent {
  will-change: box-shadow;
  transition: box-shadow .2s cubic-bezier(.3,.7,.4,1), background .18s;
}
.testimonial-card:hover, .card:hover {
  box-shadow: 0 10px 36px rgba(131,112,93,0.17);
  transform: translateY(-3px) scale(1.015);
}

/***************************************
 11. Cookie Consent Banner & Modal
****************************************/
.cookie-consent {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  z-index: 3100;
  background: #efe8d9;
  color: #423a29;
  box-shadow: 0 -2px 32px 0 rgba(71,78,46,0.08);
  padding: 22px 18px 19px 18px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 1rem;
  border-top-left-radius: 22px;
  border-top-right-radius: 22px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(90px);
  transition: opacity 0.22s, transform 0.42s cubic-bezier(.32,1.56,.56,1);
}
.cookie-consent.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.cookie-consent__message {
  flex: 1 1 340px;
  min-width: 180px;
  margin-bottom: 8px;
}
.cookie-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.cookie-btn {
  border-radius: 12px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  padding: 8px 22px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  background: var(--organic-green);
  color: #fff;
  box-shadow: 0 2px 6px rgba(128,173,151,0.12);
  transition: background .17s, color .17s, transform .10s;
}
.cookie-btn.reject {
  background: var(--danger);
}
.cookie-btn.alt {
  background: #fff;
  color: var(--organic-green);
  border: 2px solid var(--organic-green);
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #5eae86;
  color: #fff;
  transform: translateY(-2px) scale(1.03);
}
.cookie-btn.reject:hover { background: #c9442b; }
.cookie-btn.alt:hover { background: var(--organic-green); color: #fff; }

/* Cookie Modal */
.cookie-modal-backdrop {
  position: fixed; top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(36,50,24,0.14);
  z-index: 3150;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.29s;
}
.cookie-modal-backdrop.visible {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  position: fixed;
  left: 50%; top: 50%;
  transform: translate(-50%,-54%) scale(0.98);
  min-width: 300px;
  max-width: 96vw;
  width: 410px;
  background: #fff;
  border-radius: 28px;
  box-shadow: 0 10px 60px rgba(102,152,109,0.17);
  padding: 38px 32px 30px 32px;
  z-index: 3200;
  display: flex;
  flex-direction: column;
  gap: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.32s, transform 0.34s cubic-bezier(.32,1.56,.56,1);
}
.cookie-modal.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%,-50%) scale(1);
}
.cookie-modal h2 {
  margin-bottom: 10px;
  font-size: 1.3rem;
  color: var(--brand-primary);
}
.cookie-category {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  gap: 12px;
}
.cookie-category input[type="checkbox"] {
  accent-color: var(--organic-green);
  width: 18px;
  height: 18px;
}
.cookie-category label {
  font-size: 1rem;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  color: var(--earth-brown);
}
.cookie-modal .cookie-btn {
  margin-left: 0;
}
.cookie-modal-close {
  position: absolute;
  top: 22px;
  right: 30px;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--organic-green);
  cursor: pointer;
  border-radius: 7px;
  padding: 2px 8px;
  transition: background 0.15s;
}
.cookie-modal-close:hover { background: #e6faef; }

/************************************
 12. Misc – Organic Motifs/Details
**************************************/
body, .section, .card, .testimonial-card {
  /* Subtle natural background texture overlay if desired */
  background-blend-mode: lighten;
}
.section, .card, .testimonial-card {
  border-radius: 22px 48px 24px 24px;
  /* Organic asymmetric border radius */
}

/****************************************
 13. Media Queries & Responsivity (Mobile first!)
*****************************************/
@media (max-width: 1140px) {
  .container { max-width: 98vw; }
}
@media (max-width: 900px) {
  .card, .section { padding: 24px 12px; }
  .testimonial-card { padding: 14px 12px; }
}
@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    gap: 12px;
    min-height: 64px;
    padding: 10px 6px;
  }
  nav { display: none; }
  .mobile-menu-toggle {
    display: block;
    margin-left: auto;
  }
  .mobile-menu {
    font-size: 1.1rem;
    padding-top: 0;
    pointer-events: none;
  }
  .mobile-menu.active {
    pointer-events: auto;
  }
  .container, .content-wrapper {
    padding-left: 5px;
    padding-right: 5px;
  }
  .section {
    padding: 24px 6px;
    margin-bottom: 36px;
    gap: 18px;
  }
  .card-container, .content-grid {
    gap: 12px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    max-width: 98vw;
    padding: 14px 7px;
    margin-bottom: 18px;
  }
  .footer-nav {
    gap: 12px;
  }
  .cookie-consent {
    flex-direction: column;
    gap: 14px;
    padding: 16px 4vw 12px 4vw;
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
    font-size: 0.99rem;
  }
  .cookie-consent__message {
    min-width: 0;
  }
  .cookie-modal {
    padding: 18px 12px 18px 12px;
    width: 97vw;
    max-width: 97vw;
    font-size: 1rem;
  }
}
@media (max-width: 480px) {
  h1 { font-size: 1.44rem; }
  h2 { font-size: 1.14rem; }
  h3, h4 { font-size: 1.05rem; }
  .section, .card {
    padding: 8px 2px;
    border-radius: 12px 25px 16px 16px;
  }
  .testimonial-card { border-radius: 9px 22px 9px 9px; }
  .footer-contact { font-size: 0.91rem; }
}

/******************************
 14. Accessibility & Utilities
*******************************/
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }
[tabindex]:focus-visible { outline: 2px solid var(--organic-green); outline-offset: 2px; }

/**********************************
 15. Print (Basic)
***********************************/
@media print { header, footer, nav, .mobile-menu, .cookie-consent, .cookie-modal-backdrop, .cookie-modal { display: none !important; } }
