html {
    scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #ffffff;
  color: #1a1a1a;
  margin: 0;
  padding: 0;
}

.container {
  width: 1100px;
  max-width: 90%;
  margin: 0 auto;
}

header {
  background-color: #ffffff;
  border-bottom: 1px solid #ccc;
  padding: 20px 0;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 24px;
  color: #003366;
  font-weight: bold;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 40px;
}

nav ul li a {
  text-decoration: none;
  color: #003366;
  font-weight: 500;
  transition: color 0.3s;
}

nav ul li a:hover {
  color: #004c99;
}

/* NOVÉ PRAVIDLO, KTORÉ DEFINITÍVNE SKRYJE HAMBURGER MENU NA DESKTOPOCH */
.hamburger-btn {
  display: none !important;
}

.hero {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('art/hero.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.hero-content {
  padding: 0 20px;
}

.hero-content h1 {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 15px;
}

.hero-content h2 {
  font-size: 20px;
  margin-bottom: 30px;
}

.hero-content h3 {
  font-size: 20px;
  margin-bottom: 20px;
}

.why-us-hero {
  margin-bottom: 20px;
}

.why-us-hero ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.why-us-hero ul li {
  font-size: 18px;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
  margin-bottom: 5px;
  color: white;
}

.why-us-hero ul li .checkmark {
    width: 20px;
    height: 20px;
    margin-right: 8px;
    vertical-align: middle;
}


.btn-primary {
  background-color: #ffffff;
  color: #003366;
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
  transition: background-color 0.3s, color 0.3s;
}

.btn-primary:hover {
  background-color: #eef2f7;
}

/* ZMENENÉ ŠTÝLY PRE SEKCIE */
.about, .services, .references, .contact {
  min-height: calc(100vh - 81px);
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

section {
}

.services h2, .about h2, .why-us h2, .references h2, .contact h2 {
  text-align: center;
  color: #003366;
  margin-bottom: 40px;
}

.services-grid {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.service {
  flex: 1 1 300px;
  background-color: #f5f5f5;
  padding: 30px;
  border-radius: 6px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.service:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.service h3 {
  color: #003366;
  margin-bottom: 10px;
  font-size: 22px;
}

.service h3 a {
  text-decoration: none;
  color: #003366;
}

.why-us {
  background-color: #eef2f7;
}

.why-us h2 {
  text-align: center;
  color: #003366;
  margin-bottom: 20px;
}

.why-us ul {
  list-style: none;
  text-align: center;
  padding: 0;
}

.why-us li {
  margin-bottom: 10px;
  font-size: 18px;
  color: #4a4a4a;
}

.references blockquote {
  font-style: italic;
  text-align: center;
  padding: 0 100px;
  color: #555;
  font-size: 1.2em;
  line-height: 1.6;
}

.client-list {
  text-align: left;
  list-style: none;
}

.client-list li {
    color: #003366;
}

.contact {
  background-color: #f4f4f4;
}

.contact p, .contact address {
  text-align: center;
}

footer {
  background-color: #003366;
  color: white;
  text-align: center;
  padding: 20px 0;
  margin-top: 40px;
}

#scrollToTopBtn {
  display: none;
  position: fixed;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
  right: auto;
  z-index: 99;
  border: none;
  outline: none;
  background-color: #990000;
  color: white;
  cursor: pointer;
  padding: 15px;
  border-radius: 50%;
  font-size: 1.2rem;
  line-height: 1;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s;
}

#scrollToTopBtn:hover {
  background-color: #660000;
}

/* Štýly pre modálne okná */
.modal {
  display: none;
  position: fixed;
  z-index: 100;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.7);
}

.modal-content {
  background-color: #fefefe;
  margin: 5% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 90%;
  max-width: 800px;
  position: relative;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.closeBtn {
  color: #aaa;
  font-size: 28px;
  font-weight: bold;
  position: absolute;
  top: 10px;
  right: 20px;
}

.closeBtn:hover,
.closeBtn:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

/* Štýly pre certifikáty */
.certificate-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
}

.certificate-container img {
  width: 100%;
  height: auto;
  max-width: 600px;
  border: 1px solid #ddd;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Štýly pre formulár ponuky práce */
#jobModal .modal-content {
  max-width: 600px;
}

#jobModal h2 {
  text-align: center;
  color: #003366;
}

#jobModal .form-group {
  margin-bottom: 15px;
}

#jobModal .form-group label {
  display: block;
  font-weight: bold;
  margin-bottom: 5px;
}

#jobModal input[type="text"], 
#jobModal input[type="email"], 
#jobModal input[type="tel"], 
#jobModal input[type="number"],
#jobModal textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  max-width: 100%;
}

#jobModal textarea {
  resize: vertical;
}

#jobModal .form-row {
  display: flex;
  gap: 20px;
}

#jobModal .form-row .form-group {
  flex: 1;
}

#jobModal .checkbox-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

#jobModal .checkbox-group label {
  font-weight: normal;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

#jobModal .submit-btn {
  width: 100%;
  background-color: #003366;
  color: white;
  padding: 15px;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s;
}

#jobModal .submit-btn:hover {
  background-color: #004c99;
}

.gdpr-text {
  font-size: 12px;
  color: #777;
  text-align: center;
  margin-top: 15px;
}

/* --- Responsívne úpravy pre mobilné zariadenia --- */
@media (max-width: 768px) {
  /* Zmena šírky kontajnera, aby sa prispôsobila */
  .container {
    width: 100%;
    padding: 0 15px;
  }

  /* Skryje pôvodné menu, aby sa ukázalo hamburger menu */
  nav ul {
    display: none;
  }

  /* Zobrazí hamburger menu na malých obrazovkách */
  .hamburger-btn {
    display: block !important;
  }
  
  /* Štýly pre vysúvacie menu */
  #mainNav ul {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 80px; /* Aby bolo pod hlavičkou */
    right: -100%; /* Skryje menu mimo obrazovky */
    width: 70%;
    height: calc(100% - 80px);
    background-color: #003366;
    gap: 0;
    padding: 0;
    transition: right 0.3s ease-in-out;
    z-index: 99;
  }
    
  /* Zobrazenie vysúvacieho menu */
  #mainNav.active ul {
    right: 0;
  }
  
  #mainNav ul li {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }
  
  #mainNav ul li a {
    display: block;
    padding: 15px 20px;
    color: white;
  }
  
  #mainNav ul li a:hover {
    background-color: #004c99;
  }
  
  /* Pre zmenšenie veľkosti obrázkov a textov na mobile */
  .hero-content h1 {
    font-size: 32px;
  }

  .hero-content h2, .hero-content h3, .why-us-hero ul li {
    font-size: 16px;
  }

  /* Prispôsobenie pre grid služby a referencie */
  .services-grid, .why-us-references, .client-list {
    flex-direction: column;
    gap: 20px;
  }

  /* Prispôsobenie pre sekcie */
  .about, .services, .references, .contact {
    min-height: auto;
    padding: 60px 0;
  }
  
  /* Upraví padding pre text O nás a Služby */
  .about div, .sluzby div {
      padding: 0 15px !important;
  }

  /* Upraví padding pre citácie */
  .references blockquote {
      padding: 0 15px;
      font-size: 1em;
  }
}
.client-list li {
    color: #003366;
}

/* NOVÉ ŠTÝLY PRE CELOSTRÁNKOVÉ COOKIES */
#cookie-page {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff; /* Prekryje celý obsah */
    z-index: 100;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow-y: auto; /* Povoli scrollovanie na stránke s cookies */
    transition: opacity 0.5s ease-in-out;
}
#cookie-page .container {
    background-color: #fefefe;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    max-width: 800px;
}

/* Skrytie hlavného obsahu, kým sa cookies neschvália */
#main-content {
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s 0.5s, opacity 0.5s linear;
}

/* Zobrazenie hlavného obsahu po schválení cookies */
body.cookies-accepted #main-content {
    visibility: visible;
    opacity: 1;
    transition-delay: 0s;
}
/* Honeypot skrytie (pre ľudí neviditeľné, pre botov lákavé) */
.hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px; overflow: hidden;
}
