:root {
    --bg-primary:#2da6dd;
    --bg-secondary: #29404E;
    --bg-tercionary:#0076c0;
    
    --tertiary: rgb(14, 45, 95)
}


body {
    font-size: 100%;
    
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;

    text-decoration: none;
    list-style: none;
    font-family: 'Poppins', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;;
    color: #3E3E3E;

}

span {
    color: var(--bg-tercionary);
    font-weight: bold;
}

.obm{
    padding-top: 0.5rem;
    color: rgb(172, 172, 172);
}

@media (min-width: 0px){


     .container-header{
        width: 300px;
        margin: 100px auto; /* vertikálne 100px, horizontálne auto = stred */
        text-align: center;
        margin-bottom: -5rem;
    }
}






@media (min-width: 300px){

    

 .navbar {
  background-color: #000;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 2.5rem;
  position: relative;
  z-index: 1000;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-left: clamp(0.5rem, 2vw + 0.5rem, 3.4rem);
}

.logo img {
  height: 3rem;
}



.menu-toggle {
  width: 30px;
  height: 24px;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  z-index: 1001;
}

.menu-toggle .bar {
  height: 3px;
  width: 100%;
  background-color: white;
  border-radius: 2px;
  transition: 0.3s ease;
}

/* Hamburger animation */
.menu-toggle.active .bar:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active .bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active .bar:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Nav links */


.nav-links li a {
  color: white;
  text-decoration: none;
  font-size: 1rem;
  list-style: none;
}


 .menu-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: rgba(0,0,0,0.95);
    width: 100%;
    text-align: center;
    transition: all 0.3s ease-in-out;
  }

  .nav-links.active {
    display: flex;
    padding: 2rem;
    margin: 0;
    list-style: none;
  }

  .nav-links li {
    padding: 1rem 0;
    border-top: 1px solid #444;
  }


    /* HEADER */

    .hero {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 60px 10%;
        gap: 40px;
        flex-wrap: wrap;
      

    }

    .hero-text {
        flex: 1;
        min-width: 300px;
    }

    .hero-text h1 {
        font-size: 2.5rem;
        margin-bottom: 20px;
        line-height: 1.2;
    }

    .hero-text h1 span {
        color: #0076c0; /* modrá z textu */
    }

    .hero-text p {
        font-size: 1.1rem;
        color: #333;
    }

    .hero-image {
        flex: 1;
        min-width: 300px;
        text-align: center;
    }

    .hero-image img {
        max-width: 100%;
        height: auto;
    }

    

/* Card content */

    article{
        text-align: center;
    margin-bottom: -2rem;
    }


    .container-header{
    width: 300px;
    margin: 100px auto; /* vertikálne 100px, horizontálne auto = stred */
    text-align: center;
    margin-bottom: -10rem;
    margin-top: 2rem;
    }

    .container-header h1{
        line-height: 2.5rem;
    }
    .card-container {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    padding: 40px 20px;
    background:#efefef;

    margin: 1rem;
    padding: 3rem;
    
    padding-bottom: 4rem;
    border-radius: 1rem;
    margin-bottom: 5rem;
    padding-top: 12rem;
    }

    .card {
    width: 260px;
    border-radius: 20px;
    overflow: hidden;
    background-color: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    position: relative;
    }

    .card:hover {
    transform: translateY(-5px);
    }

    .card-image {
    height: 180px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    }

    .card-arrow {
    position: absolute;
    top: 10px;
    right: 10px;
    background: white;
    color: #007bff;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: bold;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    z-index: 2;
    }

    .card-overlay {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 60px;
    background-color: rgba(25, 131, 199, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    z-index: 1;
    cursor: pointer;
    }

    .card-overlay h3 {
    color: white;
    margin: 0;
    font-size: 20px;
    }

    .card-overlay:hover {
    height: 100%;
    }

    .card-content {
    background: #fff;
    padding: 20px;
    text-align: center;
    }

    .card-content p {
    margin-top: 0;
    font-size: 14px;
    color: #333;
    }


/* KONTAKT */
    .contact-section {
    background: linear-gradient(to bottom, #1f84c6 0%, #ffffff 100%);
    padding: 2rem 2rem 3rem;
    text-align: center;
    color: white;

  width: 100vw;
  height: 100vh;
  background-image: 
    linear-gradient(to bottom, rgba(31,132,198,0.5) 0%, rgba(255,255,255,1) 100%), /* gradient s opacity */
    url('Images/Logo_Favicon_cp/1x/Artboard\ 1.png'); /* obrázok bez opacity */
  background-size: cover;
  background-position: center;
  



    }

    .contact-header{
        padding: 0rem 2rem 2rem 2rem;
        
    }

    .contact-header h2 {
    font-size: 32px;
    margin-bottom: 10px;
    color: black;
    }

    .contact-header p {
    font-size: 16px;
    margin-bottom: 40px;
    color: black;

    max-width: 437px;
   margin: 1rem auto 1rem auto;
    }

    .contact-box {
    max-width: 1000px;
    margin: 0 auto;
    background: white;
    border-radius: 30px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-wrap: wrap;
    overflow: hidden;
    padding: 30px;
    color: #333;
    gap: 30px;
    justify-content: space-between;
    
    
    }
    .contact-map {
    flex: 1 1 60%;
    min-width: 300px;
    }

    .contact-info {
    flex: 1 1 35%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
    }

    .info-block {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    font-size: 15px;
    }

    .icon {
    font-size: 22px;
    color: #1f84c6;
    margin-top: 3px;
    height: 3rem;
    width: 3rem;
    }

    a {
    color: #1f84c6;
    text-decoration: none;
    }

    a:hover {
    text-decoration: underline;
    }

    .contact-icons {
    margin: 4rem 2rem 4rem 2rem;
    display: flex;
    justify-content: space-between;
    
    flex-wrap: wrap;
    }

    .contact-icons img {
    max-width: 120px;
    height: auto;
    }


    .image-box {
    flex: 1 1 25%;
    max-width: 27%;
}

    .image-box img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    }




    .contact-align {
        text-align:left;
}


/* Footer */
    .site-footer {
    background-color: #000;
    color: #fff;
    padding: 40px 20px 20px;
    font-family: Arial, sans-serif;
    border-top-left-radius: 1.7rem;
    border-top-right-radius: 1.7rem;
    }

    .footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    }

    .footer-left {
    flex-direction: column;
    gap: 20px;

    display: block;
    padding: 1rem 2rem;
    }

    .footer-logo {
    max-width: 140px;
    height: auto;
    }

    .footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    }

    .footer-links li {
    margin-bottom: 5px;
    font-size: 14px;
    }

    .footer-right {
    max-width: 300px;

    padding: 1rem 2rem;
    }

    .footer-right h4 {
    margin-bottom: 1rem;
    font-size: 16px;
    }

    .footer-right p,
    .footer-right a {
    font-size: 14px;
    color: #fff;
    text-decoration: none;
    }

    .footer-right a:hover {
    text-decoration: underline;
    }

    .footer-bottom {
    text-align: center;
    margin-top: 30px;
    font-size: 13px;
    color: #aaa;
    }

    .contact-menu{
    padding-top: 1rem;
    }
    


    /* Section */
    .security-section {
    padding: 5rem 4rem 6rem 4rem;
    background-color: #fff;
    max-width: 1400px;
    margin: 0 auto;
}

.security-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}


.security-image{
    order: 2;
    padding-top: 2rem;
}

.security-image img {
  order: 2;
  width: 100%;
  max-width: 430px;
  border-radius: 8px;
}

.security-content {
  order: 1;
  text-align: center;

  max-width: 800px;
  margin-top: -11rem;
  
}

.service-label {
  color: #7a88a1;
  text-transform: uppercase;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
  font-weight: 500;
  margin-top: 4rem;
}

.security-content h2 {
  font-size: 1.8rem;
  margin: 0.5rem 0 1rem;
  color: #1c2b4a;
  line-height: 2.5rem;
}

.description {
  color: #6c757d;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.feature {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  text-align: left;
}

.check {
  color: #3d72e6;
  font-size: 1.2rem;
  margin-top: 2px;
}


}




/* Responsive */

@media (min-width: 510px) {
 .contact-box{
       width: 437px;
       margin: 0 auto;
    }
  
.contact-icons{
    width: 450px;
    margin: 0 auto;
    padding-bottom: 6rem;
    
    

}
}
 
@media (min-width: 550px) {
.footer-content{
    justify-content: space-evenly;
  }  
  
}

@media (min-width: 668px) {
.card-content{
    padding-top: 3rem;
    padding-bottom: 2rem;
}
}



@media (min-width: 768px) {
.menu-toggle {
    display: none;
  }

  .nav-links {
    display: flex !important;
    flex-direction: row;
    position: static;
    width: auto;
    background: none;
    gap: 2rem;
    align-items: center;
    margin: 0;
    padding: 0;
    text-decoration: none;
    list-style: none;
    padding-right: 5rem;
  }

  .nav-links li {
    border: none;
    padding: 0;
  }
 
   .container-header{
        width: 600px;
        padding-bottom: 1rem;
    }






  .security-container {
    flex-direction: column;
    align-items: center;
    padding: 0 2rem;
  }

  .security-content {
    text-align: center;
  }

  .features {
    flex-direction: row;
    justify-content: space-between;
  }

  .feature {
    flex: 1;
    flex-direction: row;
  }
}



@media (min-width: 1010px) {
    
    .card-container{
    max-width: 950px;
    margin: 0 auto;
    margin-bottom: 3rem;

    }
    .hero{
    max-width: 1600px;
    margin: 0 auto;
    margin-bottom: 3rem;
    }
    
     .navbar-bar{
    margin-bottom: 3rem;
    background-color: black;
    }

    .navbar{
        max-width: 1400px;
        margin-bottom: 3rem;
        margin: 0 auto;
    }


    
/* Desktop view */
@media (min-width: 1024px) {
  .security-container {
    flex-direction: row;
    align-items: flex-start;
    gap: 3rem;
    justify-content: center;
  }

  .security-image {
    flex: 1;
    order: 1;
  }

  .security-content {
    flex: 1;
    order:2;
    text-align: left;
    margin-top: 0;
  }

  .features {
    justify-content: flex-start;
  }
}
   
}


