/* ========================
   1. FONTY
======================== */
@font-face {
    font-family: 'Inter Regular';
    src: url('../fonts/Inter_18pt-Regular.ttf') format('truetype');
}
@font-face {
    font-family: 'Inter Bold';
    src: url('../fonts/Inter_28pt-Bold.ttf') format('truetype');
}
.grecaptcha-badge { visibility: hidden; }

.recaptcha-info {
    font-size: 12px;
    color: #ccc;
}

.recaptcha-info a {
    text-decoration: none;
    margin: unset;
}
  #cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0; right: 0;
    background: #222;
    color: #fff;
    padding: 15px 20px;
    font-family: Arial, sans-serif;
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 9999;
  }
  #cookie-banner button {
    background: #4CAF50;
    border: none;
    padding: 8px 15px;
    color: white;
    font-weight: bold;
    cursor: pointer;
    border-radius: 3px;
  }
  #cookie-banner a {
    color: #4CAF50;
    text-decoration: underline;
  }
/* ========================
   2. ZÁKLADNÍ STYLY
======================== */
html, body {
    margin: 0;
    padding: 0;
    font-family: 'Inter Regular', sans-serif;
    scroll-behavior: smooth;
    background-color: #1e1e1e;
    color: #F9F6EE;
    max-width: 100vw;
    min-width: 300px;
}
body {
    overflow-x: hidden;
}
h1, h2, h3, h4, p {
    margin: unset;
}
h1 { font-size: 80px; }
h2 { font-size: 40px; }
h4 { font-size: 20px; }

a {
    text-decoration: none;
    color: #F9F6EE;
    margin: 0 10px;
    position: relative;
}

a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    right: 0;
    margin: auto;
    width: 0%;
    height: 2px;
    background: #F9F6EE;
    transition: width 0.3s ease;
    -webkit-transition: width 0.3s ease;
    -ms-transition: width 0.3s ease;
    -o-transition: width 0.3s ease;
}

a:hover::after {
    width: 100%;
}

a:hover, .black-button:hover {
    cursor: pointer;
}

a.no-underline::after {
  content: none !important;
}

.page-container {
    position: relative;
}


/* ========================
   3. HEADER
======================== */
header {
    position: sticky;
    top: 0;
    height: 60px;
    background-color: rgba(255, 255, 255, 0);
    backdrop-filter: blur(60.1px);
    -webkit-backdrop-filter: blur(60.1px);
    box-shadow: 1px 5px 31px -8px rgba(0,0,0,0.4);
    z-index: 1000;
}
.header-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding: 0 20px;
    position: relative;
}
.left, .right {
    position: absolute;
    top: 0;
    height: 100%;
    display: flex;
    align-items: center;
}
.left { left: 20px; }
.right { right: 20px; }
.nav-links {
    display: flex;
    gap: 10px;
}

#nav-icon3 {
    display: none;
    width: 40px;
    height: 45px;
    position: relative;
    cursor: pointer;
    -webkit-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
    -ms-transition: .5s ease-in-out;
    -o-transition: .5s ease-in-out;
}

#nav-icon3 span {
  display: block;
  position: absolute;
  height: 4px;
  width: 100%;
  background: #F9F6EE;
  border-radius: 9px;
  left: 0;
  -webkit-transition: .25s ease-in-out;
  transition: .25s ease-in-out;
  -ms-transition: .25s ease-in-out;
  -o-transition: .25s ease-in-out;
}

/* Positions of the bars */
#nav-icon3 span:nth-child(1) {
      top: 6px;
}

#nav-icon3 span:nth-child(2),
#nav-icon3 span:nth-child(3) {
  top: 18px;
}

#nav-icon3 span:nth-child(4) {
    top: 31px;
}

/* Open state styles */
#nav-icon3.open span:nth-child(1) {
  top: 18px;
  width: 0%;
  left: 50%;
}

#nav-icon3.open span:nth-child(2) {
  transform: rotate(45deg);
  --webkit-transform: rotate(45deg);
  --ms-transform: rotate(45deg);
  --o-transform: rotate(45deg);
  --transform: rotate(45deg);
}

#nav-icon3.open span:nth-child(3) {
  transform: rotate(-45deg);
    --webkit-transform: rotate(-45deg);
    --ms-transform: rotate(-45deg);
    --o-transform: rotate(-45deg);
    --transform: rotate(-45deg);
}

#nav-icon3.open span:nth-child(4) {
  top: 18px;
  width: 0%;
  left: 50%;
}

.nav-links {
  opacity: 0;
  transform: translateY(-20px);
  --webkit-transform: translateY(-20px);
  --ms-transform: translateY(-20px);
  --o-transform: translateY(-20px);
  --transform: translateY(-20px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
    -webkit-transition: opacity 0.3s ease, transform 0.3s ease;
    -ms-transition: opacity 0.3s ease, transform 0.3s ease;
    -o-transition: opacity 0.3s ease, transform 0.3s ease;
  position: fixed;
  top: 60px;
  left: 0;
  width: 100%;
  flex-direction: column;
  padding: 30px 0;
  z-index: 999;
  display: flex;
  overflow-y: auto;
  text-align: center;
  background: rgba(0, 0, 0, 0.37);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  height: 100%;
}

.nav-links.show {
  opacity: 1;
  transform: translateY(0);
    --webkit-transform: translateY(0);
    --ms-transform: translateY(0);
    --o-transform: translateY(0);
    --transform: translateY(0);
  pointer-events: auto;
}


.nav-links > a{
    padding: 20px;
    margin: 0px 50px;
}

.hidden {
    display: none;
}


/* ========================
   4. SEKCE
======================== */
main {
    position: relative;
    z-index: 2;
}
section {
    padding: 20px 30px;
}
.center-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px; 
}

/* ========================
   5. HOME SECTION
======================== */
#Home, #Home > .center-container {
    min-height: 85vh;
    gap: 170px; 
    overflow: hidden;
}
.home-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
    height: 100%;
    max-width: 500px;
}
.home-left h1 {
    font-family: 'Inter Bold';
}
.gradient-text {
    background: linear-gradient(270deg, #31CB00 0%, #F9F6EE 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

/* ========================
   6. ABOUT SECTION
======================== */
#About {
    box-shadow: 1px 5px 31px -8px rgba(0,0,0,0.4);
    z-index: 100;
    background: rgba(255, 255, 255, 0);
    min-height: 50vh;
}
#About > .center-container {
    flex-direction: column;
    align-items: center;
    min-height: 50vh;
}
.about-container-down {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
}
.about-left {
    max-width: 500px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
}
.about-illustration {
    width: 300px;
    height: 300px;
    object-fit: cover;
}
.download-cv {
    border: 1px solid #F9F6EE;
    padding: 10px 20px;
    border-radius: 50px;
    background-color: unset;
    color: #F9F6EE;
}
.download-cv:hover {
    background-color: #F9F6EE;
    color: black;
    cursor: pointer;
}

/* ========================
   7. WHAT I DO SECTION
======================== */

.what-i-do-section {
  color: #F9F6EE; /* světlá barva textu */
  padding: 80px 20px;
}

.center-container.main-content {
  display: flex;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: stretch;
}


.left-column,
.right-column {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* levý sloupec - nadpis + grid */
.left-column {
  flex: 2;
}

/* pravý sloupec - WCMS blok */
.right-column {
  flex: 1.2;
}

.section-title {
  text-align: left;
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: #F9F6EE; /* svěží zelená */
}

.what-i-do-container {
  flex-grow: 1;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 30px;
}

.what-i-do-item {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 30px 20px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  -webkit-transition: transform 0.3s ease, box-shadow 0.3s ease;
  -ms-transition: transform 0.3s ease, box-shadow 0.3s ease;
  -o-transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.what-i-do-item:hover {
  transform: translateY(-10px);
  -webkit-transform: translateY(-10px);
  -ms-transform: translateY(-10px);
  -o-transform: translateY(-10px);
  transform: translateY(-10px);
  cursor: pointer;
}

.what-i-do-item i {
  font-size: 2.5rem;
  color: #31CB00;
  margin-bottom: 15px;
}

.what-i-do-item h3 {
  margin-bottom: 10px;
  font-size: 1.4rem;
  color: #F9F6EE;
}

.what-i-do-item p {
  font-size: 1rem;
  color: #ccc;
}

/* CMS PROMO BLOCK */
.cms-promo {
    display: flex;
    flex-wrap: wrap;
    border-radius: 20px;
    padding: 40px;
    gap: 30px;
    align-items: center;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    -webkit-transition: transform 0.3s ease, box-shadow 0.3s ease;
    -ms-transition: transform 0.3s ease, box-shadow 0.3s ease;
    -o-transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: rgba(255, 255, 255, 0.05);
}

.cms-promo:hover {
  transform: translateY(-10px);
    -webkit-transform: translateY(-10px);
    -ms-transform: translateY(-10px);
    -o-transform: translateY(-10px);
    transform: translateY(-10px);
  cursor: pointer;
}

.cms-text {
  flex: 1;
  min-width: 280px;
}

.cms-text h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: #F9F6EE;
}

.cms-text p {
  font-size: 1.1rem;
  color: #ddd;
  line-height: 1.6;
}

.cms-image {
  flex: 1;
  min-width: 280px;
  text-align: center;
}

.cms-image img {
  max-width: 100%;
  border-radius: 12px;
}

.cta-link {
  margin-top: 20px;
  color: #31CB00;
  font-weight: bold;
  font-size: 1rem;
  transition: transform 0.3s ease;
  -webkit-transition: transform 0.3s ease;
  -ms-transition: transform 0.3s ease;
  -o-transition: transform 0.3s ease;
}
.cta-link i {
  margin-left: 8px;
  transition: transform 0.3s ease;
  -webkit-transition: transform 0.3s ease;
  -ms-transition: transform 0.3s ease;
  -o-transition: transform 0.3s ease;
}
.cms-promo:hover .cta-link i {
  transform: translateX(5px);
  -webkit-transform: translateX(5px);
  -ms-transform: translateX(5px);
  -o-transform: translateX(5px);
  transform: translateX(5px);
}


/* Responsivita */

@media (max-width: 1050px) {
  .center-container.main-content {
    flex-direction: column;
  }

  .left-column,
  .right-column {
    flex: none;
    width: 100%;
  }

  .section-title {
    text-align: center;
  }

    .what-i-do-container {
    grid-template-columns: repeat(auto-fit, minmax(310px, 1fr)); /* zachová 2 sloupce i na menší šířce */
  }

  .cms-promo {
    flex-direction: column;
    padding: 20px;
  }

  .cms-text,
  .cms-image {
    text-align: center;
  }
}


/* ========================
   7. PORTFOLIO SECTION
======================== */
#Portfolio > .center-container {
    flex-direction: column;
    align-items: center;
    gap: 30px;
}
.portfolio-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    padding: 40px 0;
    justify-content: center;
}
.portfolio-card {
    width: 350px;
    height: 400px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
    -webkit-transition: transform 0.3s ease;
    -ms-transition: transform 0.3s ease;
    -o-transition: transform 0.3s ease;
    padding: 20px;
        justify-content: space-between;
}
.portfolio-card:hover {
    transform: translateY(-10px);
    -webkit-transform: translateY(-10px);
    -ms-transform: translateY(-10px);
    -o-transform: translateY(-10px);
    transform: translateY(-10px);
    cursor: pointer;
}
.portfolio-card img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}
.portfolio-info {
    padding: 20px 0;
    flex-grow: 1;
}
.portfolio-info a {
    align-self: flex-end; /* zarovná odkaz doprava */
}
.portfolio-info h3 {
    margin-bottom: 10px;
    font-size: 22px;
    font-family: 'Inter Bold';
}
.portfolio-card.expanded {
    flex-direction: row;
    width: 80%;
    height: auto;
    padding: 30px;
    gap: 30px;
}
.portfolio-card.expanded img {
    width: 50%;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
}
.portfolio-card.expanded .portfolio-info {
    padding: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.portfolio-card.expanded .portfolio-info h3 {
    font-size: 60px;
}
.portfolio-card.expanded .portfolio-info p {
    font-size: 22px;
    line-height: 1.2;
}

.download-doc-container {
    display: flex;
    justify-content: flex-end;
}

.download-doc-btn {
    display: inline-block;
    margin: 30px 0px 0px 0px;
    padding: 10px 18px;
    background-color: #31CB00;
    color: white;
    border-radius: 30px;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
    -webkit-transition: background-color 0.3s ease, transform 0.2s ease;
    -ms-transition: background-color 0.3s ease, transform 0.2s ease;
    -o-transition: background-color 0.3s ease, transform 0.2s ease;
}
.download-doc-btn:hover {
    background-color: #29b100;
    transform: scale(1.05);
    -webkit-transform: scale(1.05);
    -ms-transform: scale(1.05);
    -o-transform: scale(1.05);
    transform: scale(1.05);
}


/* ========================
   8. TECHNOLOGIE SECTION
======================== */
#Technologie {
    padding: 40px 30px;
    position: relative;
    z-index: 2;
}
#Technologie > .center-container {
    flex-direction: column;
    align-items: center;
    gap: 30px;
}
.technologies-wrapper {
    flex-direction: column;
    align-items: flex-start;
    max-width: 70%;
}
.tech-category {
    width: 100%;
    margin-bottom: 40px;
}
.tech-category h2 {
    font-size: 28px;
    font-family: 'Inter Bold';
    margin-bottom: 20px;
    color: #F9F6EE;
    border-left: 4px solid #31CB00;
    padding-left: 10px;
}
.tech-subcategory {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
.tech-item {
    min-width: 100px;
    height: 100px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: transform 0.3s ease;
    -webkit-transition: transform 0.3s ease;
    -ms-transition: transform 0.3s ease;
    -o-transition: transform 0.3s ease;
}
.tech-item:hover {
    transform: scale(1.05);
    -webkit-transform: scale(1.05);
    -ms-transform: scale(1.05);
    -o-transform: scale(1.05);
    transform: scale(1.05);
    cursor: pointer;
}
.tech-item img {
    width: 36px;
    height: 36px;
    margin-bottom: 10px;
}
.tech-item span {
    font-size: 14px;
    font-family: 'Inter Regular';
}
.tech-item.expanded {
    gap: 20px;
}
.tech-details {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    color: #ccc;
    max-width: 200px;
    text-align: start;
}
.tech-card.expanded .tech-details {
    max-height: 100px;
    max-width: 200px;
    opacity: 1;
    text-align: start;
}
.tech-details.expand-vertical {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, opacity 0.3s ease;
}

.tech-card.expanded .tech-details.expand-vertical {
    max-height: 200px;
    opacity: 1;
}

.tech-details-content {
    opacity: 0;
    transform: translateY(10px);
    -webkit-transform: translateY(10px);
    -ms-transform: translateY(10px);
    -o-transform: translateY(10px);
    transform: translateY(10px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    -webkit-transition: opacity 0.5s ease, transform 0.5s ease;
    -ms-transition: opacity 0.5s ease, transform 0.5s ease;
    -o-transition: opacity 0.5s ease, transform 0.5s ease;
}

.tech-details-content.visible {
    opacity: 1;
    transform: translateY(0);
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    -o-transform: translateY(0);
}

/* ========================
   9. CONTACT SECTION
======================== */
.contact-container {
    flex-direction: column;
    align-items: center;
    gap: 30px;
    padding: 60px 20px;
}
.contact-form {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 40px;
    width: 100%;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
    -webkit-transition: transform 0.3s ease;
    -ms-transition: transform 0.3s ease;
    -o-transition: transform 0.3s ease;
}

.contact-form input,
.contact-form textarea {
    background-color: rgba(255, 255, 255, 0.05);
    border: none;
    border-radius: 12px;
    padding: 15px;
    font-size: 16px;
    color: #F9F6EE;
    font-family: 'Inter Regular';
    resize: none;
    outline: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #ccc;
}
.contact-form textarea {
    min-height: 120px;
}
.contact-form button, .back-button{
    align-self: flex-end;
    padding: 12px 24px;
    border-radius: 50px;
    background-color: #F9F6EE;
    color: #1e1e1e;
    font-family: 'Inter Bold';
    font-size: 16px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    -webkit-transition: background-color 0.3s ease, transform 0.2s ease;
    -ms-transition: background-color 0.3s ease, transform 0.2s ease;
    -o-transition: background-color 0.3s ease, transform 0.2s ease;
    display: inline-flex;
    text-align: center;
    justify-items: center;
    justify-content: center;
    align-items: center;
}
.contact-form button:hover,
.back-button:hover {
    background-color: #31CB00;
    color: white;
    transform: scale(1.03);
    -webkit-transform: scale(1.03);
    -ms-transform: scale(1.03);
    -o-transform: scale(1.03);
}

/* Spinner animace */
.spinner {
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top: 3px solid #31CB00;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  display: inline-block;
  vertical-align: middle;
  margin-right: 8px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg);
    -webkit-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
  }
}

.contact-form.visible{
    max-width: 100%;
    max-height: 100%;
    opacity: 1;
}

/* Výsledné zprávy */
#result {
    opacity: 0;
    overflow: hidden;
    max-height: 0;
    padding: 0;
    transition: opacity 0.3s ease, max-height 0.4s ease, padding 0.3s ease;
    -webkit-transition: opacity 0.3s ease, max-height 0.4s ease, padding 0.3s ease;
    -ms-transition: opacity 0.3s ease, max-height 0.4s ease, padding 0.3s ease;
    -o-transition: opacity 0.3s ease, max-height 0.4s ease, padding 0.3s ease;
}

#result.visible {
    opacity: 1;
    max-height: 500px;
    padding: 10px 15px;
    border-radius: 12px;
}

#result.success {
    background-color: rgba(0, 255, 0, 0.15);
    color: white;
    border: 2px solid #29b000;
}

#result.error {
    background-color: rgba(255, 0, 0, 0.15);
    color: white;
    border: 2px solid #e60000;
}

.result-content {
    position: relative;
    padding-right: 30px; /* místo pro křížek */
    font-weight: 500;
    font-size: 16px;
    line-height: 1.4;
}

/* Styl zavíracího tlačítka */
#result button#closeResult {
    top: 10px;
    right: 14px;
    background: transparent;
    border: none;
    color: white;
    font-size: 22px;
    cursor: pointer;
    font-weight: bold;
    line-height: 1;
    padding: 0;
    user-select: none;
    transition: color 0.2s ease;
    -webkit-transition: color 0.2s ease;
    -ms-transition: color 0.2s ease;
    -o-transition: color 0.2s ease;
    margin-right: 20px;
}

#result button#closeResult:hover {
    opacity: 0.8;
}

.contact-form .input-row {
  display: flex;
  gap: 1rem; 
  margin-bottom: 1rem;
}
.contact-form .input-row input {
  flex: 1;
  min-width: 0;
}

/* ========================
   10. FOOTER
======================== */
.footer {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    color: #F9F6EE;
    padding: 60px 30px 20px;
    font-family: 'Inter', sans-serif;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.4);
}
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: space-between;
}
.footer-left,
.footer-links,
.footer-social {
    flex: 1 1 250px;
}
.footer-left h2 {
    font-family: 'Inter Bold';
    margin-bottom: 10px;
    font-size: 24px;
}
.footer-left p {
    font-size: 14px;
    color: #ccc;
}
.footer-links h3,
.footer-social h3 {
    margin-bottom: 12px;
    font-size: 16px;
}
.footer-links ul {
    list-style: none;
    padding: 0;
}
.footer-links li {
    margin-bottom: 8px;
}
.footer-links a {
    color: #F9F6EE;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
    -webkit-transition: color 0.3s ease;
    -ms-transition: color 0.3s ease;
    -o-transition: color 0.3s ease;
}
.icons a {
    margin-right: 15px;
    color: #F9F6EE;
    font-size: 20px;
    transition: color 0.3s ease, transform 0.2s ease;
    -webkit-transition: color 0.3s ease, transform 0.2s ease;
    -ms-transition: color 0.3s ease, transform 0.2s ease;
    -o-transition: color 0.3s ease, transform 0.2s ease;
}
.icons a:hover {
    color: #31CB00;
    transform: scale(1.1);
    -webkit-transform: scale(1.1);
    -ms-transform: scale(1.1);
    -o-transform: scale(1.1);
}
.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 40px;
    padding-top: 20px;
    font-size: 13px;
    color: #aaa;
}
.footer-links-container{
    display: flex;
    flex-direction: row;
    gap: 10px;
}

.footer-links-container ul:nth-child(2) a {
    color: #31CB00;
}

/* ========================
   11. SCROLL & ANIMACE
======================== */
#scrollTopBtn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #31CB00;
    color: white;
    border: none;
    padding: 12px 15px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    z-index: 1000;
    display: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease;
    -webkit-transition: background-color 0.3s ease;
    -ms-transition: background-color 0.3s ease;
    -o-transition: background-color 0.3s ease;
}
#scrollTopBtn:hover {
    background-color: #29b100;
}

.fade-in, .fade-in-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    -webkit-transform: translateY(40px);
    -ms-transform: translateY(40px);
    -o-transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    -webkit-transition: opacity 0.8s ease, transform 0.8s ease;
    -ms-transition: opacity 0.8s ease, transform 0.8s ease;
    -o-transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible,
.fade-in-active {
    opacity: 1 !important;
    transform: translateY(0) !important;
    -webkit-transform: translateY(0) !important;
    -ms-transform: translateY(0) !important;
    -o-transform: translateY(0) !important;
}

.fade-in-center,
.fade-in-center-init {
    opacity: 0;
    transform: scale(0.95);
    -webkit-transform: scale(0.95);
    -ms-transform: scale(0.95);
    -o-transform: scale(0.95);
    transition: opacity 1s ease, transform 1s ease;
    -webkit-transition: opacity 1s ease, transform 1s ease;
    -ms-transition: opacity 1s ease, transform 1s ease;
    -o-transition: opacity 1s ease, transform 1s ease;
}

.fade-in-center.visible,
.fade-in-center-activated {
    opacity: 1;
    transform: scale(1);
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
        -webkit-transform: translateY(40px);
        -ms-transform: translateY(40px);
        -o-transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
        -webkit-transform: translateY(0);
        -ms-transform: translateY(0);
        -o-transform: translateY(0);
    }
}
@keyframes fadeInCenter {
    from {
        opacity: 0;
        transform: scale(0.95);
        -webkit-transform: scale(0.95);
        -ms-transform: scale(0.95);
        -o-transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
        -webkit-transform: scale(1);
        -ms-transform: scale(1);
        -o-transform: scale(1);
    }
}

/* ========================
   12. PRIVACY POLICY SECTION AND COOKIE BANNER
======================== */
.privacy-policy-section {
    background-color: #1e1e1e;
    color: #F9F6EE;
    padding: 80px 20px;
    font-family: 'Inter Regular', sans-serif;
}

.privacy-policy-content {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
    font-size: 16px;
}

.privacy-policy-content h1 {
    font-family: 'Inter Bold', sans-serif;
    font-size: 48px;
    margin-bottom: 40px;
    color: #31CB00;
}

.privacy-policy-content h2 {
    font-family: 'Inter Bold', sans-serif;
    font-size: 24px;
    margin-top: 40px;
    margin-bottom: 15px;
    color: #F9F6EE;
}

.privacy-policy-content p, 
.privacy-policy-content ul {
    color: #ccc;
    margin-bottom: 20px;
}

.privacy-policy-content ul {
    list-style-type: disc;
    padding-left: 20px;
}

.privacy-policy-content a {
    color: #31CB00;
    text-decoration: underline;
}

.back-button {
    padding: 5px 25px !important;
    text-decoration: none !important;
}

.back-button-container {
    justify-content: end;
    align-items: end;
    display: flex;
}

#cookie-banner a {
  color: #4CAF50;
  text-decoration: underline;
  margin-left: 5px;
  margin-right: 5px;
  transition: color 0.3s ease;
  -webkit-transition: color 0.3s ease;
  -ms-transition: color 0.3s ease;
  -o-transition: color 0.3s ease;
}

#cookie-banner a:hover {
  color: #31CB00;
}


/* ========================
   12. RESPONSIVITA
======================== */

/* Extra Large screens (např. 1600px a víc) */
@media (min-width: 1600px) {
    h1 { font-size: 100px; }
    h2 { font-size: 50px; }
    .portfolio-card {
        width: 400px;
        height: 450px;
    }
}

/* Standardní desktop (1024px až 1599px) */
@media (min-width: 1024px) and (max-width: 1599px) {
    h1 { font-size: 80px; }
    h2 { font-size: 40px; }
    .portfolio-card {
        width: 350px;
        height: 400px;
    }
}

/* Tablety (768px až 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
    h1 { font-size: 60px; }
    h2 { font-size: 32px; }
    h4 { font-size: 18px; }

    .about-container-down {
        flex-direction: column;
        gap: 30px;
    }

    .portfolio-card {
        width: 90%;
        height: auto;
    }

    .portfolio-card.expanded {
        flex-direction: column;
        width: 100%;
    }

    .portfolio-card.expanded img {
        width: 100%;
        height: auto;
    }

    .technologies-wrapper {
        max-width: 90%;
    }

    .footer-container {
        flex-direction: column;
        gap: 30px;
    }

    .footer-left, .footer-links, .footer-social {
        flex: 1 1 150px;
    }
}

/* Mobily (do 767px) */
@media (max-width: 767px) {
    h1 { font-size: 44px; }
    h2 { font-size: 28px; }
    h4 { font-size: 16px; }
    .hamburger {
        display: block;
    }
    .center-container {
        flex-direction: column;
        gap: 30px;
    }

    #Home > .center-container {
        gap: 30px;
    }

    .home-left {
        align-items: center;
        text-align: center;
    }

    .about-container-down {
        flex-direction: column;
        gap: 30px;
    }

    .about-left {
        align-items: center;
        text-align: center;
    }

    .about-illustration {
        width: 220px;
        height: 220px;
    }

    .portfolio-card.expanded {
        flex-direction: column !important;
        align-items: center;
        padding: 20px;
    }

    .portfolio-card.expanded img {
        width: 100%;
        height: auto;
        border-radius: 10px;
    }

    .portfolio-card.expanded .portfolio-info {
        padding: 20px 0 0;
        text-align: center;
    }

    .portfolio-card.expanded .portfolio-info h3 {
        font-size: 32px;
    }

    .portfolio-card.expanded .portfolio-info p {
        font-size: 18px;
    }

    .tech-item {
        width: 100%;
        height: auto;
        padding: 15px;
        flex-direction: column;
    }

    .tech-item img {
        width: 28px;
        height: 28px;
    }

    .contact-form {
        padding: 20px;
    }

    .footer-container {
        flex-direction: column;
        gap: 30px;
    }

    .nav-links-pc {
        display: none;
    }

    #nav-icon3 {
        display: block;
    }

    .black-button.mobile-button {
        display: inline-block;
    }

    .footer-left, .footer-links, .footer-social {
        flex: 1 1 100px;
    }
     .input-row {
        flex-direction: column;
        margin: unset !important;
    }
    .input-row input {
        width: 100%;
        box-sizing: border-box;
        margin: 0;
    }
}
