/* =============================================================
   Scandinavian clean CSS for Zahradní Pohoda
   Brand colors: 
     Primary: #264D32 (Green)
     Secondary: #A6A47A (Olive/Tan)
     Accent (Background): #FBF7EE (Warm Off-white)
   Fonts: 
     'Roboto Slab' for headings, 'Open Sans' for body
   Mobile-first, ONLY flexbox for layout. No grid/columns. 
   ============================================================= */

/* CSS RESET & BASE --------------------------------------------------*/
html {
  box-sizing: border-box;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
}
body {
  font-family: 'Open Sans', Arial, sans-serif;
  background: #FBF7EE;
  color: #264D32;
  line-height: 1.6;
  min-height: 100vh;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Roboto Slab', serif;
  color: #264D32;
  line-height: 1.15;
  font-weight: 700;
}
h1 {font-size: 2.5rem;margin-bottom: 24px;}
h2 {font-size: 2rem;margin-bottom: 16px;}
h3 {font-size: 1.5rem;margin-bottom: 12px;}
h4 {font-size: 1.125rem;}

p, li, address {
  font-size: 1rem;
  color: #264D32;
}
strong {font-weight: 700;}
a {
  color: #264D32;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #A6A47A;
}

ul, ol {
  list-style: none;
  margin: 0 0 16px 0;
  padding: 0;
}
li {
  margin-bottom: 8px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}

button {
  font-family: inherit;
  font-size: 1rem;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
  outline: none;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  border-radius: 6px;
}

/* Selection */
::selection {
  background: #A6A47A;
  color: #fff;
}

/* CONTAINER & LAYOUT -----------------------------------------------*/
.container {
  width: 100%;
  max-width: 1160px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

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

.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  box-shadow: 0 2px 12px rgba(38,77,50,0.07);
  border-radius: 12px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
}

.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

.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;
  padding: 24px 22px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 24px rgba(38,77,50,.09);
  margin-bottom: 20px;
  min-width: 275px;
  transition: box-shadow 0.23s;
}
.testimonial-card:hover {
  box-shadow: 0 4px 28px rgba(38,77,50,.19);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Flex for core layouts (header, footer, nav, etc) ------------------*/
.header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 20px;
  padding-bottom: 16px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}
.main-nav a {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  color: #264D32;
  padding: 8px 6px;
  border-radius: 4px;
  transition: background 0.2s, color 0.18s;
  font-weight: 500;
}
.main-nav a:hover, .main-nav a.active {
  background: #A6A47A;
  color: #fff;
}

.footer-flex {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 28px;
  margin-top: 32px;
  border-top: 1px solid #E7E1D2;
  padding: 32px 0 12px 0;
}
.footer-logo img {
  width: 58px;
  height: auto;
  margin-bottom: 14px;
}
.footer-menu {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-menu a {
  color: #264D32;
  font-size: 0.98rem;
  opacity: 0.9;
}
.footer-menu a:hover {
  color: #A6A47A;
  opacity: 1;
}
.footer-contact {
  font-size: 0.98rem;
  opacity: 0.84;
}
.footer-contact a {
  color: #264D32;
  text-decoration: underline;
}
.footer-contact a:hover {
  color: #A6A47A;
}

/* HERO SECTION ------------------------------------------------------*/
.hero {
  background: linear-gradient(110deg,#FBF7EE 92%,#A6A47A 99%);
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0 24px 0;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 22px;
  padding: 40px 0 32px 0;
}
.hero h1 {
  font-size: 2.5rem;
}
.hero .subheadline {
  font-size: 1.15rem;
  color: #264D32b0;
  font-weight: 500;
  max-width: 430px;
}

/* BUTTONS -----------------------------------------------------------*/
.btn-primary, .btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  font-family: 'Roboto Slab',serif;
  font-weight: 700;
  font-size: 1.13rem;
  text-align: center;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;   
  box-shadow: 0 2px 10px rgba(166,164,122,0.04);
}
.btn-primary {
  background: #264D32;
  color: #fff;
  border: 2px solid #264D32;
}
.btn-primary:hover, .btn-primary:focus {
  background: #A6A47A;
  color: #264D32;
  border-color: #A6A47A;
  box-shadow: 0 2px 14px rgba(38,77,50,0.14);
}
.btn-secondary {
  background: #A6A47A;
  color: #fff;
  border: 2px solid #A6A47A;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #264D32;
  color: #fff;
  border-color: #264D32;
  box-shadow: 0 2px 16px rgba(166,164,122,0.15);
}

/* FEATURES & CARDS --------------------------------------------------*/
.features .feature-grid, .features ul {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
}
.features .feature-grid > div, .features ul > li {
  background: #fff;
  border-radius: 10px;
  padding: 30px 22px;
  box-shadow: 0 2px 12px rgba(166,164,122,0.07);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 220px;
  max-width: 310px;
  transition: box-shadow 0.18s, transform 0.18s;
  margin-bottom: 20px;
}
.features .feature-grid > div:hover, .features ul > li:hover {
  box-shadow: 0 4px 22px rgba(38,77,50,0.15);
  transform: translateY(-2px) scale(1.012);
}
.features img {
  width: 36px;
  height: 36px;
  margin-bottom: 12px;
}
.features h3 {
  font-size: 1.23rem;
  margin: 8px 0 6px 0;
}
.features p {
  font-size: 0.98rem;
  color: #264D32cc;
}

/* SERVICE CARDS -----------------------------------------------------*/
.service-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}
.service-card {
  flex: 1 1 270px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 13px rgba(38,77,50,0.07);
  margin-bottom: 20px;
  padding: 26px 20px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: box-shadow 0.17s;
}
.service-card:hover {
  box-shadow: 0 4px 25px rgba(38,77,50,.13);
}
.service-card h2 {
  font-size: 1.24rem;
  margin-bottom: 7px;
}
.service-card strong {
  color: #A6A47A;
  font-size: 1.07rem;
}

/* TESTIMONIALS ------------------------------------------------------*/
.testimonials {
  margin-bottom: 56px;
}
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  padding: 10px 0 0 0;
}
.star-rating {
  color: #A6A47A;
  font-size: 1.2em;
  letter-spacing: 2px;
  margin-bottom: 4px;
  font-family: inherit;
}
.customer-name {
  font-size: 0.98rem;
  color: #264D32;
  font-weight: 500;
  opacity: 0.75;
}

/* CTA BACKGROUND ----------------------------------------------------*/
.cta-bg {
  background: #264D32;
  color: #fff;
  border-radius: 16px;
  padding: 46px 0 46px 0;
  margin: 56px 0 0 0;
  box-shadow: 0 2px 32px rgba(166,164,122,0.08);
}
.cta-bg .container {
  align-items: center;
}
.cta-bg h2, .cta-bg p {
  color: #fff;
}

/* ABOUT PAGE USP LIST -----------------------------------------------*/
.usp-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 16px 0 18px 0;
}
.usp-list li::before {
  content: '\2713';
  color: #A6A47A;
  font-size: 1.1em;
  margin-right: 10px;
}

/* BLOG PAGE SPECIALS ------------------------------------------------*/
.blog-list article {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(166,164,122,0.06);
  padding: 20px 18px 16px 18px;
  margin-bottom: 20px;
  transition: box-shadow 0.16s;
}
.blog-list article:hover {
  box-shadow: 0 4px 18px rgba(38,77,50,0.14);
}
.blog-categories, .featured-post {
  background: #A6A47A12;
  border-radius: 8px;
  padding: 16px 15px;
  margin-bottom: 16px;
}

/* PRODUCT CATEGORIES ------------------------------------------------*/
.product-categories {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 8px;
}

/* TEXT SECTIONS -----------------------------------------------------*/
.text-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 18px;
}
.text-section ul {
  margin-left: 0;
}
.text-section h2, .text-section h3 {
  margin-top: 12px;
}

.company-info {
  margin-bottom: 10px;
}
.address {
  margin-bottom: 0;
}

/* PROCESS STEPS -----------------------------------------------------*/
.process-steps {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: decimal inside;
  margin: 16px 0 20px 0;
  padding-left: 0;
}
.process-steps li {
  margin-left: 0;
}

/* MOBILE MENU -------------------------------------------------------*/
.mobile-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  font-size: 2rem;
  color: #264D32;
  background: #fff;
  border: 1px solid #A6A47A33;
  border-radius: 6px;
  margin-left: 18px;
  transition: background 0.15s, color 0.15s;
  z-index: 1401;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: #FBF7EE;
  color: #A6A47A;
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #FBF7EE;
  box-shadow: 0 0 24px rgba(38,77,50,0.12);
  z-index: 2000;
  transform: translateX(-100vw);
  transition: transform 0.35s cubic-bezier(0.86,0,0.07,1);
  display: flex;
  flex-direction: column;
  padding: 40px 30px 0 30px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 40px;
  height: 40px;
  font-size: 1.9rem;
  color: #264D32;
  background: #fff;
  border: 1px solid #A6A47A33;
  border-radius: 6px;
  z-index: 2100;
  transition: background 0.15s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #A6A47A22;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 40px;
  align-items: flex-start;
}
.mobile-nav a {
  font-size: 1.25rem;
  color: #264D32;
  padding: 10px 0;
  border-radius: 4px;
  width: 100%;
  transition: background 0.18s, color 0.17s;
}
.mobile-nav a:hover, .mobile-nav a.active {
  background: #A6A47A22;
  color: #A6A47A;
}

/* Hide mobile menu and toggle appropriately */
@media (min-width: 1000px) {
  .mobile-menu-toggle {display: none;}
  .mobile-menu {display: none !important;}
  .main-nav, .btn-primary {display: block;}
}
@media (max-width: 999px) {
  .main-nav {display: none;}
  .btn-primary {display: none;}
  .mobile-menu-toggle {display: flex;}
}

/* COOKIE BANNER -----------------------------------------------------*/
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #fff;
  color: #264D32;
  box-shadow: 0 -2px 24px rgba(38,77,50,0.07);
  padding: 22px 28px 18px 28px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.4s cubic-bezier(.7,0,.16,1), opacity 0.2s;
}
.cookie-banner.active {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}
.cookie-banner-message {
  font-size: 1rem;
  margin-bottom: 10px;
}
.cookie-banner-actions {
  display: flex;
  gap: 14px;
}

.cookie-btn {
  padding: 10px 22px;
  font-size: 1rem;
  border-radius: 7px;
  font-weight: 600;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
  cursor: pointer;
  border: 1.7px solid #A6A47A;
}
.cookie-btn.accept {
  background: #264D32;
  color: #fff;
  border-color: #264D32;
}
.cookie-btn.accept:hover {
  background: #A6A47A;
  color: #264D32;
}
.cookie-btn.reject {
  background: #fff;
  color: #264D32;
  border-color: #A6A47A;
}
.cookie-btn.reject:hover {
  background: #A6A47A33;
  color: #264D32;
}
.cookie-btn.settings {
  background: #A6A47A;
  color: #fff;
  border-color: #A6A47A;
}
.cookie-btn.settings:hover {
  background: #264D32;
  color: #fff;
}
/* Cookie Modal ------------------------------------------------------*/
.cookie-modal {
  position: fixed;
  left: 0;
  top: 0;
  background: rgba(38,77,50, 0.18);
  width: 100vw;
  height: 100vh;
  z-index: 10100;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.24s;
  opacity: 0;
  pointer-events: none;
}
.cookie-modal.active {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal-content {
  background: #fff;
  box-shadow: 0 4px 44px rgba(38,77,50,0.19);
  border-radius: 16px;
  padding: 34px 28px 22px 28px;
  min-width: 320px;
  max-width: 99vw;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
}
.cookie-modal-close {
  position: absolute;
  right: 18px;
  top: 12px;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: #264D32;
  opacity: 0.78;
  cursor: pointer;
  transition: color 0.18s, opacity 0.18s;
}
.cookie-modal-close:hover {
  color: #A6A47A;
  opacity: 1;
}
.cookie-preference-list {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1rem;
}
.cookie-category input[type="checkbox"] {
  width: 22px;
  height: 22px;
  accent-color: #A6A47A;
  border-radius: 5px;
}
.cookie-category .always {
  color: #A6A47A;
  font-size: 0.93em;
}

/* SECTIONS & SPACING ------------------------------------------------*/
section, .section {
  margin-bottom: 60px;
  padding: 40px 0 40px 0;
}

/* RESPONSIVE DESIGN (MOBILE-FIRST) ----------------------------------*/
@media (max-width: 1100px) {
  .container {
    max-width: 98vw;
    padding-left: 12px;
    padding-right: 12px;
  }
}
@media (max-width: 900px) {
  .footer-flex {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 22px 0 12px 0;
  }
  .footer-menu {
    flex-direction: row;
    gap: 14px;
    flex-wrap: wrap;
  }
}
@media (max-width: 768px) {
  .header-flex {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
    padding-bottom: 4px;
  }
  .main-nav {
    gap: 10px;
  }
  .feature-grid, .features ul, .card-container, .testimonial-slider, .service-cards, .content-grid {
    flex-direction: column;
    gap: 20px;
  }
  .cta-bg {
    padding: 34px 0;
  }
  .content-wrapper {
    gap: 16px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}
@media (max-width:480px) {
  .hero {
    min-height: 156px;
    padding-bottom:12px;
  }
  h1 {font-size: 1.5rem;}
  h2 {font-size: 1.2rem;}
  .btn-primary, .btn-secondary {
    width: 100%;
    padding: 12px 0;
    font-size: 1rem;
  }
  .cookie-modal-content {
    min-width: 90vw;
    padding: 18px 6vw;
  }
}

/* MICRO-INTERACTIONS & ACCESSIBILITY --------------------------------*/
a, button, .cookie-btn {
  outline: none;
}
a:focus, button:focus, .cookie-btn:focus, .mobile-menu-toggle:focus, .mobile-menu-close:focus {
  box-shadow: 0 0 0 3px #A6A47A55;
}
.btn-primary:active, .btn-secondary:active, .cookie-btn:active {
  transform: scale(0.98);
}

/* FORM/ADDRESS STYLES -----------------------------------------------*/
address {
  font-style: normal;
  color: #264D32;
  margin-bottom: 10px;
}

/* MISC UTILITIES ----------------------------------------------------*/
.mt-0 {margin-top:0 !important;}
.mb-0 {margin-bottom:0 !important;}
.mt-16 {margin-top:16px !important;}
.mb-16 {margin-bottom:16px !important;}
.gap-20 {gap:20px!important;}

/* Hide scrollbars for mobile menu & modal ---------------------------*/
.mobile-menu, .cookie-modal-content {
  overflow-y: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.mobile-menu::-webkit-scrollbar, .cookie-modal-content::-webkit-scrollbar {
  display: none;
}

/* Ensure no content overlaps ----------------------------------------*/
.card, .service-card, .testimonial-card, .features .feature-grid > div {
  min-width: 0;
  word-break: break-word;
}

/* END --------------------------------------------------------------*/
