#sluzby-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    background-color: #dfd7b953;
    padding: 60px 20px;
    border-top: 4px solid #f7941e;
    margin-top: 40px;
    text-decoration: none;
    }
  
  .sluzba {
    position: relative;
    background: #fff;
    border-radius: 8px;
    text-align: center;
    padding: 30px 20px 60px 20px;
    cursor: pointer;
    overflow: hidden;
    transition: transform 0.3s;
  }
  
  .sluzba-ikona {
    font-size: 3rem;
    color: #004a2f;
    width: 80px;
    height: 80px;
    margin: 0 auto 15px auto;
    position: relative;
    z-index: 2;
    transition: color 0.3s ease;
  }
  
  .sluzba h2 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #004a2f;
    position: relative;
    z-index: 2;
    transition: color 0.3s ease;
    font-family: "Manrope", sans-serif;
    text-decoration: none;
  }
  
  .sluzba p {
    font-size: 0.9rem;
    color: #333;
    line-height: 1.4;
    position: relative;
    z-index: 2;
    transition: color 0.3s ease;
    text-decoration: none;
  }
  
  /* Overlay */
  .sluzba::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(215, 142, 53, 0); /* oranžový transparentní overlay */
    border-radius: 8px;
    transition: background-color 0.3s ease;
    z-index: 1;
  }
  
  .sluzba:hover {
    transform: translateY(-7px);
  }
  
  .sluzba:hover::before {
    background: rgba(219, 255, 197, 0.802); /* oranžový overlay při hoveru */
  }
  
  .sluzba:hover .sluzba-ikona,
  .sluzba:hover h2,
  .sluzba:hover p {
    color: #000; /* černý text na oranžovém pozadí */
  }
  /* Výchozí styl pro desktop/tablet */

#sluzby-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
  }
  
  /* Pro mobilní zařízení do šířky 600px */
  
  @media (max-width: 600px) {
    #sluzby-grid {
      grid-template-columns: 1fr; /* jedna kolumna na šířku */
      padding: 30px 10px; /* méně paddingu */
    }
  
    .sluzba {
      padding: 20px 10px; /* méně paddingu v bloku */
    }
  
    .sluzba-ikona {
      width: 60px;
      height: 60px;
      font-size: 2rem;
      margin-bottom: 10px;
    }
  
    .sluzba h2 {
      font-size: 1rem;
    }
  
    .sluzba p {
      font-size: 0.85rem;
    }
  }