/* styles.css */

/* Modern blue header with wave */
.main-header {
  background-image: 
    url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Ccircle cx='2' cy='2' r='2'/%3E%3C/g%3E%3C/svg%3E"),
    linear-gradient(135deg, #0d6efd, #3e8dfd);
  background-size: 40px 40px;
  background-repeat: repeat;
  color: white;
  padding: 4rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-bottom-left-radius: 30px;
  border-bottom-right-radius: 30px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}


/* Wave dekorace */
.main-header::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 60px;
  background: url('https://www.svgrepo.com/show/233863/wave.svg') no-repeat center bottom;
  background-size: cover;
}

/* Nadpis */
.main-header h1 {
  font-size: 2.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

/* Podtitulek */
.main-header p {
  font-size: 1.25rem;
  font-weight: 400;
  opacity: 0.95;
}

/* Responsivita */
@media (max-width: 576px) {
  .main-header h1 {
    font-size: 1.6rem;
  }

  .main-header p {
    font-size: 1rem;
  }
}


  
  /* Navigation styling */
  .main-nav {
    background-color: #f8f9fa;
    padding: 0.8rem 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    border-bottom: 1px solid #e0e0e0;
  }
  
  .main-nav .nav-link-custom {
    color: #0d6efd;
    font-weight: 500;
    margin: 0 1rem;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    transition: background-color 0.3s, color 0.3s;
    text-decoration: none;
  }
  
  .main-nav .nav-link-custom:hover {
    background-color: #0d6efd;
    color: #fff;
  }
  
  .main-nav .nav-link-custom:focus {
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(13,110,253,.25);
  }
  
  /* Sticky nav on scroll */
  .main-nav {
    position: sticky;
    top: 0;
    z-index: 1000;
  }
  

/* Základní nastavení karet */
.card {
    height: 100%;
    padding: 10px; /* padding uvnitř celé karty */
    box-sizing: border-box; /* zajistí, že padding nezvětší kartu mimo grid */
  }
  
  /* Nadpisy v kartách */
  .card h2, .card h5 {
    padding: 10px 0 5px 0; /* horní a dolní padding */
    margin: 0; /* odstraní defaultní marginy */
  }
  
  /* Obsah karty */
  .card .card-body {
    padding: 10px 5px; /* vnitřní padding obsahu karty */
  }
  
  /* Ikonky uvnitř karet (pokud chceš stejné min. rozměry) */
  .card .bi {
    min-height: 50px;
  }
  
  /* Tabulky uvnitř karet */
  .card table {
    margin: 0;
  }
  
  /* Případně texty uvnitř karet */
  .card p {
    margin-bottom: 10px;
  }

.table td:first-child,
.table th:first-child {
  text-align: left;
}

.table td:nth-child(2),
.table td:nth-child(3),
.table th:nth-child(2),
.table th:nth-child(3) {
  text-align: center;
}




  