/*------------------------------------------
  VONNÝ DOMOV — INDUSTRIAL MODERN STYLE.CSS
  CSS v1.0 | 2024 | Only Flexbox Layouts!
  Brand: Vonný Domov | www.true-outcomes.com
-------------------------------------------*/

/* 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,
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 {
  scroll-behavior: smooth;
}
body {
  background: #232728;
  color: #E8E9EA;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: #9FC490;
  text-decoration: none;
  transition: color 0.18s cubic-bezier(.4,0,.2,1);
}
a:hover,
a:focus {
  color: #FFFFFF;
  outline: none;
}
ul, ol {
  margin-left: 1.1em;
  margin-bottom: 18px;
}
li {
  margin-bottom: 10px;
}
button {
  cursor: pointer;
  border: none;
  font-family: inherit;
  background: none;
}
::-webkit-input-placeholder { color: #888; }
::-moz-placeholder        { color: #888; }
:-ms-input-placeholder    { color: #888; }
::placeholder            { color: #888; }

/*------------------------------------------*/
/* SCROLLBAR STYLES */
* {
  scrollbar-width: thin;
  scrollbar-color: #39644E #191B1B;
}
*::-webkit-scrollbar {
  width: 7px;
  background: #191B1B;
}
*::-webkit-scrollbar-thumb {
  background: #39644E;
  border-radius: 8px;
}

/*------------------------------------------*/
/* BASE CONTAINER & FLEX LAYOUTS */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 18px;
  width: 100%;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 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;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #262B2C;
  border-radius: 14px;
  box-shadow: 0 4px 32px 0 rgba(34,36,38,0.10);
  margin-bottom: 20px;
  position: relative;
  padding: 32px 24px;
  border: 1px solid #363A3B;
  transition: box-shadow 0.18s, border 0.18s;
}
.card:hover {
  border-color: #39644E;
  box-shadow: 0 8px 40px 0 rgba(60,70,64,0.22);
  z-index: 2;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding-bottom: 14px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: rgba(35, 39, 40, 0.98);
  border-radius: 16px;
}

/*------------------------------------------*/
/* TYPOGRAPHY */

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #F8FAF9;
  margin-bottom: 18px;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.1;
  margin-bottom: 18px;
}
h2 {
  font-size: 2rem;
  line-height: 1.16;
  margin-bottom: 12px;
}
h3 {
  font-size: 1.38rem;
  line-height: 1.2;
  margin-bottom: 8px;
}
h4 {
  font-size: 1.18rem;
  line-height: 1.22;
}
p, ul, ol, dl, blockquote {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #E8E9EA;
  margin-bottom: 18px;
  font-weight: 400;
}
strong {
  color: #F5F5F5;
  font-weight: 700;
}
blockquote {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.1rem;
  color: #232728;
  background: #ECEDED;
  border-left: 5px solid #9FC490;
  padding: 18px 24px 12px 24px;
  border-radius: 10px 4px 14px 4px;
  margin-bottom: 8px;
  margin-top: 8px;
  font-style: italic;
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/*------------------------------------------*/
/* HEADER & NAVIGATION */
header {
  background: #232728;
  border-bottom: 1px solid #343738;
  position: sticky;
  top: 0;
  z-index: 101;
  width: 100%;
}
header .container {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
}
header img {
  height: 44px;
  margin-right: 20px;
}
nav {
  display: flex;
  gap: 26px;
  align-items: center;
}
nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.02rem;
  color: #B7B9B8;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  opacity: .86;
  transition: color 0.18s, opacity 0.18s;
  position: relative;
}
nav a:hover, nav a:focus {
  color: #FFFFFF;
  opacity: 1;
}
.btn-primary, .btn-secondary {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.1rem;
  padding: 14px 32px;
  border-radius: 7px;
  font-weight: bold;
  background: linear-gradient(90deg, #39644E 92%, #9FC490 100%);
  color: #FFFFFF;
  box-shadow: 0 2px 16px 0 rgba(60,100,90,0.13);
  border: none;
  outline: none;
  display: inline-block;
  margin-left: 10px;
  margin-top: 0;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  transition: background 0.24s, color 0.18s, box-shadow 0.24s;
  position: relative;
}
.btn-primary:hover, .btn-primary:focus {
  background: #262B2C;
  color: #9FC490;
  box-shadow: 0 4px 32px 0 rgba(60,70,64,0.18);
}
.btn-secondary {
  background: #191B1B;
  color: #9FC490;
  border: 1px solid #39644E;
  margin-left: 0;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #39644E;
  color: #fff;
}

/* Hamburger menu button */
.mobile-menu-toggle {
  display: none;
  background: #262B2C;
  color: #9FC490;
  border-radius: 8px;
  width: 46px;
  height: 46px;
  font-size: 2.1rem;
  line-height: 1;
  align-items: center;
  justify-content: center;
  border: 1px solid #323435;
  margin-left: 12px;
  transition: background 0.18s, color 0.18s;
  z-index: 122;
}
.mobile-menu-toggle:focus { outline: 2px solid #39644E; }
.mobile-menu-toggle:hover { background: #333835; color: #fff; }

/*------------------------------------------*/
/* MOBILE MENU DRAWER */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(32,35,36,0.982);
  transform: translateX(100%);
  transition: transform 0.36s cubic-bezier(.57,.36,.25,1);
  z-index: 2001;
  display: flex;
  flex-direction: column;
  padding: 34px 22px 20px 22px;
  gap: 24px;
  box-shadow: -3px 0 24px 0 rgba(0,0,0,0.14);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: #262B2C;
  color: #EEE;
  font-size: 2.66rem;
  border-radius: 7px;
  width: 42px;
  height: 42px;
  border: 1px solid #34373B;
  margin-bottom: 9px;
  transition: color 0.16s, background 0.16s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #39644E;
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 19px;
}
.mobile-nav a {
  color: #F8FAF9;
  font-size: 1.23rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  padding: 18px 6px 8px 6px;
  border-radius: 5px;
  transition: background 0.16s, color 0.16s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #333935;
  color: #9FC490;
}

/* HIDE MAIN NAV ON MOBILE - Only show hamburger button */
@media (max-width: 990px) {
  header nav,
  .btn-primary[href="kontakt.html"] {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
/*------------------------------------------*/
/* FOOTER */
footer {
  background: #181919;
  border-top: 1px solid #343738;
  padding: 36px 0 20px 0;
  color: #A7ADAA;
  font-size: 0.99rem;
}
.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 13px;
  justify-content: center;
}
.footer-menu a {
  color: #9FC490;
  font-size: 1.04rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  text-transform: uppercase;
}
.footer-menu a:hover { color: #FFF; text-decoration: underline; }
.footer-contact {
  text-align: center;
  color: #8E9490;
  opacity: .97;
}

/*------------------------------------------*/
/* TESTIMONIALS */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #F5F7F5;
  color: #1C2030;
  border-radius: 14px;
  padding: 20px 28px;
  margin-bottom: 20px;
  box-shadow: 0 2px 14px 0 rgba(65,72,70,0.13);
  min-width: 240px;
  flex: 1 1 260px;
  flex-wrap: wrap;
}
.testimonial-card blockquote {
  background: unset;
  color: #232728;
  border: none;
  padding: 0;
  margin: 0;
  font-size: 1.18rem;
  font-style: italic;
}
.testimonial-card span {
  color: #39644E;
  font-weight: 600;
  font-size: 1rem;
}

/* Ensure testimonial contrast */
.testimonial-card, .testimonial-card > * {
  color: #232728 !important;
  background: transparent !important;
}

/*------------------------------------------*/
/* BUTTONS & MICRO-INTERACTIONS */
.btn-primary, .btn-secondary, .mobile-menu-toggle, .mobile-menu-close, .cookie-btn {
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform 0.18s;
}
.btn-primary:active, .btn-secondary:active, .cookie-btn:active {
  transform: scale(0.97);
}

/*------------------------------------------*/
/* COOKIE BANNER & COOKIE MODAL */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0; right: 0;
  background: #232728;
  color: #EEE;
  box-shadow: 0 -4px 24px 0 rgba(28,34,31,.13);
  z-index: 2100;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  padding: 24px 14px 16px 14px;
  gap: 30px;
  font-size: 1rem;
  transition: transform 0.39s cubic-bezier(.6,.22,.23,1);
}
.cookie-banner.hide {
  transform: translateY(140%);
}
.cookie-banner .cookie-btn {
  margin: 0 9px;
  padding: 10px 22px;
  border-radius: 6px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  outline: none;
  background: #39644E;
  color: #fff;
  box-shadow: 0 1px 8px 0 rgba(57,100,78,0.09);
  transition: background 0.18s, color 0.18s;
}
.cookie-banner .cookie-btn.secondary {
  background: #191B1B;
  color: #9FC490;
  border: 1px solid #9FC490;
}
.cookie-banner .cookie-btn:hover,
.cookie-banner .cookie-btn:focus {
  background: #333;
  color: #fff;
}
.cookie-banner .cookie-btn.secondary:hover,
.cookie-banner .cookie-btn.secondary:focus {
  background: #9FC490;
  color: #181919;
}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  left: 50%; top: 45%;
  transform: translate(-50%, -45%) scale(0.98);
  min-width: 330px;
  max-width: 90vw;
  background: #232728;
  color: #fff;
  padding: 30px 24px 22px 24px;
  border-radius: 16px;
  box-shadow: 0 4px 42px 0 rgba(28,34,31,0.24);
  z-index: 2200;
  display: flex;
  flex-direction: column;
  gap: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(.6,.22,.23,1);
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal h3 {
  margin-bottom: 5px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 1.03rem;
}
.cookie-toggle {
  appearance: none;
  -webkit-appearance: none;
  width: 46px;
  height: 24px;
  background: #363A3B;
  border-radius: 20px;
  position: relative;
  outline: none;
  transition: background 0.2s;
}
.cookie-toggle:checked {
  background: #9FC490;
}
.cookie-toggle:before {
  content: '';
  position: absolute;
  width: 22px;
  height: 22px;
  left: 1px;
  top: 1px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.2s, background 0.2s;
}
.cookie-toggle:checked:before {
  transform: translateX(22px);
  background: #39644E;
}
.cookie-modal .cookie-btn {
  margin-top: 12px;
  width: 100%;
}
.cookie-modal .cookie-btn:last-child {
  margin-top: 0;
}
.cookie-modal .close-modal {
  background: none;
  color: #B7B9B8;
  font-size: 2rem;
  align-self: flex-end;
  border: none;
  cursor: pointer;
  margin-top: -22px;
  margin-right: -12px;
}
.cookie-modal .close-modal:hover, .cookie-modal .close-modal:focus {
  color: #9FC490;
}

/*------------------------------------------*/
/* RESPONSIVE DESIGN  —  FLEXBOX ONLY */
@media (max-width: 1200px) {
  .container {
    max-width: 1000px;
  }
}
@media (max-width: 990px) {
  .container {
    max-width: 770px;
    padding-left: 11px; padding-right: 11px;
  }
  .testimonial-card {
    flex: 1 1 100%;
    min-width: 180px;
    padding: 16px 16px;
  }
}
@media (max-width: 768px) {
  html { font-size: 97.5%; }
  .container {
    max-width: 98vw;
    padding-left: 4vw; padding-right: 4vw;
  }
  header .container {
    flex-direction: row;
    gap: 12px;
    min-height: 62px;
  }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.32rem; }
  .btn-primary, .btn-secondary {
    padding: 11px 18px;
    font-size: 1rem;
  }
  .content-wrapper, .text-section {
    gap: 15px;
  }
  .section {
    margin-bottom: 36px;
    padding: 24px 6px;
  }
  .testimonial-card {
    padding: 12px 9px;
    margin-bottom: 14px;
    border-radius: 8px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 15px;
  }
  .content-grid {
    gap: 13px;
    flex-direction: column;
  }
  .card-container {
    gap: 13px;
  }
  .footer-menu {
    gap: 12px;
    font-size: 0.96rem;
  }
  .cookie-modal { min-width: 90vw; padding: 19px 6vw 12px 6vw; }
}
@media (max-width: 570px) {
  h1 { font-size: 1.27rem; }
  h2 { font-size: 1.05rem; }
  .btn-primary, .btn-secondary {
    font-size: 0.96rem;
    padding: 10px 9px;
  }
  .footer-contact {
    font-size: 0.97rem;
  }
}

/*------------------------------------------*/
/* VISUAL HIERARCHY, ACCENTS, AND EFFECTS */
.section {
  box-shadow: 0 2px 18px 0 rgba(24,24,24,0.11);
  border: 1px solid #313734;
  margin-bottom: 60px;
  padding: 40px 20px;
}
.section:last-child {
  margin-bottom: 0;
}
.card, .testimonial-card {
  box-shadow: 0 2px 16px 0 rgba(60,70,64,0.10);
}

hr {
  border: none;
  border-bottom: 1.5px solid #363D3C;
  margin: 40px 0;
}

/*------------------------------------------*/
/* MISC. */
::-webkit-selection {
  background: #39644E;
  color: #fff;
}
::selection {
  background: #39644E;
  color: #fff;
}
main {
  min-height: 64vh;
  width: 100%;
  padding-bottom: 42px;
}

/*------------------------------------------*/
/* ENSURE NO GRID OR ABSOLUTE LAYOUTS! */
/* No display: grid or column properties anywhere. */

/*------------------------------------------*/
/* END OF INDUSTRIAL MODERN STYLE */

