
/* ================================
     🎨 ZÁKLADNÍ PROMĚNNÉ A ANIMACE
     ================================ */
  :root {
    --main-green: #96d1aa;
    --dark-gray: #333;
    --light-gray: #f9f9f9;
  }

  @keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.95; }
    100% { transform: scale(1); opacity: 1; }
  }

  @keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .fade-in-up {
    animation: fadeInUp 1s ease-out forwards;
    opacity: 0;
  }

  /* ================================
     🧱 ZÁKLADNÍ STRUKTURA A TYPOGRAFIE
     ================================ */
  body {
    margin: 0;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background-color: white;
    color: var(--dark-gray);
    line-height: 1.6;
    font-size: 1rem;
  }
section p,
highlight p,
contact p,
ncage-text p,
eori-cert p,
section ul li {
  text-align: justify;
}



  section {
    max-width: 1100px;
    margin: 2rem auto;
    padding: 0 2rem;
  }

  ul {
    padding-left: 1.2rem;
  }

  ul li {
    margin-bottom: 0.5rem;
  }

 
  a {
    color: var(--main-green);
    text-decoration: none;
  }

  a:hover {
    text-decoration: underline;
  }
/* ================================
   🖼️ POZADÍ S TROJÚHELNÍKY PRO ZÁHLAVÍ
   ================================ */
header {
    position: relative;
    overflow: hidden;
    z-index: 0;
}

header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('footer_background.svg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.7;
    z-index: -1;
    pointer-events: none;
}

header > * {
    position: relative;
    z-index: 1;
}



  /* ================================
     🧭 HLAVIČKA
     ================================ */
  header {
    text-align: center;
    padding: 3rem 2rem 1rem;
  }

  header img {
    width: 180px;
    margin-bottom: 1rem;
    animation: pulse 1.5s ease-in-out;
  }

  header h1 {
    margin: 0.5rem 0 0.2rem;
    font-size: 2.2rem;
    color: var(--dark-gray);
  }

  header p {
    font-size: 1.1rem;
    color: #666;
  }

.language-switcher {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: flex;
    gap: 0.4rem;
    z-index: 10;
}

.language-switcher button {
    background-color: white;
    color: var(--main-green);
    border: 2px solid var(--main-green);
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.language-switcher button:hover {
    background-color: var(--main-green);
    color: white;
    transform: scale(1.05);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.language-switcher button.active {
    background-color: var(--main-green);
    color: white;
    border-color: var(--main-green);
    pointer-events: none;
}


 /* ================================
   ✨ SEKCE SLUŽEB (upravená `.highlight`)
   ================================ */
.highlight {
  border-left: 4px solid var(--main-green);
  background-color: var(--light-gray);
  padding: 1.5rem;
  margin-top: 2rem;
  border-radius: 8px;               /* přidáno zaoblení rohů */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05); /* lehký stín */
  transition: all 0.3s ease;        /* přechod pro hover efekt */
}

.highlight p {
  text-align: justify;
  hyphens: auto;
  margin-bottom: 1rem;              /* lepší odsazení mezi odstavci */
}

.highlight h2 {
  margin-top: 0;
  color: var(--main-green);         /* zvýraznění nadpisu */
  font-weight: 600;
  font-size: 1.6rem;
}

.highlight:hover {
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1); /* větší stín při najetí myší */
  transform: translateY(-2px);       /* lehký posun nahoru */
}


  /* ================================
     📞 KONTAKTNÍ ÚDAJE
     ================================ */
  .contact {
    margin-top: 3rem;
  }

  .contact p {
    margin: 0.3rem 0;
  }

  /* ================================
     🆔 BLOKY S CERTIFIKACÍ
     ================================ */
  .ncage-info {
    margin-top: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
  }

  .ncage-info img {
    height: 40px;
    flex-shrink: 0;
  }

  .ncage-info span {
    font-size: 0.95rem;
  }

  .ncage-block {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    background-color: #eef6f1;
    border-left: 5px solid var(--main-green);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    flex-wrap: wrap;
  }

  .ncage-icon img {
    height: 60px;
  }

  .ncage-text h3 {
    margin-top: 0;
    margin-bottom: 0.6rem;
    color: var(--dark-gray);
  }

  .ncage-text p {
    margin: 0.3rem 0;
    font-size: 1rem;
  }

  .eori-cert {
    border-left: 5px solid var(--main-green);
    padding: 1.5rem;
    margin-top: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  }

  /* ================================
   ⚓ NOVÁ PATIČKA S GRAFIKOU (pomocí SVG pozadí) - SVĚTLÁ VERZE
   ================================ */
.footer {
    /* Změna barvy pozadí patičky na světlou (např. bílou nebo velmi světle šedou) */
    background-color: var(--light-gray);
    /* Změna barvy textu v patičce na tmavou, aby byl čitelný na světlém pozadí */
    color: var(--dark-gray);
    text-align: center;
    padding: 20px 0;
    position: relative;
    overflow: hidden;
}

.footer-triangle-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;

    /* === Styly pro SVG pozadí === */
    /* Ujistěte se, že tato cesta je správná vzhledem k umístění styletest.css a footer_background.svg */
    background-image: url('footer_background.svg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: bottom center;
    /* Hodnota opacity pro viditelnost SVG - experimentujte! */
    opacity: 0.7;
}

.footer-content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.footer-content span {
    display: block;
    margin: 0.2rem 0;
    font-size: 0.9rem;
}

.footer-content a {
    color: var(--main-green);
    text-decoration: none;
}

.footer-content a:hover {
    text-decoration: underline;
}

/* ================================
   📱 MOBILNÍ STYL (hlavní blok pro celou stránku, včetně patičky)
   ================================ */
@media (max-width: 600px) {
    body {
        font-size: 0.95rem;
    }

    section,
    .highlight {
        padding: 1rem 1rem;
    }

    header h1 {
        font-size: 1.8rem;
    }

    header img {
        width: 140px;
    }

    header p,
    .highlight h2 {
        font-size: 1rem;
    }

    .language-switcher {
        position: static;
        margin: 1rem auto;
        text-align: center;
    }

    .language-switcher button {
        margin-top: 0.5rem;
    }

    .ncage-info {
        flex-direction: column;
        align-items: flex-start;
    }

    .ncage-info span {
        margin-top: 0.5rem;
        font-size: 0.9rem;
    }

    /* Mobilní styly specifické pro patičku */
    .footer {
        padding: 15px 0;
    }

    .footer-content {
        padding: 0 1rem;
        font-size: 0.85rem;
    }

    .footer-triangle-bg {
        background-size: 120% auto;
        background-position: bottom center;
        /* Hodnota opacity pro viditelnost SVG na mobilu - experimentujte! */
        opacity: 0.7;
    }
}