/* Základ */
body {
  margin: 0;
  font-family: 'Oswald', sans-serif;
  background-color: #000;
  color: #00ff88;
}

/* Hero sekcia */
.hero {
  height: 100vh;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0 40px;
}

.overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

/* Navigácia */
.top-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #000;
  z-index: 9999;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
}

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

.logo img {
  height: auto;
  max-height: 50px;
  object-fit: contain;
  padding: 5px 0;
}

.top-nav {
  overflow: visible;
}

.hamburger {
  display: none;
  font-size: 28px;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
}

.nav-links li a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-family: "Poppins", sans-serif;
}

/* MOBILE MENU */
@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: black;
    width: 100%;
    display: none;
    flex-direction: column;
    text-align: left;
    padding: 20px;
  }

  .nav-links li {
    margin: 10px 0;
  }

  .nav-links.active {
    display: flex;
  }
}

/* Add space below fixed menu */
.hero {
  padding-top: 80px;
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
}

.nav-links a {
  color: #00ff88;
  text-decoration: none;
  font-size: 1.1rem;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #ffffff;
}

/* Obsah */
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  margin-bottom: 80px;
}

.hero-content h1 {
  font-size: 4rem;
  margin: 0;
  text-transform: uppercase;
  text-shadow: 0 0 10px #00ff88;
}

.matrix-vibe {
  font-size: 1.5rem;
  margin-top: 20px;
  color: #8fffdb;
  font-style: italic;
  text-shadow: 0 0 6px #00ff88;
}

.cta-button {
  display: inline-block;
  margin-top: 30px;
  padding: 15px 40px;
  background: #00ff88;
  color: #000;
  font-weight: bold;
  text-decoration: none;
  border-radius: 40px;
  box-shadow: 0 0 10px #00ff88;
  transition: background 0.3s ease;
}

.cta-button:hover {
  background: #00cc66;
}

.about-clean {
  background: #000; /* tmavšie pozadie */
  padding: 100px 10vw;
  color: #d0ffd7; /* svetlejšia zelená pre lepší kontrast */
}

.about-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 60px;
  justify-content: center;
}

.about-box {
  background: #0f0f0f;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 0 25px rgba(0, 255, 136, 0.2);
  flex: 1 1 400px;
  max-width: 600px;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.about-box:hover {
  box-shadow: 0 0 50px rgba(0, 255, 136, 0.6);
  transform: translateY(-5px);
}

.about-box h2, .about-box h3 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #00ff88;
  text-shadow: 0 0 4px #00ff88;
}

.about-box p {
  font-size: 1.15rem;
  line-height: 1.8;
  margin-bottom: 30px;
  color: #ccfbe6; /* lepšia čitateľnosť než čistá zelená */
}

.cta-button {
  display: inline-block;
  margin-top: 10px;
  padding: 12px 30px;
  background: #00ff88;
  color: #000;
  font-weight: bold;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 0 10px #00ff88;
  transition: all 0.3s ease;
}

.cta-button:hover {
  background: #0aff6c;
  box-shadow: 0 0 25px #00ff88;
  transform: scale(1.05);
}

.thumbs img {
  width: 100%;
  max-width: 280px;
  border: 2px solid #00ff88;
  border-radius: 12px;
  margin-top: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 0 10px rgba(0, 255, 136, 0.2);
}

.thumbs img:hover {
  transform: scale(1.03);
  box-shadow: 0 0 20px rgba(0, 255, 136, 0.6);
}

.cert-gride {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 20px;
  justify-items: center;
  align-items: center;
}

.cert-gride img {
  max-width: 100px;
  transition: transform 0.3s ease, filter 0.3s ease;
  filter: brightness(0.9);
}

.cert-gride img:hover {
  transform: scale(1.1);
  filter: brightness(1.2);
}

.services-section {
  background: rgba(0, 255, 136, 0.1);
  padding: 100px 10vw;
  color: #00ff88;
  text-align: center;
}

.section-title {
  font-size: 3rem;
  margin-bottom: 60px;
  text-shadow: 0 0 10px #00ff88;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
}

.service-card {
  background: #111;
  border-radius: 20px;
  padding: 40px 30px;
  box-shadow: 0 0 20px rgba(0, 255, 136, 0.1);
  transition: all 0.3s ease;
  border: 1px solid #00ff88;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.service-card:hover {
  box-shadow: 0 0 40px rgba(0, 255, 136, 0.5);
  transform: translateY(-5px);
}

.service-card i {
  font-size: 3rem;
  color: #00ff88;
  margin-bottom: 20px;
  transition: transform 0.3s ease;
}

.service-card:hover i {
  transform: scale(1.2);
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.service-card p {
  font-size: 1rem;
  line-height: 1.6;
  color: #c6ffe4;
}

.references-modern {
  background: #0a0a0a;
  padding: 100px 10vw;
  text-align: center;
}

.section-title {
  font-size: 3rem;
  color: #00ff88;
  margin-bottom: 60px;
  text-shadow: 0 0 10px #00ff88;
}

.references-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.reference-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #00ff84;
  border-radius: 10px;
  overflow: hidden;
}

.reference-card img {
  aspect-ratio: 16 / 9; /* zachová pomer strán */
  width: 100%;
  object-fit: cover;
  display: block;
  border-radius: 10px;
}

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

.reference-overlay {
  padding: 1rem;
  flex-grow: 1; /* roztiahne overlay, ak je krátky text */
  display: flex;
  align-items: center; /* zarovná text na stred vertikálne */
  min-height: 90px; /* nastavíš podľa najvyššieho textu */
}

.reference-card:hover .reference-overlay {
  background: #00ff88;
}

.reference-overlay h3 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.4;
  color: black;
}

.reference-overlay span {
  font-size: 0.9rem;
  opacity: 0.8;
}
.references-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  justify-content: center;
}

@media (min-width: 992px) {
  .references-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 999;
  padding-top: 60px;
  left: 0; top: 0; width: 100%; height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.9);
}

.modal-content {
  display: block;
  margin: auto;
  max-width: 90%;
  max-height: 80vh;
  border-radius: 10px;
  box-shadow: 0 0 30px #00ff88;
}

.close {
  position: absolute;
  top: 30px; right: 50px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  z-index: 1000;
}

#modal-caption {
  color: #00ff88;
  text-align: center;
  margin-top: 20px;
  font-size: 1.1rem;
}
 .certificates-section {
  background-color: #0b0f0c;
  color: #fff;
  padding: 60px 20px;
  text-align: center;
}
.certificates-section .container {
  max-width: 1200px;
  margin: 0 auto;
}
.certificates-section h2 {
  font-size: 2.5rem;
  color: #00ff94;
}
.certificates-section p {
  max-width: 800px;
  margin: 0 auto 40px;
  font-size: 1.1rem;
  color: #ccc;
}
.cert-category {
  margin-top: 50px;
  font-size: 1.8rem;
  color: #00ff94;
  margin-bottom: 20px;
}
.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}
.cert-item {
  background-color: #111;
  border: 1px solid #1a1a1a;
  border-radius: 10px;
  padding: 20px;
  transition: all 0.3s ease;
}
.cert-item:hover {
  transform: translateY(-5px);
  border-color: #00ff94;
}
.cert-item h4 {
  font-size: 1rem;
  margin-bottom: 15px;
  color: #fff;
}
.btn-download {
  display: inline-block;
  background: #00ff94;
  color: #000;
  padding: 10px 16px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}
.btn-download:hover {
  background: #00cc77;
}

    #tech {
  background-color: #000;
  color: #00ff88;
  padding: 100px 5vw;
}

.section-subtitle {
  text-align: center;
  font-size: 2rem;
  color: #00ff88;
  text-shadow: 0 0 6px #00ff88;
  margin-top: 80px;
  margin-bottom: 40px;
  text-transform: uppercase;
}

.divider {
  border-top: 2px solid #00ff88;
  width: 120px;
  margin: 40px auto;
}

.equipment-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  padding: 0 20px;
}

.equipment-item {
  background-color: #111;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 0 20px rgba(0, 255, 136, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #00ff88;
}

.equipment-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 30px rgba(0, 255, 136, 0.3);
}

.equipment-item h3 {
  color: #00ff88;
  font-size: 1.1rem;
  text-align: center;
  margin-bottom: 15px;
  text-transform: uppercase;
  text-shadow: 0 0 4px #00ff88;
}

.equipment-item img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 15px;
  border: 2px solid #00ff88;
  box-shadow: 0 0 12px rgba(0, 255, 136, 0.1);
}

.equipment-item ul {
  list-style: none;
  padding-left: 0;
  font-size: 1.15rem;
  color: #caffdd;
  line-height: 1.7;
  margin-top: 10px;
}

.equipment-item ul li::before {
  content: "✓";
  color: #00ff88;
  margin-right: 10px;
}

@media (max-width: 600px) {
  .section-subtitle {
    font-size: 1.3rem;
  }
  .equipment-item h3 {
    font-size: 1rem;
  }
}
/* Kontakt sekcia */
#contact {
  background: #000;
  color: #00ff88;
  padding: 100px 5vw;
}

#contact .contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

#contact .contact-text {
  background: #111;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 0 20px rgba(0, 255, 136, 0.1);
  border: 1px solid #00ff88;
}

#contact .contact-text h2 {
  font-size: 2.5rem;
  margin-bottom: 30px;
  color: #00ff88;
  text-shadow: 0 0 6px #00ff88;
}

#contact .contact-text p {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 20px;
  color: #caffdd;
}

#contact .contact-text a {
  color: #00ff88;
  text-decoration: none;
}

#contact .contact-text a:hover {
  text-decoration: underline;
}

#contact .contact-image img {
  width: 100%;
  border-radius: 16px;
  border: 2px solid #00ff88;
  box-shadow: 0 0 20px rgba(0, 255, 136, 0.2);
}

@media (max-width: 768px) {
  #contact .contact-grid {
    grid-template-columns: 1fr;
  }
}
#footer {
  background: #0a0a0a;
  color: #00ff88;
  padding: 40px 10vw;
  text-align: center;
  border-top: 1px solid #00ff88;
}

#footer .footer-content {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #caffdd;
}

#footer a {
  color: #00ff88;
  text-decoration: none;
  transition: color 0.3s ease;
}

#footer a:hover {
  color: #ffffff;
  text-decoration: underline;
}
.cookie-banner {
  position: fixed;
  bottom: 0;
  width: 100%;
  background: #111;
  color: white;
  padding: 20px;
  z-index: 9999;
  display: flex;
  justify-content: center;
}
.cookie-banner-inner {
  max-width: 960px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cookie-buttons button {
  margin: 5px;
  padding: 10px 15px;
  border: none;
  cursor: pointer;
}
.btn-accept {
  background: #d4f12a;
  color: black;
}
.btn-necessary, .btn-custom {
  background: #333;
  color: white;
}
.cookie-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
}
.modal-content {
  background: #1a1a1a;
  color: white;
  padding: 30px;
  border-radius: 5px;
  width: 90%;
  max-width: 500px;
}
.close-modal {
  float: right;
  font-size: 24px;
  cursor: pointer;
}
.hidden {
  display: none;
}
html {
  scroll-behavior: smooth;
}
#scrollTopBtn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 10000;
  background: #0d0d0d;
  color: #00ff77;
  border: 2px solid #00ff77;
  padding: 12px 14px;
  font-size: 15px;
  border-radius: 20%;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 0 10px #8FFF00aa;
}

#scrollTopBtn:hover {
  background: #8FFF00;
  color: #0d0d0d;
  box-shadow: 0 0 20px #8FFF00;
}

#scrollTopBtn.show {
  opacity: 1;
  pointer-events: auto;
}

/* === Top Navigation Bar === */
.top-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 24px;
  position: relative;
  z-index: 1000;
}

.top-nav .logo img {
  height: 50px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 24px;
  margin: 0;
  padding: 0;
}

.nav-links li a {
  text-decoration: none;
  font-weight: bold;
  color: inherit;
  transition: color 0.3s ease;
}

.nav-links li a:hover {
  color: #00ff88;
}

/* === Hamburger Button === */
.hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 28px;
  color: inherit;
  cursor: pointer;
}

/* === Responsive === */
@media screen and (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #000; /* dark fallback */
    padding: 20px;
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .nav-links.active {
    display: flex;
  }

/* Základný štýl */
.top-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  position: relative;
}

.nav-links {
  list-style: none;
  display: none;
  flex-direction: column;
  position: absolute;
  top: 70px;
  right: 20px;
  background-color: #111;
  padding: 20px;
  border-radius: 10px;
  z-index: 1000;
}

.nav-links.active {
  display: flex;
}

.nav-links li {
  margin: 10px 0;
}

.nav-links a {
  color: white;
  text-decoration: none;
}

.hamburger {
  font-size: 28px;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}