/* === CSS RESET & NORMALIZATION === */
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 { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }
body {
  line-height: 1.5;
  background: #181d23;
  color: #eff2f6;
  min-height: 100vh;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* Urban/industrial touch: hint of texture */
  background-color: #181d23;
  background-image: repeating-linear-gradient(135deg, rgba(38,68,131,0.025) 0 1px, transparent 1px 20px);
}
img { max-width: 100%; height: auto; display: block; }
a { color: #FFC100; text-decoration: none; transition: color 0.2s; }
a:hover, a:focus { color: #fff380; }
ul, ol { padding-left: 24px; }

/* === TYPOGRAPHY (Industrial Modern) === */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Arial Black', Arial, Helvetica, sans-serif;
  color: #FFC100;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
  font-weight: 700;
  text-transform: uppercase;
}
h1 { font-size: 2.5rem; margin-bottom: 20px; line-height: 1.15; }
h2 { font-size: 2rem; margin-bottom: 18px; }
h3 { font-size: 1.3rem; margin-bottom: 10px; }
h4, h5, h6 { font-size: 1rem; font-weight: 600; }

p, li, input, button, select, textarea {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  color: #d5dee9;
  font-size: 1rem;
  line-height: 1.6;
}
strong, b { color: #FFC100; font-weight: bold; }

/* === BASIC CONTAINERS & FLEX LAYOUTS === */
.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: rgba(28,35,43,0.95);
  border-radius: 18px;
  box-shadow: 0 4px 18px rgba(28,36,46,0.22);
  border: 1.5px solid #313a46;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  width: 100%;
}
.card {
  background: #222733;
  margin-bottom: 20px;
  position: relative;
  border-radius: 14px;
  box-shadow: 0 2px 7px rgba(0,0,0,0.15);
  border: 1px solid #343945;
  padding: 24px;
  flex: 1 1 280px;
  min-width: 240px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover { box-shadow: 0 8px 28px rgba(38,68,131,0.24); transform: translateY(-3px); }
.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: center;
  gap: 20px;
  background: #f3f4f6;
  color: #23262d;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 2px 12px rgba(41,48,62,0.08);
  margin-bottom: 24px;
  border: 1.5px solid #e4e8ef;
  max-width: 500px;
  width: 100%;
  transition: box-shadow 0.2s, transform 0.2s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 24px 0 rgba(38,68,131,0.09);
  transform: translateY(-3px) scale(1.015);
}
.testimonial-card blockquote {
  font-size: 1.1rem;
  color: #222733;
  font-style: italic;
  margin: 0 0 2px 0;
}
.testimonial-card p strong { color: #264483; }

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* === HERO SECTION === */
.hero {
  background: linear-gradient(120deg, #181d23 0%, #222b35 60%, #232b3a 100%);
  position: relative;
  margin-bottom: 60px;
  min-height: 280px;
  display: flex;
  align-items: center;
  border-bottom: 3px solid #264483;
  box-shadow: 0 8px 40px 0 rgba(27,37,54,0.10);
}
.hero .content-wrapper {
  align-items: flex-start;
  max-width: 680px;
  gap: 18px;
  z-index: 3;
}
.hero h1 {
  color: #FFC100;
  text-shadow: 2px 2px 0 #181d23, 0 0 4px #11203e55;
}
.hero p {
  color: #e1e9f4;
  font-size: 1.13rem;
}
.hero .btn.btn-primary { margin-top: 12px; }

/* === FEATURE, SERVICE, ABOUT SECTIONS === */
.features, .services, .about, .cta, .contact-details, .contact-section, .how-to-find-us, .privacy-section, .gdpr-section, .cookie-section, .terms-section, .thanks-section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: rgba(28,36,45,0.97);
  border-radius: 18px;
  box-shadow: 0 3px 18px rgba(38,68,131,0.07);
  border: 1.5px solid #313a46;
}
.features h2, .services h2, .about h2, .cta h2 {
  color: #FFC100;
  margin-bottom: 24px;
}
.features ul, .services .content-wrapper, .about .content-wrapper, .features .content-wrapper, .contact-details .content-wrapper, .contact-section .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.features ul, .features ol { flex: 1 1 390px; }
.features ul li, .features ol li {
  margin-bottom: 18px;
  font-size: 1.04rem;
  padding-left: 0;
  color: #f5f8fa;
  position: relative;
}
.features ul li img {
  width: 32px; height: 32px;
  margin-bottom: 8px;
  filter: grayscale(30%) brightness(0.9) contrast(120%); /* metallic urban accent */
}
.services .content-wrapper > div {
  background: #212b39;
  border-radius: 13px;
  padding: 26px 20px;
  min-width: 220px;
  flex: 1 1 260px;
  box-shadow: 0 2px 8px rgba(38,68,131,0.06);
  margin-bottom: 20px;
  border: 1px solid #32394d;
  transition: box-shadow 0.18s, transform 0.15s;
  display: flex;
  flex-direction: column;
}
.services .content-wrapper > div h3 {
  color: #FFC100;
  margin-bottom: 9px;
  font-size: 1.18rem;
  text-transform: none;
}
.services .content-wrapper > div strong, .features ul li strong {
  color: #FFC100;
}
.services .content-wrapper > div p { margin-bottom: 8px; }
.services .content-wrapper > div:last-child { margin-bottom: 0; }
.services .content-wrapper > div:hover {
  box-shadow: 0 6px 24px rgba(38,68,131,0.12);
  background: #222b41;
  transform: translateY(-2px) scale(1.01);
}

/* === CTA SECTION === */
.cta {
  background: linear-gradient(102deg, #232c3a, #222944 60%, #181d23 100%);
  border: 2px solid #264483;
  margin-bottom: 60px;
  text-align: center;
  box-shadow: 0 1px 16px 0 rgba(38,68,131,0.09);
}
.cta .content-wrapper {
  align-items: center;
}
.cta .btn.btn-primary {
  margin-top: 20px;
  font-size: 1.14rem;
}

/* === HEADER, NAVIGATION === */
header {
  width: 100%;
  background: #181d23;
  padding: 0;
  border-bottom: 2.5px solid #222d38;
  box-shadow: 0 2px 24px 0 rgba(15,19,34,0.14);
  position: relative;
  z-index: 50;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
}
header nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  margin-left: 24px;
}
header nav a {
  color: #FFC100;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.18s, border-color 0.2s;
}
header nav a:hover, header nav a:focus {
  color: #fff380;
  border-bottom: 2px solid #FFC100;
}
header img[alt='Kreativní Jiskra'] {
  height: 46px;
  width: auto;
  margin-right: 18px;
  filter: grayscale(40%) brightness(1) contrast(110%);
  /* urban-industrial: feel metallic and clean */
}
header .btn.btn-primary { margin-left: 24px; }

/* ===== BUTTONS ===== */
.btn {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  background: #264483;
  border: none;
  border-radius: 26px;
  color: #fff;
  padding: 10px 26px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 2px 10px 0 rgba(38,68,131,0.05);
  transition: background 0.16s, box-shadow 0.18s, transform 0.12s;
  letter-spacing: 0.05em;
  outline: none;
  display: inline-block;
  position: relative;
}
.btn.btn-primary {
  background: #264483;
  color: #fff;
  border: 2px solid #FFC100;
  box-shadow: 0 1px 8px 0 rgba(38,68,131,0.09);
}
.btn.btn-primary:hover, .btn.btn-primary:focus {
  background: #21386c;
  color: #FFC100;
  box-shadow: 0 4px 16px 0 rgba(255,193,0,0.16);
  transform: translateY(-1px) scale(1.03);
}

.btn.btn-secondary {
  background: #FFC100;
  color: #2d3546;
  border: 2px solid #264483;
}
.btn.btn-secondary:hover, .btn.btn-secondary:focus {
  background: #fff380;
  color: #181d23;
}

/* ===== FOOTER ===== */
footer {
  background: #181d23;
  color: #abb3ba;
  border-top: 2.5px solid #222d38;
  padding-top: 24px;
  padding-bottom: 28px;
}
footer .container {
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 12px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  align-items: center;
  gap: 22px;
  margin-bottom: 7px;
}
footer nav a {
  color: #abb3ba;
  font-size: 1rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 2px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.18s, border-color 0.2s;
}
footer nav a:hover, footer nav a:focus {
  color: #FFC100;
  border-bottom: 2px solid #FFC100;
}
footer div {
  font-size: 0.97rem;
  color: #eef2f6;
}

/* ===== MOBILE MENU ===== */
.mobile-menu-toggle {
  background: none;
  border: none;
  color: #FFC100;
  font-size: 2.2rem;
  cursor: pointer;
  display: none;
  z-index: 106;
  margin-left: 18px;
  padding: 6px 12px;
  border-radius: 4px;
  transition: background 0.19s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: rgba(38,68,131,0.12);
  color: #fff380;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(120deg, #1b232c 84%, #222b35 100%);
  z-index: 105;
  transform: translateX(-100vw);
  transition: transform 0.36s cubic-bezier(.7,-0.4,.25,1.26);
  box-shadow: 4px 0 24px 0 rgba(38,68,131,0.10);
}
.mobile-menu.open {
  transform: translateX(0);
  transition: transform 0.41s cubic-bezier(.32,1.41,.28,0.87);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #FFC100;
  font-size: 2.1rem;
  align-self: flex-end;
  margin: 18px 18px 8px 0;
  cursor: pointer;
  transition: color 0.18s;
  z-index: 110;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #fff380;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  margin-top: 30px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.25rem;
  color: #FFC100;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 16px 0;
  font-weight: 700;
  border-bottom: 2px solid transparent;
  width: 100%;
  text-align: center;
  transition: color 0.14s, border-bottom 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #fff380;
  border-bottom: 2px solid #FFC100;
  background: rgba(255,255,255,0.02);
}

/* === Hide desktop nav on mobile, show burger btn === */
@media (max-width: 1020px) {
  header .container nav,
  header .btn.btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 1021px) {
  .mobile-menu { display: none !important; }
}

/* === RESPONSIVE FLEX LAYOUTS === */
@media (max-width: 900px) {
  .features .content-wrapper,
  .services .content-wrapper,
  .about .content-wrapper,
  .content-grid,
  .card-container {
    flex-direction: column;
    gap: 20px;
  }
  .text-image-section { gap: 20px; }
  .hero .content-wrapper { max-width: 96vw; }
  .section, .features, .about, .services, .cta { padding: 28px 10px; }
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
  }
  .hero h1 { font-size: 1.65rem; }
  h2 { font-size: 1.25rem; }
  .container { padding: 0 8px; }
  .section, .features, .about, .services, .cta {
    margin-bottom: 36px;
    padding: 18px 4px;
  }
  footer .container { padding: 0 12px; }
}

/* === CONTACT / OTHER CONTENT SECTIONS === */
.contact-details .content-wrapper,
.contact-section .content-wrapper,
.how-to-find-us .content-wrapper,
.privacy-section .content-wrapper,
.gdpr-section .content-wrapper,
.cookie-section .content-wrapper,
.terms-section .content-wrapper,
.thanks-section .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contact-details ul, .contact-section ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 6px;
}
.contact-details li, .contact-section li, .how-to-find-us p, .privacy-section p, .gdpr-section p, .cookie-section p {
  color: #eaeaea;
  margin-bottom: 3px;
}

/* === CARDS/TESTIMONIAL FLEX WRAP === */
.testimonials .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
@media (max-width: 860px) {
  .testimonials .content-wrapper {
    flex-direction: column;
    align-items: center;
  }
}

/* === MISC: SHADOWS, ACCENTS, METALLIC === */
hr {
  border: none;
  border-top: 2px solid #313a46;
  margin: 30px 0 22px 0;
}
::-webkit-scrollbar {
  width: 8px;
  background: #232c3a;
}
::-webkit-scrollbar-thumb {
  background: #264483;
  border-radius: 8px;
}

/* === COOKIE BANNER ===== */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; width: 100vw;
  background: #232b3a;
  color: #fff;
  font-size: 1rem;
  letter-spacing: .01em;
  padding: 22px 18px 18px 18px;
  box-shadow: 0 -2px 24px 0 rgba(38,68,131,0.20);
  z-index: 1300;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  border-top: 3px solid #264483;
  transition: transform 0.35s cubic-bezier(.4,2,.29,1.5);
}
.cookie-banner.hide {
  transform: translateY(110%);
  pointer-events: none;
}
.cookie-banner.show {
  transform: translateY(0);
}
.cookie-banner .btn {
  margin-right: 8px;
  min-width: 140px;
}
.cookie-banner .btn:last-child { margin-right: 0; }

/* Cookie Modal */
.cookie-modal-backdrop {
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  inset: 0;
  background: rgba(26,32,46,0.85);
  z-index: 1400;
  transition: opacity 0.33s;
}
.cookie-modal {
  background: #202634;
  color: #f7f7fa;
  border-radius: 12px;
  padding: 36px 24px 28px 24px;
  min-width: 280px;
  max-width: 94vw;
  box-shadow: 0 7px 40px rgba(38,68,131,0.23);
  border: 2px solid #264483;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  animation: cookiePopIn 0.44s cubic-bezier(.51,1.61,.19,0.92);
}
@keyframes cookiePopIn {
  from { transform: scale(0.85) translateY(60px); opacity: 0; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal h2 {
  color: #FFC100;
  font-size: 1.27rem;
  margin-bottom: 4px;
}
.cookie-modal .cookie-category {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 15px;
}
.cookie-modal .cookie-category label {
  font-weight: 600;
  cursor: pointer;
  color: #FFC100;
}
.cookie-modal .cookie-category input[type=checkbox] {
  accent-color: #FFC100;
  width: 21px;
  height: 21px;
  margin: 0 9px 0 0;
}
.cookie-modal .cookie-category .essential {
  color: #abb3ba;
  font-size: 0.99rem;
  padding-left: 3px;
  font-style: italic;
}
.cookie-modal .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 10px;
  margin-top: 7px;
}
.cookie-modal .btn {
  min-width: 120px !important;
}

/* === FORMS & INPUTS === */
input, select, textarea {
  background: #262d38;
  border: 1.5px solid #313a46;
  padding: 12px 13px;
  border-radius: 9px;
  color: #fff;
  font-size: 1rem;
  margin-bottom: 12px;
  transition: box-shadow 0.17s, border-color 0.19s;
}
input:focus, select:focus, textarea:focus {
  outline: 2px solid #FFC100;
  border-color: #FFC100;
  box-shadow: 0 0 0 2px #FFC10033;
}
label {
  color: #FFC100;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  margin: 10px 0 7px 0;
  display: block;
}

/* === SPACING FOR ALL FLEX CARDS/SECTION === */
.section, .features, .services, .about, .cta, .contact-details, .contact-section, .how-to-find-us, .privacy-section, .gdpr-section, .cookie-section, .terms-section, .thanks-section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card, .testimonial-card, .services .content-wrapper > div {
  margin-bottom: 20px;
}
.card-container, .testimonials .content-wrapper, .features .content-wrapper, .services .content-wrapper {
  gap: 24px;
}

/* Extra contrast in testimonials for accessibility */
.testimonials {
  background: #f9fafb;
  color: #23262d;
  border: 2px solid #b0bac4;
  box-shadow: 0 2px 14px rgba(41,48,62,0.05);
}
.testimonials .testimonial-card {
  background: #fff;
  border: 1.5px solid #dbe6f2;
  color: #23262d;
}
.testimonials h2 {
  color: #264483;
}

@media (max-width: 600px) {
  h1 { font-size: 1.15rem; }
  h2 { font-size: 1rem; }
  .hero h1 { font-size: 1.05rem; }
  .section, .features, .about, .cta, .testimonials { padding: 14px 2px; margin-bottom: 22px; }
}

/* === UTILS, SPACING === */
.mt-4 { margin-top: 16px; }
.mb-3 { margin-bottom: 12px; }
.mb-6 { margin-bottom: 24px; }
.mx-auto { margin-left: auto; margin-right: auto; }
.text-center { text-align: center !important; }
.text-left { text-align: left !important; }

/* === ANIMATIONS FOR BUTTONS & INTERACTIONS === */
.btn, .card, .testimonial-card, .services .content-wrapper > div {
  transition: box-shadow 0.21s cubic-bezier(.53,1.5,.33,1), transform 0.2s cubic-bezier(.53,1.3,.4,1);
}
.btn:active {
  transform: scale(0.98);
}
.card:active, .testimonial-card:active, .services .content-wrapper > div:active {
  transform: scale(0.99);
}

/* === Print-friendly: hide menu, cookie, etc. === */
@media print {
  .mobile-menu, .mobile-menu-toggle, .cookie-banner, .cookie-modal-backdrop { display: none !important; }
}
