/* RESET & BASE STYLES */
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;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  background: #F7F6F3;
  color: #25354A;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #25354A;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover,
a:focus {
  color: #D0B37F;
  outline: none;
}

/* FONTS - Import */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700&family=Open+Sans:wght@400;600&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #25354A;
  text-shadow: 0 2px 6px rgba(37,53,74,0.06);
}
h1 {
  font-size: 2.3rem;
  margin-bottom: 20px;
  letter-spacing: 0.02em;
  line-height: 1.18;
}
h2 {
  font-size: 1.8rem;
  margin-bottom: 18px;
  line-height: 1.22;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 16px;
}
h4, h5, h6 {
  font-size: 1rem;
  margin-bottom: 10px;
}
@media (max-width: 768px) {
  h1 {
    font-size: 1.65rem;
  }
  h2 {
    font-size: 1.21rem;
  }
  h3 {
    font-size: 1rem;
  }
}

p, li, dl, .testimonial-info {
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 400;
  color: #25354A;
  font-size: 1rem;
}
strong, b {
  font-weight: 600;
}
.subheadline {
  color: #25354A;
  opacity: 0.85;
  font-size: 1.15rem;
  margin-bottom: 18px;
  font-weight: 600;
}

/* CONTAINER & LAYOUT */
.container {
  width: 100%;
  max-width: 1190px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
@media (max-width: 950px) {
  .container {
    max-width: 97vw;
    padding-left: 12px;
    padding-right: 12px;
  }
}

/* SECTIONS SPACING */
.section, .hero, .features, .about, .testimonials, .testimonial, .contact, .services {
  margin-bottom: 60px;
  padding: 40px 20px;
  position: relative;
  border-radius: 34px;
  background: #FFF;
  box-shadow: 0 8px 32px 0 rgba(208,179,127,0.04), 0 1.5px 8px 0 rgba(37,53,74,0.03);
}
@media (max-width: 768px) {
  .section, .hero, .features, .about, .testimonials, .testimonial, .contact, .services {
    padding: 25px 7px;
    margin-bottom: 22px;
    border-radius: 22px;
  }
}

/* FLEXBOX PATTERNS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #F7F6F3;
  border-radius: 24px;
  box-shadow: 0 4px 20px rgba(208,179,127,0.10);
  padding: 28px 22px;
  transition: box-shadow 0.25s, transform 0.22s;
  display: flex;
  flex-direction: column;
  min-width: 250px;
  flex: 1 1 250px;
}
.card:hover {
  box-shadow: 0 8px 34px rgba(208,179,127,0.18);
  transform: translateY(-3px) scale(1.03) rotate(-0.5deg);
}
.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: 20px 26px;
  background: #FFF;
  border-radius: 18px;
  box-shadow: 0 4px 16px rgba(208,179,127,0.09);
  min-width: 250px;
  max-width: 420px;
  margin-right: 16px;
  margin-bottom: 20px;
  border-left: 7px solid #D0B37F;
  transition: box-shadow 0.24s, border-color 0.2s;
}
.testimonial-card:hover {
  box-shadow: 0 10px 40px 0 rgba(37,53,74,0.13);
  border-left-color: #25354A;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* MOBILE FLEX DIRECTIONS */
@media (max-width: 768px) {
  .content-wrapper, .content-grid, .card-container {
    flex-direction: column !important;
    gap: 20px !important;
  }
  .text-image-section {
    flex-direction: column !important;
    gap: 18px;
  }
}

/* HEADER & NAVIGATION */
header {
  background: #25354A;
  color: #FFF;
  padding: 0;
  position: relative;
  box-shadow: 0 6px 32px rgba(37,53,74,0.08);
  margin-bottom: 0px;
  z-index: 40;
}
.logo img {
  height: 48px;
  display: block;
}
.container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #FFF;
  font-size: 1.09rem;
  border-radius: 6px;
  padding: 7px 14px;
  position: relative;
  transition: background 0.18s, color 0.18s;
}
.main-nav a:hover,
.main-nav a:focus {
  background: #D0B37F;
  color: #25354A;
}
.cta-btn {
  background: #D0B37F;
  color: #25354A;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  padding: 11px 28px;
  border-radius: 24px 20px 28px 14px;
  font-size: 1.1rem;
  box-shadow: 0 3px 13px -3px #25354A10;
  cursor: pointer;
  margin-left: 32px;
  transition: background 0.18s, box-shadow 0.21s, color 0.18s, transform 0.18s;
}
.cta-btn:hover, .cta-btn:focus {
  background: #25354A;
  color: #D0B37F;
  box-shadow: 0 6px 28px -1.2px #D0B37F21;
  transform: translateY(-2px) scale(1.045) rotate(0.5deg);
}

@media (max-width: 1020px) {
  .main-nav, .cta-btn {
    display: none;
  }
}
@media (max-width: 1020px) {
  header .container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

/* MOBILE MENU */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #FFF;
  font-size: 2.2rem;
  position: absolute;
  right: 34px;
  top: 24px;
  z-index: 100;
  cursor: pointer;
  transition: color 0.15s;
}
.mobile-menu-toggle:focus {
  color: #D0B37F;
  outline: 2px solid #D0B37F;
}
@media (max-width: 1020px) {
  .mobile-menu-toggle {
    display: block;
  }
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  position: fixed;
  top: 0;
  right: 0;
  width: 90vw;
  max-width: 420px;
  height: 100vh;
  background: #25354A;
  box-shadow: -8px 0 26px #25354A20;
  z-index: 99999;
  transform: translateX(110%);
  transition: transform 0.28s cubic-bezier(.58,.3,0,1.24);
  padding: 32px 26px 14px 32px;
  gap: 12px;
}
.mobile-menu.open {
  transform: translateX(0%);
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 2rem;
  color: #D0B37F;
  margin-bottom: 12px;
  cursor: pointer;
  transition: color 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #FFF;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 17px;
  width: 100%;
}
.mobile-nav a {
  color: #FFF;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.22rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 11px 0 8px 0;
  border-bottom: 1.5px solid #D0B37F20;
  border-radius: 8px 4px;
  margin-right: auto;
  transition: color 0.18s, background 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #D0B37F;
  background: #FFF1;
}

/* HERO SECTION */
.hero {
  background: linear-gradient(96deg,#F7F6F3 72%,#D0B37F15 100%);
  min-height: 300px;
  display: flex;
  align-items: center;
  margin-bottom: 60px;
  position: relative;
}
@media (max-width:768px) { .hero { min-height: unset; } }
.hero .container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  min-height: 220px;
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 22px;
}
@media(max-width:768px) {
  .hero .content-wrapper {
    align-items: stretch;
    text-align: left;
    gap: 14px;
  }
}

/* FEATURES LAYOUT & CARDS */
.features .feature-grid, .feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 34px;
  justify-content: flex-start;
}
.feature {
  background: #FFF;
  border-radius: 22px 17px 29px 13px;
  box-shadow: 0 4px 13px rgba(37,53,74,0.09);
  padding: 28px 22px 22px 22px;
  flex: 1 1 225px;
  min-width: 210px;
  max-width: 302px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  align-self: stretch;
  gap: 15px;
  margin-bottom: 20px;
  position: relative;
  border-left: 6px solid #D0B37F;
  transition: box-shadow 0.18s, border-color 0.21s, transform 0.18s;
}
.feature img {
  margin-bottom: 8px;
  width: 38px;
  height: 38px;
}
.feature:hover {
  box-shadow: 0 11px 39px 0 #25354a23;
  border-left-color: #25354A;
  transform: translateY(-3px) scale(1.045); 
}
@media (max-width: 1100px) {
  .feature {
    max-width: 99vw;
  }
  .features .feature-grid, .feature-grid {
    gap: 20px;
  }
}
@media (max-width: 768px) {
  .feature, .features .feature {
    min-width: 75vw;
    max-width: 95vw;
    width: 100%;
    padding: 19px 9px 19px 14px;
    border-radius: 13px 16px 22px 4px;
    gap: 9px;
  }
}

/* PRODUCT GRID IN KATALOG */
.product-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
}
.product-grid .feature {
  flex: 1 1 220px;
  max-width: 275px;
}
@media (max-width: 900px) {
  .product-grid .feature {
    max-width: 100%;
  }
}

/* CATEGORY FILTER IN KATALOG */
.category-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 22px 0 10px 0;
}
.category-filter button {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #25354A;
  background: #D0B37F;
  padding: 7px 18px;
  border-radius: 19px 8px 18px 7px;
  border: none;
  font-weight: bold;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 2px 8px #d0b37f23;
  transition: background 0.21s, color 0.18s, box-shadow 0.22s, transform 0.15s;
}
.category-filter button:hover, .category-filter button:focus {
  background: #25354A;
  color: #D0B37F;
  transform: translateY(-2px) scale(1.06);
}

input[type="text"], input[type="email"], textarea {
  background: #F7F6F3;
  padding: 9px 15px;
  border: 2px solid #D0B37F;
  border-radius: 10px;
  font-size: 1rem;
  font-family: 'Open Sans', Arial, sans-serif;
  margin-top: 5px;
  margin-bottom: 16px;
  width: 100%;
  max-width: 380px;
  transition: border-color 0.17s, box-shadow 0.13s;
}
input[type="text"]:focus, input[type="email"]:focus, textarea:focus {
  border-color: #25354A;
  box-shadow: 0 2px 4px #25354a13;
  outline: none;
}

/* OL, UL, DL */
ul, ol {
  margin-left: 24px;
  margin-bottom: 18px;
  font-size: 1rem;
  line-height: 1.68;
}
ul li, ol li {
  margin-bottom: 12px;
}
dt {
  font-weight: 700;
  color: #D0B37F;
  margin-top: 14px;
}
dd {
  margin-left: 0;
  margin-bottom: 8px;
}

/* BUTTONS GENERIC */
button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: background 0.18s, color 0.15s;
}

/* TESTIMONIALS */
.testimonials .content-wrapper, .testimonial .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
}
.testimonial-card {
  background: #FFF;
  color: #25354A;
  min-width: 210px;
  max-width: 390px;
  border-left: 9px solid #D0B37F;
  box-shadow: 0 4px 20px rgba(208,179,127,0.11);
  margin-bottom: 20px;
  transition: box-shadow 0.19s, border-color 0.17s;
}
.testimonial-card p {
  font-size: 1.06rem;
  font-style: italic;
}
.testimonial-info {
  font-size: 0.98rem;
  color: #25354A;
  opacity: 0.8;
  font-family: 'Open Sans', Arial, sans-serif;
}
.star-rating {
  color: #D0B37F;
  letter-spacing: 2px;
  font-size: 1.15rem;
  /* Custom artistic look */
  font-family: 'Montserrat', cursive, sans-serif;
  user-select: none;
  margin-bottom: 3px;
}
@media (max-width: 830px) {
  .testimonial-card {
    max-width: 92vw;
  }
}

/* FAQ (DL) */
.faq {
  background: #F7F6F3;
  padding: 24px 24px 18px 28px;
  border-radius: 18px;
  box-shadow: 0 2px 8px #25354a18;
  margin-top: 18px;
  margin-bottom: 24px;
}

/* SERVICES & CONSULTATIONS */
.services-list, .consultation-options {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.services-list .feature, .consultation-options .feature {
  flex: 1 1 200px;
  min-width: 200px;
  max-width: 350px;
}
.pricing-table {
  background: #F7F6F3;
  padding: 20px 12px 18px 22px;
  border-radius: 12px;
  margin-top: 18px;
}

/* FOOTER */
footer {
  background: #25354A;
  color: #FFF;
  margin-top: 40px;
  padding-top: 18px;
  padding-bottom: 13px;
  box-shadow: 0 -4px 22px #25354A0F;
}
footer .container {
  flex-direction: column;
  align-items: stretch;
  gap: 18px;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}
.footer-nav a {
  color: #FFF;
  opacity: 0.88;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: 0.01em;
  padding-bottom: 2px;
  border-bottom: 2px solid #D0B37F00;
  transition: border-color 0.15s, color 0.15s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #D0B37F;
  border-bottom: 2px solid #D0B37F;
}
.contact-summary {
  color: #FFF;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 0.99rem;
  opacity: 0.96;
}
.legal {
  text-align: center;
  font-size: 0.97rem;
  padding-top: 7px;
  color: #FFF;
  opacity: 0.62;
}
@media(max-width: 850px) {
  footer .content-wrapper {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }
}

/* ARTISTIC/CREATIVE ELEMENTS */
/* Wavy underline for artistic look (for h2, h3) */
h2, h3 {
  position: relative;
}
h2::after, h3::after {
  content: '';
  display: block;
  position: absolute;
  left: 0;
  bottom: -9px;
  width: 52px;
  height: 6px;
  border-radius: 6px;
  background: #D0B37F;
  opacity: 0.36;
  z-index: 1;
  pointer-events: none;
}
@media (max-width: 768px) {
  h2::after, h3::after { width: 33px; }
}

/* 'Kreslená pastelová' artistic border using box-shadow on features */
.feature, .card, .testimonial-card {
  box-shadow: 0 4px 24px #25354A14, 2px 8px 22px #D0B37F09;
}

/* Cookie Banner & Cookie Modal ----------------------------------- */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  width: 100vw;
  background: #FFF;
  color: #25354A;
  font-family: 'Open Sans', Arial, sans-serif;
  z-index: 22000;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  border-top: 3px solid #D0B37F;
  padding: 22px 32px;
  box-shadow: 0 -8px 32px #25354A50;
  gap: 26px;
  animation: cookiebanner-in 0.44s cubic-bezier(.78,-0.2,.26,1.23);
}
@keyframes cookiebanner-in { from { opacity: 0; transform: translateY(45px);} to { opacity: 1; transform: translateY(0);} }
.cookie-consent-banner p {
  flex: 2 1 360px;
  margin-bottom: 0;
  font-size: 1.04rem;
}
.cookie-action-buttons {
  display: flex;
  flex-direction: row;
  gap: 14px;
}
.cookie-action-buttons button {
  background: #D0B37F;
  color: #25354A;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 9px 18px;
  border-radius: 14px 19px 9px 18px;
  margin-left: 3px;
  border: none;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.15s, color 0.14s, transform 0.18s;
  box-shadow: 0 2px 8px #25354a18;
}
.cookie-action-buttons button:hover,
.cookie-action-buttons button:focus {
  background: #25354A;
  color: #D0B37F;
  outline: none;
  transform: scale(1.06) translateY(-1px);
}
@media (max-width: 730px) {
  .cookie-consent-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    padding: 17px 11px;
  }
  .cookie-action-buttons { flex-direction: column; gap: 8px; }
}

/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(37, 53, 74, 0.30);
  z-index: 24000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadein-modal-bg 0.20s cubic-bezier(.55,0,.42,1.17);
}
@keyframes fadein-modal-bg { from { opacity: 0;} to {opacity: 1;} }
.cookie-modal {
  background: #FFF;
  border-radius: 23px 19px 18px 13px;
  padding: 34px 32px 28px 32px;
  min-width: 310px;
  max-width: 480px;
  box-shadow: 0 8px 32px #25354a29;
  animation: cookiemodal-in 0.20s cubic-bezier(.77,-0.19,.27,1.21);
}
@keyframes cookiemodal-in { from { opacity: 0; transform: scale(0.92);} to {opacity: 1; transform: scale(1);} }
.cookie-modal h2 {
  font-size: 1.22rem;
  margin-bottom: 13px;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 13px;
  margin-top: 17px;
  flex-wrap: wrap;
}
.cookie-modal .modal-actions button {
  padding: 9px 20px;
  border-radius: 14px 8px 18px 15px;
}
.cookie-modal-category {
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 16px 0 14px 0;
}
.cookie-modal-category input[type='checkbox'] {
  appearance: none;
  width: 22px;
  height: 22px;
  border: 2px solid #D0B37F;
  border-radius: 5px;
  margin-right: 10px;
  position: relative;
  cursor: pointer;
  outline: none;
}
.cookie-modal-category input[type='checkbox']:checked {
  background: #D0B37F;
  border: 2px solid #25354A;
}
.cookie-modal-category input[type='checkbox']:checked::after {
  content: '';
  display: block;
  width: 9px;
  height: 9px;
  background: #25354A;
  border-radius: 2px;
  position: absolute;
  left: 6px;
  top: 6px;
}
.cookie-modal-category label {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  color: #25354A;
  cursor: pointer;
}
.cookie-modal-close {
  background: none;
  border: none;
  position: absolute;
  top: 11px; right: 16px;
  font-size: 1.7rem;
  color: #D0B37F;
  cursor: pointer;
  transition: color 0.13s;
}
.cookie-modal-close:hover {
  color: #25354A;
}

/* NEXT STEPS custom section (dekujeme.html) */
.next-steps {
  margin-top: 36px;
  background: #F7F6F3;
  padding: 20px 20px 23px 31px;
  border-radius: 14px;
  box-shadow: 0 4px 13px #D0B37F14;
}
.next-steps h2 {
  margin-top: 0;
  margin-bottom: 14px;
  font-size: 1.18rem;
}

/* MAP INFO - Kontakt page */
.map-info {
  background: #F7F6F3;
  border-radius: 13px;
  padding: 18px 18px 12px 22px;
  box-shadow: 0 2px 6px #25354A16;
  margin-bottom: 14px;
}

/* Artistic Buttons (across features) */
button, .cta-btn, .category-filter button, .cookie-action-buttons button, .modal-actions button {
  box-shadow: 0 2px 8px #d0b37f1b;
}

/* Artistic Shadows on hover */
.card:hover, .feature:hover, .testimonial-card:hover, .category-filter button:hover {
  box-shadow: 0 11px 39px #D0B37F31, 0 2.5px 8px #25354A21;
}

/* Micro-interactions */
.card, .feature, .testimonial-card, .cta-btn, .category-filter button, .footer-nav a {
  transition: box-shadow 0.18s, color 0.14s, background 0.14s, border 0.14s, transform 0.14s;
}

/* Hide non-relevant navigation on small devices */
@media (max-width: 1020px) {
  .main-nav, .cta-btn {
    display: none !important;
  }
}

/* Utility (for JS/DOM: hide/show) */
.hide, .hidden { display: none !important; }

/* Accessibility: Focus states strongly visible */
:focus {
  outline: 2.5px dotted #D0B37F;
  outline-offset: 2px;
}

/* Artistic details (optionally add more as needed) */
.feature-icons {
  display: flex;
  align-items: center;
  gap: 17px;
  margin: 13px 0;
}
.feature-icons img {
  width: 34px;
  height: 34px;
  opacity: 0.82;
  filter: drop-shadow(1px 2px 3px #25354A18);
  transition: filter 0.18s;
}
.feature-icons img:hover {
  filter: drop-shadow(0 5px 14px #D0B37F33);
}

/***** END OF STYLE.CSS *****/
