/* -----------------------
  CSS RESET & BASE STYLES
--------------------------*/
html { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; margin: 0; padding: 0; border: 0; }
html, body { height: 100%; font-size: 16px; }
body {
  min-height: 100vh;
  background: #F9F8F6;
  color: #354045;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-weight: 400;
  line-height: 1.7;
  scroll-behavior: smooth;
}
img { max-width: 100%; height: auto; vertical-align: middle; border-radius: 14px; }
a { color: inherit; text-decoration: none; transition: color 0.2s; }

/* Typography scale and friendly style */
h1, h2, h3, h4 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; color: #E5A23C; }
h2 { font-size: 1.8rem; margin-bottom: 20px; color: #354045; }
h3 { font-size: 1.25rem; margin-bottom: 18px; color: #E5A23C; }
h4 { font-size: 1rem; margin-bottom: 14px; color: #354045; }
p, ul, ol { margin-bottom: 16px; }
ul, ol { padding-left: 20px; }
li { margin-bottom: 8px; }
strong { color: #E5A23C; font-weight: 700; }
em { color: #A97A3A; font-style: normal; }

/* Responsive typography */
@media (min-width: 700px) {
  h1 { font-size: 3.25rem; }
  h2 { font-size: 2.25rem; }
  h3 { font-size: 1.4rem; }
  p, li, span { font-size: 1.07rem; }
}
/* ----------------------
  CONTAINERS & LAYOUT
--------------------------*/
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto; 
  margin-right: auto;
  padding: 0 20px;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 12px 0 rgba(229,162,60,0.11);
  padding: 28px 22px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.2s;
}
.card:hover {
  box-shadow: 0 4px 18px 0 rgba(229,162,60,0.18);
}

.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: 12px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 10px 0 rgba(53,64,69,0.07);
  padding: 20px;
  margin-bottom: 20px;
  max-width: 480px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.testimonial-card:hover {
  box-shadow: 0 4px 18px 0 rgba(229,162,60,0.12);
  transform: translateY(-3px) scale(1.01);
}
.testimonial-card p {
  color: #354045;
  font-size: 1.08rem;
  line-height: 1.5;
}
.testimonial-card span {
  color: #E5A23C;
  font-size: 1rem;
  font-style: italic;
  font-weight: 600;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.cta-banner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #fff7ed;
  border-radius: 18px;
  padding: 36px 20px;
  gap: 16px;
  box-shadow: 0 2px 12px 0 rgba(229,162,60,0.09);
}

.text-section {
  background: #FAF6EF;
  border-radius: 16px;
  padding: 32px 20px;
  margin-bottom: 28px;
  box-shadow: 0 2px 10px 0 rgba(229,162,60,0.04);
}

.map-embed {
  background: #F6E7CE;
  color: #354045;
  border-radius: 12px;
  padding: 14px;
  margin-top: 16px;
}

/* --------------------------------
    HEADER & NAVIGATION STYLES
-----------------------------------*/
header {
  background: #fff;
  box-shadow: 0 2px 14px 0 rgba(229,162,60,0.07);
  padding: 12px 0;
  position: sticky;
  top: 0; left: 0; right: 0;
  z-index: 40;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
header nav {
  display: flex;
  gap: 21px;
  align-items: center;
}
header nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 1.05rem;
  color: #354045;
  padding: 8px 5px;
  border-radius: 10px;
  transition: background 0.18s, color 0.18s;
}
header nav a:hover,
header nav a:focus {
  background: #FAE3AB;
  color: #E5A23C;
}

.cta-primary, .cta-secondary {
  display: inline-block;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1.08rem;
  border-radius: 50px;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
  letter-spacing: .02em;
  cursor: pointer;
  text-align: center;
  padding: 12px 32px;
  box-shadow: 0 2px 8px 0 rgba(229,162,60,0.07);
}
.cta-primary {
  background: #E5A23C;
  color: #fff;
  border: none;
}
.cta-primary:hover, .cta-primary:focus {
  background: #B97A16;
  box-shadow: 0 4px 14px 0 rgba(229,162,60,0.17);
  color: #fff;
}
.cta-secondary {
  background: #354045;
  color: #fff;
}
.cta-secondary:hover, .cta-secondary:focus {
  background: #E5A23C;
  color: #fff;
  box-shadow: 0 4px 16px 0 rgba(229,162,60,0.14);
}

/* -------------------
  MOBILE NAVIGATION
--------------------*/
.mobile-menu-toggle {
  background: #E5A23C;
  color: #fff;
  font-size: 2.1rem;
  padding: 7px 20px 9px 12px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  border: none;
  cursor: pointer;
  margin-left: 12px;
  z-index: 102;
  transition: background 0.18s;
}
.mobile-menu-toggle:active,
.mobile-menu-toggle:focus { background: #B97A16; }
.mobile-menu { 
  position: fixed;
  top: 0; right: 0; left: 0; bottom: 0;
  background: rgba(53,64,69,0.96);
  z-index: 101;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.76,.01,.21,.99);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.active {
  transform: translateX(0%);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  background: none;
  color: #E5A23C;
  font-size: 2.4rem;
  margin: 18px 24px 0 0;
  border: none;
  cursor: pointer;
  z-index: 120;
  transition: color 0.2s;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 56px 40px 24px 32px;
  width: 95vw;
  max-width: 345px;
  background: #fff;
  height: 100%;
  border-radius: 20px 0 0 20px;
  box-shadow: -1px 0 16px 0 rgba(229,162,60,0.11);
  position: absolute;
  right: 0; top: 0;
  z-index: 105;
}
.mobile-nav a {
  color: #354045;
  font-size: 1.18rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  padding: 11px 10px;
  border-radius: 11px;
  background: none;
  display: block;
  transition: background 0.18s, color 0.18s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #FAE3AB;
  color: #E5A23C;
}

@media (max-width: 992px) {
  header .container nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 993px) {
  .mobile-menu, .mobile-menu-toggle {
    display: none !important;
  }
}

/* Make sure nav and cta are on top row on header */
@media (max-width: 650px) {
  header .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px 0;
  }
}

/* ------------------------
    BUTTON & LINK FOCUS
--------------------------*/
a:focus, button:focus {
  outline: 2px solid #E5A23C;
  outline-offset: 2px;
}
@media (hover: none) and (pointer: coarse) {
  a:active, button:active {
    background: #FFE7B9;
  }
}

/* ----------------------
  SECTIONS & CARDS
--------------------------*/
section {
  margin-bottom: 60px;
  padding: 40px 0;
  width: 100%;
}
section .container { width: 100%; }

ul li img, .feature-item img {
  width: 28px;
  height: 28px;
  margin-right: 13px;
  margin-bottom: -7px;
  vertical-align: middle;
  background: #fff8df;
  border-radius: 100px;
  box-shadow: 0 1px 4px 0 rgba(229,162,60,0.07);
}

/* -------------
   FOOTER
--------------*/
footer {
  margin-top: 65px;
  background: #fff7ed;
  border-top: 2px solid #ebdabf;
  padding: 35px 0 25px 0;
  color: #354045;
  font-size: 0.98rem;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 15px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.08rem;
  color: #E5A23C;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
footer nav a {
  color: #354045;
  border-radius: 5px;
  padding: 5px 2px;
  transition: background 0.15s, color 0.15s;
}
footer nav a:hover, footer nav a:focus {
  background: #FAE3AB;
  color: #E5A23C;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.98em;
}
.footer-contact img {
  width: 18px;
  height: 18px;
  margin-right: 7px;
  vertical-align: middle;
}
@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}

/* -----------
  FORMS (for kontakt form if needed in future)
--------------*/
input,
textarea,
select {
  border-radius: 14px;
  border: 1px solid #ebdabf;
  padding: 12px 14px;
  font-size: 1rem;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  margin-bottom: 16px;
  background: #fff;
  width: 100%;
  transition: border-color 0.16s;
}
input:focus, textarea:focus, select:focus {
  border-color: #E5A23C;
}

/* --------------
  COOKIE CONSENT
-----------------*/
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 2040;
  background: #fff7ed;
  color: #354045;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-shadow: 0 -2px 10px 0 rgba(53,64,69,0.09);
  padding: 20px 32px 17px 22px;
  border-top: 1px solid #E5A23C;
  animation: cookie-banner-in 0.46s cubic-bezier(.39,.6,.57,1.09);
}
@keyframes cookie-banner-in {
  from { transform: translateY(90px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-consent-banner p {
  flex: 1 1 210px;
  font-size: 1.04rem;
}
.cookie-btns {
  display: flex;
  gap: 14px;
}
.cookie-btn {
  font-family: 'Montserrat';
  font-weight: 600;
  font-size: 1.03rem;
  padding: 8px 23px;
  border-radius: 28px;
  border: none;
  outline: none;
  cursor: pointer;
  box-shadow: 0 2px 7px 0 rgba(229,162,60,0.06);
  background: #E5A23C;
  color: #fff;
  transition: background 0.19s, color 0.19s;
}
.cookie-btn.secondary {
  background: #fff;
  color: #E5A23C;
  border: 1px solid #E5A23C;
}
.cookie-btn:focus, .cookie-btn:hover {
  background: #B97A16;
  color: #fff;
}
.cookie-btn.secondary:focus, .cookie-btn.secondary:hover {
  background: #FAE3AB;
  color: #E5A23C;
}

/* COOKIE MODAL (for settings) */
.cookie-modal {
  position: fixed;
  z-index: 2050;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(53,64,69,0.48);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.23s;
}
.cookie-modal.active {
  pointer-events: auto;
  opacity: 1;
}
.cookie-modal-content {
  background: #fff7ed;
  border-radius: 18px;
  box-shadow: 0 4px 24px 0 rgba(229,162,60,0.25);
  max-width: 400px;
  width: 97vw;
  padding: 36px 26px 20px 26px;
  display: flex;
  flex-direction: column;
  gap: 19px;
  color: #354045;
  position: relative;
  animation: modal-in 0.41s cubic-bezier(.39,.6,.57,1.09);
}
@keyframes modal-in {
  from { transform: translateY(-80px) scale(0.98); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal-content h2 {
  color: #E5A23C;
  font-size: 1.28rem;
  margin-bottom: 14px;
}
.cookie-modal-content label {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 15px;
  cursor: pointer;
  font-size: 0.99rem;
}
.cookie-modal-content input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: #E5A23C;
  border-radius: 6px;
}
.cookie-modal-close {
  position: absolute;
  top: 15px; right: 17px;
  background: none;
  border: none;
  color: #E5A23C;
  font-size: 1.45rem;
  cursor: pointer;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #B97A16;
}

/* Cookie toggle (switch style) */
.switch {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 22px;
}
.switch input { opacity: 0; width: 0; height: 0; }
.slider {
  position: absolute; cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #E5A23C;
  border-radius: 34px;
  transition: .4s;
}
.slider:before {
  position: absolute; content: "";
  height: 16px; width: 16px;
  left: 3px; bottom: 3px;
  background: #fff;
  border-radius: 50%;
  transition: .4s;
}
.switch input:checked + .slider {
  background: #354045;
}
.switch input:checked + .slider:before {
  transform: translateX(18px);
}
.switch input:disabled + .slider { background: #fadfc1; }

/* ---------------
   MISC ELEMENTS
------------------*/
::-webkit-input-placeholder { color: #b99b69; }
::-moz-placeholder { color: #b99b69; }
:-ms-input-placeholder { color: #b99b69; }
::placeholder { color: #b99b69; }

hr {
  border: none;
  border-top: 1px solid #E5A23C;
  margin: 18px 0;
}

/* --------------
   MEDIA QUERIES
-----------------*/
@media (max-width: 1050px) {
  .container { max-width: 930px; }
}
@media (max-width: 768px) {
  .container { max-width: 98vw; }
  section, .section { padding: 32px 0; }
  .content-wrapper, .cta-banner { gap: 14px; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.2rem; }
  header .container { flex-direction: row; }
  .testimonial-card { max-width: 97vw; }
}
@media (max-width: 550px) {
  .content-wrapper, .cta-banner, .text-section {
    padding: 16px 7px;
    gap: 8px;
  }
  header .container { padding: 0 10px; }
  .mobile-nav { padding-left: 8px; padding-right: 8px; }
  .cookie-consent-banner { flex-direction: column; gap: 13px; padding: 14px 8px; }
  .cookie-modal-content { padding: 19px 6px 10px 12px; }
  .section { padding: 22px 5px; }
}

/* FLEXBOX DIRECTION ADAPTATION */
@media (max-width: 768px) {
  .text-image-section, .content-grid, .card-container {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
}

/* Keep at least 20px gap between all main cards/sections */
section + section {
  margin-top: 20px;
}
.content-wrapper > * + * {
  margin-top: 14px;
}

/* -----------
   Utilities
------------*/
.rounded, .card, .testimonial-card, .text-section, .cta-banner, .cookie-modal-content {
  border-radius: 16px;
}
.shadow, .card, .testimonial-card, .cta-banner, .cookie-modal-content, .cookie-consent-banner {
  box-shadow: 0 2px 12px 0 rgba(229,162,60,0.08);
}

/* ------------
   PRINT FIX
--------------*/
@media print {
  header, footer, .mobile-menu, .cookie-consent-banner, .cookie-modal { display: none !important; }
}

/* End of CSS */
