html{
    scroll-behavior:smooth;
}

body {
    font-family: "Jost", sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;

        
    .jost {
      font-family: "Jost", serif;
      font-optical-sizing: auto;
      font-weight: 400;
      font-style: normal;
    } 

}

header {
    background: #000a16;
    color: #fff;
    padding: 10px 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    float: right;
}
header .container hover {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}


header h1 {
    margin: 0;
    font-size: 20px;
    
}

header h1 a {
    text-decoration: none;
    color: white;
}

header nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

header nav ul li {
    margin-left: 20px;
}

header nav ul li::after {
    content: "";
    width: 0%;
    height: 2px;
    background: #99d2eb;
    display: block;
    margin: auto;
    transition: 0.5s;
}

header nav ul li:hover::after {
    width: 100%;
}

header nav ul li a {
    color: #fff;
    text-decoration: none;
}

/* -------- konec hlavičky -------- */

.hero {
    background-image: linear-gradient(rgba(4,9,30,0.7),rgba(4,9,30,0.7)),url(images/background_1920x299.jpg);
    color: #fff;
    text-align: center;
    padding: 57px 20px;
    margin-top: 43px; /* Adjust for fixed header */
}

.services, .about, .contact {
    padding: 30px 20px;
    background: #f1f1f1;
}

.services h2, .about h2, .contact h2 {
    
    text-align: center;
    margin-bottom: 30px;
}

/****upravy services container****/

.services .container, .about .container, .contact .container {
    display: flex;
    align-items: baseline;
    text-align: left;
    justify-content: center;
    min-width: 350px;
    gap: 10px;
    flex-wrap: wrap;
}



.service-item {
    background: #fff;
    padding: 20px;
    margin: 10px auto;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 545px;
    text-align: left;
    border-radius: 40px;
    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}

.service-item:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 25px 60px rgba(10, 102, 255, 0.22);
}

.service-item h3 {
    text-align: center;
}

.service-item ul, .prices ul {
    list-style-type: circle;
}

.about-me {
    background: #fff;
    padding: 20px;
    margin: 10px auto;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 800px;
    text-align: justify;
    border-radius: 40px;
}

.kontakt, .prices {
    background: #fff;
    padding: 20px;
    margin: 10px auto;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 800px;
    text-align: left;
    border-radius: 40px;
    
}

.kontakt a {
    text-decoration: none;
    color: #000a16;
}


footer {
    background: url(images/datacentrum_2000x130.jpg);
    color: #fff;
    text-align: left;
    padding: 20px 0;
}

footer p {
    margin: 0;
    margin-left: 20px;
}

img {
    display: flex;
    float: inline-end;
    justify-content: center;
    align-items: center;
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 1px 1px 5px black;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

@media(max-width: 360px){
    img{
        display: none;
    }
}

.ja-foto {
    float: right;
    margin-left: 10px;
    max-width: 25%;
    aspect-ratio: 1/1;
}

.kontakt-icon {
    max-width: 100%;
    max-height: 100%;
    border-radius: 0px;
    box-shadow: none;
    float: left;
    margin-right: 10px;
}

.text-right {
    text-align: right;
    font-style: italic;
    padding-right: 10px;
}

/*kontaktní formulář*/

.contact-section {
    width: 100%;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 20px;
    
  }
  
  .contact-intro > * + * {
    margin-top: 1rem;
  }
  
  .form-group-container {
    display: grid;
    gap: 1rem;
    margin-top: 2rem;
  }
  
  .form-group {
    display: flex;
    flex-direction: column;
  }
  
  .form-label {
    margin-bottom: 0.5rem;
  }
  
  .form-input,
  .form-textarea {
    padding: 0.5rem;
    border: 1px solid #e5e7eb;
    display: flex;
    height: 2.5rem;
    max-width: 100%;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    line-height: 1.25rem;
  }
  
  .form-input::placeholder,
  .form-textarea:focus-visible {
    color: #6b7280;
  }
  
  .form-input:focus-visible,
  .form-textarea:focus-visible {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
  }
  
  .form-textarea {
    min-height: 120px;
  }
  
  .form-submit {
    width: 100%;
    margin-top: 1.2rem;
    background-color: #10285f;
    color: #fff;
    padding: 13px 5px;
    border-radius: 0.375rem;
    transition: 0.5s;
  }
  
  .form-submit:hover {
    background-color: #2558ce;
    transition: 0.5s;
  }