@charset "UTF-8";

@font-face {
  font-family: "Inter";
  src: url("/Fonts/Inter-VariableFont_opsz,wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "abc-serif";
  src: url("/Fonts/abc-arizona-flare-variable.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Roboto-serifek";
  src: url("/Fonts/RobotoSerif-VariableFont_GRAD\,opsz\,wdth\,wght.ttf")
    format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* @font-face {
  font-family: "PressStart2P";
  src: url("/Fonts/PressStart2P-Regular.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
} */

body {
  font-family: "Inter", "Helvetica", "Noto Sans", "Ubuntu", "Liberation Sans",
    "DejaVu Sans", sans-serif;
  color: var(--hlavni_barva);
}

body,
html {
  overflow-x: hidden;
}

:root {
  --hlavni_barva: rgb(45, 45, 50);
  --oranzova: #ff6a3c;
  --oranzova-box: #f9cebd;
  --oranzova-hover: #cc4510;
  --pozadi-sekce: #faf2f0;
  --dlazdice-nadpisy: #ecc5b6;
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 20px;
}

section.skills {
  position: relative;
  background-color: white;
  scroll-margin-top: 20px;
  background-repeat: no-repeat;
  background-size: 100% 140px;
  background-position: top;
  text-align: center;
  padding-top: 34px;
  padding-bottom: 40px;
  border-radius: 30px;
  margin-top: -60px;
}

section.projects {
  scroll-margin-top: 20px;
  position: relative;
  margin: 30px auto;
  margin-bottom: 30px;
  border-radius: 30px;
  background-repeat: no-repeat;
  background-size: 100% 140px;
  background-position: top;
  text-align: center;
  padding-top: 34px;
  padding-bottom: 40px;
}

section.projects::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    90deg,
    white 0%,
    #faf2f0 20%,
    #faf2f0 80%,
    white 100%
  );
  z-index: -1;
  border-radius: 30px;

  /* Maska pro postupné zviditelňování čar */
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 50%,
    transparent 100%
  ); /* Postupné zviditelnění čar */
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 50%,
    transparent 100%
  ); /* Pro starší prohlížeče */
}

/* Pokud je aktivní backend, přidáme masku */
section.projects.projects-backend::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: repeating-linear-gradient(
    135deg,
    var(--oranzova-box) 0px,
    rgba(255, 255, 255, 0.2) 1px,
    transparent 1px,
    transparent 5px /* Čáry jsou blíž k sobě */
  ); /* Použijeme čáry místo masky */
  z-index: -1;
  border-radius: 30px;

  /* Maska pro postupné zviditelňování čar */
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 50%,
    transparent 100%
  ); /* Postupné zviditelnění čar */
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 50%,
    transparent 100%
  ); /* Pro starší prohlížeče */
}

section.hobbies {
  position: relative;
  scroll-margin-top: 45px;
  margin: 20px auto;
  border-radius: 30px;
  background-repeat: no-repeat;
  background-size: 100% 140px;
  background-color: white;
  background-position: top;
  text-align: center;
  max-width: 1400px;
}

section.contact {
  position: relative;
  scroll-margin-top: 20px;
  margin: 30px auto;
  border-radius: 30px;
  background-repeat: no-repeat;
  background-size: 100% 140px;
  background-position: top;
  text-align: center;
  padding-top: 10px;
  padding-bottom: 40px;
  /* Gradient začíná ve středu a ztrácí se do stran */
  background: linear-gradient(
    90deg,
    white 0%,
    #faf2f0 20%,
    #faf2f0 80%,
    white 100%
  );
}

/* Výchozí styl pro všechny sekce s ::before */

section.contact {
  margin-bottom: 0;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}
section.contact::before {
  margin-bottom: 0;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}

@media (max-width: 576px) {
  section.projects {
    scroll-margin-top: -15px;
  }
  section.skills {
    scroll-margin-top: -15px;
    .container-fluid {
      padding: 0 8px;
    }
  }
  section.contact {
    scroll-margin-top: -10px;
  }
  section.hobbies {
    scroll-margin-top: -2px;
  }
}

.container-hobbies {
  padding-top: 16px;
  text-align: left;
}

@media (max-width: 575px) {
  .container-hobbies {
    padding-top: 16px;
    padding-left: 20px;
    padding-right: 20px;
  }
}

h1 {
  font-family: "abc-serif";
  color: #2c3e50; /* Tmavší odstín */
  font-size: 5rem;
}

h2 {
  font-family: "abc-serif"; /* Opravený název fontu: "Inter" */
  font-size: 3.9em;
  font-weight: 600;
  color: rgb(56, 52, 60); /* Tmavší verze původní barvy */
  letter-spacing: 1px;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.1); /* Jemný stín pro moderní efekt */
  transition: color 0.3s ease-in-out, text-shadow 0.3s ease-in-out; /* Plynulý přechod */
}

h3 {
  color: rgb(56, 52, 60);
  font-family: "Inter";
  font-size: 2rem;
}

h4 {
  font-family: "abc-serif";
  font-size: 1.6rem;
  font-weight: 500;
  color: rgb(56, 52, 60);
  padding-bottom: 1.4rem;
}
h5 {
  padding-top: 1rem;
  font-family: "abc-serif";
  font-size: 1.6rem;
  font-weight: 500;
  color: rgb(116, 114, 121);
}

p {
  font-family: "Inter";
  color: rgb(45, 45, 50);
  font-size: 0.97rem;
  line-height: 1.7;
}



/* MENU ***************************************** */

/* Hamburger ikona (tři čárky) */
.navbar-toggler-icon {
  width: 25px;
  height: 25px;
  display: flex;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgb(255, 94, 34)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='4' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: center;
  transition: background-image 0.3s ease;
}

/* Změna na křížek při otevření menu nebo hover */
.navbar-toggler-icon.change {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3e%3cpath stroke='white' stroke-linecap='round' stroke-miterlimit='10' stroke-width='5' d='M8 8l24 24M8 32l24-24'/%3e%3c/svg%3e");
}

/* Hover efekt na hamburger ikonu */
.navbar-toggler:hover .navbar-toggler-icon:not(.change) {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3e%3cpath stroke='white' stroke-linecap='round' stroke-miterlimit='10' stroke-width='5' d='M5 8h30M5 20h30M5 32h30'/%3e%3c/svg%3e");
}

/* Linky a jejich hover/active */
.nav-link,
.nav-link:hover,
.nav-link:active,
.nav-link.active {
  border-bottom: none !important;
}

.nav-link:hover:not(.active) {
  box-shadow: inset 0 -2px 0 var(--oranzova);
}

/* Tlačítko hamburgeru */
.navbar-toggler {
  background-color: white;
  border: 2px solid var(--oranzova-box);
  padding-left: 6.8px;
  margin-right: 6.8px;
  width: 42px;
  height: 42px;
  border-radius: 40px;
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 10;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.3s ease;
  box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.15);
}

.navbar-toggler:hover,
.navbar-toggler:focus {
  background-color: var(--oranzova-box);
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}

/* Aktivní link */
.navbar .nav-link.active {
  background:
    linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0.45) 0%,
      rgba(255, 255, 255, 0.2) 40%,
      rgba(0, 0, 0, 0.05) 100%
    ),
    rgba(70, 81, 101, 0.12);
  border-radius: 30px;
  font-weight: bold;
  border-bottom: none !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    inset 0 -1px 0 rgba(0, 0, 0, 0.12),
    0 3px 8px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(6px);
}

/* Navbar */
.navbar {
  text-align: center;
  background-color: rgba(255, 255, 255, 0.7);
  box-shadow: 0 8px 6px -6px #999;
  border: none;
  z-index: 1000;
}

/* Collapse menu */
.navbar-collapse {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.7);
  box-shadow: 0 8px 6px -6px #999;
  backdrop-filter: blur(8px);
  border-radius: 0; 
}

/* Navbar nav */
.navbar-nav {
  margin: 0 auto;
  display: flex;
  justify-content: center;
}

/* Odkazy */
.nav-link {
  padding: 5px;
  color: var(--hlavni_barva);
  font-weight: 600;
}

.nav-link:visited,
.nav-link:link {
  border-bottom: 2px solid transparent;
}

.nav-link:hover,
.nav-link:active {
  color: var(--hlavni_barva);
  border-bottom: 2px solid var(--oranzova);
}

@media (max-width: 575px) {
  .navbar-collapse {
    padding: 10px 0;
    border-radius: 10px;
  }
  .navbar {
    text-align: center;
    font-size: 1.4rem;
    background: none;
    box-shadow: none;
    border: none;
  }
  .navbar .nav-link.active {
    max-width: 200px;
    text-align: center;
    margin: 0 auto;
  }
}

/* Úvodní strana - ABOUT***************************************** */
section.about {
  padding-top: 100px;
  padding-bottom: 220px;
  background-size: 100% 320px;
  position: relative;
  background-image: url(../background/wave.svg);
  background-repeat: no-repeat;
  background-position: center bottom;
  margin-bottom: 30px;
}
.portret-img {
  position: absolute;
  z-index: 1;
  clip-path: ellipse(50% 60% at 50% 50%);
  width: 200px;
}

@media (max-width: 1024px) {
  section.about {
    background-size: 100% 220px;
    padding-top: 50px;
    padding-bottom: 150px;
  }
}

@media (max-width: 900px) {
  section.about {
    padding-top: 30px;
  }
}

@media (max-width: 885px) {
  .circle {
    display: none;
  }
}

@media (max-width: 767px) {
  section.about {
    background-size: 100% 300px;
    padding-top: 30px;
    padding-bottom: 400px;
  }
}

.container-about {
  margin-left: 25px;
  margin-right: 25px;
  padding-top: 20px;
  width: 100%;
  max-width: 1118px;
}

.container-about p {
  text-align: left;
}

@media (max-width: 576px) {
  .container-about,
  #about {
    padding-top: 0;
  }
  .container-about {
    margin-left: 0;
    margin-right: 0;
  }
}

.posunObrazku {
  transform: translateY(20px);
  transition: all 500ms;
}

/* Sekce DOVEDNOSTI***************************************** */



.responsive-heading .break {
  display: inline;
}

@media (max-width: 731.5px) {
  .break {
    display: block;
  }
}
@media (max-width: 575px) {
  .break {
    display: inline;
  }
}
.container-skills {
  margin-left: 25px;
  margin-right: 25px;
  padding-top: 16px;
  width: 100%;
  max-width: 1134px;
}

@media (max-width: 575px) {
  .container-skills {
    margin-left: 0;
    margin-right: 0;
  }
}

.icon-skills {
  background-color: white;
  width: 42px;
  height: 42px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 6px;
  padding: 5px;
  overflow: hidden;
  box-shadow: 0 3px 6px rgba(88, 88, 88, 0.2);
  transition: border-radius 0.3s ease, box-shadow 0.3s ease;
}

.icon-skills:hover {
  border-radius: 50%;
  box-shadow: 0 3px 4px rgba(88, 88, 88, 0.2);
}

.icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.php {
  padding: 1px;
}
.icon:hover {
  transform: scale(1.2);
  transition: transform 0.3s ease;
}

.bg-dlazdic-skills {
  background: linear-gradient(to top, rgba(255, 240, 229, 0.7) 0%, #FFFFFF 100%); 
  border: 1px solid rgba(255, 240, 229, 0.5);
  border-radius: var(--radius-lg);
  padding: 20px; 
  min-height: 161px;
}

.font-ikony {
  color: rgb(90, 88, 95);
  padding-top: 8px;
  font-size: 0.78rem;
  line-height: 1.2;
  font-weight: 500;
}

.projects-nadpis {
  font-family: "abc-serif";
  color: var(--hlavni_barva);
  font-size: 1.33rem;
  font-weight: 600;
  margin-bottom: 0.7rem;
}

.projects-tecka {
  color: rgb(144, 142, 147);
  padding: 0 2px;
  display: inline-block;
}

.prouzek {
  background: linear-gradient(90deg, #ffd699, #a8e6cf, #89c9e0);
  height: 3px;
  box-shadow: 0px 0px 6px rgba(168, 230, 207, 0.5);
}

.prouzek2 {
  background: linear-gradient(90deg, #c0a0ff, #ffb3d9, #ffcc99);
  height: 3px;
  box-shadow: 0px 0px 8px rgba(192, 160, 255, 0.6);
}

.hr-projects {
  margin-top: 10px;
  margin-bottom: 15px;
  color: var(--oranzova-hover);
  opacity: 0.85;
  font-weight: 500;
  border-bottom: 2px solid var(--oranzova-box);
}

.font-tiles-text {
  text-align: left;
  margin-bottom: 0px;
  color: rgb(90, 88, 95);
}

.icon-project {
  background-color: white;
  margin-top: 0.55rem;
  width: 21.5px;
  height: 21.5px;
  padding: 2px;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 3px 6px rgba(88, 88, 88, 0.2);
}

.icon-p img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.bg-dlazdic-projects {
  display: flex;
  flex-direction: column;
  margin: 0 auto;
  padding: 1rem;

  background-color: #ffffff;
  border: 1px solid #c4c7c1;
  border-radius: var(--radius-lg);

  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.07);
  transition:
    background-color 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.23s ease;
}

.bg-dlazdic-projects:hover {
  background: linear-gradient(
    to top,
    #ffe4d9 0%, 
    #ffffff 40%
  );
  border-color: #ffd8c8; 
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
}

.padding-container {
  padding-top: 16px;
  padding-bottom: 0;
}

.container-projects {

  max-width: 1134px;
  margin: 0 auto;
}

.image-container {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-sm);
  overflow: hidden;

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

/* desktop hover */
.image-container:hover {
  transform: translateY(-2px);
  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.16),
    0 2px 6px rgba(255, 255, 255, 0.2) inset;
}

.image-container:has(.projekty.scaled) {
  transform: translateY(-2px);
  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.16),
    0 2px 6px rgba(255, 255, 255, 0.2) inset;
}

.projekty {
  display: block;
  width: 100%;

  border-radius: 0; 
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.projekty:hover {
  transform: scale(1.05);
  cursor: pointer;
}

.projekty.scaled {
  transform: scale(1.05);
}
.prouzek2 {
  flex-shrink: 0;
}

.btn-code.disabled-link {
  pointer-events: none;
  cursor: not-allowed;

  opacity: 0.85;

  color: #c2c2c2;
  background: linear-gradient(145deg, #f9f9f9, #eeeeee);
  border-color: #dddddd;

  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.06);

  transform: none;
}

.btn-code.disabled-link .filter-orange {
  filter: brightness(0) saturate(100%) invert(96%) sepia(0%) saturate(0%) hue-rotate(187deg) brightness(82%) contrast(92%);
  transition: filter 0.2s ease;
}


.btn-code {
  margin: 1rem 0 0;
  width: 120px;
  height: 35px;

  display: flex;
  justify-content: center;
  align-items: center;

  background: #ffffff;
  color: var(--oranzova);

  border: 1px solid #c4c7c1;
  border-radius: var(--radius-sm);

  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.5px;
  text-decoration: none;
  cursor: pointer;

  transition:
    background-color 0.18s ease,
    color 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.2s ease,
    transform 0.15s ease;

  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}



.btn-code:hover {
  background: var(--oranzova);
  color: #fff;

  border-color: var(--oranzova);

  box-shadow: 0 4px 14px rgba(255, 102, 0, 0.22);
  transform: translateY(-1px);
}

.btn-code:active {
  transform: translateY(0);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

.btn-code:focus {
  outline: none;
  box-shadow:
    0 0 0 3px rgba(255, 102, 0, 0.22),
    0 2px 6px rgba(0, 0, 0, 0.08);
}



.bg-dlazdic-projects a img {
  transition: all 0.2s linear;
}

@media (max-width: 992px) {
  .bg-dlazdic-projects {
    max-width: 400px;
  }
}
@media (max-width: 576px) {
  .bg-dlazdic-projects {
    max-width: 100%;
  }
  .page-container .container {
    padding: 0 9px;
  }
}

.filter-orange {
  filter: brightness(0) saturate(100%) invert(53%) sepia(18%) saturate(4421%) hue-rotate(335deg) brightness(101%) contrast(101%);
  transition: filter 0.2s ease;
}

.btn-hover-white:hover .filter-orange {
  filter: brightness(0) invert(1); 
}
/* Sekce KONTAKT***************************************** */

.background-kontakt {
  width: 100%;
  padding: 1.5rem 1rem 1rem;
  margin-top: 30px;

background: linear-gradient(
  to bottom,
  rgba(255, 255, 255, 0.6),
  rgba(255, 245, 240, 0.8)
);


  border: 1px solid rgba(224, 218, 218, 0.9);
  border-radius: var(--radius-lg);

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.6),
    inset 0 -1px 0 rgba(0, 0, 0, 0.04),
    0 6px 18px rgba(0, 0, 0, 0.1);

  backdrop-filter: blur(6px);
}
.email-img {
  background: rgba(255, 255, 255, 0.92);

  display: flex;
  justify-content: center;
  align-items: center;

  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius-md); 

  padding: 12px;
  overflow: hidden;

  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.05),
    0 1px 2px rgba(0, 0, 0, 0.06);

  position: relative;
  height: 64px;
  width: 64px;

  margin-top: -54px;
  margin-bottom: 10px;

  transition:
    box-shadow 0.25s ease,
    transform 0.2s ease;
}

.email-img:hover {
  box-shadow:
    0 6px 18px rgba(0, 0, 0, 0.08);
  transform: translateY(-1px);
}


/* Logo uvnitř */
.background-kontakt img {
  width: 40px;
  height: auto;
  display: block;
}


.container-kontakt {
  padding-top: 7px;
}

@media (max-width: 850px) {
  .container-kontakt > div {
    flex: 0 0 100% ;
    max-width: 100%;
  }
}


.ikona-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;

  &:hover {
    .icon-skills,
    .font-ikony {
      color: rgb(70, 110, 180);
    }
  }
}

.highlight {
  cursor: pointer;
}

.highlight:hover {
  color: rgb(70, 110, 180);
}
a.highlight-tiles {
  color: rgb(45, 45, 50);
  cursor: pointer;
}
a.highlight-tiles:hover {
  color: rgb(70, 110, 180);
}

.bg-kontakt {
  padding-right: 32px;
  display: flex;
  flex-direction: column;
  text-align: left;
  justify-content: center;
}

.bg-kontakt h3 {
  font-family: "abc-serif";
}


@media (max-width: 850px) {
  .container-form {
    padding-top: 2rem;
  }
  .bg-kontakt {
  padding-right: 0;
  }
}

@media (max-width: 768px) {
  .text-kontakt {
    width: 100%;
    padding: 0 25px;
    margin-top: 0;
  }
  .background-kontakt {
    margin: 0 25px;
  }
  .container-form {
    padding-top: 1.3rem;
  }
}

@media (max-width: 576px) {
  .text-kontakt {
    width: 100%;
    padding-bottom: 0;
    padding: 4px;
  }
  .background-kontakt {
    margin-left: 4px;
    margin-right: 4px;
  }
  .bg-kontakt {
    padding: 0.5rem;
    p {
      text-align: left;
    }
    h3 {
      padding-top: 5px;
    }
  }
}

.container-formulare {
  margin-left: 25px;
  margin-right: 25px;
  margin-top: -150px;
  margin-bottom: -160px;
  width: 100%;
  max-width: 1118px;
  z-index: 10;
}

.kontakt-uvozovky-nahore {
  font-family: "Roboto-serifek";
  position: relative;
  margin: 0 auto;
  margin-top: -30px;
  padding-bottom: 12px;
  max-width: 1202px;
  text-align: end;
  font-size: 8rem;
  color: #ffffff;
  z-index: 0;
  -webkit-text-stroke: 2px rgb(225, 226, 227);
  text-shadow: 0 4px 4px rgba(0, 0, 0, 0.2);
}

.kontakt-uvozovky-dole {
  font-family: "Roboto-serifek";
  position: relative;
  margin: 0 auto;
  margin-bottom: -50px;
  max-width: 1202px;
  text-align: start;
  font-size: 8rem;
  color: #ffffff;
  z-index: 0;
  padding-top: 40px;
  -webkit-text-stroke: 2px rgb(225, 226, 227);
  text-shadow: 0 4px 4px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
  .container-formulare {
    margin-left: 0;
    margin-right: 0;
    margin-bottom: -130px;
  }
  .kontakt-uvozovky-nahore {
    margin-bottom: -27px;
  }
}

@media (max-width: 850px) {
  .kontakt-uvozovky-dole {
    padding-top: 50px;
  }
}
@media (max-width: 768px) {
  .kontakt-uvozovky-dole {
    padding-top: 20px;
  }
}

@media (max-width: 576px) {
  .kontakt-uvozovky-nahore {
    margin-bottom: -6px;
  }
  .kontakt-uvozovky-dole {
    padding-top: 10px;
  }
}

.contact-ico {
  filter: brightness(0) saturate(100%) invert(64%) sepia(63%) saturate(6132%)
    hue-rotate(342deg) brightness(105%) contrast(114%);
  height: 2.5rem;
  display: inline-block;
  border-radius: 60px;
  box-shadow: 0 0px 12px rgba(0, 0, 0, 0.5);
}
.contact-text {
  text-decoration: none;
  color: var(--oranzova);
}
.contact-text:hover {
  text-decoration: none;
  color: var(--oranzova-hover);
}
.contact-ico:hover {
  filter: invert(35%) sepia(30%) saturate(3827%) hue-rotate(354deg)
    brightness(85%) contrast(96%);
  transform: scale(1.1);
  transition: transform 0.3s ease;
}


.info-kontakt-ikony {
  margin-top: 20px;
  position: relative;

  background: rgba(255, 255, 255, 0.92);
  padding: 18px 20px;

  border-radius: 26px;
  border: 1px solid rgba(0, 0, 0, 0.06);

  width: 280px;
  font-size: 1rem;

  display: flex;
  align-items: center;
  gap: 28px;

  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.04),
    0 1px 2px rgba(0, 0, 0, 0.05);

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease;

  z-index: 10;
}

.info-kontakt-ikony .icon-skills {
  background-color: white;
  width: 42px;
  height: 42px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 6px;
  padding: 5px;
  overflow: hidden;

  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);

  transition: border-radius 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.info-kontakt-ikony .icon-skills:hover {
  border-radius: 50%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.12);
  transform: scale(1.2);
}

.info-kontakt-ikony .icon-skills img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border-radius: inherit;
  transition: inherit;
}

.info-kontakt-ikony::before {
  content: "";
  position: absolute;
  bottom: -13px;
  left: 25px;

  width: 0;
  height: 0;

  border-left: 11px solid transparent;
  border-right: 11px solid transparent;

  border-top: 13px solid rgba(0, 0, 0, 0.06);

  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.04));
}


.info-kontakt-ikony::after {
  content: "";
  position: absolute;
  bottom: -12px;
  left: 26px;

  width: 0;
  height: 0;

  border-left: 10px solid transparent;
  border-right: 10px solid transparent;

  border-top: 12px solid rgba(255, 255, 255, 0.92);

  filter:
    drop-shadow(0 2px 4px rgba(0, 0, 0, 0.03))
    drop-shadow(0 -1px 0 rgba(255, 255, 255, 0.6));
}






/* FORMULAR */
.formulare {
  width: 100%;
  padding: 14px 18px;

  background: rgba(255, 255, 255, 0.9);
  color: rgb(45, 45, 50);

  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius-sm); 

  font-size: 1rem;
  line-height: 1.4;

  outline: none;
  resize: none;

  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.04),
    0 1px 2px rgba(0, 0, 0, 0.06);

  transition:
    border-color 0.18s ease,
    background-color 0.18s ease,
    box-shadow 0.22s ease,
    transform 0.15s ease;
}

.formulare:hover {
  background-color: #ffffff;
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow:
    0 4px 14px rgba(0, 0, 0, 0.06);
}

.formulare:focus {
  border-color: var(--oranzova);
  background-color: #ffffff;
  box-shadow:
    0 0 0 3px rgba(255, 102, 0, 0.18),
    0 6px 20px rgba(0, 0, 0, 0.08);

  transform: translateY(-1px);
}

.formulare::placeholder {
  color: #9aa0a6;
  opacity: 1;
}

input.formulare:-webkit-autofill,
textarea.formulare:-webkit-autofill {
  box-shadow: 0 0 0 1000px #ffffff inset !important;
  -webkit-text-fill-color: var(--hlavni_barva) !important;
  transition: background-color 9999s ease-in-out 0s;
}

.form-control {
  resize: vertical;
}

input::placeholder {
  color: #767676;
}

/* BUTTON */
.btn-odeslat {
  margin-top: 1rem;
  width: 100%;
  height: 40px;

  display: flex;
  justify-content: center;
  align-items: center;

  background: #ffffff;
  color: var(--oranzova);

  border: 1px solid #c4c7c1; 
  border-radius: var(--radius-sm); /* sjednoceno */

  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.8px;
  text-decoration: none;
  cursor: pointer;

  transition:
    background-color 0.18s ease,
    color 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.2s ease,
    transform 0.15s ease;

  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);

  position: relative;
  overflow: hidden;
}

.btn-odeslat:hover {
  background: var(--oranzova);
  color: #fff;

  border-color: var(--oranzova);

  box-shadow: 0 4px 14px rgba(255, 102, 0, 0.22);
  transform: translateY(-1px);
}

.btn-odeslat:active {
  transform: translateY(0);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

.btn-odeslat:focus {
  outline: none;
  box-shadow:
    0 0 0 3px rgba(255, 102, 0, 0.22),
    0 2px 6px rgba(0, 0, 0, 0.08);
}

.btn-odeslat img {
  height: 16px;
  width: auto;
}

@media (max-width: 768px) {
  .btn-code,
  .btn-odeslat {
    width: 100%;
  }
}
@media (max-width: 768px) {
  .info-kontakt-ikony {
    margin-bottom: 40px;
  }
  .bg-kontakt {
    padding-right: 0;
  }
  h3 {
    padding-top: 15px;
  }
}
@media (max-width: 576px) {
  .info-kontakt-ikony {
    margin-bottom: 27px;
  }
}

.container-powered {
  margin-top: -2px;
  padding: 0 8px;
  position: relative;  
  z-index: 10;
}

.text-povinne-pole {
  height: 25px;
  text-align: left;
  display: flex;
  align-items: center;
  span {
    display: flex;
    justify-content: center;
    color: var(--oranzova);
    padding-left: 20px;
    font-size: 0.8rem;
  }
}

.powered-color {
  background: rgba(255, 255, 255, 0.92);

  margin-right: 20px;

  border: 1px solid rgba(0, 0, 0, 0.06);
  border-top: 3px solid #ffffff;

  height: 25px;
  line-height: 17px;

  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;

  padding: 0 10px;
  display: inline-block;
  vertical-align: middle;

  box-shadow:
    0 1px 3px rgba(0, 0, 0, 0.04);
}

.text-powered-by_PHP {
  text-align: left;
  font-size: 0.8rem;
  color: var(--oranzova);
  padding-right: 5px;
  padding-left: 5px;
}

/* FOOTER sekce ***************************************** */
.footer {
  margin: 0 auto;
  text-align: center;
  padding: 50px 20px;
  background: linear-gradient(145deg, #1e2027, #2c2f3a);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.5), 0 -2px 10px rgba(0, 0, 0, 0.3);
  border-top: 2px solid rgba(255, 255, 255, 0.05);
  min-height: 120px;
  position: relative;
  animation: fadeInUp 1s ease-out;
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(
    130deg,
    rgba(255, 255, 255, 0.04) 0%,
    rgba(255, 255, 255, 0.1) 50%,
    rgba(255, 255, 255, 0.04) 100%
  );
  background-size: 300% 300%;
  animation: shimmer 12s infinite linear;
}

.container-footer {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.footer-text {
  font-family: "Inter", sans-serif;
  font-size: 1.2rem;
  color: white;
  margin: 0;
  transition: text-shadow 0.3s ease-in-out;
}

.text-span {
  font-family: "abc-serif", serif;
  font-size: 1.4rem;
  background: linear-gradient(135deg, #ff8c42, #ff3c00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
  transition: text-shadow 0.3s ease-in-out;
}

/* Animace shimmer */
@keyframes shimmer {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 100% 50%;
  }
}

/* Animace FadeIn */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ANIMACE***************************************** */
/* Zrychlení přechodů */
/* Zabrání horizontálnímu posouvání */

/* Animace pro prvky přijíždějící zprava */
.hidden {
  opacity: 0;
  transform: translateX(-100%);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.hidden-zprava {
  opacity: 0;
  transform: translateX(100%);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

@media (prefers-reduced-motion) {
  .hidden {
    transition: none;
  }
  .hidden-zprava {
    transition: none;
  }
}

.show {
  opacity: 1;
  transform: translateX(0);
}

/* Zpoždění pro různé karty */
.logo:nth-child(1) {
  transition-delay: 0ms;
}
.logo:nth-child(2) {
  transition-delay: 50ms;
}
.logo:nth-child(3) {
  transition-delay: 100ms;
}
.logo:nth-child(4) {
  transition-delay: 150ms;
}
.logo:nth-child(5) {
  transition-delay: 200ms;
}
.logo:nth-child(6) {
  transition-delay: 250ms;
}

.hiddenText {
  opacity: 0;
  transition: all 1.5s;
}
.showText {
  opacity: 1;
}

/* =======================
   CAROUSEL – MODERN LOOK
   ======================= */

/* Kontejner pro popisek a carousel */
.carousel-container {
  padding: 2.5rem;                  
  max-width: 1200px;
  margin: 0 auto;

  display: flex;
  flex-direction: row-reverse;      
  align-items: center;
  justify-content: center;
  gap: 2.5rem;          

  background-color: rgba(250, 242, 240, 0.6); 
  border: 1px solid #c4c7c1;       
  border-radius: var(--radius-lg);    
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06); 
}

/* Popisek vlevo */
.carousel-description {
  flex: 1;
  max-width: 470px;
}

/* Carousel napravo */
.carousel-size {
  flex: 2;
  max-width: 600px;
}

/* Carousel box */
.carousel {
  position: relative;
  padding: 1rem;
  background-color: #ffffff;
  border-radius: var(--radius-md);          
  box-shadow: 0 2px 8px rgba(0,0,0,0.06); 
}

/* Hlavní obrázky slideru */
.carousel-item img.carousel-slide {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

/* Popisky (caption) s fade-out blur do stran */
.carousel-caption {
  position: absolute;
  bottom: 19px;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(65, 63, 63, 0.6);
  padding: 0 10px;
  width: 200px;
  backdrop-filter: blur(5px);
  border-radius: 8px; 
  text-align: center;
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;

  /* fade-out blur do stran */
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 20%, black 80%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 20%, black 80%, transparent 100%);
}

/* Název slide + ikonky */
.carousel-title {
  color: #f2f2f2;
  font-size: 1.3rem;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 6px;
}

.carousel-title img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  display: inline-block;
  padding-bottom: 5px;
}

/* Indikátory (dots) */
.carousel-indicators button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  transition: background-color 0.3s ease-in-out;
}

.carousel-indicators button.active {
  background-color: var(--oranzova);
}

/* Šipky pro posun */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: rgba(0, 0, 0, 0.7);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  background-size: 30px;
  transition: background-color 0.3s ease-in-out;
}

.carousel-control-prev-icon:hover,
.carousel-control-next-icon:hover {
  background-color: rgba(0, 0, 0, 0.9);
}

/* =======================
   RESPONZIVITA
   ======================= */
@media (max-width: 768px) {
  .carousel-container {
    gap: 0;
    flex-direction: column;
    text-align: center;
  }

  .carousel-description {
    max-width: 100%;
  }

  .carousel-size {
    max-width: 100%;
  }
}

@media (max-width: 576px) {
  .carousel-container {
    padding: 0;
    padding-top: 20px;
    padding-bottom: 35px;
  }
}


/* Styl tlačítka */
.scroll-to-top {
  position: fixed;
  bottom: 10px;
  right: 16.8px;
  width: 42px;
  height: 42px;
  background-color: white;
  border: 2px solid var(--oranzova-box);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.3s ease,
    opacity 0.3s ease;
  box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.15);
}

/* Efekt při najetí */

/* SVG kruh */
.progress-circle {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Kruh progresu */
.progress-circle circle {
  fill: none;
  stroke: var(--oranzova-box);
  stroke-width: 3.5;
  stroke-dasharray: 120;
  stroke-dashoffset: 120;
  transition: stroke-dashoffset 0.1s linear;
}

/* Zobrazit tlačítko po 300px */
.visible {
  opacity: 1;
  visibility: visible;
}

/* Moderní tlustá šipka */
.arrow-up {
  width: 26px;
  height: 26px;
}

.arrow-up svg {
  width: 100%;
  height: 100%;
  stroke: var(--oranzova); /* Oranžová šipka */
  stroke-width: 4; /* Tlustší šipka */
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 0.3s ease;
}

@media (pointer: fine) {
  .scroll-to-top:hover {
    background-color: var(--oranzova-box);
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
  }

  .scroll-to-top:hover svg {
    stroke: white;
  }
}

.blinking-cursor::after {
  content: "|";
  display: inline-block;
  animation: blink 0.8s infinite;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}



/* Výchozí styl pro mobil (small screens) */
.bookmark-icon,
.bookmark-icon2 {
  position: absolute;
  padding: 10px;
  background-color: rgb(255, 255, 255);
  border-radius: var(--radius-sm); 
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
  z-index: 1;
  width: 60px; 
  height: 60px;
  justify-content: center;
  align-items: center;
  display: flex;
  opacity: 1; 
  transition: all 0.3s ease-in-out; 
}

.bookmark-icon {
  top: 27%;
  right: -20px;
  transform: translateY(-50%);
}

.bookmark-icon2 {
  top: 71%;
  right: -20px;
  transform: translateY(-50%);
}

.bookmark-icon img,
.bookmark-icon2 img {
  width: 50px;
  height: auto;
  object-fit: contain;
}

/* Šedý zobáček pro mobil */
.bookmark-icon::after,
.bookmark-icon2::after {
  content: "";
  position: absolute;
  bottom: -5px;
  right: 9px;
  border-right: 11px solid transparent;
  border-top: 5px solid rgb(173, 171, 171);
}

/* Tablet: trochu menší ikony než mobil */
@media (min-width: 768px) and (max-width: 1023px) {
  .bookmark-icon,
  .bookmark-icon2 {
    width: 55px;
    height: 55px;
    padding: 8px;
  }

  .bookmark-icon img,
  .bookmark-icon2 img {
    width: 45px;
  }

  .bookmark-icon::after,
  .bookmark-icon2::after {
    bottom: -4px;
    right: 10px;
    border-right: 10px solid transparent;
    border-top: 4px solid rgb(173, 171, 171);
  }
}

/* Desktop: trochu větší než předchozí návrh */
@media (min-width: 1024px) {
  .bookmark-icon,
  .bookmark-icon2 {
    width: 50px;  
    height: 50px;
    padding: 8px;
  }

  .bookmark-icon img,
  .bookmark-icon2 img {
    width: 40px;
  }

  .bookmark-icon::after,
  .bookmark-icon2::after {
    bottom: -4px;
    right: 10px;
    border-right: 10px solid transparent;
    border-top: 4px solid rgb(173, 171, 171);
  }
}

/* Mobilní drobná úprava zobáčku pro velmi malé obrazovky */
@media (max-width: 576px) {
  .bookmark-icon::after,
  .bookmark-icon2::after {
    border-right: 11.1px solid transparent;
  }
}

.schovat {
  opacity: 0; /* Skrytí ikony při aktivaci */
  transition: opacity 0.3s ease-in-out; /* Animace pro skrytí */
}

.tag-buttons {
  margin-top: 24px;
  margin-bottom: 8px;
}

/* Neaktivní karty */
.project-card {
  transition: all 0.5s ease-in-out;
  position: relative;
  box-sizing: border-box;
}

.project-card.dimmed {
  transform: scale(0.98);
  pointer-events: none;
  border: 1px solid rgba(200, 200, 200, 0.15);
}

.project-card.dimmed::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.5);
  z-index: 10;
  border-radius: inherit;
}

/* ZÁKLAD TAGU */
.btn-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.3rem 0.75rem;
  margin: 0.25rem;

  background-color: #ffffff;
  color: #5a585f;

  border: 1px solid #d6d3d1;
  border-radius: 999px;

  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.3px;
  text-decoration: none;
  cursor: pointer;

  box-shadow: none;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

/* HOVER (desktop) */
.btn-tag:hover {
  background-color: #f3ecea;
  border-color: #c9c5c3;
}

/* TAP / CLICK – pouze pokud NENÍ aktivní */
.btn-tag:active:not(.active-filter-tag) {
  background-color: #eee6e3;
}

/* AKTIVNÍ TAG – má vždy prioritu */
.btn-tag.active-filter-tag,
.btn-tag.active-filter-tag:hover,
.btn-tag.active-filter-tag:active {
  background-color: #d9e8f6;
  border-color: #b9d2ee;
  color: #394b63;
}
