@import "_responsive.css";
@import "_typography.css";

/*main.css*/

/* 1. Base theme colors */
:root {
  /* base “unit” for margins/padding */
  --spacing-unit: 1rem;   

  /* brand colors */
  --color-primary: #6F4E36;           /* main color */
  --color-secondary: #baa89b;         /* secondary color */
  --color-tertiary: #f0edeb;             /* tertiary color */    
  --color-text: #000000;              /* text color */
  --color-bg: #ffffff;                /* page background */
  --color-shadow: #0000001a;          /* shadow color */
  --color-link-hover: #6F4E36;         /* text link on hover */
  --color-gray: #f9f9f9;                /* Color used for text background in certain sections */

  /* semantic colors */
  --color-success: #2a7f62;
  --color-warning: #d9822b;
  --color-error:   #c0392b;
}

/* Plus Jakarta Sans utility classes s(from Google Fonts) */
.plus-jakarta-sans-light {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;
}

.plus-jakarta-sans-medium {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
}

.plus-jakarta-sans-bold {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
}


/* Header menu */

/* Header Styles for Centered Navigation */
.site-header {
  z-index: 1000;
  display: flex;
  overflow: hidden;
  align-self: center;
  justify-content: space-between;
  align-content: center;
  align-items: center;
  background: var(--color-bg);
  box-shadow: 0 2px 8px var(--color-shadow);
  border-radius: 20px;
  padding: var(--space-sm);
  position: fixed;
  top: var(--space-sm);
  width: 100%;
  transition: top 0.3s;
  justify-self: center;
}

.logo {
  flex: 0 0 auto;
}

.nav-list {
  display: flex;
  gap: var(--space-lg);
  list-style: none;
  justify-content: center;
  align-items: center;
}

.logo img {
  display: block;
  max-height: 60px;
  width: auto;
}


.nav-list a {
  color: var(--color-text);
  text-decoration: none;
  font-weight: 500;
  padding: 0.25em 0.5em;
}

.nav-list a:hover,
.nav-list a:focus {
  transition: 0.2s ease;
  color: var(--color-link-hover);
}


.sidebar {
  margin-top: 0;
  padding-top: 0;
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 100%;
  z-index: 1001;
  list-style: none;
  gap: var(--space-lg);
  background-color: var(--color-bg);
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.sidebar li, 
.sidvebar a {
  text-decoration: none !important;
}

.hamburger-btn {
  display: none;
  background: none;
  border: none;
  font-size: var(--space-lg);
  color: var(--color-text);
  cursor: pointer;
  padding: var(--space-xs);
  border-radius: 8px;
  transition: color 0.2s ease;
}

.hamburger-btn:hover {
  color: var(--color-primary);
}  

/* 'x' button */
.x-btn {
  position: absolute;
  top: var(--space-lg);
  right: var(--space-lg);
  background: none;
  border: none;
  font-size: var(--space-lg);
  color: var(--color-text);
  cursor: pointer;
  padding: var(--space-xs);
  border-radius: 8px;
  transition: color 0.2s ease;
}

.x-btn:hover {
  color: var(--color-primary);
}

/* landscape tablets & small laptops */
@media (max-width: 1024px) {
  .hamburger-btn {
    display: block;
  }

  .nav-list a {
    display: none;
  }

  .button-visibility {
    display: none;
  }

}

/* 5. CTA button */
.btn-primary {
  background-color: var(--color-primary);   
  color: var(--color-bg);
  text-decoration: none;
  padding: 0.6em 1.2em;
  border: 2px solid var(--color-primary);
  border-radius: 20px;
  font-weight: 500;
  white-space: wrap;
  transition: background-color 0.2s ease;
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--color-bg);   
  color: var(--color-primary)
}

.btn-white {
  background-color: var(--color-bg);   
  color: var(--color-text);
  text-decoration: none;
  padding: 0.6em 1.2em;
  border: 2px solid var(--color-bg);
  border-radius: 20px;
  font-weight: 500;
  white-space: nowrap;
  transition: background-color 0.2s ease;
}

.btn-white:hover,
.bnt-white.focus {
  transition: 0.2s ease;
  color: var(--color-primary);
}

/* 6. Responsive tweak (optional) */
@media (max-width: 640px) {
  .header-inner {
    flex-wrap: wrap;
    gap: var(--spacing-unit);
  }
  .nav-list {
    display: block;
    order: 3; /* push nav below logo/button if too narrow */
    width: 100%;
    justify-content: center;
  }
}


/* Footer section */

.site-footer {
  margin-bottom: var(--space-lg);
}


.footer-call-to-action {
  background-color: var(--color-primary);
  border-radius: 20px;
  align-items: center;
  align-content: center;
}

.footer-call-to-action h2 {
  color: var(--color-bg);
  align-items: center;
  align-content: center;
  text-align: center;
  display: flex;
  flex-direction: column;
}

.footer-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-lg);
}

.footer-content {
  padding-top: var(--space-lg);
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

/* landscape tablets & small laptopss */
@media (min-width: 1024px) {
  .footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    column-gap: var(--space-lg);
  }
}

.footer-contacts {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
}

/* landscape tablets & small laptopss */
@media (min-width: 1024px) {
  .footer-contacts {
    flex-direction: row;
  }
}

.footer-contacts img {
  border-radius: 20px;
  width: 30%;
  object-fit: conta;
  overflow: hidden;
  flex-shrink: 0;
}

.footer-contacts-details {
  display: flex;
  flex-direction: column;
  align-items: top;
  gap: var(--space-sm);
}

.footer-specific-contact {
  display: flex;
  gap: var(--space-sm);
  align-items: center;
  font-size: var(--font-size-body-small);
}

.footer-specific-contact a {
  color: var(--color-text);
  text-decoration: none;
}

.footer-specific-contact a:hover,
.footer-specific-contact a:focus {
  text-decoration: none;
  color: var(--color-primary);
}

.footer-specific-contact img {
  width: var(--space-lg);
  object-fit: contain;
}

.footer-socials {
  display: flex;
  gap: var(--space-sm);
  align-items: center;
  justify-content: center;
}

.footer-socials img {
  width: var(--space-lg);
  cursor: pointer;
}

.footer-socials img:hover,
.footer-socials img:focus {
  fill: var(--color-primary);
}

.footer-second-cta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.footer-law {
  display: flex;
  align-content: flex-start;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--font-size-body-small);
  margin-top: var(--space-xxl);
  justify-content: space-between;
  }

.footer-law a {
  text-decoration: none;
}

/* desktop and monitors */
@media (max-width: 1280px) {
  .footer-law {
    text-align: center;
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }
}

/* Heading and text variables and styles */

/* 1. Responsive type scale variables */
:root {
  /* Body text: 1rem (16px) on small, up to 1.125rem (18px) on large */
  --font-size-body: clamp(1rem, 1rem + 0.2vw, 1.125rem);
  --line-height-body: 1.6;
  --font-weight-body: 400;

  /* Smaller body text: 0.9rem (14.4px) on small, up to 1rem (16px) on large */
  --font-size-body-small: clamp(0.9rem, 0.9rem + 0.1vw, 1rem);
  --line-height-body-small: 1.5;
  --font-weight-body-small: 400;

  /* H1: from 2rem → 3rem */
  --font-size-h1: clamp(2rem, 2rem + 1.5vw, 3rem);
  --line-height-h1: 1.2;
  --font-weight-h1: 800;

  /* H2: from 1.75rem → 2.5rem */
  --font-size-h2: clamp(1.75rem, 1.75rem + 1vw, 2.5rem);
  --line-height-h2: 1.3;
  --font-weight-h2: 700;

  /* H3: from 1.5rem → 2rem */
  --font-size-h3: clamp(1.5rem, 1.5rem + 0.8vw, 2rem);
  --line-height-h3: 1.4;
  --font-weight-h3: 600;
}

/* 2. Base text */
body {
  font-size: var(--font-size-body);
  line-height: var(--line-height-body);
  font-weight: var(--font-weight-body);
  color: var(--color-text);
  font-family: 'Plus Jakarta Sans', sans-serif;
}

/* 3. Headings */
h1, h2, h3 {
  margin-top: 0;
  margin-bottom: 0.5em;
  color: var(--color-text);
}

h1 {
  font-size: var(--font-size-h1);
  line-height: var(--line-height-h1);
  font-weight: var(--font-weight-h1);
}

h2 {
  font-size: var(--font-size-h2);
  line-height: var(--line-height-h2);
  font-weight: var(--font-weight-h2);
}

h3 {
  font-size: var(--font-size-h3);
  line-height: var(--line-height-h3);
  font-weight: var(--font-weight-h3);
}

a {
  text-decoration: none;
  text-decoration-color: var(--color-text);
  color: var(--color-text);
}

a:hover,
a:focus {
  text-decoration-color: var(--color-link-hover);
  color: var(--color-link-hover);
  transition: 0.2s ease;
}

/*_-_-_-_-_-_-*/


/* Hero Section on Main page */
.hero {
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: var(--space-lg);
  align-self: center;
  align-items: center;
  padding-top: var(--space-ultra);
  box-sizing: border-box;
}

/* landscape tablets & small laptops*/
@media (min-width: 1280px) {
  .hero {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 2fr) minmax(300px, 1fr));
    grid-gap: var(--space-xxl);
  }
}


/* Make left and right columns 2:1 ratio */
.hero-content {
  justify-content: center;
  overflow: hidden;
  gap: var(--space-lg);
}

/* Hero section for other subpages */
.hero-subpage {
  display: flexbox;
  box-sizing: border-box;
  align-self: center;
  align-items: center;
  padding-top: var(--space-ultra);
}

.hero-error {
  display: flexbox;
  box-sizing: border-box;
  align-self: center;
  align-items: center;
  align-content: center;
  text-align: center;
  padding-top: var(--space-ultra);
  height: 100vh;
}

body.hero-error .site-header,
body.hero-error .site-footer {
  display: none;
}

.hero-subpage .highlight {
  color: var(--color-primary);
}

.breadcrumbs {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  font-size: var(--font-size-body-small);
  margin-bottom: var(--space-lg);
  gap: 0.3rem;
  color: var(--color-text);
}

@media (max-width: 480px) {
  .breadcrumbs {
    flex-direction: column;
    align-items: flex-start;
  }
}

.breadcrumbs-home {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.breadcrumbs-home svg {
  color: var(--color-text);
}

.breadcrumbs-home svg:hover,
.breadcrumbs-home svg:focus {
  color: var(--color-primary);
}
 

.breadcrumbs-main {
  font-weight: var(--font-weight-body);
  font-style: normal;
  color: var(--color-text);
  white-space: nowrap;
}

.breadcrumbs-main:hover,
.breadcrumbs-main:focus {
  color: var(--color-primary);
}

.breadcrumbs-separator {
  margin: 0 0.5rem;
  color: var(--color-text);
}

.breadcrumbs-current {
  color: var(--color-primary);
  font-weight: var(--font-weight-body);
}


/* Avatar row + trust text */
.avatar-row {
  display: block;
  align-items: center;
  margin-bottom: var(--space-sm);
}

.avatars {
  display: flex;
}

.avatar {
  width: var(--space-lg);
  height: var(--space-lg);
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--color-bg);
  margin-right: -0.75rem; /* slight overlap */
}

.trust-text {
  font-size: var(--font-size-body);
  color: var(--color-text);
}

/* Headline & highlight */

.hero h1 .highlight {
  color: var(--color-primary);
}

/* Subhead */


/* Action buttons */
.hero-actions {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: var(--space-lg);
}

/* landscape tablets & small laptops*/
@media (min-width: 1280px) {
  .hero-actions {
    display: flex;
    flex-direction: row;
  }
}


.btn-primary {
  text-align: center;
  background-color: var(--color-primary);
  color: var(--color-bg);
  padding: 0.75em 1.5em;
  border-radius: 20px;
  font-weight: var(--font-weight-body);
  text-decoration: none;
}

.btn-primary:hover {
  background-color: var(--color-primary-hover);
}

.btn-secondary {
  text-align: center;
  align-items: center;
  color: var(--color-text);
  font-weight: var(--font-weight-body);
  background-color: var(--color-bg);   
  text-decoration: none;
  padding: 0.75em 1.5em;
  border-radius: 20px;
  transition: 0.2s ease;
}

.btn-secondary:hover {
  background-color: var(--color-bg);
  border-color: var(--color-text);
  color: var(--color-link-hover)
}


/* Right image */
.hero-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 20px;
  object-fit: cover;
}


/* Black box section with slider and logos */
.blackbox {
  text-align: center;
  border-radius: 20px;
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: var(--space-lg);
  padding: var(--space-sm);
  background-color: var(--color-text);
  overflow: hidden;
  position: relative;
}

/* landscape tablets & small laptops*/
@media (min-width: 1280px) {
  .blackbox {
    display: flex;
    gap: var(--space-xxl);
  }
}


.blackbox-content p{
  align-items: center;
  color: var(--color-bg);
}

.blackbox-slider {
  display: flex;
  width: 100%;
  align-items: center;
  overflow: hidden;
}

.blackbox-slider-track {
  display: flex;
  animation: loop 20s linear infinite;
  align-items: center;
  width: max-content;
}

.blackbox-slider img {
  height: 60px;
  margin: 0 2rem;
  flex-shrink: 0;
}

/* Animation keyframes */
@keyframes loop {
  0%  {transform: translateX(0);}
  100% {transform: translateX(-50%);}
}


/* strategicky mindset section */

.strategicky-mindset {
  display: flex;
  flex-direction: column;
  grid-gap: 2vw;
}

/* tablets and large phones */
@media (min-width: 1280px) {
  .strategicky-mindset {
    flex-direction: row;
  }
}

.strategicky-mindset-content {
  align-items: center;
  align-content: center;
}

.strategicky-mindset-content .highlight {
  color: var(--color-primary);
}

.strategicky-mindset-image {
  align-content: center;
}

.strategicky-mindset-image img {
  width: 100%;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}

.checklist li {
  position: relative;
  padding-left: 36px; /* Space for the cirlcle */
  margin-bottom: var(--spacing-unit);
  color: var(--color-text);
}

.checklist li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0.1em;
  width: 24px;
  height: 24px;
  background-color: var(--color-primary);
  border-radius: 50%;
  color: var(--color-bg);
  font-size: 0.8em;
  text-align: center;
  line-height: 24px;
}


/* nejvyznamnejsi pripadove studie section */
.nejvyznamnejsi-pripadove-studie-nadpis {
  margin-bottom: var(--space-lg);
  display: flex;
}
.nejvyznamnejsi-pripadove-studie-nadpis .highlight {
  color: var(--color-primary);
}

.nejvyznamnejsi-pripadove-studie-content {
  width: 100%;
  gap: var(--space-lg);
  display: flex;
  flex-direction: column;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* all items start invisible */
.animate-on-scroll {
  opacity: 0;
}

/* once in view they play the fadeInUp */
.animate-on-scroll.in-view {
  animation: fadeInUp 0.3s ease-out forwards;
}

.pripadova-studie-konkrentni-content-ekonomicka-inteligence {
  display: flex;
  background:
    linear-gradient(rgba(0,0,0,0.70)), /* black overlay */
    url('../assets/photos/david-kucera-nahledovka.webp') top/cover no-repeat; /* image */
  flex-direction: column;
  background-color: var(--color-text);
  border-radius: 20px;
  padding: var(--space-lg);
  height: 80vh;
  justify-content: space-between;
}

.pripadova-studie-konkrentni-content-marek-krasny {
  display: flex;
  background:
    linear-gradient(rgba(0,0,0,0.70)), /* black overlay */
    url('../assets/photos/marek-krasny-nahledovka.webp') top/cover no-repeat; /* image */
  flex-direction: column;
  background-color: var(--color-text);
  border-radius: 20px;
  padding: var(--space-lg);
  height: 80vh;
  justify-content: space-between;
}

.pripadova-studie-konkrentni-content-srdce-vysociny {
  display: flex;
  background:
    linear-gradient(rgba(0,0,0,0.70)), /* black overlay */
    url('../assets/photos/srdce-vysociny-nahledovka.webp') top/cover no-repeat; /* image */
  flex-direction: column;
  background-color: var(--color-text);
  border-radius: 20px;
  padding: var(--space-lg);
  height: 80vh;
  justify-content: space-between;
}

/* tablets and large phones */
@media (min-width: 768px) {
  .pripadova-studie-konkrentni-content-ekonomicka-inteligence,
  .pripadova-studie-konkrentni-content-marek-krasny,
  .pripadova-studie-konkrentni-content-srdce-vysociny {
    height: 50vh;
  }
}

/* desktop and monitors */
@media (min-width: 1280px) {
  .pripadova-studie-konkrentni-content-ekonomicka-inteligence,
  .pripadova-studie-konkrentni-content-marek-krasny,
  .pripadova-studie-konkrentni-content-srdce-vysociny {
    height: 40vh;
  }
}

/* large desktops and full HD+ screens */
@media (min-width: 1440px) {
  .pripadova-studie-konkrentni-content-ekonomicka-inteligence,
  .pripadova-studie-konkrentni-content-marek-krasny,
  .pripadova-studie-konkrentni-content-srdce-vysociny {
    height: 40vh;
  }
}

/* TVs */
@media (min-width: 1600px) {
  .pripadova-studie-konkrentni-content-ekonomicka-inteligence,
  .pripadova-studie-konkrentni-content-marek-krasny,
  .pripadova-studie-konkrentni-content-srdce-vysociny {
    height: 40vh;
  }
}

.pripadova-studie-konkrentni-content-tags {
  display: flex;
  font-size: var(--font-size-body-small);
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.pripadova-studie-konkrentni-content-tags-content {
  background-color: var(--color-bg);
  padding: var(--space-sm);
  display: flex;  
  border-radius: 20px;
}

.pripadova-studie-konkrentni-content-nadpis a {
  display: flex;
  flex-wrap: wrap;
  transition: 0.3s ease;
  color: var(--color-bg);

}

.pripadova-studie-konkrentni-content-nadpis a:hover {
  color: var(--color-primary);
}

/* dalsi vydarene webove projekty section */
.dalsi-vydarene-projekty {
  display: flex;
  flex-direction: column;
  margin-bottom: var(--space-xxl);
}

.dalsi-vydarene-projekty-nadpis {
  margin-bottom: var(--space-lg);
  display: flex;
  flex-direction: column;
}

.dalsi-vydarene-projekty-nadpis .highlight {
  color: var(--color-primary);
}

.dalsi-vydarene-projekty-content {
  width: 100%;
  gap: var(--space-lg);
  display: flex;
  flex-direction: column;
}

.dalsi-vydarene-projekty-content-veram-media {
  display: flex;
  background:
    linear-gradient(rgba(0,0,0,0.70)), /* black overlay */
    url('../assets/photos/veram-media-nahledovka.webp') center/cover no-repeat; /* image */
  flex-direction: column;
  background-color: var(--color-text);
  border-radius: 20px;
  padding: var(--space-lg);
  height: 80vh;
  justify-content: space-between;
}

.dalsi-vydarene-projekty-content-safezona {
  display: flex;
  background:
    linear-gradient(rgba(0,0,0,0.70)), /* black overlay */
    url('../assets/photos/safezona-nahledovka.webp') center/cover no-repeat; /* image */
  flex-direction: column;
  background-color: var(--color-text);
  border-radius: 20px;
  padding: var(--space-lg);
  height: 80vh;
  justify-content: space-between;
}

.dalsi-vydarene-projekty-content-operace-lymfedemu {
  display: flex;
  background:
    linear-gradient(rgba(0,0,0,0.70)), /* black overlay */
    url('../assets/photos/operace-lymfedemu-nahledovka.webp') center/cover no-repeat; /* image */
  flex-direction: column;
  background-color: var(--color-text);
  border-radius: 20px;
  padding: var(--space-lg);
  height: 80vh;
  justify-content: space-between;
}

/* tablets and large phones */
@media (min-width: 768px) {
  .dalsi-vydarene-projekty-content-veram-media,
  .dalsi-vydarene-projekty-content-safezona,
  .dalsi-vydarene-projekty-content-operace-lymfedemu {
    height: 50vh;
  }
}

/* desktop and monitors */
@media (min-width: 1280px) {
  .dalsi-vydarene-projekty-content-veram-media,
  .dalsi-vydarene-projekty-content-safezona,
  .dalsi-vydarene-projekty-content-operace-lymfedemu {
    height: 40vh;
  }
}

/* large desktops and full HD+ screens */
@media (min-width: 1440px) {
  .dalsi-vydarene-projekty-content-veram-media,
  .dalsi-vydarene-projekty-content-safezona,
  .dalsi-vydarene-projekty-content-operace-lymfedemu {
    height: 40vh;
  }
}

/* TVs */
@media (min-width: 1600px) {
  .dalsi-vydarene-projekty-content-veram-media,
  .dalsi-vydarene-projekty-content-safezona,
  .dalsi-vydarene-projekty-content-operace-lymfedemu {
    height: 40vh;
  }
}

.dalsi-vydarene-projekty-content-tags {
  display: flex;
  font-size: var(--font-size-body-small);
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.dalsi-vydarene-projekty-content-tags-content {
  background-color: var(--color-bg);
  padding: var(--space-sm);
  display: flex;  
  border-radius: 20px;
}

.dalsi-vydarene-projekty-content-nadpis h3 {
  color: var(--color-bg);
}

.dalsi-vydarene-projekty-content-nadpis a {
  display: flex;
  transition: 0.3s ease;
  color: var(--color-bg);
}

.dalsi-vydarene-projekty-content-nadpis a:hover {
  color: var(--color-primary);
}

/* jak probiha spoluprace seciton*/
.jak-probiha-spoluprace {
  display: flex;
  flex-direction: column;
  margin-bottom: var(--space-lg);
  gap: var(--space-lg);
}

/* landscape tablets & small laptops*/
@media (min-width: 1280px) {
  .jak-probiha-spoluprace {
    gap: var(--space-xxl);
  }
}


.jak-probiha-spoluprace-nadpis {
  display: flex;
}

.jak-probiha-spoluprace-nadpis .highlight {
  color: var(--color-primary);
}

.jak-probiha-spoluprace-leva {
  display: flex;
  flex-direction: column;
}

/* landscape tablets & small laptops*/
@media (min-width: 1280px) {
  .jak-probiha-spoluprace-leva {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr) minmax(300px, 2fr));
    column-gap: var(--space-lg);
  }
}

.jak-probiha-spoluprace-prava {
  display: flex;
  flex-direction: column-reverse;
}

/* landscape tablets & small laptops*/
@media (min-width: 1280px) {
  .jak-probiha-spoluprace-prava {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 2fr) minmax(300px, 1fr));
    column-gap: var(--space-lg);
  }
}

.jak-probiha-spoluprace-content {
  display: flex;
  flex-direction: column;
  align-self: top;
}

.spoluprace-content-tag {
  padding: 0rem 1rem;
  display: flex;
  background-color: var(--color-primary);
  color: var(--color-bg);
  width: fit-content;
  border-radius: 20px;
  text-align: center;
  line-height: 1;
}

.jak-probiha-spoluprace-image {
  background-color: var(--color-tertiary);
  padding: 2rem;
  padding-bottom: 0;
  border-radius: 20px;
  display: flex;
  align-items: flex-end;
}

.jak-probiha-spoluprace-image img {
  width: 100%;
  border-radius: 20px 20px 0 0;
  height: 100%;
  display: block;
}

/* reference section */
.reference {
  display: flex;
  flex-direction: column;
  gap: var(--space-xxl);
  overflow: hidden;
}

.reference-nadpis {
  display: flex;
  flex-direction: column;
}

.reference-nadpis .highlight {
  color: var(--color-primary);
}

.reference-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

/* landscape tablets & small laptops*/
@media (min-width: 1024px) {
  .reference-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr) minmax(300px, 2fr));
  }
}

.social-proof {
  display: flex;
  flex-direction: row;
  gap: var(--space-sm);
  overflow: hidden;
}


.social-proof p {
    font-size: var(--font-size-body-small);
}

.social-proof img{
  width: 50%;
  border-radius: 20px;
  object-fit: cover;
}

/* landscape tablets & small laptops*/
@media (min-width: 1024px) {
  .social-proof img {
    width: 50%;
  }
}

.social-proof h3 {
  font-size: var(--font-size-body);
}

.obsah-reference {
  border-left: 4px dashed var(--color-tertiary);
  padding-left: 2rem; /* space between border and text */
}

.obsah-reference p {
  font-style: italic;
}

/* Reference page*/
.testemonial {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  overflow: visible;
  width: 100%;
}

/* tablets in portrait & large phones in landscape */
@media (min-width: 768px) {
  .testemonial {
    flex-direction: row;
  }
}

.testemonial-section {
  gap: var(--space-ultra);
  display: flex;
  flex-direction: column;  
  overflow: visible;
}

/* tablets in portrait & large phones in landscape */
@media (min-width: 768px){
  .testemonial-image {
    display: flex;
    align-items: flex-start;
    justify-content: top;
    width: 100%;
    flex: 0 0 400px;
  }
}

.testemonial-image img {
  width: 100%;
  object-fit: cover;
  box-shadow: 40px -40px 0 var(--color-primary);
  border-radius: 20px;
  aspect-ratio: 1 / 1;
}

/* tablets in portrait & large phones in landscape */
@media (max-width: 768px) {
  .testemonial-image img {
    width: 80%;
  }
}

.testemonial-content {
  background-color: var(--color-bg);
  padding: var(--space-lg);
  box-shadow: 0 5px 20px var(--color-shadow);
  border-radius: 20px;
  z-index: 2;
  transform: translateY(var(--space-minus-xxl));
}

/* tablets in portrait & large phones in landscape */
@media (min-width: 768px) {
  .testemonial-content {
    display: flex;
    flex-direction: column;
    transform: translateY(0);
    transform: translateX(var(--space-minus-lg));
  }
}

.testemonial-content p {
  color: var(--color-text);
  font-style: italic;
  font-size: var(--font-size-body);
}

.testemonial-autor h3 {
  color: var(--color-primary);
  margin-bottom: -0.5em;

}

.testemonial-autor p {
  font-style: normal;
}


.testemonial-stars {
  display: inline-flex;
  gap: 0.25rem;
  margin-bottom: 1rem;
  font-size: var(--font-size-body);
  color: var(--color-primary);
}

/* Kdo jsem page */
.kdo-jsem-section {
  display: flex;
  flex-direction: column;
  gap: var(--space-xxl);
}


/* landscape tablets & small laptopss */
@media (min-width: 1024px) {
  .kdo-jsem-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr) minmax(280px, 2fr));;
    column-gap: var(--space-lg);
    min-height: 100vh;
  }
}


/* desktop and monitors */
@media (min-width: 1280px) {
  .kdo-jsem-section {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr) minmax(300px, 2fr));
  }
}


.kdo-jsem {
  display: flex;
  flex-direction: column;
  width: 100%;
  align-self: flex-start;
}

/* landscape tablets & small laptopss */
@media (min-width: 1024px) {
  .kdo-jsem {
    display: block;
    top: var(--space-lg);
    z-index: 2;
    position: sticky;
  }
}

.kdo-jsem p {
  margin-top: -1rem;
}

.kdo-jsem .highlight {
  color: var(--color-primary);
}

.kdo-jsem .footer-socials {
  justify-content: left;
}

.brief-cv {
  display: flex;
  flex-direction: column;
  row-gap: var(--space-lg);  
  width: 100%;
}

.brief-cv img {
  width: 100%;
  border-radius: 20px;
  object-fit: contain;
}

.kdo-jsem-image {
  display: flex;
  background-color: var(--color-primary);
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: var(--space-lg);
  padding: var(--space-sm);
  padding-bottom: 0;
  justify-content: flex-end;
}

.kdo-jsem-image img {
  border-radius: 20px 20px 0 0;
  width: 100%;
}

.brief-cv-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.brief-cv-content .highlight {
  color: var(--color-primary);
}

.brief-cv-content h2 {
  padding-bottom: var(--space-lg);
  border-bottom: 3px dashed var(--color-secondary);
}

.brief-cv-roller {
  padding: var(--space-lg);
  border-radius: 20px;
  background: var(--color-bg);
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 10px var(--color-shadow);
}

/* landscape tablets & small laptopss */
@media (min-width: 1024px) {
  .brief-cv-roller {
    display: grid;
    grid-template-columns: 0.5fr 3fr 1fr;
    column-gap: var(--space-lg);
    align-items: center;
  }
}

.brief-cv-roller img {
  width: var(--space-xxl);
  object-fit: contain;
}



/* landscape tablets & small laptopss */
@media (min-width: 1024px) {
  .brief-cv-roller img {
    width: var(--space-xxl);
  }
}

.brief-cv-roller p {
  margin: 0;
}

.brief-cv-roller h3 {
  margin: 0;
}

.brief-cv-roller .cv-date {
  font-size: var(--font-size-body-small);
  font-weight: var(--font-weight-body-small);
  margin-top: var(--space-lg);
}

/* landscape tablets & small laptopss */
@media (min-width: 1024px) {
  .brief-cv-roller .cv-date {
    margin-top: 0;
  }
}

.cv-heading {
  display: flexbox;
  align-items: center;
  gap: var(--space-xs);
}

.cv-heading-icon .fa-globe {
  color: var(--color-text);
  font-size: var(--font-size-h3);
  transition: color 0.2s;
  cursor: pointer;
}

.cv-heading:hover .fa-globe,
.cv-heading-icon:hover .fa-globe {
  color: var(--color-link-hover);
}

/* Kontakt page */
.contact-me-section {
  padding: 2rem;
  border-radius: 20px;
  background-color: var(--color-secondary);
}

.contact-me-section h2 {
  text-align: center;
}

.contact-content {
  display: flex;
  flex-direction: column;
}

.contact-me-link {
  text-decoration: underline;
  text-decoration-color: var(--color-text);
  color: var(--color-text)
}

.contact-me-link:hover {
  color: var(--color-bg);
  text-decoration-color: var(--color-bg);
  transition: 0.2s ease;
}

.custom-contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: var(--color-secondary);
  padding: 2rem 0 0 0;
  border-radius: 0 0 20px 20px;
}

.custom-contact-form label {
  font-weight: 500;
  margin-bottom: 0.2rem;
}

.custom-contact-form input[type="text"],
.custom-contact-form input[type="url"],
.custom-contact-form input[type="email"],
.custom-contact-form input[type="tel"],
.custom-contact-form textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: 12px;
  border: none;
  font-size: 1rem;
  margin-bottom: 0.5rem;
  background: #fff;
  color: var(--color-text);
  font-family: inherit;
  box-sizing: border-box;
}

.custom-contact-form textarea {
  min-height: 80px;
  resize: vertical;
}

.checkbox-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.custom-contact-form button[type="submit"] {
  margin-top: 1rem;
  border-radius: 16px;
  padding: 0.7rem 2.5rem;
  font-weight: 500;
  font-size: var(--font-size-body);
  cursor: pointer;
  font-family: 'Plus Jakarta Sans', sans-serif;
  transition: background 0.2s;
}

.custom-contact-form button[type="submit"]:hover {
  background: var(--color-bg);
}


/* Case studies page */
.case-hero-content {
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  align-self: center;
  align-items: flex-start;
  min-height: 40vh;
}

.case-hero-content h1 {
  color: var(--color-primary);
}

.brown-checks {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  justify-content: space-between;
  margin-top: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.brown-check-item {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.brown-check-item i.fas.fa-square-check {
  font-size: 2rem;
  color: var(--color-primary);
  background: var(--color-bg);
  border-radius: 20px;
  padding: 0.3em 0.3em;
}

.brown-check-item span {
  font-size: var(--font-size-body);
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--color-text);
  line-height: 1.2;
}

.case-about {
  display: flex;
  flex-direction: column;
  gap: var(--space-xxl);
}

.case-about-content {
  display: flex;
  flex-direction: column;
  background-color: var(--color-gray);
  padding: var(--space-lg);
  border-radius: 20px;
}

.case-about-goals {
  display: flex;
  flex-direction: column;
  background-color: var(--color-secondary);
  padding: var(--space-lg);
  border-radius: 20px;
}

.case-about-goals h3 {
  margin-top: 0 !important  ;
}

.case-content .highlight {
  color: var(--color-primary);
}

.case-content h2 {
  margin-bottom: var(--space-lg);
}

.case-content h3 {
  margin-top: var(--space-lg);
}


.case-testemonial {
  margin-top: var(--space-lg);
  display: flex;
  flex-direction: column;
}

/* landscape tablets & small laptopss */
@media (min-width: 1024px) {
  .case-testemonial {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr) minmax(280px, 1fr));
    gap: var(--space-lg);
    align-items: center;
  }
}

.case-testemonial-image-david-kucera {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  background-image: url(../assets/case-studies/ekonomicka-inteligence/david-kucera-vlnena-2.webp);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  aspect-ratio: 1;
  padding: var(--space-lg);
  border-radius: 20px;
  box-shadow: 0 4px 24px var(--color-shadow);
}

.case-testemonial-image-marek-krasny {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  background-image: url(../assets/photos/fotky-klienti/marek-krasny-portret.webp);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  aspect-ratio: 1;
  padding: var(--space-lg);
  border-radius: 20px;
  box-shadow: 0 4px 24px var(--color-shadow);
}

.case-testemonial-image-jitka-kominkova {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  background-image: url(../assets/photos/fotky-klienti/jitka-kominkova-portret.webp);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  aspect-ratio: 1;
  padding: var(--space-lg);
  border-radius: 20px;
  box-shadow: 0 4px 24px var(--color-shadow);
}

.case-testemonial-image-content {
  background-color: var(--color-bg);
  border-radius: 20px;
  padding: var(--space-sm);
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  font-size: var(--font-size-body);
  line-height: 1;
}

.case-testemonial-image-content p {
  margin: 0;
  font-size: var(--font-size-body);
  font-weight: 600;
}

.case-testemonial-image-content a {
  font-style: italic;
}

.ekoin-steps-grid {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

/* landscape tablets & small laptops */
@media (min-width: 1024px) {
  .ekoin-steps-grid {
    flex-direction: row;
  }
}

.ekoin-steps img {
  border-radius: 20px;
  width: 100%;
  height: auto;
  display: block;
}

.srdce-vysociny-steps-grid {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  margin-bottom: var(--space-xxl);
}

/* landscape tablets & small laptops */
@media (min-width: 1024px) {
  .srdce-vysociny-steps-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
}

/* large desktops and full HD+ screens */
@media (min-width: 1440px) {
  .srdce-vysociny-steps-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.srdce-vysociny-steps-grid-2{
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  margin-bottom: var(--space-xxl);
  justify-items: center;
}

.srdce-vysociny-steps-grid img {
  width: 100%;
  display: block;
  border-radius: 20px;
}

.srdce-vysociny-h2-nadpis {
  margin-top: var(--space-xxl);
}

/* GLOBAL ELEMENTS */
.call-to-action-black {
  background-color: var(--color-text);
  border-radius: 20px;
  align-items: center;
  align-content: center;
  margin-top: 15vh;
  margin-bottom: 15vh;
}


.call-to-action-black-content h2 {
  color: var(--color-bg);
  align-items: center;
  align-content: center;
  text-align: center;
  display: flex;
  flex-direction: column;
}

.call-to-action-black-content {
  display: flex;
  flex-direction: column;
  align-items: center;   /* centers children horizontally */
  gap: 1rem;           /* optional: space between heading and button */
  padding: 3rem;
}

.kdo-je-kamil-vitek {
  display: flex;
  background:
    linear-gradient(rgba(0,0,0,0.70)),
    url("../assets/photos/kamil-vitek/kamil-vitek-wide.webp") top/cover no-repeat;
  flex-direction: column;
  background-color: var(--color-text);
  border-radius: 20px;
  padding: var(--space-lg);
  min-height: 50vh;
  justify-content: center;
}

.kdo-je-kamil-vitek h2,
.kdo-je-kamil-vitek p {
  color: var(--color-bg);
  align-self: center;
}

/* desktop and monitors */
@media (min-width: 1280px) {
  .kdo-je-kamil-vitek h2,
  .kdo-je-kamil-vitek p {
    width: 80%;
  }
}

.black-tag {
  padding: 1rem;
  background-color: var(--color-text);
  font-weight: var(--font-weight-h3);
  font-size: var(--font-size-body);
  color: var(--color-bg);
  border-radius: 20px;
}

/* blaci tip element*/

.black-tip {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: var(--space-sm);
  padding: var(--space-lg);
  background-color: var(--color-text);
  color: var(--color-bg);
  border-radius: 20px;
  margin: 2rem 0;
  font-size: var(--font-size-body);
}

.black-tip-title-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-xs);
}

/* landscape tablets & small laptopss */
@media (min-width: 1024px) {
  .black-tip-title-wrapper {
    flex-direction: row;
  }
}

.black-tip .fas.fa-lightbulb,
.black-tip .fas.fa-shield-halved,
.black-tip .fas.fa-gears {
  font-size: 2.5rem;
  color: var(--color-bg);
  margin-right: 0.5rem;
  flex-shrink: 0;
}

.black-tip-title {
  font-weight: var(--font-weight-h3);
  font-size: var(--font-size-h3);
  margin: 0;
}

.black-tip p {
  margin: 0;
  color: var(--color-bg);
}

.highlight {
  color: var(--color-primary);
}

/* Style for the clickable lightbox link */
.lightbox-link {
  display: inline-block;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: box-shadow 0.2s;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 2px 12px var(--color-shadow);
}

.lightbox-link:hover,
.lightbox-link:focus {
  box-shadow: 0 4px 24px rgba(0,0,0,0.18);
  outline: none;
}

/* Style for the thumbnail image inside the lightbox link */
.lightbox-thumbnail {
  display: flex;
  width: 100%;
}

/*-_-_-_-*/

/* Style for the clickable lightbox link for wider images*/
.lightbox-link-wider {
  display: fit-content;
  object-fit: contain;
  transition: box-shadow 0.2s;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 2px 12px var(--color-shadow);
}

.lightbox-link-wider:hover,
.lightbox-link-wider:focus {
  box-shadow: 0 4px 24px rgba(0,0,0,0.18);
  outline: none;
}

.lightbox-link-wider-srdce-vysociny {
  display: flex;
  width: 50%;
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
}

/* Style for the thumbnail image inside the lightbox link for wider images */
.lightbox-thumbnail-wider {
  display: flex;
  border-radius: 20px;
  width: 100%;
}

.srdce-vysociny-lightbox-thumbnail-wider {
  display: flex;
  border-radius: 20px;
  width: 100%;
  justify-self: center;
  margin-top: var(--space-lg);
}

/* landscape tablets & small laptops */
@media (min-width: 1024px) {
  .srdce-vysociny-lightbox-thumbnail-wider {
    width: 50%;
  }
}

.srdce-vysociny-lightbox-thumbnail-visuals {    /* For graphic visuals */
  display: flex;
  border-radius: 20px;
  width: 100%;
  justify-self: center;
  margin-top: 2rem;
  box-shadow: 0 2px 12px var(--color-shadow);
}


/* Style fore the clickable lighbox link for contain images */
.lightbox-link-contain {
  display: inline-flex;
  object-fit: cover;
  transition: box-shadow 0.2s;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 2px 12px var(--color-shadow);
}

.lightbox-link:hover,
.lightbox-link:focus {
  box-shadow: 0 4px 24px rgba(0,0,0,0.18);
  outline: none;
}

/* Style fore the thumbnail image inside thelightbox link for contain images */
.lightbox-thumbnail-contain {
  display: flex;
  width: 100%;
}



/* regular sections */
section {
  margin-bottom: var(--space-xxl);
}

html {
  scroll-behavior: smooth;
}