/* =============================================================
   Jolly Stream | Professional Corporate CSS
   Brand: Jolly Stream — Moderní česká technologie / Blue-Gray palette
   ============================================================= */
/* 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 { box-sizing: border-box; height: 100%; scroll-behavior: smooth; }
*, *:before, *:after { box-sizing: inherit; }
body { line-height: 1.6; min-height:100vh; background: #F3F3F3; color: #203045; }
ul, ol { list-style: none; } /* All lists are custom styled */
a { text-decoration: none; color: inherit; background: none; }
img { max-width: 100%; display: block; height: auto; border: 0; }
button, input, select, textarea {
  font-family: inherit; font-size: 100%; border: none; outline: none; background: none;
}
button, [type=button], [type=submit] { cursor: pointer; }

/* ========================================
   TYPOGRAPHY & BRAND FONTS
   ======================================== */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,600,500&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');

body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  background: #F3F3F3;
  color: #203045;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #034694;
}
h1 { font-size: 2.6rem; margin-bottom: 20px; line-height: 1.15; }
h2 { font-size: 2rem; margin-bottom: 18px; line-height: 1.2; }
h3 { font-size: 1.25rem; margin-bottom: 12px; line-height: 1.25; font-weight: 600; }
h4, h5, h6 { font-size: 1.1rem; margin-bottom: 10px; }

p, ul, ol, li { font-size: 1rem; font-weight: 400; color: #203045; }
ul, ol { margin-bottom: 16px; }
strong { font-weight: bold; color: #034694; }
em { font-style: italic; color: #034694; }

/* ========================================
   BRAND COLORS & PALLET
   ======================================== */
:root {
  --blue: #034694;
  --blue-dark: #002c5d;
  --gray-bg: #F3F3F3;
  --white: #fff;
  --black: #203045;
  --gray-light: #e5e9f0;
  --gray-mid: #b2b8c3;
  --gray-dark: #4f5d6d;
  --accent: #FFAB00;
}

/* ========================================
   LAYOUT & CONTAINER
   ======================================== */
.container {
  width: 100%;
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  display: flex; flex-direction: column; gap: 0;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 4px 32px 0 rgba(34, 55, 110, 0.06);
  position: relative;
}

/* HERO (above nav) */
.hero {
  margin-bottom: 60px;
  padding: 48px 0 40px 0;
  background: linear-gradient(90deg, #e8ecf2 67%, #F3F3F3);
  border-bottom: 1px solid var(--gray-light);
}
.hero .container { align-items: flex-start; }
.hero .content-wrapper {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}

/* ========================================
   HEADER / NAVIGATION
   ======================================== */
header {
  background: var(--white);
  box-shadow: 0 2px 18px 0 rgba(34, 55, 110, 0.04);
  z-index: 100;
  width: 100%;
  position: sticky;
  top: 0;
}
header .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: 20px;
}
.logo img {
  width: 150px; height: 40px; display: block; margin-right: 10px;
}
.main-nav {
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: var(--blue-dark);
  font-weight: 600;
  transition: color 0.2s;
  letter-spacing: 0.5px;
  padding: 6px 8px;
  border-radius: 4px;
  position: relative;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--blue);
  background: var(--gray-light);
}
.cta-button {
  padding: 10px 26px;
  background: var(--blue);
  color: var(--white);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.08rem;
  font-weight: bold;
  border-radius: 24px;
  box-shadow: 0 2px 10px 0 rgba(20, 38, 76, 0.06);
  transition: background 0.22s, box-shadow 0.22s, color 0.22s;
  text-align: center;
  letter-spacing: 0.5px;
  border: none;
  margin-left: 12px;
  display: inline-block;
}
.cta-button:hover, .cta-button:focus {
  background: var(--accent);
  color: var(--blue-dark);
  box-shadow: 0 2px 18px 0 rgba(34, 55, 110, 0.10);
}

/* BURGER (mobile) */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.3rem;
  color: var(--blue-dark);
  margin-left: 16px;
  border-radius: 7px;
  line-height: 1;
  padding: 6px 14px;
  transition: background 0.18s;
  z-index: 103;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #e6edf8;
}

/* Mobile Menu Overlay */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(19,36,55,0.96);
  transform: translateX(100%);
  transition: transform 0.36s cubic-bezier(.47,.56,.39,1.28);
  z-index: 1200;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 36px 0 0 0;
}
.mobile-menu.active {
  transform: translateX(0%);
  box-shadow: 0 0 80px 0 rgba(0,20,52,0.23);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--accent);
  align-self: flex-end;
  margin: 0 32px 18px 0;
  padding: 6px 20px;
  border-radius: 8px;
  transition: background 0.1s;
  z-index: 1220;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: rgba(250,250,250,0.08);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 0 36px 0 36px;
}
.mobile-nav a {
  color: var(--white);
  font-size: 1.25rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  padding: 11px 2px;
  border-radius: 3px;
  margin-bottom: 2px;
  transition: background 0.15s, color 0.18s;
  letter-spacing: 0.2px;
  width: 100%;
  display: block;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: rgba(255,255,255,0.08);
  color: var(--accent);
}

/* Hide main nav and CTA in mobile, show burger */
@media (max-width: 980px) {
  .main-nav { display: none; }
  .cta-button { display: none; }
  .mobile-menu-toggle { display: block; }
}
@media (min-width: 981px) {
  .mobile-menu { display: none !important; }
}

/* ========================================
   FLEXBOX LAYOUTS FOR PROFESSIONAL STRUCTURE
   ======================================== */
.feature-grid, .project-cards, .card-container, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card-container { gap: 24px; }
.card {
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 2px 18px 0 rgba(34, 55, 110, 0.06);
  margin-bottom: 20px;
  padding: 22px;
  position: relative;
  display: flex; flex-direction: column;
}
.content-grid {
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
  }
}

/* Cards for feature and projects */
.feature-card, .project-card {
  flex: 1 1 270px;
  background: var(--white);
  border-radius: 14px;
  padding: 28px 24px 20px 24px;
  box-shadow: 0 2px 16px 0 rgba(34, 55, 110, 0.06);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  transition: box-shadow 0.2s, transform 0.16s;
  border: 1px solid var(--gray-light);
}
.feature-card img, .project-card img {
  width: 40px; height: 40px;
}
.feature-card:hover, .feature-card:focus,
.project-card:hover, .project-card:focus {
  box-shadow: 0 6px 24px 0 rgba(34, 55, 110, 0.12);
  transform: translateY(-4px) scale(1.025);
  border-color: var(--blue);
}

/* Testimonials */
.testimonials {
  margin-bottom: 60px;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 32px;
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 4px 20px 0 rgba(34, 55, 110, 0.09);
  margin-bottom: 20px;
  max-width: 650px;
  color: var(--black);
  font-size: 1.1rem;
  line-height: 1.7;
}
.testimonial-card p { color: var(--black); }
.testimonial-card .author {
  margin-left: auto;
  font-size: 0.98rem;
  color: var(--blue-dark);
  font-weight: 700;
  font-style: normal;
}
.partner-logos {
  display: flex;
  flex-direction: row;
  gap: 26px;
  margin-top: 12px;
}
.partner-logos img { height:40px; filter: grayscale(1) contrast(1.1); opacity: 0.8; }
.partner-logos img:hover { filter: grayscale(0); opacity: 1; }

/* CTA section */
.cta {
  background: linear-gradient(90deg, #e8ecf2 80%, #F3F3F3);
  box-shadow: 0 2px 18px 0 rgba(34, 55, 110, 0.06);
  padding:40px 0;
  border-radius: 18px;
  margin-bottom: 60px;
}
.cta .content-wrapper {
  align-items: center;
  text-align: center;
  gap: 16px;
}
.cta .cta-button {
  margin: 16px auto 0 auto;
  display: inline-block;
}

/***** Spacing between all content cards *****/
.projects-list-short li, .news-list-short li, .projects-list-short li, .employee-benefits-list li, .partner-benefits li, .partnership-types li, .job-listings li, .timeline li, .schedule li {
  margin-bottom: 20px;
}

/* Table-like preview lists */
.news-list-short, .projects-list-short, .news-list, .employee-benefits-list, .partner-benefits, .partnership-types, .timeline, .schedule {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/**** News & Filters ****/
.news-filters, .projects-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
}
.news-filters label, .projects-filters label {
  font-family: 'Montserrat',Arial,sans-serif; color: var(--blue-dark); font-weight: 500;
}
.news-filters select, .projects-filters select, #news-search {
  background: var(--gray-bg);
  border: 1px solid var(--gray-light);
  border-radius: 8px;
  font-size:1rem;
  padding: 8px 18px;
  color: var(--blue-dark);
  font-family: 'Roboto',Arial,sans-serif;
  margin-right: 8px;
  transition: border 0.14s;
}
.news-filters select:focus, #news-search:focus { border-color: var(--blue); }
#news-search {
  min-width: 170px; max-width: 290px;
}
.job-categories, .benefits-list {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 16px;
  margin: 14px 0 24px 0;
}
.job-categories span {
  background: var(--gray-light);
  color: var(--blue-dark);
  border-radius: 8px;
  padding: 6px 16px;
  font-family: 'Montserrat',Arial,sans-serif;
  font-size: 1rem;
  font-weight: 600;
}

/***** cta-link *****/
.cta-link {
  color: var(--blue-dark);
  font-weight: 600;
  font-family: 'Montserrat',Arial,sans-serif;
  text-decoration: underline;
  margin-top: 10px;
  transition: color 0.17s;
}
.cta-link:hover, .cta-link:focus {
  color: var(--accent);
  text-decoration: none;
}

/***** detail preview in project page *****/
.project-details-preview {
  background: var(--gray-bg);
  box-shadow: 0 2px 8px 0 rgba(62,86,120,0.05);
  border-radius: 8px;
  padding: 18px 22px;
  margin-top: 35px;
  color: var(--blue-dark);
}

/***** success stories (partnerstvi) *****/
.success-story {
  background: var(--white);
  border-left: 5px solid var(--accent);
  padding: 18px 22px;
  border-radius: 12px;
  box-shadow: 0 2px 13px 0 rgba(45,56,85,0.06);
  margin-bottom: 20px;
  color: var(--black);
}

/***** application instructions *****/
.application-instructions {
  background: var(--gray-bg);
  padding: 18px 22px;
  border-radius: 12px;
  margin: 32px 0 0 0;
}
.application-instructions h3 { color: var(--blue-dark); font-size: 1.13rem; margin-bottom: 10px; }
.application-instructions ul { gap: 13px; }
.application-instructions a { color: var(--blue); text-decoration: underline; }
.application-instructions a:hover { color: var(--accent); }

/***** legal pages section *****/
.legal {
  background: var(--white);
  border-radius: 14px;
  box-shadow: 0 4px 16px 0 rgba(34, 55, 110, 0.06);
  margin-bottom: 60px;
  padding: 44px 30px 30px 30px;
  color: var(--black);
}
.legal h1 { margin-bottom: 25px; }
.legal ul { gap: 12px; }
.legal ul li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 14px;
}
.legal ul li:before {
  content: '\2022';
  color: var(--accent);
  position: absolute;
  left: 0; top: 0;
  font-size: 1.21em;
}

/***** contact details, map, etc. *****/
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 20px 0;
  font-size: 1.06rem;
}
.contact-details img {
  width: 22px; height: 22px; margin-right: 10px; vertical-align: -4px;
}
.map {
  background: var(--gray-bg);
  border-radius: 10px;
  padding: 16px 10px;
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.map img { width:80px; }

/***** schedule *****/
.schedule li em { color: #b80000; }

/***** Responsive adjustments *****/
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.4rem; }
  .container { max-width: 100%; padding: 0 10px; }
  .hero { padding: 36px 0; }
  .section, .legal, .cta { padding: 18px 6px; }
  .feature-grid, .content-grid, .project-cards {
    flex-direction: column;
    gap: 20px;
  }
  .feature-card, .project-card {
    width: 100%; max-width: 100%;
  }
  .card-container { flex-direction: column; gap: 16px; }
  .partner-logos { gap: 12px; flex-wrap: wrap; justify-content: flex-start; }
}

/***** Footer *****/
footer {
  background: var(--white);
  border-top: 1px solid var(--gray-light);
  padding: 26px 0 20px 0;
  position: relative;
  z-index: 10;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 13px;
}
footer img {
  height: 48px; margin-bottom: 10px;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  gap: 22px;
  align-items: center;
  margin: 8px 0 10px 0;
}
.footer-nav a {
  color: var(--gray-dark);
  font-size: 0.97rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  transition: color 0.13s;
}
.footer-nav a:hover {
  color: var(--accent);
}
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  align-items: flex-start;
  font-size: 0.99rem;
  color: var(--gray-dark);
}
.footer-contact img {
  width: 18px; height: 18px; margin-right: 8px; vertical-align: -3px;
}
.footer-contact div { display: flex; align-items: center; }
@media (max-width: 700px) {
  .footer-contact {
    flex-direction: column;
    gap: 7px;
    align-items: flex-start;
  }
  .footer-nav {
    flex-direction: column;
    gap: 7px;
    align-items: flex-start;
  }
}

/***** Confirmation Page *****/
.confirmation {
  background: var(--white);
  border-radius: 14px;
  box-shadow: 0 4px 20px 0 rgba(34, 55, 110, 0.08);
  margin-bottom: 60px;
  padding: 54px 30px 38px 30px;
  color: var(--black);
  text-align: center;
}
.confirmation h1 { margin-bottom: 22px; }
.confirmation p { margin-bottom: 12px; }

/***** Misc / General microinteractions *****/
a, .cta-button, button, input, select {
  transition: color 0.15s, background 0.2s, box-shadow 0.2s, border 0.18s, transform 0.13s;
}
.card:focus-within, .feature-card:focus-within, .project-card:focus-within {
  outline:2px solid var(--accent);
  z-index: 2;
}
@media (hover: hover) {
  .card:hover, .feature-card:hover, .project-card:hover {
    box-shadow: 0 8px 32px rgba(34, 55, 110, 0.16);
    transform: translateY(-3px) scale(1.025);
  }
  .card:active, .feature-card:active, .project-card:active {
    box-shadow: 0 2px 11px 0 rgba(34, 55, 110, 0.18);
    transform: scale(0.99);
  }
}

/***** COOKIE CONSENT BANNER *****/
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: var(--white);
  border-top: 2px solid var(--blue);
  box-shadow: 0 -4px 24px rgba(30,44,75,0.09);
  padding: 24px 17px 24px 17px;
  z-index: 2200;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-start;
  gap: 40px;
  font-size: 1rem;
  transition: transform 0.36s cubic-bezier(.47,.56,.39,1.28), opacity 0.13s;
}
.cookie-banner.hidden {
  opacity: 0; transform: translateY(100%);
  pointer-events: none;
}
.cookie-banner .cookie-text {
  max-width: 550px;
  line-height: 1.6;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
  align-items: center;
}
.cookie-banner .cookie-btn {
  font-family: 'Montserrat',Arial,sans-serif;
  font-size: 1rem;
  border: none;
  border-radius: 24px;
  padding: 9px 20px;
  margin: 0 2px;
  font-weight: 600;
  transition: background 0.16s, color 0.16s;
}
.cookie-banner .accept {
  background: var(--blue);
  color: var(--white);
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: var(--accent); color: var(--blue-dark);
}
.cookie-banner .reject {
  background: var(--gray-bg);
  color: var(--blue-dark);
  border: 1px solid var(--gray-mid);
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: #ffe5b2;
  border-color: var(--accent);
}
.cookie-banner .settings {
  background: var(--gray-bg);
  color: var(--blue);
  border: 1px solid var(--blue);
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: var(--gray-light);
  color: var(--accent);
  border-color: var(--accent);
}
@media (max-width: 650px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    padding:18px 7px;
    font-size: 0.98rem;
  }
}

/***** COOKIE SETTINGS MODAL *****/
.cookie-modal {
  position: fixed;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(30,44,75,0.53);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.22s;
}
.cookie-modal.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.cookie-modal .modal-content {
  background: var(--white);
  border-radius: 20px;
  max-width: 430px;
  width: 98%;
  padding: 36px 36px 26px 36px;
  box-shadow: 0 10px 44px 0 rgba(33,54,110,0.11);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 23px;
}
.cookie-modal .close {
  position: absolute; top: 11px; right:18px;
  font-size:2.1rem; border:none; background:none; color:var(--accent); transition:color 0.16s;
  z-index: 3200;
}
.cookie-modal .close:hover { color:var(--blue-dark); }
.cookie-modal h3 {
  color: var(--blue-dark);
  font-size: 1.2rem;
  margin-bottom: 7px;
  font-family:"Montserrat",Arial,sans-serif;
  font-weight: 700;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 0;
}
.cookie-category label {
  color: var(--black);
  font-size: 1.02rem;
}
.cookie-category input[type=checkbox] {
  width: 20px; height: 20px;
}
.cookie-modal .essential {
  font-size: 1rem;
  color: var(--gray-dark);
}
.cookie-modal .save-prefs {
  background:var(--blue); color:var(--white);
  border-radius: 20px;
  padding:8px 36px;
  margin: 12px 0 0 0;
  font-size: 1rem;
  font-family: 'Montserrat',Arial,sans-serif;
  font-weight: bold;
  border:none;
  box-shadow:0 2px 10px 0 rgba(20,38,76,0.06);
  transition:background 0.16s;
}
.cookie-modal .save-prefs:hover,.cookie-modal .save-prefs:focus{ background:var(--accent); color:var(--blue-dark); }

/***** UTILITY (hide, show) *****/
.hide { display: none !important; }
.show { display: flex !important; }

/***** Accessibility focus states *****/
*:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  z-index: 3;
}

/***** Print section (optional) *****/
@media print {
  header, nav, footer, .cookie-banner, .cookie-modal { display: none !important; }
  .container, .section, .legal, .confirmation { box-shadow: none !important; background: #fff !important; }
}

/* End of Jolly Stream | Professional Corporate CSS */
