/* ----- CSS 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;
}
html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body {
  background-color: #1b2323;
  color: #E2F2E3;
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0.01em;
  min-height: 100vh;
}
*, *:before, *:after {
  box-sizing: inherit;
}
img {
  max-width: 100%;
  height: auto;
  display: inline-block;
}
a {
  color: #B13C52;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #E2F2E3;
  outline: none;
}

/* Typography (Industrial Modern / Urban / Metallic Accents) */
h1, h2, h3, h4, h5, h6 {
  color: #E2F2E3;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}
h1 { font-size: 2.5rem; margin-bottom: 18px; }
h2 { font-size: 2rem; margin-bottom: 16px; }
h3 { font-size: 1.25rem; margin-bottom: 14px; }
h4 { font-size: 1.1rem; }
p, li, blockquote {
  color: #B7C7C8;
  font-size: 1rem;
  margin-bottom: 10px;
}
strong { color: #E2F2E3; font-weight: 600; }
blockquote {
  border-left: 4px solid #8A1F33;
  background: #22282B;
  padding: 12px 20px;
  margin-bottom: 8px;
  font-style: italic;
  color: #1F2D2D;
}

/*------------------------------
  CONTAINER, GRID, AND LAYOUTS
------------------------------*/
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #232828;
  border-radius: 14px;
  box-shadow: 0 2px 16px 0 rgba(33,40,43,0.12);
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #242628;
  margin-bottom: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(20, 32, 35, 0.16);
  transition: box-shadow 0.3s;
  position: relative;
  overflow: hidden;
  border: 1px solid #2F3739;
}
.card:hover {
  box-shadow: 0 8px 24px #8A1F3330;
}
.content-grid, .feature-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;
  background: #F7F7F7;
  color: #232828;
  padding: 24px 24px 22px 24px;
  margin-bottom: 24px;
  border-left: 6px solid #245035;
  border-radius: 8px;
  box-shadow: 0 1px 6px #20282B33;
}
.testimonial-card blockquote {
  color: #2f3436;
  background: transparent;
  border-left: none;
  font-size: 1.1rem;
  padding: 0;
  margin-bottom: 2px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 18px 14px 16px 20px;
  background: #232828;
  border-radius: 9px;
  box-shadow: 0 1px 6px #20282B22;
  min-width: 215px;
  border: 1px solid #365648;
  transition: border 0.2s, box-shadow 0.2s;
}
.feature-item:hover {
  border: 1.5px solid #8A1F33;
  box-shadow: 0 6px 16px #8A1F3344;
}

/* Industrial Accent for Icons */
.feature-item img, .footer-contact img, .footer-social img, ul li img {
  width: 32px;
  height: 32px;
  margin-right: 14px;
  filter: grayscale(40%) brightness(1.2) contrast(1.1) drop-shadow(0 1px 0 #8A1F3340);
}
ul li {
  list-style: none;
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  gap: 8px;
}

/*------------------
  BUTTONS / CTAs
-------------------*/
.cta-btn {
  background: linear-gradient(90deg,#8A1F33 82%, #B13C52 120%);
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.06em;
  border: none;
  border-radius: 18px;
  padding: 13px 38px;
  margin-top: 12px;
  box-shadow: 0 2px 10px #8A1F3330;
  cursor: pointer;
  transition: background 0.18s, transform 0.16s;
  text-transform: uppercase;
  display: inline-block;
}
.cta-btn:hover, .cta-btn:focus {
  background: #245035;
  color: #E2F2E3;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 18px #24503544;
}
.cta-link {
  color: #8A1F33;
  font-weight: 600;
  margin-top: 15px;
  display: inline-block;
  letter-spacing: 0.03em;
  transition: color 0.18s;
  border-bottom: 1.5px solid #8A1F33;
  padding-bottom: 1.5px;
}
.cta-link:hover, .cta-link:focus {
  color: #245035;
  border-bottom: 1.5px solid #245035;
}

/*------------------
    HEADER & NAV
-------------------*/
header {
  background-color: #232828;
  box-shadow: 0 4px 18px #2026291A;
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}
header img[alt^="Květinové Centrum Ricardi"] {
  width: 168px;
  height: auto;
  margin-right: 24px;
  filter: grayscale(12%) contrast(1.15);
}
nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
nav a {
  color: #B7C7C8;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  transition: color 0.17s;
  letter-spacing: 0.05em;
  padding: 1px 5px;
  position: relative;
}
nav a:hover, nav a.active {
  color: #8A1F33;
}
nav a.active:after {
  content: '';
  display: block;
  width: 100%;
  height: 2px;
  background: #8A1F33;
  border-radius: 2px;
  position: absolute;
  bottom: -4px;
  left: 0; 
}
header .cta-btn {
  margin-left: 24px;
  margin-top: 0;
}

/* Mobile Nav and Hamburger */
.mobile-menu-toggle {
  display: none;
  background: none;
  font-size: 2rem;
  color: #E2F2E3;
  border: none;
  cursor: pointer;
  margin-left: 8px;
  z-index: 301;
  line-height: 1.1;
}
.mobile-menu {
  position: fixed;
  left: 0; top: 0; height: 100vh; width: 100vw;
  background: #232828;
  box-shadow: 2px 0 24px #22281e24;
  transform: translateX(-100vw);
  transition: transform 0.33s cubic-bezier(.65,.07,.47,1.39);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 40px 32px 24px 24px;
  z-index: 300;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #B7C7C8;
  font-size: 2rem;
  position: absolute;
  top: 23px;
  right: 28px;
  cursor: pointer;
  z-index: 3;
  transition: color 0.14s;
}
.mobile-menu-close:hover {
  color: #8A1F33;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  margin-top: 30px;
}
.mobile-nav a {
  color: #E2F2E3;
  font-size: 1.24rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 12px 3px 7px 6px;
  border-radius: 10px;
  transition: background 0.16s, color 0.16s;
  display: block;
}
.mobile-nav a:hover {
  background: #8A1F33;
  color: #fff;
}

/*------------------
     MAIN
-------------------*/
main {
  margin: 0 auto;
  flex: 1 0 auto;
}

section {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: 10px;
}
.text-section {
  background: #232828;
  border-radius: 10px;
  box-shadow: 0 1px 8px #23282818;
  padding: 18px 18px 22px 18px;
}

ul {
  margin-bottom: 16px;
}
ul li strong {
  color: #B13C52;
}

.table-wrapper {
  overflow-x: auto;
  margin-bottom: 16px;
}
table {
  background: #222727;
  color: #F1F5F5;
  width: 100%;
  border-collapse: collapse;
  border-radius: 10px;
  margin-bottom: 14px;
}
thead {
  background: #232828;
}
th, td {
  padding: 14px 22px;
  border-bottom: 1px solid #365648;
  text-align: left;
  font-family: 'Montserrat', Arial, sans-serif;
}
th {
  color: #E2F2E3;
  font-weight: bold;
  font-size: 1.1rem;
}
tr:last-child td {
  border-bottom: none;
}

/*-------------------
     FOOTER
--------------------*/
footer {
  background: #212323;
  border-top: 2px solid #365648;
  margin-top: 50px;
  font-size: 0.98rem;
}
footer .container {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 32px 28px;
  justify-content: space-between;
  padding-top: 40px;
  padding-bottom: 22px;
  align-items: flex-start;
}
.footer-menu, .footer-contact, .footer-social {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-menu {
  gap: 8px;
}
.footer-menu a {
  color: #B7C7C8;
  font-size: 0.95rem;
  transition: color 0.15s;
}
.footer-menu a:hover {
  color: #B13C52;
}
.footer-contact a {
  color: #E2F2E3;
  transition: color 0.15s;
}
.footer-contact a:hover {
  color: #8A1F33;
}
.footer-contact img {
  width: 21px;
  height: 21px;
  margin-right: 8px;
}
.footer-contact p {
  color: #B7C7C8;
  display: flex;
  align-items: center;
}
.footer-social {
  flex-direction: row;
  gap: 18px;
  margin-top: 11px;
}
.footer-social a img {
  width: 28px;
  height: 28px;
  transition: filter 0.15s;
}
.footer-social a:hover img {
  filter: drop-shadow(0 0 2px #8A1F33) brightness(1.28) contrast(1.45);
}
.footer-copy {
  width: 100%;
  margin-top: 30px;
  color: #606a6f;
  font-size: 0.95rem;
  text-align: center;
  letter-spacing: 0.02em;
}

/*------------------
   RESPONSIVE LAYOUTS
-------------------*/
@media (max-width: 1140px) {
  .container { max-width: 100%; }
}
@media (max-width: 900px) {
  header .container {
    padding: 0 12px;
    height: auto;
  }
  .content-grid, .feature-grid {
    flex-direction: column;
    gap: 28px;
    align-items: stretch;
  }
  .footer-social, .footer-menu, .footer-contact {
    align-items: flex-start;
  }
  footer .container {
    gap: 18px 0;
  }
}
@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    flex-wrap: wrap;
    height: auto;
    padding: 0 10px;
  }
  nav, header .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    margin-left: auto;
    background: #8A1F33;
    color: #fff;
    border-radius: 7px;
    padding: 5px 12px;
    box-shadow: 0 1px 7px #8A1F3340;
  }
  .content-wrapper, .feature-grid, .content-grid {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .footer-social {
    justify-content: flex-start;
  }
  footer .container {
    flex-direction: column;
    gap: 18px;
    padding-top: 30px;
    padding-bottom: 14px;
  }
  .section, section {
    padding: 27px 6vw;
    margin-bottom: 32px;
  }
  h1 { font-size: 2.04rem; }
  h2 { font-size: 1.4rem; }
}
@media (max-width: 520px) {
  .container, section, .section {
    padding: 12px 1vw;
  }
  .footer-menu, .footer-contact {
    gap: 5px;
  }
  .feature-item, .card {
    min-width: 0;
  }
  .cta-btn {
    font-size: 1rem;
    padding: 10px 15px;
  }
}

/*------------------
  SPACING STANDARDS
-------------------*/
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  gap: 24px;
}
.card {
  margin-bottom: 20px;
}
.content-grid {
  gap: 20px;
}
.text-image-section {
  gap: 30px;
}
.testimonial-card {
  gap: 20px;
  padding: 20px;
  margin-bottom: 24px;
}
.feature-item {
  gap: 15px;
}

/*------------------
 COOKIE CONSENT BANNER
-------------------*/
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #232828;
  color: #E2F2E3;
  border-top: 3px solid #245035;
  padding: 22px 10px 22px 16px;
  box-shadow: 0 -4px 28px #21282820;
  z-index: 1200;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 30px;
  font-size: 1rem;
  animation: slide-in-bottom 0.3s cubic-bezier(.7,1.4,.7,1) 1;
}
.cookie-banner .cookie-message {
  flex: 2;
  min-width: 170px;
}
.cookie-banner .cookie-actions {
  flex: 1;
  display: flex;
  gap: 12px;
  align-items: center;
}
.cookie-btn {
  background: #8A1F33;
  color: #fff;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  padding: 10px 28px;
  border-radius: 13px;
  font-size: 1rem;
  cursor: pointer;
  margin-right: 8px;
  margin-top: 8px;
  transition: background 0.2s, color 0.2s;
}
.cookie-btn:last-child {
  margin-right: 0;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #245035;
  color: #E2F2E3;
}
.cookie-btn.settings {
  background: #222727;
  color: #E2F2E3;
  border: 2px solid #245035;
}
.cookie-btn.settings:hover {
  background: #fff;
  color: #8A1F33;
}
@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    font-size: 0.98rem;
    padding: 14px 6px 18px 10px;
  }
  .cookie-banner .cookie-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
}
@keyframes slide-in-bottom {
  from { transform: translateY(80px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}


/* COOKIE MODAL */
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(24,32,29,0.78);
  z-index: 1400;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: modal-fade-in 0.22s;
}
.cookie-modal {
  background: #222828;
  color: #E2F2E3;
  max-width: 440px;
  width: 92vw;
  border-radius: 20px;
  padding: 34px 24px 26px 32px;
  box-shadow: 0 10px 42px #0000004e;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  animation: modal-slide-in 0.24s cubic-bezier(.7,1.2,.45,1.2);
}
.cookie-modal h2 {
  color: #B13C52;
  font-size: 1.4rem;
  margin-bottom: 14px;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.cookie-modal input[type="checkbox"] {
  accent-color: #8A1F33;
  width: 22px;
  height: 22px;
  border-radius: 7px;
}
.cookie-modal .modal-actions {
  margin-top: 16px;
  width: 100%;
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  top: 16px; right: 22px;
  font-size: 1.36rem;
  background: none;
  color: #E2F2E3;
  border: none;
  cursor: pointer;
  transition: color 0.15s;
  z-index: 7;
}
.cookie-modal .cookie-modal-close:hover {
  color: #B13C52;
}
@keyframes modal-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes modal-slide-in {
  from { transform: translateY(54px); opacity:0; }
  to { transform: translateY(0); opacity:1; }
}

/*------------------
    MICRO-INTERACTIONS
-------------------*/
.card, .feature-item, .testimonial-card {
  transition: box-shadow 0.2s, border 0.22s;
}
.card:hover, .feature-item:hover {
  box-shadow: 0 10px 26px #24503533, 0 2px 10px #8A1F3330;
  border-color: #8A1F33;
}
.cta-btn, .cookie-btn, .cta-link, .mobile-menu-toggle {
  transition: all 0.17s cubic-bezier(.4,.3,.69,1.2);
}

/*------------------
   UTILITIES
-------------------*/
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

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

/* ------------------------------
   FONT LOADING (developer note: link in HTML or import via CSS)
------------------------------ */
/* Montserrat and Open Sans should be included via <link> in HTML or @import if allowed */

