.jp-related-posts-i2{margin-top:1.5rem}.jp-related-posts-i2__list{--hgap:1rem;display:flex;flex-wrap:wrap;column-gap:var(--hgap);row-gap:2rem;margin:0;padding:0;list-style-type:none}.jp-related-posts-i2__post{display:flex;flex-direction:column;flex-basis:calc(( 100% - var(--hgap) ) / 2)}.jp-related-posts-i2__post:nth-last-child(n+3):first-child,.jp-related-posts-i2__post:nth-last-child(n+3):first-child~*{flex-basis:calc(( 100% - var(--hgap) * 2 ) / 3)}.jp-related-posts-i2__post:nth-last-child(4):first-child,.jp-related-posts-i2__post:nth-last-child(4):first-child~*{flex-basis:calc(( 100% - var(--hgap) ) / 2)}.jp-related-posts-i2__post-link{display:flex;flex-direction:column;row-gap:.5rem;width:100%;margin-bottom:1rem;line-height:1.2}.jp-related-posts-i2__post-link:focus-visible{outline-offset:2px}.jp-related-posts-i2__post-img{order:-1;max-width:100%}.jp-related-posts-i2__post-defs{margin:0;list-style-type:unset}.jp-related-posts-i2__post-defs dt{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(1px,1px,1px,1px);white-space:nowrap}.jp-related-posts-i2__post-defs dd{margin:0}.jp-relatedposts-i2[data-layout="list"] .jp-related-posts-i2__list{display:block}.jp-relatedposts-i2[data-layout="list"] .jp-related-posts-i2__post{margin-bottom:2rem}@media only screen and (max-width:640px){.jp-related-posts-i2__list{display:block}.jp-related-posts-i2__post{margin-bottom:2rem}}#jp-relatedposts{display:none;padding-top:1em;margin:1em 0;position:relative;clear:both}.jp-relatedposts::after{content:"";display:block;clear:both}#jp-relatedposts h3.jp-relatedposts-headline{margin:0 0 1em 0;display:inline-block;float:left;font-size:9pt;font-weight:700;font-family:inherit}#jp-relatedposts h3.jp-relatedposts-headline em::before{content:"";display:block;width:100%;min-width:30px;border-top:1px solid rgb(0 0 0 / .2);margin-bottom:1em}#jp-relatedposts h3.jp-relatedposts-headline em{font-style:normal;font-weight:700}#jp-relatedposts .jp-relatedposts-items{clear:left}#jp-relatedposts .jp-relatedposts-items-visual{margin-right:-20px}#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post{float:left;width:33%;margin:0 0 1em;box-sizing:border-box}#jp-relatedposts .jp-relatedposts-items-visual .jp-relatedposts-post{padding-right:20px;filter:alpha(opacity=80);-moz-opacity:.8;opacity:.8}#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post:nth-child(3n+4),#jp-relatedposts .jp-relatedposts-items-visual .jp-relatedposts-post:nth-child(3n+4){clear:both}#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post:hover .jp-relatedposts-post-title a{text-decoration:underline}#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post:hover{filter:alpha(opacity=100);-moz-opacity:1;opacity:1}#jp-relatedposts .jp-relatedposts-items-visual h4.jp-relatedposts-post-title,#jp-relatedposts .jp-relatedposts-items p,#jp-relatedposts .jp-relatedposts-items time{font-size:14px;line-height:20px;margin:0}#jp-relatedposts .jp-relatedposts-items-visual .jp-relatedposts-post-nothumbs{position:relative}#jp-relatedposts .jp-relatedposts-items-visual .jp-relatedposts-post-nothumbs a.jp-relatedposts-post-aoverlay{position:absolute;top:0;bottom:0;left:0;right:0;display:block;border-bottom:0}#jp-relatedposts .jp-relatedposts-items p,#jp-relatedposts .jp-relatedposts-items time{margin-bottom:0}#jp-relatedposts .jp-relatedposts-items-visual h4.jp-relatedposts-post-title{text-transform:none;margin:0;font-family:inherit;display:block;max-width:100%}#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post .jp-relatedposts-post-title a{font-size:inherit;font-weight:400;text-decoration:none;filter:alpha(opacity=100);-moz-opacity:1;opacity:1}#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post .jp-relatedposts-post-title a:hover{text-decoration:underline}#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post img.jp-relatedposts-post-img,#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post span{display:block;max-width:90%;overflow:hidden;text-overflow:ellipsis}#jp-relatedposts .jp-relatedposts-items-visual .jp-relatedposts-post img.jp-relatedposts-post-img,#jp-relatedposts .jp-relatedposts-items-visual .jp-relatedposts-post span{height:auto;max-width:100%}#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post .jp-relatedposts-post-date,#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post .jp-relatedposts-post-context{opacity:.6}.jp-relatedposts-items .jp-relatedposts-post .jp-relatedposts-post-date{display:none}#jp-relatedposts .jp-relatedposts-items-visual div.jp-relatedposts-post-thumbs p.jp-relatedposts-post-excerpt{display:none}#jp-relatedposts .jp-relatedposts-items-visual .jp-relatedposts-post-nothumbs p.jp-relatedposts-post-excerpt{overflow:hidden}#jp-relatedposts .jp-relatedposts-items-visual .jp-relatedposts-post-nothumbs span{margin-bottom:1em}#jp-relatedposts .jp-relatedposts-list .jp-relatedposts-post{clear:both;width:100%}#jp-relatedposts .jp-relatedposts-list .jp-relatedposts-post img.jp-relatedposts-post-img{float:left;overflow:hidden;max-width:33%;margin-right:3%}#jp-relatedposts .jp-relatedposts-list h4.jp-relatedposts-post-title{display:inline-block;max-width:63%}@media only screen and (max-width:640px){#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post{width:50%}#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post:nth-child(3n){clear:left}#jp-relatedposts .jp-relatedposts-items-visual{margin-right:20px}}@media only screen and (max-width:320px){#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post{width:100%;clear:both;margin:0 0 1em}#jp-relatedposts .jp-relatedposts-list .jp-relatedposts-post img.jp-relatedposts-post-img,#jp-relatedposts .jp-relatedposts-list h4.jp-relatedposts-post-title{float:none;max-width:100%;margin-right:0}}@media print{.jp-relatedposts{display:none!important}}.wpcf7 .screen-reader-response{position:absolute;overflow:hidden;clip:rect(1px,1px,1px,1px);clip-path:inset(50%);height:1px;width:1px;margin:-1px;padding:0;border:0;word-wrap:normal!important}.wpcf7 .hidden-fields-container{display:none}.wpcf7 form .wpcf7-response-output{margin:2em .5em 1em;padding:.2em 1em;border:2px solid #00a0d2}.wpcf7 form.init .wpcf7-response-output,.wpcf7 form.resetting .wpcf7-response-output,.wpcf7 form.submitting .wpcf7-response-output{display:none}.wpcf7 form.sent .wpcf7-response-output{border-color:#46b450}.wpcf7 form.failed .wpcf7-response-output,.wpcf7 form.aborted .wpcf7-response-output{border-color:#dc3232}.wpcf7 form.spam .wpcf7-response-output{border-color:#f56e28}.wpcf7 form.invalid .wpcf7-response-output,.wpcf7 form.unaccepted .wpcf7-response-output,.wpcf7 form.payment-required .wpcf7-response-output{border-color:#ffb900}.wpcf7-form-control-wrap{position:relative}.wpcf7-not-valid-tip{color:#dc3232;font-size:1em;font-weight:400;display:block}.use-floating-validation-tip .wpcf7-not-valid-tip{position:relative;top:-2ex;left:1em;z-index:100;border:1px solid #dc3232;background:#fff;padding:.2em .8em;width:24em}.wpcf7-list-item{display:inline-block;margin:0 0 0 1em}.wpcf7-list-item-label::before,.wpcf7-list-item-label::after{content:" "}.wpcf7-spinner{visibility:hidden;display:inline-block;background-color:#23282d;opacity:.75;width:24px;height:24px;border:none;border-radius:100%;padding:0;margin:0 24px;position:relative}form.submitting .wpcf7-spinner{visibility:visible}.wpcf7-spinner::before{content:'';position:absolute;background-color:#fbfbfc;top:4px;left:4px;width:6px;height:6px;border:none;border-radius:100%;transform-origin:8px 8px;animation-name:spin;animation-duration:1000ms;animation-timing-function:linear;animation-iteration-count:infinite}@media (prefers-reduced-motion:reduce){.wpcf7-spinner::before{animation-name:blink;animation-duration:2000ms}}@keyframes spin{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}@keyframes blink{from{opacity:0}50%{opacity:1}to{opacity:0}}.wpcf7 [inert]{opacity:.5}.wpcf7 input[type="file"]{cursor:pointer}.wpcf7 input[type="file"]:disabled{cursor:default}.wpcf7 .wpcf7-submit:disabled{cursor:not-allowed}.wpcf7 input[type="url"],.wpcf7 input[type="email"],.wpcf7 input[type="tel"]{direction:ltr}.wpcf7-reflection>output{display:list-item;list-style:none}.wpcf7-reflection>output[hidden]{display:none}/* Slider */
.slick-slider
{
    position: relative;

    display: block;
    box-sizing: border-box;

    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;

    -webkit-touch-callout: none;
    -khtml-user-select: none;
    -ms-touch-action: pan-y;
        touch-action: pan-y;
    -webkit-tap-highlight-color: transparent;
}

.slick-list
{
    position: relative;

    display: block;
    overflow: hidden;

    margin: 0;
    padding: 0;
}
.slick-list:focus
{
    outline: none;
}
.slick-list.dragging
{
    cursor: pointer;
    cursor: hand;
}

.slick-slider .slick-track,
.slick-slider .slick-list
{
    -webkit-transform: translate3d(0, 0, 0);
       -moz-transform: translate3d(0, 0, 0);
        -ms-transform: translate3d(0, 0, 0);
         -o-transform: translate3d(0, 0, 0);
            transform: translate3d(0, 0, 0);
}

.slick-track
{
    position: relative;
    top: 0;
    left: 0;

    display: block;
    margin-left: auto;
    margin-right: auto;
}
.slick-track:before,
.slick-track:after
{
    display: table;

    content: '';
}
.slick-track:after
{
    clear: both;
}
.slick-loading .slick-track
{
    visibility: hidden;
}

.slick-slide
{
    display: none;
    float: left;

    height: 100%;
    min-height: 1px;
}
[dir='rtl'] .slick-slide
{
    float: right;
}
.slick-slide img
{
    display: block;
}
.slick-slide.slick-loading img
{
    display: none;
}
.slick-slide.dragging img
{
    pointer-events: none;
}
.slick-initialized .slick-slide
{
    display: block;
}
.slick-loading .slick-slide
{
    visibility: hidden;
}
.slick-vertical .slick-slide
{
    display: block;

    height: auto;

    border: 1px solid transparent;
}
.slick-arrow.slick-hidden {
    display: none;
}

@charset 'UTF-8';
/* Slider */
.slick-loading .slick-list
{
    background: #fff url(/wp-content/themes/katuscak/css/./ajax-loader.gif) center center no-repeat;
}

/* Icons */
@font-face
{
    font-family: 'slick';
    font-weight: normal;
    font-style: normal;

    src: url(/wp-content/themes/katuscak/css/./fonts/slick.eot);
    src: url(/wp-content/themes/katuscak/css/./fonts/slick.eot?#iefix) format('embedded-opentype'), url(/wp-content/themes/katuscak/css/./fonts/slick.woff) format('woff'), url(/wp-content/themes/katuscak/css/./fonts/slick.ttf) format('truetype'), url(/wp-content/themes/katuscak/css/./fonts/slick.svg#slick) format('svg');
}
/* Arrows */
.slick-prev,
.slick-next
{
    font-size: 0;
    line-height: 0;

    position: absolute;
    top: 50%;

    display: block;

    width: 20px;
    height: 20px;
    padding: 0;
    -webkit-transform: translate(0, -50%);
    -ms-transform: translate(0, -50%);
    transform: translate(0, -50%);

    cursor: pointer;

    color: transparent;
    border: none;
    outline: none;
    background: transparent;
}
.slick-prev:hover,
.slick-prev:focus,
.slick-next:hover,
.slick-next:focus
{
    color: transparent;
    outline: none;
    background: transparent;
}
.slick-prev:hover:before,
.slick-prev:focus:before,
.slick-next:hover:before,
.slick-next:focus:before
{
    opacity: 1;
}
.slick-prev.slick-disabled:before,
.slick-next.slick-disabled:before
{
    opacity: .25;
}

.slick-prev:before,
.slick-next:before
{
    font-family: 'slick';
    font-size: 20px;
    line-height: 1;

    opacity: .75;
    color: white;

    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.slick-prev
{
    left: -25px;
}
[dir='rtl'] .slick-prev
{
    right: -25px;
    left: auto;
}
.slick-prev:before
{
    content: '←';
}
[dir='rtl'] .slick-prev:before
{
    content: '→';
}

.slick-next
{
    right: -25px;
}
[dir='rtl'] .slick-next
{
    right: auto;
    left: -25px;
}
.slick-next:before
{
    content: '→';
}
[dir='rtl'] .slick-next:before
{
    content: '←';
}

/* Dots */
.slick-dotted.slick-slider
{
    margin-bottom: 30px;
}

.slick-dots
{
    position: absolute;
    bottom: -25px;

    display: block;

    width: 100%;
    padding: 0;
    margin: 0;

    list-style: none;

    text-align: center;
}
.slick-dots li
{
    position: relative;

    display: inline-block;

    width: 20px;
    height: 20px;
    margin: 0 5px;
    padding: 0;

    cursor: pointer;
}
.slick-dots li button
{
    font-size: 0;
    line-height: 0;

    display: block;

    width: 20px;
    height: 20px;
    padding: 5px;

    cursor: pointer;

    color: transparent;
    border: 0;
    outline: none;
    background: transparent;
}
.slick-dots li button:hover,
.slick-dots li button:focus
{
    outline: none;
}
.slick-dots li button:hover:before,
.slick-dots li button:focus:before
{
    opacity: 1;
}
.slick-dots li button:before
{
    font-family: 'slick';
    font-size: 6px;
    line-height: 20px;

    position: absolute;
    top: 0;
    left: 0;

    width: 20px;
    height: 20px;

    content: '•';
    text-align: center;

    opacity: .25;
    color: black;

    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.slick-dots li.slick-active button:before
{
    opacity: .75;
    color: black;
}

/*# sourceMappingURL=vendor.min.css.map */
/*
 * 3D efekty a pokročilé animace pro web Michala Katuščáka
 * Moderní interaktivní prvky pro rok 2025
 */

/* ===== PARTICLE BACKGROUND ===== */
.particle-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* ===== WEBGL BACKGROUND ===== */
.webgl-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.8;
}

/* ===== INTERAKTIVNÍ POZADÍ ===== */
.hero {
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
              rgba(52, 152, 219, 0.15) 0%,
              rgba(46, 204, 113, 0.05) 50%,
              rgba(0, 0, 0, 0) 80%);
  z-index: 0;
  pointer-events: none;
  transition: background 0.3s ease;
}

/* Styl pro obrázek profilu */
.image-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 2rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.image-wrapper:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.profile-image {
  position: relative;
  z-index: 1;
  transition: transform 0.5s ease;
}

.image-wrapper:hover .profile-image {
  transform: scale(1.05);
}

/* Tech grid */

.tech-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.tech-item {
  padding: 0.8rem 1.5rem;
  border-radius: 5rem;
  font-size: 1.4rem;
  font-weight: 700;
  color: rgba(0, 0, 0, 0.7);
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

/* Pastelové barvy pro různé technologie */
.tech-item:nth-child(1) { background: linear-gradient(135deg, #B5C7D3, #8DA9C4); } /* PHP */
.tech-item:nth-child(2) { background: linear-gradient(135deg, #B8E0D2, #95D5B2); } /* React */
.tech-item:nth-child(3) { background: linear-gradient(135deg, #D0D1FF, #B1B3FC); } /* Symfony */
.tech-item:nth-child(4) { background: linear-gradient(135deg, #FFF3B0, #FFDE7D); } /* JavaScript */
.tech-item:nth-child(5) { background: linear-gradient(135deg, #FFD3B6, #FFAAA5); } /* HTML5 */
.tech-item:nth-child(6) { background: linear-gradient(135deg, #A0C4FF, #8EACCD); } /* CSS3 */
.tech-item:nth-child(7) { background: linear-gradient(135deg, #BDB2FF, #9D8DF1); } /* TypeScript */
.tech-item:nth-child(8) { background: linear-gradient(135deg, #9CF6F6, #7BDFF2); } /* MySQL */
.tech-item:nth-child(9) { background: linear-gradient(135deg, #B5EAD7, #85C7A6); } /* Docker */
.tech-item:nth-child(10) { background: linear-gradient(135deg, #FF9AA2, #E27983); } /* Git */

/* Efekt při hoveru */
.tech-item::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.1) 50%,
    rgba(255, 255, 255, 0) 100%);
  transform: rotate(45deg);
  transition: transform 0.6s ease;
}

.tech-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  color: rgba(0, 0, 0, 0.9);
}

.tech-item:hover::before {
  transform: rotate(45deg) translate(100%, 100%);
}



/* ===== 3D KARTY ===== */
.service-card {
  transform-style: preserve-3d;
  perspective: 1000px;
  will-change: transform;
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.service-icon {
  transform: translateZ(20px);
  transition: transform 0.3s ease;
}

.service-title {
  transform: translateZ(15px);
  transition: transform 0.3s ease;
}

.service-description {
  transform: translateZ(10px);
  transition: transform 0.3s ease;
}




/* ===== MODERNÍ EFEKT TLAČÍTEK ===== */
.btn {
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.2) 50%,
    rgba(255, 255, 255, 0) 100%);
  transition: all 0.6s ease;
}

.btn:hover::before {
  left: 100%;
}

.btn::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 80%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.btn:hover::after {
  opacity: 1;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(0.8);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.4;
  }
  100% {
    transform: scale(0.8);
    opacity: 0.8;
  }
}

/* ===== NEON EFEKT PRO LOGO ===== */
.logo-text {
  position: relative;
  text-shadow: 0 0 10px rgba(52, 152, 219, 0.5);
  transition: text-shadow 0.3s ease;
}

.logo:hover .logo-text {
  text-shadow:
    0 0 5px rgba(52, 152, 219, 0.5),
    0 0 10px rgba(52, 152, 219, 0.5),
    0 0 15px rgba(52, 152, 219, 0.5),
    0 0 20px rgba(52, 152, 219, 0.5);
}

/* ===== MORPHING BACKGROUND ===== */
.hero::before {
  animation: morphBackground 15s ease-in-out infinite alternate;
}

@keyframes morphBackground {
  0% {
    opacity: 0.03;
    transform: scale(1) rotate(0deg);
  }
  50% {
    opacity: 0.05;
    transform: scale(1.1) rotate(2deg);
  }
  100% {
    opacity: 0.03;
    transform: scale(1) rotate(0deg);
  }
}

/* ===== GLASSMORPHISM EFEKT ===== */
.tech-stack {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background-color: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.tech-item {
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  background-color: rgba(52, 152, 219, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* ===== SCROLL INDIKÁTOR ===== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  z-index: 9999;
  transition: width 0.1s ease;
}

/* ===== MEDIA QUERIES ===== */
@media (max-width: 768px) {

  /* Zjednodušíme 3D efekty na mobilních zařízeních */
  .service-card {
    transform: none !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important;
    background: white !important;
  }

  .service-icon, .service-title, .service-description {
    transform: none !important;
  }
}

/*
 * Animace pro web Michala Katuščáka
 * Moderní animace pro rok 2025
 */

/* ===== ZÁKLADNÍ ANIMACE ===== */

/* Počáteční stav pro hero sekci */
.hero-title,
.hero-subtitle,
.hero-cta,
.hero-image {
  opacity: 0;
}

/* Fade In */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.fade-in {
  animation: fadeIn 1s ease forwards;
}

/* Slide Up */
@keyframes slideUp {
  from {
    transform: translateY(50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.slide-up {
  animation: slideUp 0.8s ease forwards;
}

/* Slide In Left */
@keyframes slideInLeft {
  from {
    transform: translateX(-50px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.slide-in-left {
  animation: slideInLeft 0.8s ease forwards;
}

/* Slide In Right */
@keyframes slideInRight {
  from {
    transform: translateX(50px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.slide-in-right {
  animation: slideInRight 0.8s ease forwards;
}

/* Scale In */
@keyframes scaleIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.scale-in {
  animation: scaleIn 0.8s ease forwards;
}

/* Bounce */
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-20px);
  }
  60% {
    transform: translateY(-10px);
  }
}

.bounce {
  animation: bounce 2s infinite;
}

/* Pulse */
@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

.pulse {
  animation: pulse 2s infinite;
}

/* Floating */
@keyframes floating {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}

.floating {
  animation: floating 3s ease-in-out infinite;
}

/* Rotate */
@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.rotate {
  animation: rotate 10s linear infinite;
}

/* Text Reveal */
.text-reveal {
  position: relative;
  overflow: hidden;
}

.text-reveal::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background-color: var(--primary-color);
  animation: textReveal 1.5s cubic-bezier(0.77, 0, 0.18, 1) forwards;
}

@keyframes textReveal {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(101%);
  }
}

/* ===== SLUŽBY SEKCE ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 3rem;
}

.service-card {
  background-color: #fff;
  border-radius: var(--border-radius);
  padding: 0;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
  position: relative;
  z-index: 1;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%; /* Zajistí stejnou výšku karet */
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  opacity: 0.05;
  transition: height var(--transition-speed) ease;
  z-index: -1;
}

.service-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.service-card:hover::before {
  height: 100%;
}

.service-icon {
  position: absolute;
  top: 2rem;
  right: 2rem;
  width: 6rem;
  height: 6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  z-index: 2;
  color: var(--primary-color);
  transition: transform var(--transition-speed) ease, background-color var(--transition-speed) ease;
}

.service-card:hover .service-icon {
  transform: rotate(360deg) scale(1.1);
  background-color: var(--primary-color);
  color: white;
}

.service-icon svg {
  fill: currentColor;
  transition: fill var(--transition-speed) ease;
}

.service-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  position: relative;
  order: 1;
}

.service-image img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform 0.5s ease;
  -o-object-position: center bottom;
     object-position: center bottom; /* Pozicovat obrázek dole */
}

.service-card:hover .service-image img {
  transform: scale(1.1);
}

.service-content {
  padding: 2.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
  order: 1; /* Obsah nad obrázkem */
}

.service-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--dark-color);
  position: relative;
  padding-bottom: 1.5rem;
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
  word-wrap: break-word;
}

.service-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 5rem;
  height: 3px;
  background-color: var(--primary-color);
  transition: width var(--transition-speed) ease;
}

.service-card:hover .service-title::after {
  width: 8rem;
}

.service-description {
  color: var(--gray-color);
  margin-bottom: 2rem;
  flex: 1;
}

.service-features {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.feature-tag {
  padding: 0.5rem 1rem;
  background-color: var(--gray-light);
  border-radius: 5rem;
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--gray-color);
  transition: background-color var(--transition-speed) ease, color var(--transition-speed) ease;
}

.service-card:hover .feature-tag {
  background-color: var(--primary-color);
  color: white;
}

.service-cta {
  display: inline-block;
  padding: 1rem 2rem;
  background-color: transparent;
  border: 2px solid var(--primary-color);
  border-radius: var(--border-radius);
  color: var(--primary-color);
  font-weight: 700;
  text-align: center;
  transition: all var(--transition-speed) ease;
  text-decoration: none;
  align-self: flex-start;
}

.service-cta:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* ===== PORTFOLIO SEKCE ===== */
.portfolio-filter {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 4rem;
}

.filter-btn {
  padding: 0.8rem 1.6rem;
  background-color: transparent;
  border: 1px solid var(--gray-light);
  border-radius: 5rem;
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--gray-color);
  cursor: pointer;
  transition: all var(--transition-speed) ease;
}

.filter-btn:hover,
.filter-btn.active {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: #fff;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 3rem;
}

.portfolio-item {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.portfolio-image {
  position: relative;
  overflow: hidden;
}

.portfolio-image img {
  transition: transform 0.5s ease;
  -o-object-fit: cover;
     object-fit: cover;
  aspect-ratio: 16/9;
}

.portfolio-item:hover .portfolio-image img {
  transform: scale(1.05);
}

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  opacity: 0;
  transition: opacity var(--transition-speed) ease;
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-category {
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.portfolio-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
}

.portfolio-links {
  display: flex;
  gap: 1rem;
}

.portfolio-link {
  width: 4rem;
  height: 4rem;
  background-color: #fff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--dark-color);
  transition: all var(--transition-speed) ease;
}

.portfolio-link:hover {
  background-color: var(--primary-color);
  color: #fff;
}

/* ===== KLIENTI SEKCE ===== */
.clients {
  background-color: #f5f7fa;
  padding: 8rem 0;
}

.clients-slider {
  position: relative;
  overflow: hidden;
  padding: 2rem 0;
}

.clients-track {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  /* Odstraníme automatickou animaci posunu */
  /* animation: slideClients 30s linear infinite; */
}

@keyframes slideClients {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

.client-logo {
  flex: 0 0 20%;
  min-width: 150px;
  padding: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  margin: 1rem;
  filter: grayscale(50%);
  opacity: 1 !important; /* Vynucená viditelnost */
  transform: scale(1) !important; /* Vynucená velikost */
  transition: all var(--transition-speed) ease;
}

.client-logo:hover {
  filter: grayscale(0);
  opacity: 1;
}

.client-logo img {
  max-height: 6rem;
  width: auto;
  max-width: 100%;
  -o-object-fit: contain;
     object-fit: contain;
  filter: none !important; /* Odstraníme filtry */
  opacity: 1 !important; /* Vynucená viditelnost */
}

/* ===== REFERENCE SEKCE ===== */
.testimonials-slider {
  position: relative;
  max-width: 80rem;
  margin: 0 auto;
}

.testimonial-card {
  background-color: #fff;
  border-radius: var(--border-radius);
  padding: 4rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  margin-bottom: 3rem;
}

.testimonial-content {
  margin-bottom: 3rem;
}

.testimonial-text {
  font-size: 1.8rem;
  font-style: italic;
  color: var(--gray-color);
  position: relative;
  padding: 0 2rem;
}

.testimonial-text::before,
.testimonial-text::after {
  content: '"';
  font-family: Georgia, serif;
  font-size: 6rem;
  color: var(--primary-color);
  opacity: 0.2;
  position: absolute;
  line-height: 1;
}

.testimonial-text::before {
  top: -2rem;
  left: -1rem;
}

.testimonial-text::after {
  bottom: -4rem;
  right: -1rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.author-image {
  width: 6rem;
  height: 6rem;
  border-radius: 50%;
  -o-object-fit: cover;
     object-fit: cover;
}

.author-name {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.author-position {
  font-size: 1.4rem;
  color: var(--gray-color);
  margin-bottom: 0.5rem;
}

.author-website {
  font-size: 1.4rem;
  color: var(--primary-color);
}

.testimonials-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
}

.nav-btn {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background-color: #fff;
  border: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: all var(--transition-speed) ease;
}

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

.nav-btn:hover svg {
  fill: #fff;
}

.nav-btn svg {
  fill: var(--dark-color);
  transition: fill var(--transition-speed) ease;
}

.testimonials-dots {
  display: flex;
  gap: 0.8rem;
}

.dot {
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background-color: var(--gray-light);
  cursor: pointer;
  transition: all var(--transition-speed) ease;
}

.dot.active {
  background-color: var(--primary-color);
}

/* ===== BLOG SEKCE ===== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 3rem;
  margin-bottom: 4rem;
}

.blog-card {
  background-color: #fff;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  /* Odstraněny CSS transition, protože jsou nyní řízeny pomocí GSAP */
}

/* Odstraněny hover efekty, protože jsou nyní řízeny pomocí GSAP */

.blog-image {
  position: relative;
  height: 20rem;
  overflow: hidden;
}

.blog-image img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  /* Odstraněny CSS transition, protože jsou nyní řízeny pomocí GSAP */
}

/* Odstraněny hover efekty, protože jsou nyní řízeny pomocí GSAP */

.blog-category {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  padding: 0.5rem 1rem;
  background-color: var(--primary-color);
  color: #fff;
  font-size: 1.2rem;
  font-weight: 400;
  border-radius: 5rem;
  z-index: 1;
}

.blog-content {
  padding: 2.5rem;
}

.blog-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--dark-color);
  /* Odstraněny CSS transition, protože jsou nyní řízeny pomocí GSAP */
}

/* Odstraněny hover efekty, protože jsou nyní řízeny pomocí GSAP */

.blog-excerpt {
  font-size: 1.5rem;
  color: var(--gray-color);
  margin-bottom: 2rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.4rem;
}

.blog-date {
  color: var(--gray-color);
}

.blog-read-more {
  color: var(--primary-color);
  font-weight: 400;
  position: relative;
}

.blog-read-more::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  /* Odstraněny CSS transition, protože jsou nyní řízeny pomocí GSAP */
}

/* Odstraněny hover efekty, protože jsou nyní řízeny pomocí GSAP */

.blog-cta {
  text-align: center;
  margin-top: 5rem;
  padding-top: 2rem;
  position: relative;
  clear: both;
}

/* ===== KONTAKT SEKCE ===== */
.contact {
  background-color: var(--gray-light);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
}

.contact-icon {
  width: 5rem;
  height: 5rem;
  background-color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

.contact-icon svg {
  fill: #fff;
}

.contact-text h3 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--dark-color);
}

.contact-text p,
.contact-text a {
  font-size: 1.6rem;
  color: var(--gray-color);
}

.contact-text a:hover {
  color: var(--primary-color);
}

.social-links {
  display: flex;
  gap: 1.5rem;
  margin-top: 3rem;
}

.social-link {
  width: 4.5rem;
  height: 4.5rem;
  background-color: #fff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--dark-color);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all var(--transition-speed) ease;
}

.social-link:hover {
  background-color: var(--primary-color);
  transform: translateY(-5px);
}

.social-link:hover svg {
  fill: #fff;
}

.social-link svg {
  fill: var(--dark-color);
  transition: fill var(--transition-speed) ease;
}

.contact-form-container {
  background-color: #fff;
  border-radius: var(--border-radius);
  padding: 4rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.form-group label {
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--dark-color);
}

.form-group input,
.form-group textarea {
  padding: 1.2rem;
  border: 1px solid var(--gray-light);
  border-radius: var(--border-radius);
  font-family: var(--font-primary);
  font-size: 1.6rem;
  color: var(--dark-color);
  transition: border-color var(--transition-speed) ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
}

/* ===== FOOTER ===== */
.footer {
  background-color: var(--dark-color);
  color: #fff;
  padding: 6rem 0 2rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  margin-bottom: 4rem;
}

.footer-logo {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-logo .logo-text {
  color: #fff;
}

.footer-logo p {
  font-size: 1.6rem;
  color: var(--gray-color);
}

.footer-menu {
  display: flex;
  gap: 2rem;
}

.footer-menu a {
  color: var(--gray-color);
  font-size: 1.6rem;
  transition: color var(--transition-speed) ease;
}

.footer-menu a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
}

.footer-bottom p {
  font-size: 1.4rem;
  color: var(--gray-color);
}

/* ===== BACK TO TOP BUTTON ===== */
.back-to-top {
  position: fixed;
  bottom: 3rem;
  right: 3rem;
  width: 5rem;
  height: 5rem;
  background-color: var(--primary-color);
  color: #fff;
  border: none;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-speed) ease;
  z-index: 99;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background-color: var(--primary-dark);
  transform: translateY(-5px);
}

.back-to-top svg {
  fill: #fff;
}

/* Responzivní design pro mobilní zařízení */
@media (max-width: 992px) {
  .contact-content {
    grid-template-columns: 1fr;
  }

  .contact-info {
    order: 2;
  }

  .contact-form-container {
    order: 1;
    margin-bottom: 4rem;
  }

  .footer-content {
    flex-direction: column;
    gap: 3rem;
    align-items: center;
    text-align: center;
  }

  .footer-menu {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .services-grid,
  .portfolio-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    max-width: 500px;
    margin: 0 auto;
  }

  .service-content {
    padding: 2rem;
  }

  .service-title {
    font-size: 2rem;
  }

  .testimonial-card {
    padding: 3rem 2rem;
  }

  .testimonial-author {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

@media (max-width: 576px) {
  .contact-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .social-links {
    justify-content: center;
  }
}

/**
 * CSS pro blog Michala Katuščáka
 * Minimalistický, moderní design s důrazem na přístupnost a UX
 */

/* ===== BLOG HERO SEKCE ===== */
.blog-hero {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 10rem 0 8rem;
  color: var(--dark-color);
  position: relative;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

/* Dekorativní prvky pro blog hero */
.blog-hero::before,
.blog-hero::after {
  content: '';
  position: absolute;
  background-color: var(--primary-color);
  opacity: 0.05;
  border-radius: 50%;
  z-index: 0;
}

.blog-hero::before {
  width: 40rem;
  height: 40rem;
  top: -20rem;
  right: -10rem;
}

.blog-hero::after {
  width: 30rem;
  height: 30rem;
  bottom: -15rem;
  left: -10rem;
}

/* Zarovnání na střed pouze pro hlavní stránku blogu */
body:not(.blog-detail-page) .blog-hero-content {
  text-align: center;
}

body:not(.blog-detail-page) .blog-hero-title::after {
  margin: 2rem auto 0;
}

body:not(.blog-detail-page) .blog-hero-subtitle {
  margin: 0 auto;
}

.blog-hero-content {
  position: relative;
  max-width: 80rem;
  margin: 0 auto;
  z-index: 1;
  padding: 0 2rem;
}

.blog-hero-title {
  font-family: var(--font-heading);
  font-size: 5rem;
  font-weight: 700;
  margin-bottom: 2.5rem;
  line-height: 1.2;
  color: var(--dark-color);
  position: relative;
  display: inline-block;
}

.blog-hero-title::after {
  content: '';
  display: block;
  width: 8rem;
  height: 0.4rem;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  margin: 2.5rem 0 0;
  border-radius: 2px;
  box-shadow: 0 2px 10px rgba(52, 152, 219, 0.3);
}

.blog-hero-subtitle {
  font-size: 2rem;
  color: var(--gray-color);
  max-width: 70rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  position: relative;
}

.blog-hero-description {
  font-size: 1.6rem;
  color: var(--gray-color);
  max-width: 70rem;
  line-height: 1.6;
  opacity: 0.8;
  position: relative;
}

/* Dekorativní ikony pro blog hero */
.blog-hero-icons {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  overflow: hidden;
  z-index: 0;
  opacity: 0.4;
}

.blog-hero-icon {
  position: absolute;
  font-size: 2rem;
  color: var(--primary-color);
  opacity: 0.2;
  transform: rotate(var(--rotation));
}

.blog-hero-icon:nth-child(1) { top: 15%; left: 10%; --rotation: 15deg; }
.blog-hero-icon:nth-child(2) { top: 25%; left: 20%; --rotation: -10deg; }
.blog-hero-icon:nth-child(3) { top: 10%; left: 30%; --rotation: 5deg; }
.blog-hero-icon:nth-child(4) { top: 20%; left: 40%; --rotation: -5deg; }
.blog-hero-icon:nth-child(5) { top: 15%; left: 50%; --rotation: 10deg; }
.blog-hero-icon:nth-child(6) { top: 25%; left: 60%; --rotation: -15deg; }
.blog-hero-icon:nth-child(7) { top: 10%; left: 70%; --rotation: 20deg; }
.blog-hero-icon:nth-child(8) { top: 20%; left: 80%; --rotation: -20deg; }
.blog-hero-icon:nth-child(9) { top: 15%; left: 90%; --rotation: 10deg; }

/* ===== BLOG FILTR A VYHLEDÁVÁNÍ ===== */
.blog-filter {
  padding: 3rem 0;
  background-color: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
}

.filter-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.search-box {
  width: 100%;
}

.search-form {
  display: flex;
  position: relative;
}

.search-form input {
  width: 100%;
  padding: 1.2rem 4.5rem 1.2rem 1.5rem;
  border: 1px solid var(--gray-light);
  border-radius: 0.4rem;
  font-size: 1.5rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  background-color: #fff;
}

.search-form input:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.1);
  outline: none;
}

.search-form button {
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--gray-color);
  cursor: pointer;
  transition: color 0.2s ease;
  padding: 0;
}

.search-form button:hover {
  color: var(--primary-color);
}

.category-filter {
  flex: 1;
  min-width: 30rem;
}

.filter-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  margin-bottom: 1.2rem;
  color: var(--dark-color);
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.filter-btn {
  padding: 0.7rem 1.4rem;
  background-color: transparent;
  border: 1px solid var(--gray-light);
  border-radius: 0.4rem;
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--gray-color);
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-btn:hover {
  background-color: rgba(0, 0, 0, 0.02);
  color: var(--dark-color);
}

.filter-btn.active {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: #fff;
}

/* Kategorie v sidebaru */
.category-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.category-list li {
  margin-bottom: 0.8rem;
}

.category-list li:last-child {
  margin-bottom: 0;
}

.category-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 1.2rem;
  border-radius: 0.4rem;
  font-size: 1.5rem;
  color: var(--gray-color);
  transition: all 0.2s ease;
  text-decoration: none;
  background-color: #f8f9fa;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.category-link:hover {
  background-color: #f0f0f0;
  color: var(--dark-color);
}

.category-link.active {
  background-color: var(--primary-color);
  color: #fff;
  border-color: var(--primary-color);
}

.category-link.active .category-count {
  color: rgba(255, 255, 255, 0.8);
}

.category-count {
  font-size: 1.3rem;
  color: var(--gray-color);
  transition: color 0.2s ease;
}

/* ===== BLOG LISTING ===== */
.blog-listing {
  padding: 0rem 0;
  background-color: #fff;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(32rem, 1fr));
  gap: 3rem;
  margin-bottom: 4rem;
}

/* ===== BLOG KARTY ===== */
.blog-card {
  background-color: #fff;
  border-radius: 0.4rem;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.blog-image {
  position: relative;
  height: 20rem;
  overflow: hidden;
}

.blog-image img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-image img {
  transform: scale(1.05);
}

.blog-category {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  padding: 0.5rem 1rem;
  background-color: var(--primary-color);
  color: #fff;
  font-size: 1.2rem;
  font-weight: 400;
  border-radius: 0.3rem;
  z-index: 1;
}

.blog-content {
  padding: 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-title {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--dark-color);
  transition: color 0.2s ease;
  line-height: 1.4;
}

.blog-card:hover .blog-title {
  color: var(--primary-color);
}

.blog-excerpt {
  font-size: 1.5rem;
  color: var(--gray-color);
  margin-bottom: 1.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.6;
  flex: 1;
}

.blog-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.3rem;
  color: var(--gray-color);
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.blog-date {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.blog-date svg {
  width: 1.6rem;
  height: 1.6rem;
  stroke: var(--primary-color);
}

/* ===== PAGINATION ===== */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 4rem;
  gap: 0.5rem;
}

.pagination-btn {
  width: 4rem;
  height: 4rem;
  border-radius: 0.4rem;
  background-color: #fff;
  border: 1px solid var(--gray-light);
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.pagination-btn:hover:not(:disabled) {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.pagination-btn:hover:not(:disabled) svg {
  stroke: #fff;
}

.pagination-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.pagination-btn svg {
  stroke: var(--dark-color);
  transition: stroke 0.2s ease;
}

.pagination-numbers {
  display: flex;
  gap: 0.5rem;
}

.pagination-number {
  width: 4rem;
  height: 4rem;
  border-radius: 0.4rem;
  background-color: #fff;
  border: 1px solid var(--gray-light);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--dark-color);
  cursor: pointer;
  transition: all 0.2s ease;
}

.pagination-number:hover {
  background-color: rgba(0, 0, 0, 0.02);
}

.pagination-number.active {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: #fff;
}

/* ===== NEWSLETTER ===== */
.newsletter {
  padding: 8rem 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.newsletter-bg-decoration {
  position: absolute;
  top: -10%;
  right: -5%;
  width: 40rem;
  height: 40rem;
  background: radial-gradient(circle, rgba(52, 152, 219, 0.05) 0%, rgba(52, 152, 219, 0) 70%);
  border-radius: 50%;
  z-index: 0;
}

.newsletter-bg-decoration::before {
  content: '';
  position: absolute;
  bottom: -10%;
  left: -5%;
  width: 30rem;
  height: 30rem;
  background: radial-gradient(circle, rgba(46, 204, 113, 0.05) 0%, rgba(46, 204, 113, 0) 70%);
  border-radius: 50%;
}

.newsletter-container {
  background-color: #fff;
  border-radius: 1rem;
  padding: 5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-wrap: wrap;
  gap: 5rem;
  align-items: center;
  border: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.newsletter-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0.4rem;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.newsletter-content {
  flex: 1;
  min-width: 30rem;
}

.newsletter-badge {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  background-color: rgba(52, 152, 219, 0.1);
  color: var(--primary-color);
  font-size: 1.3rem;
  font-weight: 700;
  border-radius: 3rem;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.newsletter-title {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--dark-color);
  position: relative;
}

.newsletter-text {
  font-size: 1.6rem;
  color: var(--gray-color);
  max-width: 50rem;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

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

.newsletter-benefits li {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.2rem;
  font-size: 1.5rem;
  color: var(--dark-color);
}

.newsletter-benefits li svg {
  color: var(--secondary-color);
  flex-shrink: 0;
}

.newsletter-form-container {
  flex: 1;
  min-width: 30rem;
  background-color: rgba(248, 249, 250, 0.5);
  padding: 3rem;
  border-radius: 0.8rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
}

.newsletter-form {
  width: 100%;
}

.form-group {
  display: flex;
  margin-bottom: 1.5rem;
}

.form-group input {
  flex: 1;
  padding: 1.5rem 2rem;
  border: 1px solid var(--gray-light);
  border-radius: 0.6rem 0 0 0.6rem;
  font-size: 1.6rem;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
}

.form-group input:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.15);
  outline: none;
}

.form-group button {
  border-radius: 0 0.6rem 0.6rem 0;
  padding: 0 2rem;
  font-size: 1.5rem;
  font-weight: 400;
  transition: all 0.3s ease;
  white-space: nowrap;
  box-shadow: 0 4px 10px rgba(52, 152, 219, 0.2);
}

.form-group button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(52, 152, 219, 0.3);
  background-color: var(--primary-dark);
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 2rem;
}

.form-check input {
  width: 1.8rem;
  height: 1.8rem;
  accent-color: var(--primary-color);
  margin-top: 0.2rem;
}

.form-check label {
  font-size: 1.4rem;
  color: var(--gray-color);
  line-height: 1.5;
}

.newsletter-social-proof {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.subscribers-count {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 1.4rem;
  color: var(--gray-color);
}

.subscribers-count svg {
  color: var(--primary-color);
}

.subscribers-count strong {
  color: var(--dark-color);
  font-weight: 700;
}

/* ===== BLOG LAYOUT WITH SIDEBAR ===== */
.blog-with-sidebar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 30rem;
  gap: 4rem;
  padding: 5rem 0;
  background-color: #fff;
}

.blog-main {
  width: 100%;
}

.blog-sidebar {
  width: 100%;
}

.sidebar-widget {
  background-color: #fff;
  border-radius: 0.4rem;
  padding: 2.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  margin-bottom: 3rem;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.widget-title {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: var(--dark-color);
  position: relative;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.widget-title::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 4rem;
  height: 2px;
  background-color: var(--primary-color);
}

/* Doporučené knihy */
.book-recommendation {
  display: flex;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.book-recommendation:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.book-cover {
  width: 7rem;
  height: 10rem;
  margin-right: 1.5rem;
  border-radius: 0.3rem;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
}

.book-cover img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform 0.3s ease;
}

.book-recommendation:hover .book-cover img {
  transform: scale(1.05);
}

.book-info {
  flex: 1;
}

.book-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--dark-color);
  transition: color 0.2s ease;
  line-height: 1.3;
}

.book-recommendation:hover .book-title {
  color: var(--primary-color);
}

.book-author {
  font-size: 1.3rem;
  color: var(--gray-color);
  margin-bottom: 0.8rem;
}

.book-description {
  font-size: 1.3rem;
  color: var(--gray-color);
  margin-bottom: 0.8rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.4;
}

.book-link {
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--primary-color);
}

/* Rychlovky */
.news-item {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.news-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.news-date {
  font-size: 1.2rem;
  color: var(--gray-color);
  margin-bottom: 0.5rem;
  display: block;
}

.news-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  color: var(--dark-color);
  transition: color 0.2s ease;
  line-height: 1.3;
}

.news-item:hover .news-title {
  color: var(--primary-color);
}

.news-excerpt {
  font-size: 1.3rem;
  color: var(--gray-color);
  margin-bottom: 0.8rem;
  line-height: 1.4;
}

.news-link {
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--primary-color);
}

/* ===== BLOG DETAIL ===== */
.blog-detail {
  background-color: #fff;
  padding-top: 0;
}

.article-header {
  margin-bottom: 3rem;
}

/* Styly pro blog-detail-page */
.blog-detail-page .blog-hero {
  padding: 8rem 0 6rem;
}

.blog-detail-page .blog-hero-content {
  position: relative;
  text-align: center;
}

.article-category {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  background-color: var(--primary-color);
  color: #fff;
  font-size: 1.4rem;
  font-weight: 400;
  border-radius: 0.4rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 10px rgba(52, 152, 219, 0.2);
  transform: translateY(0);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article-category:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(52, 152, 219, 0.3);
}

.blog-detail-page .blog-hero-title {
  margin-bottom: 2rem;
  font-size: 4.5rem;
}

.blog-detail-page .blog-hero-title::after {
  margin: 2.5rem auto 0;
}

.article-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  font-size: 1.5rem;
  color: var(--gray-color);
  margin-top: 2rem;
  flex-wrap: wrap;
}

.article-meta-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  position: relative;
}

.article-meta-item svg {
  color: var(--primary-color);
  flex-shrink: 0;
}

.article-meta-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 0.4rem;
  height: 0.4rem;
  background-color: var(--gray-light);
  border-radius: 50%;
}

.article-title {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--dark-color);
  line-height: 1.2;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 0;
  font-size: 1.4rem;
  color: var(--gray-color);
}

.article-meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.article-meta-item svg {
  width: 1.6rem;
  height: 1.6rem;
  stroke: var(--primary-color);
}

.article-category {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: var(--primary-color);
  color: #fff;
  font-size: 1.3rem;
  font-weight: 400;
  border-radius: 0.3rem;
  margin-bottom: 1.5rem;
}

.article-featured-image {
  width: 100%;
  height: 40rem;
  border-radius: 0.4rem;
  overflow: hidden;
  margin-bottom: 2rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  position: relative;
  border: 1px solid rgba(0, 0, 0, 0.05);
  margin-top: 2rem;
}

.article-featured-image img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.article-content {
  font-size: 1.6rem;
  line-height: 1.7;
  color: var(--dark-color);
  margin-bottom: 3rem;
}

.article-content p {
  margin-bottom: 2rem;
}

.article-content h2 {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  margin: 4rem 0 2rem;
  color: var(--dark-color);
}

.article-content h3 {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 700;
  margin: 3rem 0 1.5rem;
  color: var(--dark-color);
}

.article-content ul, .article-content ol {
  margin: 2rem 0;
  padding-left: 2rem;
}

.article-content ul li, .article-content ol li {
  margin-bottom: 1rem;
}

.article-content ul {
  list-style-type: disc;
}

.article-content ol {
  list-style-type: decimal;
}

.article-content a {
  color: var(--primary-color);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.article-content a:hover {
  color: var(--primary-dark);
}

.article-content blockquote {
  border-left: 4px solid var(--primary-color);
  padding: 2rem;
  margin: 3rem 0;
  background-color: var(--gray-light);
  font-style: italic;
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.article-content code {
  font-family: monospace;
  background-color: var(--gray-light);
  padding: 0.2rem 0.5rem;
  border-radius: 3px;
  font-size: 1.6rem;
}

.article-content pre {
  background-color: var(--dark-color);
  color: #fff;
  padding: 2rem;
  border-radius: var(--border-radius);
  overflow-x: auto;
  margin: 3rem 0;
}

.article-content pre code {
  background-color: transparent;
  padding: 0;
  color: inherit;
  font-size: 1.5rem;
}

.article-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--border-radius);
  margin: 3rem 0;
}

.article-content figure {
  margin: 3rem 0;
}

.article-content figcaption {
  text-align: center;
  font-size: 1.4rem;
  color: var(--gray-color);
  margin-top: 1rem;
}

.article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 3rem 0;
}

.article-content th, .article-content td {
  padding: 1.2rem;
  border: 1px solid var(--gray-light);
  text-align: left;
}

.article-content th {
  background-color: var(--gray-light);
  font-weight: 700;
}

.article-content tr:nth-child(even) {
  background-color: rgba(233, 236, 239, 0.3);
}

/* Sdílení článku */
.article-share {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin: 3rem 0;
  padding: 2rem 0;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.share-title {
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--dark-color);
  white-space: nowrap;
}

.share-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.share-button {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 0.4rem;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #f8f9fa;
  color: var(--dark-color);
  transition: all 0.2s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.share-button:hover {
  background-color: var(--primary-color);
  color: #fff;
}

.share-button svg {
  width: 1.8rem;
  height: 1.8rem;
  fill: currentColor;
}

/* Autor článku */
.article-author {
  display: flex;
  gap: 2rem;
  padding: 2rem;
  background-color: #f8f9fa;
  border-radius: 0.4rem;
  margin: 3rem 0;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.author-avatar {
  width: 8rem;
  height: 8rem;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.author-avatar img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.author-info {
  flex: 1;
}

.author-name {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  color: var(--dark-color);
}

.author-bio {
  font-size: 1.4rem;
  color: var(--gray-color);
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.author-social {
  display: flex;
  gap: 1rem;
}

.author-social-link {
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 0.4rem;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #fff;
  color: var(--dark-color);
  transition: all 0.2s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.author-social-link:hover {
  background-color: var(--primary-color);
  color: #fff;
}

.author-social-link svg {
  width: 1.6rem;
  height: 1.6rem;
  fill: currentColor;
}

/* Související články */
.related-posts {
  margin: 4rem 0;
}

.related-posts-title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: var(--dark-color);
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
}

.related-posts-title::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 4rem;
  height: 2px;
  background-color: var(--primary-color);
}

/* Responzivní design */
@media (max-width: 992px) {
  .blog-with-sidebar {
    grid-template-columns: minmax(0, 1fr);
  }

  .blog-hero {
    padding: 8rem 0 6rem;
  }

  .blog-hero-title {
    font-size: 4.2rem;
  }

  .blog-hero-subtitle {
    font-size: 1.8rem;
  }

  .article-title {
    font-size: 2.8rem;
  }

  .blog-detail-page .blog-hero-title {
    font-size: 3.8rem;
  }
}

@media (max-width: 768px) {
  .filter-container {
    flex-direction: column;
    align-items: stretch;
  }

  .search-box, .category-filter {
    min-width: 100%;
  }

  .blog-hero {
    padding: 7rem 0 5rem;
  }

  .blog-hero-title {
    font-size: 3.6rem;
  }

  .blog-hero-title::after {
    width: 6rem;
    margin: 2rem 0 0;
  }

  .blog-hero-subtitle {
    font-size: 1.6rem;
  }

  .blog-grid {
    grid-template-columns: repeat(auto-fill, minmax(28rem, 1fr));
  }

  .blog-detail-page .blog-hero-title {
    font-size: 3.4rem;
  }

  .article-meta {
    gap: 1.5rem;
  }
}

@media (max-width: 576px) {
  .blog-hero {
    padding: 10rem 0 4rem;
  }

  .blog-hero-title {
    font-size: 3rem;
  }

  .blog-hero-title::after {
    width: 5rem;
    height: 0.3rem;
    margin: 1.5rem 0 0;
  }

  .blog-hero-subtitle {
    font-size: 1.5rem;
  }

  .blog-detail-page .blog-hero-title {
    font-size: 2.8rem;
  }

  .article-category {
    font-size: 1.2rem;
    padding: 0.5rem 1rem;
    margin-bottom: 1.5rem;
  }

  .pagination {
    flex-wrap: wrap;
  }

  .newsletter-container {
    padding: 3rem;
    gap: 3rem;
  }

  .newsletter-form-container {
    padding: 2rem;
  }

  .newsletter-title {
    font-size: 2.6rem;
  }

  .newsletter-text {
    font-size: 1.5rem;
  }

  .newsletter-benefits li {
    font-size: 1.4rem;
  }

  .form-group {
    flex-direction: column;
  }

  .form-group input {
    border-radius: 0.6rem;
    margin-bottom: 1rem;
  }

  .form-group button {
    border-radius: 0.6rem;
    width: 100%;
    padding: 1.2rem;
  }

  .article-meta {
    flex-direction: column;
    gap: 1rem;
  }

  .article-meta-item:not(:last-child)::after {
    display: none;
  }
}


/*
 * Vlastní styly pro Slick Carousel
 * Pro web Michala Katuščáka
 */

/* ===== TESTIMONIALS SLIDER ===== */
.testimonials {
  position: relative;
}

.testimonials-slider {
  position: relative;
  max-width: 80rem;
  margin: 0 auto 3rem;
}

/* Základní styly pro karty */
.testimonial-card {
  outline: none !important;
  background-color: #fff;
  border-radius: var(--border-radius);
  padding: 4rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

/* Navigační šipky */
.testimonials .nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  background-color: #fff;
  border: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: all var(--transition-speed) ease;
  z-index: 10;
  outline: none !important;
}

.testimonials .prev-btn {
  left: -2.5rem;
}

.testimonials .next-btn {
  right: -2.5rem;
}

.testimonials .nav-btn:hover {
  background-color: var(--primary-color);
  transform: translateY(-50%) scale(1.1);
}

.testimonials .nav-btn:hover svg {
  fill: #fff;
}

.testimonials .nav-btn svg {
  fill: var(--dark-color);
  transition: fill var(--transition-speed) ease;
}

/* Tečky pro navigaci */
.testimonials .testimonials-dots {
  position: relative;
  bottom: -3rem;
  display: flex !important;
  justify-content: center;
  gap: 0.8rem;
  z-index: 5;
}

.dot {
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 50%;
  background-color: var(--gray-light);
  cursor: pointer;
  transition: all var(--transition-speed) ease;
  display: inline-block !important;
}

.slick-active .dot {
  background-color: var(--primary-color);
  transform: scale(1.2);
}

/* Animace pro přechody */
.slick-slide {
  opacity: 0;
  transition: opacity 0.5s ease;
}

.slick-active {
  opacity: 1;
}

.slick-current {
  z-index: 1;
}

/* Responzivní design */
@media (max-width: 768px) {
  .testimonial-card {
    padding: 3rem 2rem;
  }

  .nav-btn {
    width: 4rem;
    height: 4rem;
  }

  .prev-btn {
    left: -1rem;
  }

  .next-btn {
    right: -1rem;
  }
}

@media (max-width: 576px) {
  .testimonial-card {
    padding: 2rem 1.5rem;
  }

  .testimonial-author {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .nav-btn {
    top: auto;
    bottom: -6rem;
    transform: none;
  }

  .prev-btn {
    left: 50%;
    margin-left: -5rem;
  }

  .next-btn {
    right: 50%;
    margin-right: -5rem;
  }

  .testimonials-dots {
    bottom: -8rem;
  }
}

/*
 * Hlavní CSS soubor pro web Michala Katuščáka
 * Moderní design pro rok 2025
 * Optimalizováno pro SEO a přístupnost
 */

/* ===== ZÁKLADNÍ NASTAVENÍ ===== */
:root {
  /* Barvy */
  --primary-color: #3498db;
  --primary-dark: #2980b9;
  --secondary-color: #2ecc71;
  --dark-color: #1a1a2e;
  --light-color: #f8f9fa;
  --gray-color: #6c757d;
  --gray-light: #e9ecef;
  --success-color: #28a745;
  --warning-color: #ffc107;
  --danger-color: #dc3545;
  --focus-color: #2980b9;
  --focus-outline: 3px solid var(--focus-color);

  /* Typografie */
  --font-primary: 'Inter', sans-serif;
  --font-heading: 'Space Grotesk', sans-serif;

  /* Rozměry */
  --header-height: 80px;
  --container-width: 1200px;
  --border-radius: 8px;
  --transition-speed: 0.3s;
}

/* Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 62.5%; /* 1rem = 10px */
  scroll-padding-top: var(--header-height); /* Pro přesné scrollování k sekcím */
}

/* Plynulé zobrazení stránky */
html, body {
  opacity: 1;
  transition: opacity 0.3s ease;
}

button {
  -webkit-appearance: none;
}

/* Přístupnost */
.skip-to-content {
  position: absolute;
  top: -9999px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--primary-color);
  color: white;
  padding: 1rem 2rem;
  z-index: 9999;
  text-decoration: none;
  border-radius: 0 0 var(--border-radius) var(--border-radius);
  font-weight: 400;
  transition: top 0.3s ease;
}

.skip-to-content:focus {
  top: 0;
  outline: var(--focus-outline);
}

body {
  font-family: var(--font-primary);
  font-size: 1.6rem;
  line-height: 1.6;
  color: var(--dark-color);
  background-color: var(--light-color);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color var(--transition-speed) ease;
}

a:hover {
  color: var(--primary-dark);
}

a:focus-visible {
  outline: var(--focus-outline);
  outline-offset: 2px;
  border-radius: 2px;
}

/* Skrytí obsahu pro screen readery */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

ul {
  list-style: none;
}

/* Kontejner */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 2rem;
}

/* Sekce */
section {
  padding: 10rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 6rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 3rem;
  color: var(--dark-color);
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -1rem;
  left: 50%;
  transform: translateX(-50%);
  width: 6rem;
  height: 0.4rem;
  background-color: var(--primary-color);
  border-radius: 2rem;
}

.section-subtitle {
  font-size: 1.8rem;
  color: var(--gray-color);
  max-width: 60rem;
  margin: 0 auto;
}

/* Tlačítka */
.btn {
  display: inline-block;
  font-weight: 400;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  border: 1px solid transparent;
  padding: 1.2rem 2.4rem;
  font-size: 1.6rem;
  line-height: 1.5;
  border-radius: var(--border-radius);
  transition: all var(--transition-speed) ease;
  cursor: pointer;
}

.btn-primary {
  color: #fff;
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  color: #fff;
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.btn-primary:focus-visible {
  outline: var(--focus-outline);
  outline-offset: 2px;
  transform: translateY(-2px);
}

.btn-outline {
  color: var(--primary-color);
  background-color: transparent;
  border-color: var(--primary-color);
}

.btn-outline:hover {
  color: #fff;
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.btn-outline:focus-visible {
  outline: var(--focus-outline);
  outline-offset: 2px;
  transform: translateY(-2px);
}

/* ===== LOADER ===== */
.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--light-color);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-content {
  text-align: center;
}

.loader-logo {
  animation: rotate 2s linear infinite;
}

.loader-logo circle {
  stroke-dasharray: 150;
  stroke-dashoffset: 0;
  animation: dash 1.5s ease-in-out infinite;
}

.loader-text {
  margin-top: 2rem;
  font-size: 1.8rem;
  color: var(--primary-color);
  font-weight: 400;
}

@keyframes rotate {
  100% {
    transform: rotate(360deg);
  }
}

@keyframes dash {
  0% {
    stroke-dashoffset: 150;
  }
  50% {
    stroke-dashoffset: 30;
  }
  100% {
    stroke-dashoffset: 150;
  }
}

/* ===== HEADER & NAVIGACE ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-color: transparent;
  z-index: 100;
  transition: background-color var(--transition-speed) ease;
}

.header.scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: var(--header-height);
}

.logo {
  display: flex;
  align-items: center;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--primary-color);
}

.nav-menu {
  display: flex;
  gap: 3rem;
}

.nav-link {
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--dark-color);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: width var(--transition-speed) ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 3rem;
  height: 2.1rem;
  cursor: pointer;
  border: 0;
  background: none;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--dark-color);
  border-radius: 3px;
  transition: all var(--transition-speed) ease;
}

/* ===== HERO SEKCE ===== */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
  background: linear-gradient(135deg, rgba(248, 249, 250, 0.95) 0%, rgba(233, 236, 239, 0.95) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url(/wp-content/themes/katuscak/css/../img/pattern.svg) repeat;
  opacity: 0.05;
  z-index: 0;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-text {
  max-width: 54rem;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 6.4rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 2rem;
  color: var(--dark-color);
  display: flex;
  flex-direction: column;
}

.text-reveal {
  overflow: hidden;
  position: relative;
}

.hero-subtitle {
  font-size: 2rem;
  color: var(--gray-color);
  margin-bottom: 3rem;
}

.hero-cta {
  display: flex;
  gap: 2rem;
  margin-bottom: 3rem;
}

.hero-availability {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.4rem;
  color: var(--gray-color);
}

.availability-indicator {
  width: 1rem;
  height: 1rem;
  background-color: var(--warning-color);
  border-radius: 50%;
}

.hero-image {
  position: relative;
}

.image-container {
  position: relative;
  z-index: 1;
}

.image-wrapper {
  position: relative;
  border-radius: 2rem;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  max-width: 100%;
  width: auto;
  -webkit-backdrop-filter: blur(5px);
          backdrop-filter: blur(5px);
}

.profile-image {
  width: 100%;
  height: auto;
  transition: transform 0.5s ease, -webkit-backdrop-filter 0.5s ease;
  transition: transform 0.5s ease, backdrop-filter 0.5s ease;
  transition: transform 0.5s ease, backdrop-filter 0.5s ease, -webkit-backdrop-filter 0.5s ease;
  -webkit-backdrop-filter: blur(5px);
          backdrop-filter: blur(5px);
}

.profile-image:hover {
  transform: scale(1.03);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
}

.tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  position: absolute;
  bottom: -2rem;
  left: 50%;
  transform: translateX(-50%);
  background-color: #fff;
  padding: 1.5rem;
  border-radius: 1rem;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}


.scroll-indicator {
  position: absolute;
  bottom: 5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  z-index: 1;
}

.mouse {
  width: 3rem;
  height: 5rem;
  border: 2px solid var(--dark-color);
  border-radius: 2rem;
  display: flex;
  justify-content: center;
  padding-top: 0.8rem;
}

.wheel {
  width: 0.4rem;
  height: 0.8rem;
  background-color: var(--dark-color);
  border-radius: 0.2rem;
  animation: scroll 1.5s infinite;
}

@keyframes scroll {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  100% {
    transform: translateY(1.5rem);
    opacity: 0;
  }
}

.scroll-indicator p {
  font-size: 1.2rem;
  color: var(--gray-color);
  font-weight: 400;
}

/* Responzivní design pro mobilní zařízení */
@media (max-width: 992px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-text {
    max-width: 100%;
    order: 2;
  }

  .hero-title {
    font-size: 4.8rem;
  }

  .hero-cta {
    justify-content: center;
  }

  .hero-availability {
    justify-content: center;
  }

  .hero-image {
    order: 1;
    margin-bottom: 4rem;
    padding-top: 2rem; /* Add padding to prevent overlap with header */
  }

  .image-wrapper {
    max-width: 30rem;
    margin: 0 auto;
    width: 70%; /* Zmenšení obrázku na mobilních zařízeních */
  }

  .nav-menu {
    position: fixed;
    top: var(--header-height);
    right: -100%;
    width: 80%;
    max-width: 30rem;
    height: calc(100vh - var(--header-height));
    background-color: #fff;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4rem;
    transition: right var(--transition-speed) ease;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }

  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }
}

@media (max-width: 576px) {
  html {
    font-size: 55%;
  }

  .hero {
    height: auto;
  }

  .section-title {
    font-size: 3.2rem;
  }

  .hero-title {
    font-size: 3.6rem;
  }

  .hero-cta {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  /* Adjust hero image for smaller screens */
  .hero-image {
    padding-top: 4rem; /* Increase padding on smaller screens */
  }

  /* Adjust the scroll indicator for mobile */
  .scroll-indicator {
    display: none; /* Hide on mobile devices */
  }

  /* Zmenšení obrázku na menších mobilních zařízeních */
  .image-wrapper {
    width: 60%;
  }
}

/* ===== NOVÉ STYLY PRO KONTAKTNÍ SEKCI ===== */
.contact {
  background-color: var(--light-color);
  padding: 8rem 0;
}

.contact-wrapper {
  max-width: 100rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 5rem;
}

/* Kontaktní informace */
.contact-info-box {
  background-color: #fff;
  border-radius: var(--border-radius);
  padding: 4rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.contact-row {
  display: flex;
  justify-content: space-between;
  gap: 3rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  flex: 1;
}

.contact-icon {
  width: 5rem;
  height: 5rem;
  background-color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.contact-icon svg {
  width: 2.4rem;
  height: 2.4rem;
  fill: #fff;
}

.contact-text h3 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  color: var(--dark-color);
}

.contact-text p,
.contact-text a {
  font-size: 1.6rem;
  color: var(--gray-color);
  line-height: 1.6;
}

.contact-text a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color var(--transition-speed) ease;
}

.contact-text a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

/* Sociální sítě */
.social-box {
  background-color: #fff;
  border-radius: var(--border-radius);
  padding: 4rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.social-title {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 3rem;
  color: var(--dark-color);
}

.social-icons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2.5rem;
}

.social-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  transition: transform var(--transition-speed) ease;
}

.social-icon svg {
  width: 3.6rem;
  height: 3.6rem;
  fill: var(--primary-color);
  transition: fill var(--transition-speed) ease;
}

.social-icon span {
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--dark-color);
  transition: color var(--transition-speed) ease;
}

.social-icon:hover {
  transform: translateY(-5px);
}

.social-icon:hover svg {
  fill: var(--primary-dark);
}

.social-icon:hover span {
  color: var(--primary-color);
}

/* Responzivní design pro kontaktní sekci */
@media (max-width: 992px) {
  .contact-row {
    flex-direction: column;
  }

  .contact-item {
    width: 100%;
    justify-content: center;
    align-items: center;
  }
}

@media (max-width: 576px) {
  .contact-info-box,
  .social-box {
    padding: 3rem 2rem;
  }

  .social-icons {
    gap: 2rem;
  }

  .social-icon svg {
    width: 3rem;
    height: 3rem;
  }
}

/*
 * Animace procesu tvorby webu pro web Michala Katuščáka
 * Moderní Apple-style animace pro rok 2025
 */

/* ===== ZÁKLADNÍ NASTAVENÍ SEKCE ===== */
.web-creation {
  position: relative;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  overflow: hidden;
  padding: 12rem 0;
}

/* Třída pro indikaci aktivní animace */
.web-creation.animation-active {
  z-index: 100;
}

/* Scroll hijacking - zabrání scrollování stránky */
html.scroll-hijacked,
body.scroll-hijacked {
  overflow: hidden;
  height: 100%;
  width: 100%;
}

/* Desktop verze animace */
.web-creation.desktop-animation .creation-stage {
  position: absolute;
  opacity: 0;
  visibility: hidden;
}

.web-creation.desktop-animation .creation-stage.active {
  opacity: 1;
  visibility: visible;
  position: absolute;
}

/* Mobilní verze - všechny fáze jsou viditelné */
@media (max-width: 1200px) {
  .web-creation.desktop-animation .creation-stage {
    position: relative;
    opacity: 1;
    visibility: visible;
    margin-bottom: 5rem;
  }
}

.web-creation::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(52, 152, 219, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(46, 204, 113, 0.05) 0%, transparent 50%);
  z-index: 0;
}

.web-creation .container {
  position: relative;
  z-index: 1;
}

/* ===== KONTEJNER ANIMACE ===== */
.web-creation-container {
  position: relative;
  margin-top: 6rem;
  height: 80vh;
  min-height: 700px;
  max-height: 900px;
  perspective: 1000px;
  overflow: hidden; /* Zabráníme přetečení obsahu */
}

.web-creation-animation {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
}

/* ===== FÁZE TVORBY WEBU ===== */
.creation-stage {
  position: relative; /* Základní pozice je relativní */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  opacity: 1; /* Základní stav je viditelný */
  visibility: visible;
  transform: translateY(0);
  transition: opacity 0.8s ease, transform 0.8s ease, visibility 0.8s ease;
  pointer-events: auto; /* Povolíme interakci */
}

.creation-stage.active {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) !important;
  pointer-events: auto !important; /* Povolíme interakci s aktivní fází */
  z-index: 10 !important; /* Zajistíme, že aktivní fáze bude nad ostatními */
  display: flex !important;
}

/* Obsah fáze */
.stage-content {
  width: 40%;
  padding: 4rem;
  background: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
  transform: translateZ(50px);
  transition: transform 0.5s ease;
}

.stage-number {
  font-family: var(--font-heading);
  font-size: 6rem;
  font-weight: 700;
  color: rgba(52, 152, 219, 0.2);
  line-height: 1;
  margin-bottom: 1rem;
}

.stage-title {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  font-weight: 700;
  color: var(--dark-color);
  margin-bottom: 2rem;
}

.stage-description {
  font-size: 1.6rem;
  line-height: 1.7;
  color: var(--gray-color);
}

/* Vizuální část fáze */
.stage-visual {
  width: 55%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateZ(30px);
  transition: transform 0.5s ease;
}


.nav-dot {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  border: 2px solid rgba(52, 152, 219, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  z-index: 20;
}

.nav-dot:hover {
  background-color: rgba(52, 152, 219, 0.3);
}

.nav-dot.active {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  transform: scale(1.2);
}

/* ===== SPECIFICKÉ STYLY PRO JEDNOTLIVÉ FÁZE ===== */

/* 1. Analýza a plánování */
.planning-elements {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  width: 100%;
  height: 100%;
  padding: 2rem;
}

.planning-document {
  width: 80%;
  height: 30%;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.document-line {
  height: 1rem;
  background-color: #e9ecef;
  border-radius: 5px;
  width: 100%;
}

.document-line:nth-child(2) {
  width: 80%;
}

.document-line:nth-child(3) {
  width: 60%;
}

.document-line:nth-child(4) {
  width: 40%;
}

.planning-chart {
  width: 80%;
  height: 30%;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
}

.chart-bar {
  width: 20%;
  background-color: var(--primary-color);
  border-radius: 5px 5px 0 0;
  transition: height 1s ease;
}

.chart-bar:nth-child(1) {
  height: 40%;
}

.chart-bar:nth-child(2) {
  height: 70%;
}

.chart-bar:nth-child(3) {
  height: 50%;
}

.planning-notes {
  width: 80%;
  height: 30%;
  display: flex;
  gap: 2rem;
}

.note-item {
  flex: 1;
  background-color: #fff4cc;
  border-radius: 5px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transform: rotate(-2deg);
}

.note-item:nth-child(2) {
  background-color: #ccf2ff;
  transform: rotate(1deg);
}

.note-item:nth-child(3) {
  background-color: #e2ffcc;
  transform: rotate(3deg);
}

/* 2. Design a prototypování */
.design-elements {
  display: flex;
  width: 100%;
  height: 100%;
  padding: 2rem;
  gap: 3rem;
}

.design-artboard {
  width: 70%;
  height: 80%;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.artboard-header {
  height: 15%;
  background-color: #f8f9fa;
  border-bottom: 1px solid #e9ecef;
}

.artboard-content {
  height: 85%;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.content-block {
  width: 100%;
  height: 30%;
  background-color: #e9ecef;
  border-radius: 5px;
}

.design-tools {
  width: 25%;
  height: 80%;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.color-palette {
  height: 30%;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-content: center;
  justify-content: center;
}

.color-swatch {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
}

.color-swatch:nth-child(1) {
  background-color: var(--primary-color);
}

.color-swatch:nth-child(2) {
  background-color: var(--secondary-color);
}

.color-swatch:nth-child(3) {
  background-color: var(--dark-color);
}

.color-swatch:nth-child(4) {
  background-color: var(--light-color);
  border: 1px solid #e9ecef;
}

.design-elements-panel {
  height: 65%;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.element-item {
  width: 100%;
  height: 30%;
  background-color: #e9ecef;
  border-radius: 5px;
}

/* 3. Vývoj a programování */
.development-elements {
  display: flex;
  width: 100%;
  height: 100%;
  padding: 2rem;
  gap: 3rem;
}

.code-editor {
  width: 55%;
  height: 80%;
  background-color: #1a1a2e;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  font-family: 'Courier New', monospace;
  font-size: 1.4rem;
  color: #e9ecef;
  overflow: hidden;
}

.editor-line {
  white-space: nowrap;
}

.editor-line.indent {
  padding-left: 2rem;
}

.code-keyword {
  color: #ff6b6b;
}

.code-variable {
  color: #4ecdc4;
}

.code-operator {
  color: #ffe66d;
}

.code-function {
  color: #6a89cc;
}

.code-string {
  color: #7bed9f;
}

.browser-preview {
  width: 40%;
  height: 80%;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.browser-header {
  height: 10%;
  background-color: #f8f9fa;
  border-bottom: 1px solid #e9ecef;
  display: flex;
  align-items: center;
  padding: 0 1.5rem;
  gap: 1.5rem;
}

.browser-controls {
  display: flex;
  gap: 0.5rem;
}

.browser-dot {
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 50%;
}

.browser-dot:nth-child(1) {
  background-color: #ff6b6b;
}

.browser-dot:nth-child(2) {
  background-color: #ffe66d;
}

.browser-dot:nth-child(3) {
  background-color: #7bed9f;
}

.browser-address {
  flex: 1;
  height: 3rem;
  background-color: #e9ecef;
  border-radius: 5px;
}

.browser-content {
  height: 90%;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.browser-element {
  width: 100%;
  height: 30%;
  background-color: #e9ecef;
  border-radius: 5px;
}

/* 4. Testování a optimalizace */
.testing-elements {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  padding: 2rem;
  gap: 3rem;
}

.devices-mockup {
  width: 100%;
  height: 50%;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 3rem;
}

.device {
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.device-desktop {
  width: 50%;
  height: 90%;
}

.device-tablet {
  width: 25%;
  height: 80%;
}

.device-mobile {
  width: 15%;
  height: 70%;
}

.testing-dashboard {
  width: 100%;
  height: 40%;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  display: flex;
  justify-content: space-between;
}

.dashboard-item {
  width: 30%;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.dashboard-chart {
  flex: 1;
  background-color: #e9ecef;
  border-radius: 5px;
}

.dashboard-label {
  height: 2rem;
  width: 70%;
  background-color: #e9ecef;
  border-radius: 5px;
}

/* 5. Spuštění a podpora */
.launch-elements {
  display: flex;
  width: 100%;
  height: 100%;
  padding: 2rem;
  gap: 3rem;
}

.rocket-animation {
  width: 40%;
  height: 80%;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.rocket {
  width: 10rem;
  height: 20rem;
  position: relative;
}

.rocket-body {
  width: 100%;
  height: 70%;
  background-color: white;
  border-radius: 50% 50% 20% 20%;
  position: absolute;
  top: 15%;
  left: 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.rocket-window {
  width: 40%;
  height: 20%;
  background-color: #4ecdc4;
  border-radius: 50%;
  position: absolute;
  top: 30%;
  left: 30%;
}

.rocket-fins {
  width: 120%;
  height: 15%;
  background-color: var(--primary-color);
  border-radius: 0 0 50% 50%;
  position: absolute;
  bottom: 15%;
  left: -10%;
}

.rocket-fire {
  width: 60%;
  height: 40%;
  background: linear-gradient(to bottom, #ff6b6b, #ffe66d);
  border-radius: 0 0 50% 50%;
  position: absolute;
  bottom: -25%;
  left: 20%;
  filter: blur(5px);
  opacity: 0.8;
  animation: rocketFire 0.5s infinite alternate;
}

@keyframes rocketFire {
  from {
    height: 40%;
    opacity: 0.8;
  }
  to {
    height: 50%;
    opacity: 1;
  }
}

.launch-particles {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%;
}

.particle {
  position: absolute;
  width: 1rem;
  height: 1rem;
  background-color: #ffe66d;
  border-radius: 50%;
  filter: blur(2px);
  opacity: 0.8;
  animation: particleFloat 2s infinite linear;
}

.particle:nth-child(1) {
  left: 20%;
  bottom: 10%;
  animation-delay: 0.2s;
}

.particle:nth-child(2) {
  left: 40%;
  bottom: 20%;
  animation-delay: 0.5s;
}

.particle:nth-child(3) {
  left: 60%;
  bottom: 15%;
  animation-delay: 0.8s;
}

.particle:nth-child(4) {
  left: 80%;
  bottom: 25%;
  animation-delay: 1.1s;
}

.particle:nth-child(5) {
  left: 30%;
  bottom: 30%;
  animation-delay: 1.4s;
}

@keyframes particleFloat {
  0% {
    transform: translateY(0) scale(1);
    opacity: 0.8;
  }
  100% {
    transform: translateY(-100px) scale(0);
    opacity: 0;
  }
}

.analytics-panel {
  width: 55%;
  height: 80%;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.analytics-graph {
  height: 60%;
  background-color: #f8f9fa;
  border-radius: 10px;
  padding: 2rem;
  display: flex;
  align-items: flex-end;
}

.graph-line {
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  position: relative;
}

.graph-line::before {
  content: '';
  position: absolute;
  top: -5px;
  left: 0;
  width: 100%;
  height: 10px;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  filter: blur(10px);
  opacity: 0.5;
}

.analytics-metrics {
  height: 35%;
  display: flex;
  justify-content: space-between;
}

.metric-item {
  width: 30%;
  height: 100%;
  background-color: #f8f9fa;
  border-radius: 10px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.metric-item::before {
  content: '';
  width: 70%;
  height: 1.5rem;
  background-color: #e9ecef;
  border-radius: 5px;
}

.metric-item::after {
  content: '';
  width: 40%;
  height: 3rem;
  background-color: var(--primary-color);
  border-radius: 5px;
  opacity: 0.2;
}

/* ===== ANIMACE PRO JEDNOTLIVÉ FÁZE ===== */

/* Animace pro fázi 1 - Plánování */
.stage-planning.active .chart-bar:nth-child(1) {
  animation: barGrow 1s 0.2s forwards;
}

.stage-planning.active .chart-bar:nth-child(2) {
  animation: barGrow 1s 0.4s forwards;
}

.stage-planning.active .chart-bar:nth-child(3) {
  animation: barGrow 1s 0.6s forwards;
}

@keyframes barGrow {
  from {
    height: 0;
  }
  to {
    height: var(--height, 50%);
  }
}

.stage-planning.active .note-item {
  animation: noteAppear 0.5s forwards;
}

.stage-planning.active .note-item:nth-child(1) {
  animation-delay: 0.8s;
}

.stage-planning.active .note-item:nth-child(2) {
  animation-delay: 1s;
}

.stage-planning.active .note-item:nth-child(3) {
  animation-delay: 1.2s;
}

@keyframes noteAppear {
  from {
    opacity: 0;
    transform: translateY(20px) rotate(0deg);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotate(var(--rotate, -2deg));
  }
}

/* Animace pro fázi 2 - Design */
.stage-design.active .design-artboard {
  animation: fadeInUp 0.8s 0.2s forwards;
}

.stage-design.active .color-palette {
  animation: fadeInUp 0.8s 0.5s forwards;
}

.stage-design.active .design-elements-panel {
  animation: fadeInUp 0.8s 0.8s forwards;
}

.stage-design.active .color-swatch {
  animation: swatchAppear 0.5s forwards;
}

.stage-design.active .color-swatch:nth-child(1) {
  animation-delay: 1s;
}

.stage-design.active .color-swatch:nth-child(2) {
  animation-delay: 1.2s;
}

.stage-design.active .color-swatch:nth-child(3) {
  animation-delay: 1.4s;
}

.stage-design.active .color-swatch:nth-child(4) {
  animation-delay: 1.6s;
}

@keyframes swatchAppear {
  from {
    transform: scale(0);
  }
  to {
    transform: scale(1);
  }
}

/* Animace pro fázi 3 - Vývoj */
.stage-development.active .code-editor {
  animation: fadeInLeft 0.8s 0.2s forwards;
}

.stage-development.active .browser-preview {
  animation: fadeInRight 0.8s 0.5s forwards;
}

.stage-development.active .editor-line {
  animation: typingCode 0.5s forwards;
}

.stage-development.active .editor-line:nth-child(1) {
  animation-delay: 0.8s;
}

.stage-development.active .editor-line:nth-child(2) {
  animation-delay: 1.1s;
}

.stage-development.active .editor-line:nth-child(3) {
  animation-delay: 1.4s;
}

.stage-development.active .editor-line:nth-child(4) {
  animation-delay: 1.7s;
}

.stage-development.active .editor-line:nth-child(5) {
  animation-delay: 2s;
}

.stage-development.active .editor-line:nth-child(6) {
  animation-delay: 2.3s;
}

.stage-development.active .editor-line:nth-child(7) {
  animation-delay: 2.6s;
}

@keyframes typingCode {
  from {
    width: 0;
    opacity: 0;
  }
  to {
    width: 100%;
    opacity: 1;
  }
}

/* Animace pro fázi 4 - Testování */
.stage-testing.active .device {
  animation: deviceAppear 0.8s forwards;
}

.stage-testing.active .device-desktop {
  animation-delay: 0.2s;
}

.stage-testing.active .device-tablet {
  animation-delay: 0.5s;
}

.stage-testing.active .device-mobile {
  animation-delay: 0.8s;
}

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

.stage-testing.active .dashboard-item {
  animation: fadeInUp 0.8s forwards;
}

.stage-testing.active .dashboard-item:nth-child(1) {
  animation-delay: 1.1s;
}

.stage-testing.active .dashboard-item:nth-child(2) {
  animation-delay: 1.3s;
}

.stage-testing.active .dashboard-item:nth-child(3) {
  animation-delay: 1.5s;
}

/* Animace pro fázi 5 - Spuštění */
.stage-launch.active .rocket {
  animation: rocketLaunch 3s 1s forwards;
}

@keyframes rocketLaunch {
  0% {
    transform: translateY(0);
  }
  10% {
    transform: translateY(5px);
  }
  20% {
    transform: translateY(-5px);
  }
  30% {
    transform: translateY(3px);
  }
  40% {
    transform: translateY(-3px);
  }
  50% {
    transform: translateY(2px);
  }
  60% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-100px);
  }
}

.stage-launch.active .analytics-graph {
  animation: graphGrow 1.5s 0.5s forwards;
}

@keyframes graphGrow {
  from {
    opacity: 0.3;
  }
  to {
    opacity: 1;
  }
}

.stage-launch.active .metric-item {
  animation: fadeInUp 0.8s forwards;
}

.stage-launch.active .metric-item:nth-child(1) {
  animation-delay: 0.8s;
}

.stage-launch.active .metric-item:nth-child(2) {
  animation-delay: 1s;
}

.stage-launch.active .metric-item:nth-child(3) {
  animation-delay: 1.2s;
}

/* ===== OBECNÉ ANIMACE ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ===== RESPONZIVNÍ DESIGN ===== */
@media (max-width: 1200px) {
  .web-creation-container {
    height: auto;
    min-height: auto;
  }

  .creation-stage {
    flex-direction: column;
    height: auto;
    position: relative;
    margin-bottom: 8rem;
  }

  .stage-content,
  .stage-visual {
    width: 100%;
    transform: none !important;
  }

  .stage-content {
    padding: 3rem;
    margin-bottom: 3rem;
  }

  .stage-visual {
    height: 50vh;
    min-height: 400px;
  }

  .creation-navigation {
    position: relative;
    bottom: auto;
    margin-top: 4rem;
  }

  /* Zajistíme, že všechny fáze budou viditelné na mobilních zařízeních */
  .creation-stage {
    position: relative;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    display: flex;
    margin-bottom: 5rem;
  }

  /* Skryjeme navigaci na mobilních zařízeních */
  .creation-navigation {
    display: none;
  }
}

@media (max-width: 768px) {
  .web-creation {
    padding: 8rem 0;
  }

  .stage-content {
    padding: 2rem;
  }

  .stage-number {
    font-size: 4rem;
  }

  .stage-title {
    font-size: 2.4rem;
  }

  .stage-visual {
    height: 40vh;
    min-height: 300px;
  }

  .design-elements,
  .development-elements,
  .launch-elements {
    flex-direction: column;
    gap: 2rem;
  }

  .design-artboard,
  .code-editor,
  .browser-preview,
  .rocket-animation,
  .analytics-panel {
    width: 100%;
    height: auto;
    min-height: 200px;
  }

  .design-tools {
    width: 100%;
    flex-direction: row;
    height: auto;
  }

  .color-palette,
  .design-elements-panel {
    height: 150px;
    width: 48%;
  }
}

/**
 * Animace procesu tvorby webu pro web Michala Katuščáka
 * Moderní Apple-style animace pro rok 2025
 */

/* ===== ZÁKLADNÍ NASTAVENÍ SEKCE ===== */
.web-creation {
  position: relative;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  overflow: hidden;
  padding: 6rem 0;
}

.web-creation::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(52, 152, 219, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(46, 204, 113, 0.05) 0%, transparent 50%);
  z-index: 0;
}

.web-creation .container {
  position: relative;
  z-index: 1;
}

/* ===== NAVIGACE MEZI FÁZEMI ===== */
.creation-navigation {
  position: sticky;
  top: 8rem; /* Větší odstup od horního okraje pro fixní menu */
  display: flex;
  justify-content: center; /* Zarovnání na střed */
  align-items: center; /* Zarovnání na střed */
  gap: 6rem; /* Větší mezera mezi přepínači pro kruhový design */
  margin: 6rem auto 8rem; /* Větší vertikální mezery pro prostor pro čísla a popisky */
  z-index: 100;
  padding: 2rem; /* Větší padding pro větší klikací plochu */
  -webkit-backdrop-filter: blur(15px);
          backdrop-filter: blur(15px); /* Silnější efekt rozmazaného pozadí */
  border-radius: 60px; /* Větší zaoblené rohy */
  max-width: 800px; /* Pevná maximální šířka */
  width: 90%; /* Šířka jako procento */
  pointer-events: auto; /* Zajistíme, že přepínače budou reagovat na kliknutí */
  text-align: center; /* Zarovnání textu na střed */
}

.nav-dot {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center; /* Zarovnání obsahu na střed */
  text-align: center; /* Zarovnání textu na střed */
  background: none;
  border: none;
  cursor: pointer;
  padding: 1.2rem 0.8rem; /* Menší padding pro užší přepínače */
  transition: all 0.3s ease;
  opacity: 0.9; /* Vyšší výchozí viditelnost */
  position: relative;
  width: 60px; /* Menší šířka pro lepší proporce */
  height: 60px; /* Stejná výška jako šířka pro kruhový tvar */
  max-width: 60px; /* Omezení maximální šířky */
  border-radius: 50%; /* Perfektní kruh */
  pointer-events: auto; /* Zajistíme, že přepínače budou reagovat na kliknutí */
  margin: 0 auto; /* Automatické okraje pro zarovnání na střed */
}

.nav-dot::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 12px; /* Menší indikátor */
  height: 12px; /* Stejná výška jako šířka pro perfektní kruh */
  border-radius: 50%; /* Perfektní kruh */
  background-color: var(--primary-color);
  transition: all 0.3s ease;
  box-shadow: 0 0 8px rgba(52, 152, 219, 0.5); /* Výraznější stín i v neaktivním stavu */
  display: block; /* Zajistí správné zobrazení */
}

.nav-dot::before {
  content: '';
  position: absolute;
  top: 50%;
  right: -3rem; /* Větší odstup pro delší čáru */
  width: 3rem; /* Delší spojovací čára */
  height: 2px; /* Tenčí spojovací čára pro lepší vzhled */
  background-color: var(--primary-color);
  opacity: 0.4;
  transform: translateY(-50%); /* Perfektní zarovnání na střed */
  z-index: 0; /* Zajistíme, že čára bude pod ostatními prvky */
}

.nav-dot:last-child::before {
  display: none;
}

.nav-dot .nav-number {
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.6rem; /* Menší číslo pro lepší proporce */
  color: var(--primary-color);
  line-height: 1; /* Lepší zarovnání */
  text-align: center; /* Zarovnání na střed */
}

.nav-dot .nav-label {
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1rem; /* Menší popisek pro lepší proporce */
  font-weight: 700; /* Tučnější popisek */
  color: var(--dark-color);
  white-space: nowrap; /* Zabrání zalamování textu */
  line-height: 1.2; /* Lepší zarovnání */
  text-align: center; /* Zarovnání na střed */
  width: auto; /* Automatická šířka */
}

.nav-dot:hover {
  opacity: 1;
  transform: scale(1.1); /* Mírné zvětšení při najetí myší */
  background-color: rgba(52, 152, 219, 0.1); /* Jemné pozadí při najetí */
  box-shadow: 0 0 15px rgba(52, 152, 219, 0.3); /* Jemný stín při najetí */
}

.nav-dot.active {
  opacity: 1;
  background-color: rgba(52, 152, 219, 0.2); /* Výraznější pozadí pro aktivní stav */
  box-shadow: 0 0 20px rgba(52, 152, 219, 0.4); /* Výraznější stín pro aktivní stav */
}

.nav-dot.active::after {
  transform: translate(-50%, -50%) scale(1.5); /* Zachováme centrovaní a zvětšíme */
  box-shadow: 0 0 15px rgba(52, 152, 219, 0.7); /* Výraznější stín pro aktivní tečku */
  width: 16px; /* Větší indikátor pro aktivní stav */
  height: 16px; /* Zachováme stejnou výšku jako šířku */
}

/* ===== KONTEJNER PRO SCROLL SNAPPING ===== */
.web-creation-scroll-container {
  height: 80vh;
  min-height: 600px;
  max-height: 800px;
  overflow-y: auto; /* Použijeme auto pro přirozenější scrollování */
  scroll-snap-type: y proximity; /* Změníme na proximity pro přirozenější scrollování */
  scroll-behavior: smooth;
  position: relative;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
  -webkit-overflow-scrolling: touch; /* Plynulé scrollování na iOS */
  padding: 0; /* Odstraníme padding */
  margin: 0; /* Odstraníme margin */
  overscroll-behavior: auto; /* Povolujeme přirozené scrollování */
  touch-action: pan-y; /* Povolujeme pouze vertikální scrollování na dotykových zařízeních */
}

/* Skryjeme scrollbar, ale zachováme funkcionalitu */
.web-creation-scroll-container {
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
}

.web-creation-scroll-container::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

/* ===== FÁZE TVORBY WEBU ===== */
.creation-stage {
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2rem 4rem;
  scroll-snap-align: center; /* Zarovnání na střed pro lepší scrollování */
  scroll-snap-stop: normal; /* Povolujeme plynulé scrollování */
  position: relative;
  background-color: rgba(255, 255, 255, 0.9);
  transition: opacity 0.5s ease, transform 0.5s ease, visibility 0.5s ease;
  opacity: 0.5; /* Vyšší výchozí průhlednost pro lepší viditelnost */
  transform: scale(0.98); /* Menší zmenšení pro lepší viditelnost */
  visibility: visible; /* Výchozí viditelnost pro lepší uživatelský zážitek */
}

/* Aktivní fáze */
.creation-stage.active {
  opacity: 1; /* Plná viditelnost */
  transform: scale(1); /* Plná velikost */
  visibility: visible; /* Zobrazení */
  z-index: 2; /* Vyšší z-index pro aktivní fázi */
  box-shadow: 0 0 30px rgba(52, 152, 219, 0.2); /* Jemný stín pro zvýraznění aktivní fáze */
}

/* Animace pro aktivní fázi */
.creation-stage.animating {
  animation: stageActivate 0.8s ease-out forwards;
}

@keyframes stageActivate {
  0% {
    transform: scale(0.98);
    opacity: 0.7;
  }
  50% {
    transform: scale(1.02);
    opacity: 0.9;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* Obsah fáze */
.stage-content {
  width: 40%;
  padding: 2rem;
  transform: translateZ(50px);
  transition: transform 0.5s ease;
}

.stage-number {
  font-family: var(--font-heading);
  font-size: 6rem;
  font-weight: 700;
  color: rgba(52, 152, 219, 0.2);
  line-height: 1;
  margin-bottom: 1rem;
}

.stage-title {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  font-weight: 700;
  color: var(--dark-color);
  margin-bottom: 2rem;
}

.stage-description {
  font-size: 1.6rem;
  line-height: 1.7;
  color: var(--gray-color);
}

/* Vizuální část fáze */
.stage-visual {
  width: 55%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateZ(30px);
  transition: transform 0.5s ease;
}

/* ===== SPECIFICKÉ STYLY PRO JEDNOTLIVÉ FÁZE ===== */

/* 1. Analýza a plánování */
.planning-elements {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  width: 100%;
  height: 100%;
  padding: 2rem;
}

.planning-document {
  width: 80%;
  height: 30%;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.document-line {
  height: 1rem;
  background-color: #e9ecef;
  border-radius: 5px;
  width: 100%;
}

.document-line:nth-child(2) {
  width: 80%;
}

.document-line:nth-child(3) {
  width: 60%;
}

.document-line:nth-child(4) {
  width: 40%;
}

.planning-chart {
  width: 80%;
  height: 30%;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
}

.chart-bar {
  width: 20%;
  background-color: var(--primary-color);
  border-radius: 5px 5px 0 0;
  transition: height 1s ease;
}

.chart-bar:nth-child(1) {
  height: 40%;
}

.chart-bar:nth-child(2) {
  height: 70%;
}

.chart-bar:nth-child(3) {
  height: 50%;
}

.planning-notes {
  width: 80%;
  height: 30%;
  display: flex;
  gap: 2rem;
}

.note-item {
  flex: 1;
  background-color: #fff4cc;
  border-radius: 5px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transform: rotate(-2deg);
}

.note-item:nth-child(2) {
  background-color: #ccf2ff;
  transform: rotate(1deg);
}

.note-item:nth-child(3) {
  background-color: #e2ffcc;
  transform: rotate(3deg);
}

/* 2. Architektura systému */
.design-elements {
  display: flex;
  width: 100%;
  height: 100%;
  padding: 2rem;
  gap: 3rem;
}

.design-artboard {
  width: 70%;
  height: 80%;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  position: relative;
}

.artboard-header {
  height: 15%;
  background-color: #f8f9fa;
  border-bottom: 1px solid #e9ecef;
  display: flex;
  align-items: center;
  padding: 0 2rem;
}

.artboard-header::before {
  content: 'System Architecture';
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--dark-color);
  font-size: 1.2rem;
}

.artboard-content {
  height: 85%;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M50 50 L80 30 M50 50 L20 30 M50 50 L50 90 M50 50 L80 70 M50 50 L20 70 M80 30 L80 70 M20 30 L20 70 M80 30 L50 10 M20 30 L50 10' stroke='%23e9ecef' stroke-width='2' fill='none'/%3E%3Ccircle cx='50' cy='50' r='8' fill='%233498db'/%3E%3Ccircle cx='80' cy='30' r='6' fill='%232ecc71'/%3E%3Ccircle cx='20' cy='30' r='6' fill='%232ecc71'/%3E%3Ccircle cx='80' cy='70' r='6' fill='%23e74c3c'/%3E%3Ccircle cx='20' cy='70' r='6' fill='%23e74c3c'/%3E%3Ccircle cx='50' cy='10' r='6' fill='%23f39c12'/%3E%3Ccircle cx='50' cy='90' r='6' fill='%239b59b6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 80%;
}

.content-block {
  width: 100%;
  height: 30%;
  background-color: rgba(233, 236, 239, 0.7);
  border-radius: 5px;
  border-left: 4px solid var(--primary-color);
  position: relative;
  padding: 1rem;
}

.content-block::before {
  content: '';
  position: absolute;
  top: 0.5rem;
  left: 1rem;
  width: 60%;
  height: 1rem;
  background-color: rgba(52, 152, 219, 0.2);
  border-radius: 3px;
}

.content-block:nth-child(2)::before {
  background-color: rgba(46, 204, 113, 0.2);
}

.content-block:nth-child(3)::before {
  background-color: rgba(231, 76, 60, 0.2);
}

.design-tools {
  width: 25%;
  height: 80%;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.color-palette {
  height: 30%;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
}

.color-palette::before {
  content: 'Database Schema';
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--dark-color);
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.color-swatch {
  width: 100%;
  height: 2rem;
  border-radius: 5px;
  position: relative;
  background-color: #f8f9fa;
  border-left: 4px solid var(--primary-color);
  padding-left: 1rem;
  display: flex;
  align-items: center;
}

.color-swatch::before {
  content: 'Table';
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--dark-color);
}

.color-swatch:nth-child(2) {
  border-left-color: var(--secondary-color);
}

.color-swatch:nth-child(2)::before {
  content: 'Users';
}

.color-swatch:nth-child(3) {
  border-left-color: var(--dark-color);
}

.color-swatch:nth-child(3)::before {
  content: 'Products';
}

.color-swatch:nth-child(4) {
  border-left-color: #e74c3c;
}

.color-swatch:nth-child(4)::before {
  content: 'Orders';
}

.design-elements-panel {
  height: 65%;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
}

.design-elements-panel::before {
  content: 'API Endpoints';
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--dark-color);
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.element-item {
  width: 100%;
  height: 30%;
  background-color: #f8f9fa;
  border-radius: 5px;
  position: relative;
  padding: 0.8rem;
  display: flex;
  align-items: center;
}

.element-item::before {
  content: 'GET';
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: #2ecc71;
  margin-right: 0.5rem;
}

.element-item:nth-child(2)::before {
  content: 'POST';
  color: #3498db;
}

.element-item:nth-child(3)::before {
  content: 'PUT';
  color: #f39c12;
}

.element-item {
  width: 100%;
  height: 30%;
  background-color: #e9ecef;
  border-radius: 5px;
}

/* 3. Vývoj a programování */
.development-elements {
  display: flex;
  width: 100%;
  height: 100%;
  padding: 2rem;
  gap: 3rem;
}

.code-editor {
  width: 55%;
  height: 80%;
  background-color: #1a1a2e;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  font-family: 'Courier New', monospace;
  font-size: 1.4rem;
  color: #e9ecef;
  overflow: hidden;
  position: relative;
}

.code-editor::before {
  content: 'OrderService.java';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 0.5rem 2rem;
  background-color: #141428;
  font-size: 1rem;
  color: #6a89cc;
  border-bottom: 1px solid #2a2a4a;
}

.editor-line {
  white-space: nowrap;
  margin-top: 0.5rem;
}

.editor-line.indent {
  padding-left: 2rem;
}

.editor-line.indent.indent {
  padding-left: 4rem;
}

.code-keyword {
  color: #ff6b6b;
}

.code-variable {
  color: #4ecdc4;
}

.code-operator {
  color: #ffe66d;
}

.code-function {
  color: #6a89cc;
}

.code-string {
  color: #7bed9f;
}

.browser-preview {
  width: 40%;
  height: 80%;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.browser-header {
  height: 10%;
  background-color: #f8f9fa;
  border-bottom: 1px solid #e9ecef;
  display: flex;
  align-items: center;
  padding: 0 1.5rem;
  gap: 1.5rem;
}

.browser-header::before {
  content: 'System Dashboard';
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--dark-color);
  font-size: 1rem;
}

.browser-controls {
  display: flex;
  gap: 0.5rem;
}

.browser-dot {
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 50%;
}

.browser-dot:nth-child(1) {
  background-color: #ff6b6b;
}

.browser-dot:nth-child(2) {
  background-color: #ffe66d;
}

.browser-dot:nth-child(3) {
  background-color: #7bed9f;
}

.browser-address {
  flex: 1;
  height: 3rem;
  background-color: #e9ecef;
  border-radius: 5px;
  position: relative;
}

.browser-address::before {
  content: 'https://app.example.com/dashboard';
  position: absolute;
  top: 50%;
  left: 1rem;
  transform: translateY(-50%);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--gray-color);
}

.browser-content {
  height: 90%;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='10' y='10' width='80' height='15' rx='2' fill='%23e9ecef'/%3E%3Crect x='10' y='35' width='35' height='25' rx='2' fill='%23e9ecef'/%3E%3Crect x='55' y='35' width='35' height='25' rx='2' fill='%23e9ecef'/%3E%3Crect x='10' y='70' width='80' height='20' rx='2' fill='%23e9ecef'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 90%;
}

.browser-element {
  width: 100%;
  height: 30%;
  background-color: transparent;
  border-radius: 5px;
}

/* 4. Testování a optimalizace */
.testing-elements {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  padding: 2rem;
  gap: 3rem;
}

.devices-mockup {
  width: 100%;
  height: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  position: relative;
}

.devices-mockup::before {
  content: 'Automated Testing Environment';
  position: absolute;
  top: -2rem;
  left: 0;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--dark-color);
  font-size: 1.2rem;
}

.device {
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.device::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='10' y='10' width='80' height='10' rx='2' fill='%23e9ecef'/%3E%3Crect x='10' y='25' width='80' height='5' rx='2' fill='%23e9ecef'/%3E%3Crect x='10' y='35' width='80' height='5' rx='2' fill='%23e9ecef'/%3E%3Crect x='10' y='45' width='80' height='5' rx='2' fill='%23e9ecef'/%3E%3Crect x='10' y='55' width='40' height='10' rx='2' fill='%233498db'/%3E%3Crect x='10' y='70' width='80' height='5' rx='2' fill='%23e9ecef'/%3E%3Crect x='10' y='80' width='60' height='5' rx='2' fill='%23e9ecef'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 90%;
  opacity: 0.7;
}

.device-desktop {
  width: 50%;
  height: 90%;
}

.device-desktop::after {
  content: 'Unit Tests';
  position: absolute;
  bottom: 1rem;
  left: 0;
  width: 100%;
  text-align: center;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--primary-color);
  font-size: 1rem;
}

.device-tablet {
  width: 25%;
  height: 80%;
}

.device-tablet::after {
  content: 'Integration Tests';
  position: absolute;
  bottom: 1rem;
  left: 0;
  width: 100%;
  text-align: center;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--secondary-color);
  font-size: 0.9rem;
}

.device-mobile {
  width: 15%;
  height: 70%;
}

.device-mobile::after {
  content: 'UI Tests';
  position: absolute;
  bottom: 1rem;
  left: 0;
  width: 100%;
  text-align: center;
  font-family: var(--font-heading);
  font-weight: 700;
  color: #e74c3c;
  font-size: 0.8rem;
}

.testing-dashboard {
  width: 100%;
  height: 40%;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  display: flex;
  justify-content: space-between;
  position: relative;
}

.testing-dashboard::before {
  content: 'Performance Metrics';
  position: absolute;
  top: 1rem;
  left: 2rem;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--dark-color);
  font-size: 1.2rem;
}

.dashboard-item {
  width: 30%;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 2rem;
  position: relative;
}

.dashboard-item:nth-child(1)::before {
  content: 'Response Time';
  position: absolute;
  top: 0;
  left: 0;
  font-family: var(--font-heading);
  font-weight: 400;
  color: var(--gray-color);
  font-size: 0.9rem;
}

.dashboard-item:nth-child(2)::before {
  content: 'CPU Usage';
  position: absolute;
  top: 0;
  left: 0;
  font-family: var(--font-heading);
  font-weight: 400;
  color: var(--gray-color);
  font-size: 0.9rem;
}

.dashboard-item:nth-child(3)::before {
  content: 'Memory Usage';
  position: absolute;
  top: 0;
  left: 0;
  font-family: var(--font-heading);
  font-weight: 400;
  color: var(--gray-color);
  font-size: 0.9rem;
}

.dashboard-chart {
  flex: 1;
  background-color: #f8f9fa;
  border-radius: 5px;
  position: relative;
  overflow: hidden;
}

.dashboard-chart::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40%;
  background: linear-gradient(to right, rgba(52, 152, 219, 0.5) 0%, rgba(46, 204, 113, 0.5) 100%);
  border-radius: 0 0 5px 5px;
}

.dashboard-chart:nth-child(1)::before {
  height: 30%;
}

.dashboard-chart:nth-child(2)::before {
  height: 60%;
  background: linear-gradient(to right, rgba(231, 76, 60, 0.5) 0%, rgba(243, 156, 18, 0.5) 100%);
}

.dashboard-label {
  height: 2rem;
  width: 70%;
  background-color: #e9ecef;
  border-radius: 5px;
  position: relative;
}

.dashboard-label::before {
  content: '95ms';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--gray-color);
}

.dashboard-item:nth-child(2) .dashboard-label::before {
  content: '45%';
}

.dashboard-item:nth-child(3) .dashboard-label::before {
  content: '512MB';
}

/* 5. Nasazení a podpora */
.launch-elements {
  display: flex;
  width: 100%;
  height: 100%;
  padding: 2rem;
  gap: 3rem;
}

.rocket-animation {
  width: 40%;
  height: 80%;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.rocket-animation::before {
  content: 'CI/CD Pipeline';
  position: absolute;
  top: -2rem;
  left: 0;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--dark-color);
  font-size: 1.2rem;
}

.rocket {
  width: 10rem;
  height: 20rem;
  position: relative;
}

.rocket-body {
  width: 100%;
  height: 70%;
  background-color: white;
  border-radius: 50% 50% 20% 20%;
  position: absolute;
  top: 15%;
  left: 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.rocket-body::before {
  content: '';
  position: absolute;
  width: 80%;
  height: 80%;
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 20 L80 20 L80 30 L20 30 Z' fill='%233498db'/%3E%3Cpath d='M20 40 L80 40 L80 50 L20 50 Z' fill='%232ecc71'/%3E%3Cpath d='M20 60 L80 60 L80 70 L20 70 Z' fill='%23e74c3c'/%3E%3Cpath d='M30 25 L35 25' stroke='%23fff' stroke-width='2'/%3E%3Cpath d='M30 45 L35 45' stroke='%23fff' stroke-width='2'/%3E%3Cpath d='M30 65 L35 65' stroke='%23fff' stroke-width='2'/%3E%3Cpath d='M40 25 L70 25' stroke='%23fff' stroke-width='2'/%3E%3Cpath d='M40 45 L70 45' stroke='%23fff' stroke-width='2'/%3E%3Cpath d='M40 65 L70 65' stroke='%23fff' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: 0.7;
}

.rocket-window {
  width: 40%;
  height: 20%;
  background-color: #4ecdc4;
  border-radius: 50%;
  position: absolute;
  top: 30%;
  left: 30%;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.rocket-window::before {
  content: 'DEPLOY';
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 700;
  color: white;
}

.rocket-fins {
  width: 120%;
  height: 15%;
  background-color: var(--primary-color);
  border-radius: 0 0 50% 50%;
  position: absolute;
  bottom: 15%;
  left: -10%;
}

.rocket-fire {
  width: 60%;
  height: 40%;
  background: linear-gradient(to bottom, #ff6b6b, #ffe66d);
  border-radius: 0 0 50% 50%;
  position: absolute;
  bottom: -25%;
  left: 20%;
  filter: blur(5px);
  opacity: 0.8;
  animation: rocketFire 0.5s infinite alternate;
}

@keyframes rocketFire {
  from {
    height: 40%;
    opacity: 0.8;
  }
  to {
    height: 50%;
    opacity: 1;
  }
}

.launch-particles {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%;
}

.particle {
  position: absolute;
  width: 1rem;
  height: 1rem;
  background-color: #ffe66d;
  border-radius: 50%;
  filter: blur(2px);
  opacity: 0.8;
  animation: particleFloat 2s infinite linear;
}

.particle:nth-child(1) {
  left: 20%;
  bottom: 10%;
  animation-delay: 0.2s;
}

.particle:nth-child(2) {
  left: 40%;
  bottom: 20%;
  animation-delay: 0.5s;
}

.particle:nth-child(3) {
  left: 60%;
  bottom: 15%;
  animation-delay: 0.8s;
}

.particle:nth-child(4) {
  left: 80%;
  bottom: 25%;
  animation-delay: 1.1s;
}

.particle:nth-child(5) {
  left: 30%;
  bottom: 30%;
  animation-delay: 1.4s;
}

@keyframes particleFloat {
  0% {
    transform: translateY(0) scale(1);
    opacity: 0.8;
  }
  100% {
    transform: translateY(-100px) scale(0);
    opacity: 0;
  }
}

.analytics-panel {
  width: 55%;
  height: 80%;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  position: relative;
}

.analytics-panel::before {
  content: 'System Monitoring';
  position: absolute;
  top: 1rem;
  left: 2rem;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--dark-color);
  font-size: 1.2rem;
}

.analytics-graph {
  height: 60%;
  background-color: #f8f9fa;
  border-radius: 10px;
  padding: 2rem;
  display: flex;
  align-items: flex-end;
  margin-top: 1rem;
  position: relative;
}

.analytics-graph::before {
  content: 'Server Health';
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-family: var(--font-heading);
  font-weight: 400;
  color: var(--gray-color);
  font-size: 0.9rem;
}

.graph-line {
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  position: relative;
}

.graph-line::before {
  content: '';
  position: absolute;
  top: -30px;
  left: 0;
  width: 100%;
  height: 30px;
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='30' viewBox='0 0 100 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 30 L10 15 L20 20 L30 10 L40 15 L50 5 L60 20 L70 10 L80 15 L90 5 L100 15 L100 30 Z' fill='rgba(52, 152, 219, 0.2)'/%3E%3Cpath d='M0 30 L10 15 L20 20 L30 10 L40 15 L50 5 L60 20 L70 10 L80 15 L90 5 L100 15' fill='none' stroke='%233498db' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: 100% 100%;
}

.analytics-metrics {
  height: 35%;
  display: flex;
  justify-content: space-between;
}

.metric-item {
  width: 30%;
  height: 100%;
  background-color: #f8f9fa;
  border-radius: 10px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
}

.metric-item:nth-child(1)::before {
  content: 'Uptime';
  position: absolute;
  top: 0.5rem;
  left: 1rem;
  font-family: var(--font-heading);
  font-weight: 400;
  color: var(--gray-color);
  font-size: 0.9rem;
}

.metric-item:nth-child(2)::before {
  content: 'Requests';
  position: absolute;
  top: 0.5rem;
  left: 1rem;
  font-family: var(--font-heading);
  font-weight: 400;
  color: var(--gray-color);
  font-size: 0.9rem;
}

.metric-item:nth-child(3)::before {
  content: 'Errors';
  position: absolute;
  top: 0.5rem;
  left: 1rem;
  font-family: var(--font-heading);
  font-weight: 400;
  color: var(--gray-color);
  font-size: 0.9rem;
}

.metric-item::after {
  content: '99.99%';
  position: absolute;
  bottom: 1rem;
  left: 0;
  width: 100%;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 1.2rem;
  font-weight: 700;
  color: #2ecc71;
}

.metric-item:nth-child(2)::after {
  content: '1.2M/day';
  color: var(--primary-color);
}

.metric-item:nth-child(3)::after {
  content: '0.01%';
  color: #e74c3c;
}

/* ===== ANIMACE PRO JEDNOTLIVÉ FÁZE ===== */
/* Animace pro fáze jsou nyní definovány výše */

/* ===== RESPONZIVNÍ DESIGN ===== */
@media (max-width: 1200px) {
  .web-creation-scroll-container {
    height: auto;
    min-height: auto;
    max-height: none;
    overflow: visible;
    scroll-snap-type: none;
  }

  .creation-stage {
    height: auto;
    min-height: 500px;
    flex-direction: column;
    padding: 4rem 2rem;
    margin-bottom: 4rem;
    opacity: 1;
    transform: scale(1);
    scroll-snap-align: none;
  }

  .stage-content,
  .stage-visual {
    width: 100%;
  }

  .stage-content {
    margin-bottom: 3rem;
  }

  .creation-navigation {
    position: relative;
    top: auto;
    flex-wrap: nowrap;
    margin: 3rem auto 5rem;
    padding: 1.5rem;
    justify-content: center;
    gap: 1.5rem;
    width: 95%;
    max-width: 600px;
    overflow-x: auto;
    border-radius: 30px;
  }

  .nav-dot {
    flex: 0 0 auto;
    width: 50px;
    height: 50px;
    max-width: 50px;
    padding: 0.8rem 0.4rem;
  }

  .nav-dot .nav-number {
    font-size: 1.4rem;
    top: -25px;
  }

  .nav-dot .nav-label {
    font-size: 0.9rem;
    bottom: -25px;
  }

  .nav-dot::before {
    width: 2rem;
    right: -2rem;
    height: 2px;
  }
}

@media (max-width: 768px) {
  .web-creation {
    padding: 4rem 0;
  }

  .creation-stage {
    padding: 2rem 1rem;
    margin-bottom: 5rem;
  }

  .stage-number {
    font-size: 4rem;
  }

  .stage-title {
    font-size: 2.4rem;
  }

  .stage-description {
    font-size: 1.4rem;
  }

  /* Kompletně odstraníme scroll funkcionalitu na mobilech */
  .web-creation-scroll-container {
    height: auto;
    min-height: auto;
    max-height: none;
    overflow: visible;
    scroll-snap-type: none;
    touch-action: auto;
    -webkit-overflow-scrolling: auto;
    box-shadow: none;
  }

  .creation-stage {
    scroll-snap-align: none;
    scroll-snap-stop: normal;
    opacity: 1;
    transform: scale(1);
  }

  .creation-navigation {
    display: flex;
    width: 95%;
    border-radius: 20px;
    padding: 1.2rem 0.8rem;
    gap: 1rem;
    overflow-x: auto; /* Umožní horizontální scrollování na velmi malých obrazovkách */
    justify-content: flex-start;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch; /* Plynulé scrollování na iOS */
    scrollbar-width: none; /* Skryje scrollbar v Firefox */
    margin: 2rem auto 4rem;
  }

  .creation-navigation::-webkit-scrollbar {
    display: none; /* Skryje scrollbar v Chrome, Safari a Edge */
  }

  .nav-dot {
    width: 40px;
    height: 40px;
    max-width: 40px;
    padding: 0.6rem 0.3rem;
    flex: 0 0 auto;
  }

  .nav-dot .nav-number {
    font-size: 1.2rem;
    top: -20px;
  }

  .nav-dot .nav-label {
    font-size: 0.8rem;
    bottom: -20px;
  }

  .nav-dot::before {
    width: 1rem;
    right: -1.5rem;
    height: 1px;
  }

  .nav-dot::after {
    width: 10px;
    height: 10px;
  }

  /* Upravíme vizuální prvky pro mobilní zobrazení */
  .stage-visual {
    height: 300px;
    min-height: 300px;
  }

  /* Úpravy pro jednotlivé fáze */
  .planning-elements {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .planning-document,
  .planning-chart,
  .planning-notes {
    width: 100%;
    height: 80px;
  }

  .design-elements,
  .development-elements,
  .launch-elements {
    flex-direction: column;
    gap: 1.5rem;
    height: 100%;
  }

  .design-artboard,
  .code-editor,
  .browser-preview,
  .rocket-animation,
  .analytics-panel {
    width: 100%;
    height: 150px;
    min-height: 150px;
  }

  .design-tools {
    width: 100%;
    flex-direction: row;
    height: 100px;
    gap: 1rem;
  }

  .color-palette,
  .design-elements-panel {
    height: 100%;
    width: 48%;
  }

  /* Testovací fáze */
  .testing-elements {
    height: 100%;
    gap: 1.5rem;
  }

  .devices-mockup {
    height: 150px;
    min-height: 150px;
  }

  .testing-dashboard {
    height: 100px;
    min-height: 100px;
  }

  /* Nasazení */
  .rocket-animation {
    height: 150px;
  }

  .rocket {
    width: 5rem;
    height: 10rem;
  }

  .analytics-panel {
    height: 120px;
  }

  .analytics-graph {
    height: 60px;
  }

  .analytics-metrics {
    height: 40px;
  }
}

/* Extra small devices */
@media (max-width: 576px) {
  .creation-stage {
    padding: 1.5rem 1rem;
    margin-bottom: 4rem;
  }

  .stage-number {
    font-size: 3.5rem;
  }

  .stage-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
  }

  .stage-description {
    font-size: 1.2rem;
  }

  .stage-visual {
    height: 250px;
    min-height: 250px;
  }

  /* Zmenšíme výšku jednotlivých prvků */
  .planning-document,
  .planning-chart,
  .planning-notes {
    height: 60px;
  }

  .design-artboard,
  .code-editor,
  .browser-preview,
  .rocket-animation,
  .analytics-panel {
    height: 120px;
    min-height: 120px;
  }

  .design-tools {
    height: 80px;
  }

  .devices-mockup {
    height: 120px;
    min-height: 120px;
  }

  .testing-dashboard {
    height: 80px;
    min-height: 80px;
  }

  /* Upravíme navigaci pro velmi malé obrazovky */
  .creation-navigation {
    padding: 1rem 0.6rem;
    gap: 0.8rem;
    display: none;
  }

  .nav-dot {
    width: 35px;
    height: 35px;
    max-width: 35px;
  }

  .nav-dot .nav-number {
    font-size: 1rem;
    top: -18px;
  }

  .nav-dot .nav-label {
    font-size: 0.7rem;
    bottom: -18px;
  }
}

/*# sourceMappingURL=main.min.css.map */
.pagination{display:flex;justify-content:center;align-items:center;margin:3rem 0;gap:.5rem}.pagination .page-numbers{display:flex;justify-content:center;align-items:center;width:40px;height:40px;border-radius:50%;font-weight:500;transition:all 0.3s ease;color:var(--color-text);text-decoration:none;background-color:var(--color-bg-light)}.pagination .page-numbers.current{background-color:var(--primary-color);color:white!important;font-weight:600}.pagination .page-numbers:hover:not(.current){background-color:var(--color-bg-hover)}.pagination .prev,.pagination .next{display:flex;justify-content:center;align-items:center;width:40px;height:40px;border-radius:50%;background-color:var(--color-bg-light);transition:all 0.3s ease}.pagination .prev:hover,.pagination .next:hover{background-color:var(--color-bg-hover)}.pagination .prev.disabled,.pagination .next.disabled{opacity:.5;cursor:not-allowed}.pagination svg{width:18px;height:18px}@media (max-width:768px){.pagination{margin:2rem 0}.pagination .page-numbers{width:36px;height:36px;font-size:.9rem}.pagination .prev,.pagination .next{width:36px;height:36px}.pagination svg{width:16px;height:16px}}@media (max-width:480px){.pagination{margin:1.5rem 0;gap:.25rem}.pagination .page-numbers{width:32px;height:32px;font-size:.8rem}.pagination .prev,.pagination .next{width:32px;height:32px}.pagination svg{width:14px;height:14px}}:root{--primary-color:#3498db;--secondary-color:#2ecc71;--dark-color:#2c3e50;--gray-color:#7f8c8d;--gray-light:#ecf0f1;--color-bg-light:#f8f9fa;--color-bg-hover:#e9ecef}.blog-hero-title{display:block!important}.archive .blog-hero-title,.category .blog-hero-title,.tag .blog-hero-title,.search .blog-hero-title{font-size:4rem;margin-bottom:1.5rem}.archive .blog-hero-subtitle,.category .blog-hero-subtitle,.tag .blog-hero-subtitle,.search .blog-hero-subtitle{font-size:1.8rem;opacity:.8}.nav-link.active,.footer-menu a.active{color:var(--primary-color);font-weight:600;position:relative}.nav-link.active::after{content:'';display:block;width:100%;height:2px;background-color:var(--primary-color);position:absolute;bottom:-5px;left:0}.pagination{margin-top:4rem}.pagination .page-numbers{color:var(--dark-color);font-weight:500}.pagination .page-numbers.current{color:white!important;box-shadow:0 2px 8px rgb(52 152 219 / .3)}.article-category{display:inline-block;padding:.6rem 1.2rem;background-color:var(--primary-color);color:#fff;font-size:1.4rem;font-weight:400;border-radius:.4rem;margin-bottom:2rem;box-shadow:0 4px 10px rgb(52 152 219 / .2);transform:translateY(0);transition:transform 0.3s ease,box-shadow 0.3s ease;text-decoration:none}.article-category:hover{transform:translateY(-2px);box-shadow:0 6px 15px rgb(52 152 219 / .3);color:#fff;text-decoration:none}.copy-link-button{position:relative}.copy-link-button[data-tooltip]:hover::before{content:attr(data-tooltip);position:absolute;bottom:100%;left:50%;transform:translateX(-50%);margin-bottom:5px;padding:5px 10px;background-color:var(--dark-color);color:#fff;border-radius:4px;font-size:12px;white-space:nowrap;pointer-events:none;opacity:0;animation:fadeIn 0.3s ease forwards}.copy-link-button[data-tooltip]:hover::after{content:'';position:absolute;bottom:100%;left:50%;transform:translateX(-50%);border-width:5px;border-style:solid;border-color:var(--dark-color) #fff0 #fff0 #fff0;pointer-events:none;opacity:0;animation:fadeIn 0.3s ease forwards}@keyframes fadeIn{to{opacity:1}}.copy-feedback{position:absolute;top:-30px;left:50%;transform:translateX(-50%);background-color:var(--primary-color);color:#fff;padding:5px 10px;border-radius:4px;font-size:12px;white-space:nowrap;pointer-events:none;opacity:0;transition:opacity 0.3s ease}.copy-link-button.copied .copy-feedback{opacity:1;animation:fadeInOut 2s ease}@keyframes fadeInOut{0%{opacity:0}20%{opacity:1}80%{opacity:1}100%{opacity:0}}.news-item{margin-bottom:2rem;padding-bottom:2rem;border-bottom:1px solid rgb(0 0 0 / .05)}.news-item:last-child{margin-bottom:0;padding-bottom:0;border-bottom:none}.news-date{font-size:1.2rem;color:var(--gray-color);margin-bottom:.5rem;display:block}.news-title{font-size:1.5rem;font-weight:700;margin-bottom:.8rem;line-height:1.3}.news-title a{color:var(--dark-color);text-decoration:none;transition:color 0.2s ease}.news-title a:hover{color:var(--primary-color)}.news-excerpt{font-size:1.3rem;color:var(--gray-color);margin-bottom:.8rem;line-height:1.4}.news-link{font-size:1.3rem;font-weight:400;color:var(--primary-color);text-decoration:none}.news-link:hover{text-decoration:underline}.skip-to-content{position:absolute;top:-100px;left:0;background:var(--primary-color);color:#fff;padding:10px 15px;z-index:9999;transition:top 0.3s ease;text-decoration:none;font-weight:700;border-radius:0 0 4px 0;box-shadow:0 2px 5px rgb(0 0 0 / .2)}.skip-to-content:focus{top:0;outline:2px solid #fff;outline-offset:2px}a:focus,button:focus,input:focus,textarea:focus,select:focus,[tabindex]:focus{outline:2px solid var(--primary-color);outline-offset:2px}.blog-excerpt,.news-excerpt,.article-content p,.widget-content,.footer-content{color:#333}.blog-date,.news-date,.article-meta,.footer-bottom{font-size:1.2rem;color:#555}input,textarea,select{font-size:16px;padding:10px;border:1px solid #ccc;border-radius:4px}input:focus,textarea:focus,select:focus{border-color:var(--primary-color);box-shadow:0 0 0 2px rgb(52 152 219 / .3)}button,.btn,input[type="submit"]{cursor:pointer;padding:10px 15px;border-radius:4px;border:none;font-weight:700;transition:background-color 0.3s ease,transform 0.2s ease}button:hover,.btn:hover,input[type="submit"]:hover{transform:translateY(-2px)}button:active,.btn:active,input[type="submit"]:active{transform:translateY(0)}.nav-toggle{padding:0;background:#fff0;border:none}.nav-toggle:focus{outline:2px solid var(--primary-color);outline-offset:2px}.screen-reader-text{border:0;clip:rect(1px,1px,1px,1px);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;word-wrap:normal!important}.screen-reader-text:focus{background-color:#f1f1f1;border-radius:3px;box-shadow:0 0 2px 2px rgb(0 0 0 / .6);clip:auto!important;clip-path:none;color:#21759b;display:block;font-size:14px;font-weight:700;height:auto;left:5px;line-height:normal;padding:15px 23px 14px;text-decoration:none;top:5px;width:auto;z-index:100000}#back-to-top{background-color:var(--primary-color);color:#fff;border-radius:50%;width:50px;height:50px;display:flex;align-items:center;justify-content:center;position:fixed;bottom:20px;right:20px;z-index:99;opacity:0;visibility:hidden;transition:opacity 0.3s ease,visibility 0.3s ease,background-color 0.3s ease;box-shadow:0 2px 10px rgb(0 0 0 / .2)}#back-to-top.visible{opacity:1;visibility:visible}#back-to-top:hover,#back-to-top:focus{background-color:var(--dark-color)}#back-to-top svg{width:24px;height:24px;fill:#fff}img{max-width:100%;height:auto}@media (prefers-contrast:more){body{color:#000;background-color:#fff}a{color:#00E;text-decoration:underline}a:visited{color:#551A8B}button,.btn,input[type="submit"]{color:#fff;background-color:#000;border:2px solid #000}.header,.footer{background-color:#f1f1f1;color:#000}.nav-link,.footer-menu a{color:#000}.nav-link.active,.footer-menu a.active{color:#000;font-weight:700;text-decoration:underline}}